diff --git a/.gitignore b/.gitignore index 6952db3f..4e205c1c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,10 +15,12 @@ Pulumi.*.yaml *.iml yarn.lock +**/.yarn +**/.pnp* **/pulumiManifest.go ci-scripts provider/**/schema.go **/version.txt **/nuget -**/dist \ No newline at end of file +**/dist diff --git a/Makefile b/Makefile index a838ac24..b033d7ec 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,7 @@ clean:: install_plugins:: [ -x $(shell which pulumi) ] || curl -fsSL https://get.pulumi.com | sh pulumi plugin install resource random 4.3.1 + pulumi plugin install converter terraform 1.0.19 install_dotnet_sdk:: mkdir -p $(WORKING_DIR)/nuget @@ -122,4 +123,3 @@ install_sdks:: install_dotnet_sdk install_python_sdk install_nodejs_sdk test:: cd examples && go test -v -tags=all -parallel ${TESTPARALLELISM} -timeout 2h - diff --git a/provider/cmd/pulumi-resource-volcengine/.gitignore b/provider/cmd/pulumi-resource-volcengine/.gitignore index eaadaff0..7ba7cf40 100644 --- a/provider/cmd/pulumi-resource-volcengine/.gitignore +++ b/provider/cmd/pulumi-resource-volcengine/.gitignore @@ -1 +1 @@ -schema.go +schema-embed.json diff --git a/provider/cmd/pulumi-resource-volcengine/bridge-metadata.json b/provider/cmd/pulumi-resource-volcengine/bridge-metadata.json new file mode 100644 index 00000000..3312aab3 --- /dev/null +++ b/provider/cmd/pulumi-resource-volcengine/bridge-metadata.json @@ -0,0 +1,7954 @@ +{ + "auto-aliasing": { + "resources": { + "volcengine_acl": { + "current": "volcengine:clb/acl:Acl", + "fields": { + "acl_entries": { + "maxItemsOne": false + } + } + }, + "volcengine_acl_entry": { + "current": "volcengine:clb/aclEntry:AclEntry" + }, + "volcengine_alb": { + "current": "volcengine:alb/alb:Alb", + "fields": { + "eip_billing_config": { + "maxItemsOne": true + }, + "ipv6_eip_billing_config": { + "maxItemsOne": true + }, + "local_addresses": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_mappings": { + "maxItemsOne": false, + "elem": { + "fields": { + "load_balancer_addresses": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_alb_acl": { + "current": "volcengine:alb/acl:Acl", + "fields": { + "acl_entries": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_ca_certificate": { + "current": "volcengine:alb/cACertificate:CACertificate", + "fields": { + "listeners": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_certificate": { + "current": "volcengine:alb/certificate:Certificate", + "fields": { + "listeners": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_customized_cfg": { + "current": "volcengine:alb/customizedCfg:CustomizedCfg" + }, + "volcengine_alb_health_check_template": { + "current": "volcengine:alb/healthCheckTemplate:HealthCheckTemplate" + }, + "volcengine_alb_listener": { + "current": "volcengine:alb/listener:Listener", + "fields": { + "acl_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_listener_domain_extension": { + "current": "volcengine:alb/listenerDomainExtension:ListenerDomainExtension" + }, + "volcengine_alb_rule": { + "current": "volcengine:alb/rule:Rule", + "fields": { + "redirect_config": { + "maxItemsOne": true + }, + "rewrite_config": { + "maxItemsOne": true + } + } + }, + "volcengine_alb_server_group": { + "current": "volcengine:alb/serverGroup:ServerGroup", + "fields": { + "health_check": { + "maxItemsOne": true + }, + "listeners": { + "maxItemsOne": false + }, + "sticky_session_config": { + "maxItemsOne": true + } + } + }, + "volcengine_alb_server_group_server": { + "current": "volcengine:alb/serverGroupServer:ServerGroupServer" + }, + "volcengine_bandwidth_package": { + "current": "volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage", + "fields": { + "security_protection_types": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_bandwidth_package_attachment": { + "current": "volcengine:bandwidth_package/attachment:Attachment" + }, + "volcengine_bioos_cluster": { + "current": "volcengine:bioos/cluster:Cluster", + "fields": { + "shared_config": { + "maxItemsOne": true + }, + "vke_config": { + "maxItemsOne": true + } + } + }, + "volcengine_bioos_cluster_bind": { + "current": "volcengine:bioos/clusterBind:ClusterBind" + }, + "volcengine_bioos_workspace": { + "current": "volcengine:bioos/workspace:Workspace" + }, + "volcengine_cdn_certificate": { + "current": "volcengine:cdn/cdnCertificate:CdnCertificate" + }, + "volcengine_cdn_domain": { + "current": "volcengine:cdn/cdnDomain:CdnDomain", + "fields": { + "shared_cname": { + "maxItemsOne": true + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cdn_shared_config": { + "current": "volcengine:cdn/sharedConfig:SharedConfig", + "fields": { + "allow_ip_access_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + }, + "allow_referer_access_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": true, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "common_match_list": { + "maxItemsOne": true, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": true, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "deny_ip_access_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + }, + "deny_referer_access_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": true, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_cen": { + "current": "volcengine:cen/cen:Cen", + "fields": { + "cen_bandwidth_package_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_attach_instance": { + "current": "volcengine:cen/attachInstance:AttachInstance" + }, + "volcengine_cen_bandwidth_package": { + "current": "volcengine:cen/bandwidthPackage:BandwidthPackage", + "fields": { + "cen_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_bandwidth_package_associate": { + "current": "volcengine:cen/bandwidthPackageAssociate:BandwidthPackageAssociate" + }, + "volcengine_cen_grant_instance": { + "current": "volcengine:cen/grantInstance:GrantInstance" + }, + "volcengine_cen_inter_region_bandwidth": { + "current": "volcengine:cen/interRegionBandwidth:InterRegionBandwidth" + }, + "volcengine_cen_route_entry": { + "current": "volcengine:cen/routeEntry:RouteEntry", + "fields": { + "as_path": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_service_route_entry": { + "current": "volcengine:cen/serviceRouteEntry:ServiceRouteEntry", + "fields": { + "publish_to_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_certificate": { + "current": "volcengine:clb/certificate:Certificate", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_address_book": { + "current": "volcengine:cloud_firewall/cfwAddressBook:CfwAddressBook", + "fields": { + "address_list": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_control_policy": { + "current": "volcengine:cloud_firewall/cfwControlPolicy:CfwControlPolicy", + "fields": { + "repeat_days": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_control_policy_priority": { + "current": "volcengine:cloud_firewall/cfwControlPolicyPriority:CfwControlPolicyPriority" + }, + "volcengine_cfw_dns_control_policy": { + "current": "volcengine:cloud_firewall/cfwDnsControlPolicy:CfwDnsControlPolicy", + "fields": { + "source": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_nat_firewall_control_policy": { + "current": "volcengine:cloud_firewall/cfwNatFirewallControlPolicy:CfwNatFirewallControlPolicy", + "fields": { + "repeat_days": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_nat_firewall_control_policy_priority": { + "current": "volcengine:cloud_firewall/cfwNatFirewallControlPolicyPriority:CfwNatFirewallControlPolicyPriority" + }, + "volcengine_cfw_vpc_firewall_acl_rule": { + "current": "volcengine:cloud_firewall/cfwVpcFirewallAclRule:CfwVpcFirewallAclRule", + "fields": { + "repeat_days": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_vpc_firewall_acl_rule_priority": { + "current": "volcengine:cloud_firewall/cfwVpcFirewallAclRulePriority:CfwVpcFirewallAclRulePriority" + }, + "volcengine_clb": { + "current": "volcengine:clb/clb:Clb", + "fields": { + "eip_billing_config": { + "maxItemsOne": true + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_clb_rule": { + "current": "volcengine:clb/rule:Rule" + }, + "volcengine_cloud_identity_group": { + "current": "volcengine:cloud_identity/group:Group", + "fields": { + "members": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_permission_set": { + "current": "volcengine:cloud_identity/permissionSet:PermissionSet", + "fields": { + "permission_policies": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_permission_set_assignment": { + "current": "volcengine:cloud_identity/permissionSetAssignment:PermissionSetAssignment" + }, + "volcengine_cloud_identity_permission_set_provisioning": { + "current": "volcengine:cloud_identity/permissionSetProvisioning:PermissionSetProvisioning" + }, + "volcengine_cloud_identity_user": { + "current": "volcengine:cloud_identity/user:User" + }, + "volcengine_cloud_identity_user_attachment": { + "current": "volcengine:cloud_identity/userAttachment:UserAttachment" + }, + "volcengine_cloud_identity_user_provisioning": { + "current": "volcengine:cloud_identity/userProvisioning:UserProvisioning", + "fields": { + "policy_name": { + "maxItemsOne": true + } + } + }, + "volcengine_cloud_monitor_contact": { + "current": "volcengine:cloud_monitor/contact:Contact" + }, + "volcengine_cloud_monitor_contact_group": { + "current": "volcengine:cloud_monitor/contactGroup:ContactGroup", + "fields": { + "contacts_id_list": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_monitor_event_rule": { + "current": "volcengine:cloud_monitor/eventRule:EventRule", + "fields": { + "contact_group_ids": { + "maxItemsOne": false + }, + "contact_methods": { + "maxItemsOne": false + }, + "effective_time": { + "maxItemsOne": true + }, + "event_type": { + "maxItemsOne": false + }, + "filter_pattern": { + "maxItemsOne": true, + "elem": { + "fields": { + "type": { + "maxItemsOne": false + } + } + } + }, + "message_queue": { + "maxItemsOne": false + }, + "tls_target": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_monitor_rule": { + "current": "volcengine:cloud_monitor/rule:Rule", + "fields": { + "alert_methods": { + "maxItemsOne": false + }, + "conditions": { + "maxItemsOne": false + }, + "contact_group_ids": { + "maxItemsOne": false + }, + "original_dimensions": { + "maxItemsOne": false, + "elem": { + "fields": { + "value": { + "maxItemsOne": false + } + } + } + }, + "recovery_notify": { + "maxItemsOne": true + }, + "regions": { + "maxItemsOne": false + }, + "webhook_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_cloudfs_access": { + "current": "volcengine:cloudfs/access:Access" + }, + "volcengine_cloudfs_file_system": { + "current": "volcengine:cloudfs/fileSystem:FileSystem" + }, + "volcengine_cloudfs_namespace": { + "current": "volcengine:cloudfs/namespace:Namespace" + }, + "volcengine_cr_endpoint": { + "current": "volcengine:cr/endpoint:Endpoint", + "fields": { + "acl_policies": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_endpoint_acl_policy": { + "current": "volcengine:cr/endpointAclPolicy:EndpointAclPolicy" + }, + "volcengine_cr_namespace": { + "current": "volcengine:cr/namespace:Namespace" + }, + "volcengine_cr_registry": { + "current": "volcengine:cr/registry:Registry", + "fields": { + "domains": { + "maxItemsOne": false + }, + "resource_tags": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cr_registry_state": { + "current": "volcengine:cr/state:State", + "fields": { + "status": { + "maxItemsOne": true, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cr_repository": { + "current": "volcengine:cr/repository:Repository" + }, + "volcengine_cr_tag": { + "current": "volcengine:cr/tag:Tag", + "fields": { + "chart_attribute": { + "maxItemsOne": false + }, + "image_attributes": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_vpc_endpoint": { + "current": "volcengine:cr/vpcEndpoint:VpcEndpoint", + "fields": { + "vpcs": { + "maxItemsOne": false + } + } + }, + "volcengine_customer_gateway": { + "current": "volcengine:vpn/customerGateway:CustomerGateway" + }, + "volcengine_direct_connect_bgp_peer": { + "current": "volcengine:direct_connect/bgpPeer:BgpPeer" + }, + "volcengine_direct_connect_connection": { + "current": "volcengine:direct_connect/connection:Connection", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_gateway": { + "current": "volcengine:direct_connect/gateway:Gateway", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_gateway_route": { + "current": "volcengine:direct_connect/gatewayRoute:GatewayRoute" + }, + "volcengine_direct_connect_virtual_interface": { + "current": "volcengine:direct_connect/virtualInterface:VirtualInterface", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_dnat_entry": { + "current": "volcengine:nat/dnatEntry:DnatEntry" + }, + "volcengine_dns_backup": { + "current": "volcengine:dns/backup:Backup" + }, + "volcengine_dns_backup_schedule": { + "current": "volcengine:dns/backupSchedule:BackupSchedule" + }, + "volcengine_dns_record": { + "current": "volcengine:dns/record:Record", + "fields": { + "operators": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_dns_zone": { + "current": "volcengine:dns/zone:Zone", + "fields": { + "allocate_dns_server_list": { + "maxItemsOne": false + }, + "real_dns_server_list": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ebs_auto_snapshot_policy": { + "current": "volcengine:ebs/autoSnapshotPolicy:AutoSnapshotPolicy", + "fields": { + "repeat_weekdays": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "time_points": { + "maxItemsOne": false + } + } + }, + "volcengine_ebs_auto_snapshot_policy_attachment": { + "current": "volcengine:ebs/autoSnapshotPolicyAttachment:AutoSnapshotPolicyAttachment" + }, + "volcengine_ebs_snapshot": { + "current": "volcengine:ebs/snapshot:Snapshot", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ebs_snapshot_group": { + "current": "volcengine:ebs/snapshotGroup:SnapshotGroup", + "fields": { + "tags": { + "maxItemsOne": false + }, + "volume_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_command": { + "current": "volcengine:ecs/command:Command" + }, + "volcengine_ecs_deployment_set": { + "current": "volcengine:ecs/deploymentSet:DeploymentSet" + }, + "volcengine_ecs_deployment_set_associate": { + "current": "volcengine:ecs/deploymentSetAssociate:DeploymentSetAssociate" + }, + "volcengine_ecs_hpc_cluster": { + "current": "volcengine:ecs/hpcCluster:HpcCluster" + }, + "volcengine_ecs_instance": { + "current": "volcengine:ecs/instance:Instance", + "fields": { + "cpu_options": { + "maxItemsOne": true + }, + "data_volumes": { + "maxItemsOne": false + }, + "eip_address": { + "maxItemsOne": true + }, + "gpu_devices": { + "maxItemsOne": false + }, + "ipv6_addresses": { + "maxItemsOne": false + }, + "secondary_network_interfaces": { + "maxItemsOne": false, + "elem": { + "fields": { + "security_group_ids": { + "maxItemsOne": false + } + } + } + }, + "security_group_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_instance_state": { + "current": "volcengine:ecs/state:State" + }, + "volcengine_ecs_invocation": { + "current": "volcengine:ecs/invocation:Invocation", + "fields": { + "instance_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_key_pair": { + "current": "volcengine:ecs/keyPair:KeyPair" + }, + "volcengine_ecs_key_pair_associate": { + "current": "volcengine:ecs/keyPairAssociate:KeyPairAssociate" + }, + "volcengine_ecs_launch_template": { + "current": "volcengine:ecs/launchTemplate:LaunchTemplate", + "fields": { + "network_interfaces": { + "maxItemsOne": false, + "elem": { + "fields": { + "security_group_ids": { + "maxItemsOne": false + } + } + } + }, + "volumes": { + "maxItemsOne": false + } + } + }, + "volcengine_eip_address": { + "current": "volcengine:eip/address:Address", + "fields": { + "security_protection_types": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_eip_associate": { + "current": "volcengine:eip/associate:Associate" + }, + "volcengine_escloud_instance": { + "current": "volcengine:escloud/instance:Instance", + "fields": { + "instance_configuration": { + "maxItemsOne": true, + "elem": { + "fields": { + "maintenance_day": { + "maxItemsOne": false + }, + "node_specs_assigns": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_escloud_instance_v2": { + "current": "volcengine:escloud/instanceV2:InstanceV2", + "past": [ + { + "name": "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "maintenance_day": { + "maxItemsOne": false + }, + "network_specs": { + "maxItemsOne": false + }, + "node_specs_assigns": { + "maxItemsOne": false, + "elem": { + "fields": { + "extra_performance": { + "maxItemsOne": true + } + } + } + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_escloud_ip_white_list": { + "current": "volcengine:escloud/ipWhiteList:IpWhiteList", + "past": [ + { + "name": "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "ip_list": { + "maxItemsOne": false + } + } + }, + "volcengine_financial_relation": { + "current": "volcengine:financial_relation/financialRelation:FinancialRelation", + "fields": { + "auth_list": { + "maxItemsOne": false + } + } + }, + "volcengine_ha_vip": { + "current": "volcengine:vpc/haVip:HaVip", + "fields": { + "associated_instance_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ha_vip_associate": { + "current": "volcengine:vpc/haVipAssociate:HaVipAssociate" + }, + "volcengine_iam_access_key": { + "current": "volcengine:iam/accessKey:AccessKey" + }, + "volcengine_iam_login_profile": { + "current": "volcengine:iam/loginProfile:LoginProfile" + }, + "volcengine_iam_policy": { + "current": "volcengine:iam/policy:Policy" + }, + "volcengine_iam_role": { + "current": "volcengine:iam/role:Role" + }, + "volcengine_iam_role_attachment": { + "current": "volcengine:ecs/iamRoleAttachment:IamRoleAttachment" + }, + "volcengine_iam_role_policy_attachment": { + "current": "volcengine:iam/rolePolicyAttachment:RolePolicyAttachment" + }, + "volcengine_iam_saml_provider": { + "current": "volcengine:iam/samlProvider:SamlProvider" + }, + "volcengine_iam_user": { + "current": "volcengine:iam/user:User" + }, + "volcengine_iam_user_group": { + "current": "volcengine:iam/userGroup:UserGroup" + }, + "volcengine_iam_user_group_attachment": { + "current": "volcengine:iam/userGroupAttachment:UserGroupAttachment" + }, + "volcengine_iam_user_group_policy_attachment": { + "current": "volcengine:iam/userGroupPolicyAttachment:UserGroupPolicyAttachment" + }, + "volcengine_iam_user_policy_attachment": { + "current": "volcengine:iam/userPolicyAttachment:UserPolicyAttachment" + }, + "volcengine_image": { + "current": "volcengine:ecs/image:Image", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_image_import": { + "current": "volcengine:ecs/imageImport:ImageImport", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_image_share_permission": { + "current": "volcengine:ecs/imageSharePermission:ImageSharePermission" + }, + "volcengine_kafka_group": { + "current": "volcengine:kafka/group:Group" + }, + "volcengine_kafka_instance": { + "current": "volcengine:kafka/instance:Instance", + "fields": { + "parameters": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_public_address": { + "current": "volcengine:kafka/publicAddress:PublicAddress" + }, + "volcengine_kafka_sasl_user": { + "current": "volcengine:kafka/saslUser:SaslUser" + }, + "volcengine_kafka_topic": { + "current": "volcengine:kafka/topic:Topic", + "fields": { + "access_policies": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": true + } + } + }, + "volcengine_listener": { + "current": "volcengine:clb/listener:Listener", + "fields": { + "acl_ids": { + "maxItemsOne": false + }, + "health_check": { + "maxItemsOne": true + } + } + }, + "volcengine_mongodb_account": { + "current": "volcengine:mongodb/account:Account", + "fields": { + "account_privileges": { + "maxItemsOne": false, + "elem": { + "fields": { + "role_names": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_allow_list": { + "current": "volcengine:mongodb/mongoAllowList:MongoAllowList", + "fields": { + "associated_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_allow_list_associate": { + "current": "volcengine:mongodb/mongoAllowListAssociate:MongoAllowListAssociate" + }, + "volcengine_mongodb_endpoint": { + "current": "volcengine:mongodb/endpoint:Endpoint", + "fields": { + "eip_ids": { + "maxItemsOne": false + }, + "mongos_node_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_instance": { + "current": "volcengine:mongodb/instance:Instance", + "fields": { + "mongos": { + "maxItemsOne": false + }, + "node_availability_zone": { + "maxItemsOne": false + }, + "shards": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_instance_parameter": { + "current": "volcengine:mongodb/instanceParameter:InstanceParameter" + }, + "volcengine_mongodb_ssl_state": { + "current": "volcengine:mongodb/sslState:SslState" + }, + "volcengine_nas_file_system": { + "current": "volcengine:nas/fileSystem:FileSystem", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_mount_point": { + "current": "volcengine:nas/mountPoint:MountPoint" + }, + "volcengine_nas_permission_group": { + "current": "volcengine:nas/permissionGroup:PermissionGroup", + "fields": { + "permission_rules": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_snapshot": { + "current": "volcengine:nas/snapshot:Snapshot" + }, + "volcengine_nat_gateway": { + "current": "volcengine:nat/gateway:Gateway", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_network_acl": { + "current": "volcengine:vpc/networkAcl:NetworkAcl", + "fields": { + "egress_acl_entries": { + "maxItemsOne": false + }, + "ingress_acl_entries": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_network_acl_associate": { + "current": "volcengine:vpc/networkAclAssociate:NetworkAclAssociate" + }, + "volcengine_network_interface": { + "current": "volcengine:vpc/networkInterface:NetworkInterface", + "fields": { + "ipv6_addresses": { + "maxItemsOne": false + }, + "private_ip_address": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_network_interface_attach": { + "current": "volcengine:vpc/networkInterfaceAttach:NetworkInterfaceAttach" + }, + "volcengine_organization": { + "current": "volcengine:organization/organization:Organization" + }, + "volcengine_organization_account": { + "current": "volcengine:organization/account:Account", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_organization_service_control_policy": { + "current": "volcengine:organization/serviceControlPolicy:ServiceControlPolicy" + }, + "volcengine_organization_service_control_policy_attachment": { + "current": "volcengine:organization/serviceControlPolicyAttachment:ServiceControlPolicyAttachment" + }, + "volcengine_organization_service_control_policy_enabler": { + "current": "volcengine:organization/serviceControlPolicyEnabler:ServiceControlPolicyEnabler" + }, + "volcengine_organization_unit": { + "current": "volcengine:organization/unit:Unit" + }, + "volcengine_private_zone": { + "current": "volcengine:private_zone/privateZone:PrivateZone", + "fields": { + "vpcs": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_record": { + "current": "volcengine:private_zone/record:Record" + }, + "volcengine_private_zone_record_weight_enabler": { + "current": "volcengine:private_zone/recordWeightEnabler:RecordWeightEnabler" + }, + "volcengine_private_zone_resolver_endpoint": { + "current": "volcengine:private_zone/resolverEndpoint:ResolverEndpoint", + "fields": { + "ip_configs": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_resolver_rule": { + "current": "volcengine:private_zone/resolverRule:ResolverRule", + "fields": { + "forward_ips": { + "maxItemsOne": false + }, + "vpcs": { + "maxItemsOne": false + }, + "zone_name": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_user_vpc_authorization": { + "current": "volcengine:private_zone/userVpcAuthorization:UserVpcAuthorization" + }, + "volcengine_privatelink_security_group": { + "current": "volcengine:privatelink/securityGroup:SecurityGroup" + }, + "volcengine_privatelink_vpc_endpoint": { + "current": "volcengine:privatelink/vpcEndpoint:VpcEndpoint", + "fields": { + "security_group_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_privatelink_vpc_endpoint_connection": { + "current": "volcengine:privatelink/vpcEndpointConnection:VpcEndpointConnection", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_privatelink_vpc_endpoint_service": { + "current": "volcengine:privatelink/vpcEndpointService:VpcEndpointService", + "fields": { + "resources": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_privatelink_vpc_endpoint_service_permission": { + "current": "volcengine:privatelink/vpcEndpointServicePermission:VpcEndpointServicePermission" + }, + "volcengine_privatelink_vpc_endpoint_service_resource": { + "current": "volcengine:privatelink/vpcEndpointServiceResource:VpcEndpointServiceResource" + }, + "volcengine_privatelink_vpc_endpoint_zone": { + "current": "volcengine:privatelink/vpcEndpointZone:VpcEndpointZone" + }, + "volcengine_rabbitmq_instance": { + "current": "volcengine:rabbitmq/instance:Instance", + "fields": { + "charge_info": { + "maxItemsOne": true + }, + "endpoints": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_rabbitmq_instance_plugin": { + "current": "volcengine:rabbitmq/instancePlugin:InstancePlugin" + }, + "volcengine_rabbitmq_public_address": { + "current": "volcengine:rabbitmq/publicAddress:PublicAddress" + }, + "volcengine_rds_account": { + "current": "volcengine:rds/account:Account" + }, + "volcengine_rds_account_privilege": { + "current": "volcengine:rds/accountPrivilege:AccountPrivilege", + "fields": { + "db_privileges": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_database": { + "current": "volcengine:rds/database:Database" + }, + "volcengine_rds_instance": { + "current": "volcengine:rds/instance:Instance", + "fields": { + "connection_info": { + "maxItemsOne": true + } + } + }, + "volcengine_rds_instance_v2": { + "current": "volcengine:rds_v2/rdsInstanceV2:RdsInstanceV2", + "fields": { + "charge_info": { + "maxItemsOne": true + }, + "connection_info": { + "maxItemsOne": false, + "elem": { + "fields": { + "address": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + } + }, + "node_info": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_ip_list": { + "current": "volcengine:rds/ipList:IpList", + "fields": { + "ip_list": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mssql_backup": { + "current": "volcengine:rds_mssql/backup:Backup", + "fields": { + "backup_meta": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mssql_instance": { + "current": "volcengine:rds_mssql/instance:Instance", + "fields": { + "charge_info": { + "maxItemsOne": true + }, + "full_backup_period": { + "maxItemsOne": false + }, + "subnet_id": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_account": { + "current": "volcengine:rds_mysql/account:Account", + "fields": { + "account_privileges": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_allowlist": { + "current": "volcengine:rds_mysql/allowlist:Allowlist", + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "security_group_bind_infos": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "user_allow_list": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_allowlist_associate": { + "current": "volcengine:rds_mysql/allowlistAssociate:AllowlistAssociate" + }, + "volcengine_rds_mysql_backup": { + "current": "volcengine:rds_mysql/backup:Backup", + "fields": { + "backup_meta": { + "maxItemsOne": false, + "elem": { + "fields": { + "table_names": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_backup_policy": { + "current": "volcengine:rds_mysql/backupPolicy:BackupPolicy", + "fields": { + "data_full_backup_periods": { + "maxItemsOne": false + }, + "data_incr_backup_periods": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_database": { + "current": "volcengine:rds_mysql/database:Database" + }, + "volcengine_rds_mysql_endpoint": { + "current": "volcengine:rds_mysql/endpoint:Endpoint", + "fields": { + "nodes": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_endpoint_public_address": { + "current": "volcengine:rds_mysql/endpointPublicAddress:EndpointPublicAddress" + }, + "volcengine_rds_mysql_instance": { + "current": "volcengine:rds_mysql/instance:Instance", + "fields": { + "allow_list_ids": { + "maxItemsOne": false + }, + "charge_detail": { + "maxItemsOne": false + }, + "charge_info": { + "maxItemsOne": true + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "addresses": { + "maxItemsOne": false + }, + "node_weight": { + "maxItemsOne": false + } + } + } + }, + "feature_states": { + "maxItemsOne": false + }, + "maintenance_window": { + "maxItemsOne": true, + "elem": { + "fields": { + "day_of_week": { + "maxItemsOne": false + } + } + } + }, + "nodes": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_instance_readonly_node": { + "current": "volcengine:rds_mysql/instanceReadonlyNode:InstanceReadonlyNode" + }, + "volcengine_rds_mysql_parameter_template": { + "current": "volcengine:rds_mysql/parameterTemplate:ParameterTemplate", + "fields": { + "template_params": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_parameter_template": { + "current": "volcengine:rds/parameterTemplate:ParameterTemplate", + "fields": { + "template_params": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_account": { + "current": "volcengine:rds_postgresql/account:Account" + }, + "volcengine_rds_postgresql_allowlist": { + "current": "volcengine:rds_postgresql/allowlist:Allowlist", + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_allowlist_associate": { + "current": "volcengine:rds_postgresql/allowlistAssociate:AllowlistAssociate" + }, + "volcengine_rds_postgresql_database": { + "current": "volcengine:rds_postgresql/database:Database" + }, + "volcengine_rds_postgresql_instance": { + "current": "volcengine:rds_postgresql/instance:Instance", + "fields": { + "charge_detail": { + "maxItemsOne": false + }, + "charge_info": { + "maxItemsOne": true + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "address": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + } + }, + "nodes": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_instance_readonly_node": { + "current": "volcengine:rds_postgresql/instanceReadonlyNode:InstanceReadonlyNode" + }, + "volcengine_rds_postgresql_schema": { + "current": "volcengine:rds_postgresql/schema:Schema" + }, + "volcengine_redis_account": { + "current": "volcengine:redis/account:Account" + }, + "volcengine_redis_allow_list": { + "current": "volcengine:redis/allowList:AllowList", + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_allow_list_associate": { + "current": "volcengine:redis/allowListAssociate:AllowListAssociate" + }, + "volcengine_redis_backup": { + "current": "volcengine:redis/backup:Backup", + "fields": { + "instance_detail": { + "maxItemsOne": false, + "elem": { + "fields": { + "vpc_info": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_redis_backup_restore": { + "current": "volcengine:redis/backupRestore:BackupRestore" + }, + "volcengine_redis_continuous_backup": { + "current": "volcengine:redis/continuousBackup:ContinuousBackup" + }, + "volcengine_redis_endpoint": { + "current": "volcengine:redis/endpoint:Endpoint" + }, + "volcengine_redis_instance": { + "current": "volcengine:redis/instance:Instance", + "fields": { + "backup_period": { + "maxItemsOne": false + }, + "configure_nodes": { + "maxItemsOne": false + }, + "param_values": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_instance_state": { + "current": "volcengine:redis/state:State" + }, + "volcengine_rocketmq_access_key": { + "current": "volcengine:rocketmq/rocketMQAccessKey:RocketMQAccessKey", + "fields": { + "topic_permissions": { + "maxItemsOne": false + } + } + }, + "volcengine_rocketmq_allow_list": { + "current": "volcengine:rocketmq/rocketMQAllowList:RocketMQAllowList", + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_rocketmq_allow_list_associate": { + "current": "volcengine:rocketmq/rocketMQAllowListAssociate:RocketMQAllowListAssociate" + }, + "volcengine_rocketmq_group": { + "current": "volcengine:rocketmq/rocketMQGroup:RocketMQGroup" + }, + "volcengine_rocketmq_instance": { + "current": "volcengine:rocketmq/rocketMQInstance:RocketMQInstance", + "fields": { + "charge_info": { + "maxItemsOne": true + }, + "connection_info": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_rocketmq_public_address": { + "current": "volcengine:rocketmq/rocketMQPublicAddress:RocketMQPublicAddress" + }, + "volcengine_rocketmq_topic": { + "current": "volcengine:rocketmq/rocketMQTopic:RocketMQTopic", + "fields": { + "access_policies": { + "maxItemsOne": false + }, + "groups": { + "maxItemsOne": false + }, + "queues": { + "maxItemsOne": false + } + } + }, + "volcengine_route_entry": { + "current": "volcengine:vpc/routeEntry:RouteEntry" + }, + "volcengine_route_table": { + "current": "volcengine:vpc/routeTable:RouteTable", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_route_table_associate": { + "current": "volcengine:vpc/routeTableAssociate:RouteTableAssociate" + }, + "volcengine_scaling_configuration": { + "current": "volcengine:autoscaling/scalingConfiguration:ScalingConfiguration", + "fields": { + "instance_types": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false + } + } + }, + "volcengine_scaling_configuration_attachment": { + "current": "volcengine:autoscaling/scalingConfigurationAttachment:ScalingConfigurationAttachment" + }, + "volcengine_scaling_group": { + "current": "volcengine:autoscaling/scalingGroup:ScalingGroup", + "fields": { + "db_instance_ids": { + "maxItemsOne": false + }, + "launch_template_overrides": { + "maxItemsOne": false + }, + "server_group_attributes": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_scaling_group_enabler": { + "current": "volcengine:autoscaling/scalingGroupEnabler:ScalingGroupEnabler" + }, + "volcengine_scaling_instance_attachment": { + "current": "volcengine:autoscaling/scalingInstanceAttachment:ScalingInstanceAttachment" + }, + "volcengine_scaling_lifecycle_hook": { + "current": "volcengine:autoscaling/scalingLifecycleHook:ScalingLifecycleHook", + "fields": { + "lifecycle_command": { + "maxItemsOne": true + } + } + }, + "volcengine_scaling_policy": { + "current": "volcengine:autoscaling/scalingPolicy:ScalingPolicy" + }, + "volcengine_security_group": { + "current": "volcengine:vpc/securityGroup:SecurityGroup", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_security_group_rule": { + "current": "volcengine:vpc/securityGroupRule:SecurityGroupRule" + }, + "volcengine_server_group": { + "current": "volcengine:clb/serverGroup:ServerGroup" + }, + "volcengine_server_group_server": { + "current": "volcengine:clb/serverGroupServer:ServerGroupServer" + }, + "volcengine_snat_entry": { + "current": "volcengine:nat/snatEntry:SnatEntry" + }, + "volcengine_ssl_vpn_client_cert": { + "current": "volcengine:vpn/sslVpnClientCert:SslVpnClientCert" + }, + "volcengine_ssl_vpn_server": { + "current": "volcengine:vpn/sslVpnServer:SslVpnServer", + "fields": { + "local_subnets": { + "maxItemsOne": false + } + } + }, + "volcengine_subnet": { + "current": "volcengine:vpc/subnet:Subnet", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_alarm": { + "current": "volcengine:tls/alarm:Alarm", + "fields": { + "alarm_notify_group": { + "maxItemsOne": false + }, + "alarm_period_detail": { + "maxItemsOne": true + }, + "query_request": { + "maxItemsOne": false + }, + "request_cycle": { + "maxItemsOne": true + } + } + }, + "volcengine_tls_alarm_notify_group": { + "current": "volcengine:tls/alarmNotifyGroup:AlarmNotifyGroup", + "fields": { + "notify_type": { + "maxItemsOne": false + }, + "receivers": { + "maxItemsOne": false, + "elem": { + "fields": { + "receiver_channels": { + "maxItemsOne": false + }, + "receiver_names": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tls_host": { + "current": "volcengine:tls/host:Host" + }, + "volcengine_tls_host_group": { + "current": "volcengine:tls/hostGroup:HostGroup", + "fields": { + "host_ip_list": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_index": { + "current": "volcengine:tls/index:Index", + "fields": { + "full_text": { + "maxItemsOne": true + }, + "key_value": { + "maxItemsOne": false, + "elem": { + "fields": { + "json_keys": { + "maxItemsOne": false + } + } + } + }, + "user_inner_key_value": { + "maxItemsOne": false, + "elem": { + "fields": { + "json_keys": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tls_kafka_consumer": { + "current": "volcengine:tls/kafkaConsumer:KafkaConsumer" + }, + "volcengine_tls_project": { + "current": "volcengine:tls/project:Project", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_rule": { + "current": "volcengine:tls/rule:Rule", + "fields": { + "container_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "kubernetes_rule": { + "maxItemsOne": true + } + } + } + }, + "exclude_paths": { + "maxItemsOne": false + }, + "extract_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "filter_key_regex": { + "maxItemsOne": false + }, + "keys": { + "maxItemsOne": false + }, + "log_template": { + "maxItemsOne": true + } + } + } + }, + "paths": { + "maxItemsOne": false + }, + "user_define_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "advanced": { + "maxItemsOne": true + }, + "parse_path_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "keys": { + "maxItemsOne": false + } + } + } + }, + "plugin": { + "maxItemsOne": true, + "elem": { + "fields": { + "processors": { + "maxItemsOne": false + } + } + } + }, + "shard_hash_key": { + "maxItemsOne": true + } + } + } + } + } + }, + "volcengine_tls_rule_applier": { + "current": "volcengine:tls/ruleApplier:RuleApplier" + }, + "volcengine_tls_topic": { + "current": "volcengine:tls/topic:Topic", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_tos_bucket": { + "current": "volcengine:tos/bucket:Bucket", + "fields": { + "account_acl": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_tos_bucket_inventory": { + "current": "volcengine:tos/bucketInventory:BucketInventory", + "fields": { + "destination": { + "maxItemsOne": true, + "elem": { + "fields": { + "tos_bucket_destination": { + "maxItemsOne": true + } + } + } + }, + "filter": { + "maxItemsOne": true + }, + "optional_fields": { + "maxItemsOne": true, + "elem": { + "fields": { + "field": { + "maxItemsOne": false + } + } + } + }, + "schedule": { + "maxItemsOne": true + } + } + }, + "volcengine_tos_bucket_policy": { + "current": "volcengine:tos/bucketPolicy:BucketPolicy" + }, + "volcengine_tos_bucket_realtime_log": { + "current": "volcengine:tos/bucketRealtimeLog:BucketRealtimeLog", + "fields": { + "access_log_configuration": { + "maxItemsOne": true + } + } + }, + "volcengine_tos_object": { + "current": "volcengine:tos/bucketObject:BucketObject", + "fields": { + "account_acl": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "version_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router": { + "current": "volcengine:transit_router/transitRouter:TransitRouter", + "fields": { + "tags": { + "maxItemsOne": false + }, + "transit_router_attachments": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_bandwidth_package": { + "current": "volcengine:transit_router/bandwidthPackage:BandwidthPackage", + "fields": { + "allocations": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_direct_connect_gateway_attachment": { + "current": "volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_grant_rule": { + "current": "volcengine:transit_router/grantRule:GrantRule" + }, + "volcengine_transit_router_peer_attachment": { + "current": "volcengine:transit_router/peerAttachment:PeerAttachment", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_route_entry": { + "current": "volcengine:transit_router/routeEntry:RouteEntry" + }, + "volcengine_transit_router_route_table": { + "current": "volcengine:transit_router/routeTable:RouteTable", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_route_table_association": { + "current": "volcengine:transit_router/routeTableAssociation:RouteTableAssociation" + }, + "volcengine_transit_router_route_table_propagation": { + "current": "volcengine:transit_router/routeTablePropagation:RouteTablePropagation" + }, + "volcengine_transit_router_shared_transit_router_state": { + "current": "volcengine:transit_router/sharedTransitRouterState:SharedTransitRouterState" + }, + "volcengine_transit_router_vpc_attachment": { + "current": "volcengine:transit_router/vpcAttachment:VpcAttachment", + "fields": { + "attach_points": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_vpn_attachment": { + "current": "volcengine:transit_router/vpnAttachment:VpnAttachment", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vedb_mysql_account": { + "current": "volcengine:vedb_mysql/account:Account", + "fields": { + "account_privileges": { + "maxItemsOne": false + } + } + }, + "volcengine_vedb_mysql_allowlist": { + "current": "volcengine:vedb_mysql/allowlist:Allowlist", + "fields": { + "allow_list": { + "maxItemsOne": false + } + } + }, + "volcengine_vedb_mysql_allowlist_associate": { + "current": "volcengine:vedb_mysql/allowlistAssociate:AllowlistAssociate" + }, + "volcengine_vedb_mysql_backup": { + "current": "volcengine:vedb_mysql/backup:Backup", + "fields": { + "backup_policy": { + "maxItemsOne": true + } + } + }, + "volcengine_vedb_mysql_database": { + "current": "volcengine:vedb_mysql/database:Database" + }, + "volcengine_vedb_mysql_endpoint": { + "current": "volcengine:vedb_mysql/endpoint:Endpoint", + "fields": { + "node_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_vedb_mysql_endpoint_public_address": { + "current": "volcengine:vedb_mysql/endpointPublicAddress:EndpointPublicAddress" + }, + "volcengine_vedb_mysql_instance": { + "current": "volcengine:vedb_mysql/instance:Instance", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_veenedge_cloud_server": { + "current": "volcengine:veenedge/cloudServer:CloudServer", + "fields": { + "billing_config": { + "maxItemsOne": true + }, + "custom_data": { + "maxItemsOne": true + }, + "network_config": { + "maxItemsOne": true + }, + "schedule_strategy": { + "maxItemsOne": true + }, + "storage_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "data_disk_list": { + "maxItemsOne": false + }, + "system_disk": { + "maxItemsOne": true + } + } + } + } + } + }, + "volcengine_veenedge_instance": { + "current": "volcengine:veenedge/instance:Instance" + }, + "volcengine_veenedge_vpc": { + "current": "volcengine:veenedge/vpc:Vpc" + }, + "volcengine_vepfs_file_system": { + "current": "volcengine:vepfs/fileSystem:FileSystem", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vepfs_fileset": { + "current": "volcengine:vepfs/fileset:Fileset" + }, + "volcengine_vepfs_mount_service": { + "current": "volcengine:vepfs/mountService:MountService", + "fields": { + "attach_file_systems": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false + } + } + }, + "volcengine_vepfs_mount_service_attachment": { + "current": "volcengine:vepfs/mountServiceAttachment:MountServiceAttachment" + }, + "volcengine_vke_addon": { + "current": "volcengine:vke/addon:Addon" + }, + "volcengine_vke_cluster": { + "current": "volcengine:vke/cluster:Cluster", + "fields": { + "cluster_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "api_server_public_access_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "public_access_network_config": { + "maxItemsOne": true + } + } + } + }, + "subnet_ids": { + "maxItemsOne": false + } + } + } + }, + "logging_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "log_setups": { + "maxItemsOne": false + } + } + } + }, + "pods_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "flannel_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "pod_cidrs": { + "maxItemsOne": false + } + } + } + }, + "vpc_cni_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "subnet_ids": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "services_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "service_cidrsv4": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_default_node_pool": { + "current": "volcengine:vke/defaultNodePool:DefaultNodePool", + "fields": { + "instances": { + "maxItemsOne": false + }, + "kubernetes_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "labels": { + "maxItemsOne": false + }, + "taints": { + "maxItemsOne": false + } + } + } + }, + "node_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "ecs_tags": { + "maxItemsOne": false + }, + "security": { + "maxItemsOne": true, + "elem": { + "fields": { + "login": { + "maxItemsOne": true + }, + "security_group_ids": { + "maxItemsOne": false + }, + "security_strategies": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_default_node_pool_batch_attach": { + "current": "volcengine:vke/defaultNodePoolBatchAttach:DefaultNodePoolBatchAttach", + "fields": { + "instances": { + "maxItemsOne": false + }, + "kubernetes_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "labels": { + "maxItemsOne": false + }, + "taints": { + "maxItemsOne": false + } + } + } + }, + "node_config": { + "maxItemsOne": false, + "elem": { + "fields": { + "ecs_tags": { + "maxItemsOne": false + }, + "security": { + "maxItemsOne": false, + "elem": { + "fields": { + "login": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "security_strategies": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_kubeconfig": { + "current": "volcengine:vke/kubeconfig:Kubeconfig" + }, + "volcengine_vke_node": { + "current": "volcengine:vke/node:Node", + "fields": { + "kubernetes_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "labels": { + "maxItemsOne": false + }, + "taints": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vke_node_pool": { + "current": "volcengine:vke/nodePool:NodePool", + "fields": { + "auto_scaling": { + "maxItemsOne": true + }, + "instance_ids": { + "maxItemsOne": false + }, + "kubernetes_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "kubelet_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "feature_gates": { + "maxItemsOne": true + } + } + } + }, + "labels": { + "maxItemsOne": false + }, + "taints": { + "maxItemsOne": false + } + } + } + }, + "node_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "data_volumes": { + "maxItemsOne": false + }, + "ecs_tags": { + "maxItemsOne": false + }, + "hpc_cluster_ids": { + "maxItemsOne": false + }, + "instance_type_ids": { + "maxItemsOne": false + }, + "security": { + "maxItemsOne": true, + "elem": { + "fields": { + "login": { + "maxItemsOne": true + }, + "security_group_ids": { + "maxItemsOne": false + }, + "security_strategies": { + "maxItemsOne": false + } + } + } + }, + "subnet_ids": { + "maxItemsOne": false + }, + "system_volume": { + "maxItemsOne": true + } + } + } + }, + "node_statistics": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_volume": { + "current": "volcengine:ebs/volume:Volume", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_volume_attach": { + "current": "volcengine:ebs/volumeAttach:VolumeAttach" + }, + "volcengine_vpc": { + "current": "volcengine:vpc/vpc:Vpc", + "fields": { + "associate_cens": { + "maxItemsOne": false + }, + "auxiliary_cidr_blocks": { + "maxItemsOne": false + }, + "dns_servers": { + "maxItemsOne": false + }, + "nat_gateway_ids": { + "maxItemsOne": false + }, + "route_table_ids": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vpc_ipv6_address_bandwidth": { + "current": "volcengine:vpc/ipv6AddressBandwidth:Ipv6AddressBandwidth" + }, + "volcengine_vpc_ipv6_gateway": { + "current": "volcengine:vpc/ipv6Gateway:Ipv6Gateway" + }, + "volcengine_vpc_prefix_list": { + "current": "volcengine:vpc/prefixList:PrefixList", + "fields": { + "prefix_list_associations": { + "maxItemsOne": false + }, + "prefix_list_entries": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vpn_connection": { + "current": "volcengine:vpn/connection:Connection", + "fields": { + "local_subnet": { + "maxItemsOne": false + }, + "remote_subnet": { + "maxItemsOne": false + } + } + }, + "volcengine_vpn_gateway": { + "current": "volcengine:vpn/gateway:Gateway", + "fields": { + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vpn_gateway_route": { + "current": "volcengine:vpn/gatewayRoute:GatewayRoute" + } + }, + "datasources": { + "volcengine_acls": { + "current": "volcengine:clb/acls:Acls", + "fields": { + "acls": { + "maxItemsOne": false, + "elem": { + "fields": { + "listeners": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_acls": { + "current": "volcengine:alb/acls:Acls", + "fields": { + "acls": { + "maxItemsOne": false, + "elem": { + "fields": { + "acl_entries": { + "maxItemsOne": false + }, + "listeners": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_ca_certificates": { + "current": "volcengine:alb/caCertificates:CaCertificates", + "fields": { + "certificates": { + "maxItemsOne": false, + "elem": { + "fields": { + "listeners": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_certificates": { + "current": "volcengine:alb/certificates:Certificates", + "fields": { + "certificates": { + "maxItemsOne": false, + "elem": { + "fields": { + "listeners": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_customized_cfgs": { + "current": "volcengine:alb/customizedCfgs:CustomizedCfgs", + "fields": { + "cfgs": { + "maxItemsOne": false, + "elem": { + "fields": { + "listeners": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_health_check_templates": { + "current": "volcengine:alb/healthCheckTemplates:HealthCheckTemplates", + "fields": { + "health_check_templates": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_listener_domain_extensions": { + "current": "volcengine:alb/listenerDomainExtensions:ListenerDomainExtensions", + "fields": { + "domain_extensions": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_listeners": { + "current": "volcengine:alb/listeners:Listeners", + "fields": { + "ids": { + "maxItemsOne": false + }, + "listeners": { + "maxItemsOne": false, + "elem": { + "fields": { + "acl_ids": { + "maxItemsOne": false + }, + "domain_extensions": { + "maxItemsOne": false + }, + "server_groups": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_alb_rules": { + "current": "volcengine:alb/rules:Rules", + "fields": { + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "redirect_config": { + "maxItemsOne": false + }, + "rewrite_config": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_alb_server_group_servers": { + "current": "volcengine:alb/serverGroupServers:ServerGroupServers", + "fields": { + "servers": { + "maxItemsOne": false + } + } + }, + "volcengine_alb_server_groups": { + "current": "volcengine:alb/serverGroups:ServerGroups", + "fields": { + "ids": { + "maxItemsOne": false + }, + "server_group_names": { + "maxItemsOne": false + }, + "server_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "health_check": { + "maxItemsOne": false + }, + "listeners": { + "maxItemsOne": false + }, + "servers": { + "maxItemsOne": false + }, + "sticky_session_config": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_alb_zones": { + "current": "volcengine:alb/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_albs": { + "current": "volcengine:alb/albs:Albs", + "fields": { + "albs": { + "maxItemsOne": false, + "elem": { + "fields": { + "access_log": { + "maxItemsOne": false + }, + "health_log": { + "maxItemsOne": false + }, + "listeners": { + "maxItemsOne": false + }, + "local_addresses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "tls_access_log": { + "maxItemsOne": false + }, + "zone_mappings": { + "maxItemsOne": false, + "elem": { + "fields": { + "load_balancer_addresses": { + "maxItemsOne": false, + "elem": { + "fields": { + "eip": { + "maxItemsOne": false, + "elem": { + "fields": { + "pop_locations": { + "maxItemsOne": false + }, + "security_protection_types": { + "maxItemsOne": false + } + } + } + }, + "ipv6_eip": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_bandwidth_packages": { + "current": "volcengine:bandwidth_package/bandwidthPackages:BandwidthPackages", + "fields": { + "ids": { + "maxItemsOne": false + }, + "packages": { + "maxItemsOne": false, + "elem": { + "fields": { + "eip_addresses": { + "maxItemsOne": false + }, + "security_protection_types": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tag_filters": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_bioos_clusters": { + "current": "volcengine:bioos/clusters:Clusters", + "fields": { + "ids": { + "maxItemsOne": false + }, + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "shared_config": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": false + }, + "type": { + "maxItemsOne": false + } + } + }, + "volcengine_bioos_workspaces": { + "current": "volcengine:bioos/workspaces:Workspaces", + "fields": { + "ids": { + "maxItemsOne": false + }, + "items": { + "maxItemsOne": false + } + } + }, + "volcengine_cdn_certificates": { + "current": "volcengine:cdn/getCertificates:getCertificates", + "past": [ + { + "name": "volcengine:cdn/certificates:Certificates", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "cert_info": { + "maxItemsOne": false + } + } + }, + "volcengine_cdn_configs": { + "current": "volcengine:cdn/getConfigs:getConfigs", + "past": [ + { + "name": "volcengine:cdn/configs:Configs", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "domain_config": { + "maxItemsOne": false + } + } + }, + "volcengine_cdn_domains": { + "current": "volcengine:cdn/getDomains:getDomains", + "past": [ + { + "name": "volcengine:cdn/domains:Domains", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "domains": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_origin": { + "maxItemsOne": false + }, + "domain_lock": { + "maxItemsOne": false + }, + "primary_origin": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cdn_shared_configs": { + "current": "volcengine:cdn/getSharedConfigs:getSharedConfigs", + "past": [ + { + "name": "volcengine:cdn/sharedConfigs:SharedConfigs", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "config_data": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_ip_access_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + }, + "allow_referer_access_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": false, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "common_match_list": { + "maxItemsOne": false, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": false, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "deny_ip_access_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + }, + "deny_referer_access_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "common_type": { + "maxItemsOne": false, + "elem": { + "fields": { + "rules": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + } + }, + "config_type_list": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_attach_instances": { + "current": "volcengine:cen/attachInstances:AttachInstances", + "fields": { + "attach_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_bandwidth_packages": { + "current": "volcengine:cen/bandwidthPackages:BandwidthPackages", + "fields": { + "bandwidth_packages": { + "maxItemsOne": false, + "elem": { + "fields": { + "cen_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "cen_bandwidth_package_names": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_inter_region_bandwidths": { + "current": "volcengine:cen/interRegionBandwidths:InterRegionBandwidths", + "fields": { + "ids": { + "maxItemsOne": false + }, + "inter_region_bandwidths": { + "maxItemsOne": false + } + } + }, + "volcengine_cen_route_entries": { + "current": "volcengine:cen/routeEntries:RouteEntries", + "fields": { + "cen_route_entries": { + "maxItemsOne": false, + "elem": { + "fields": { + "as_path": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cen_service_route_entries": { + "current": "volcengine:cen/serviceRouteEntries:ServiceRouteEntries", + "fields": { + "service_route_entries": { + "maxItemsOne": false, + "elem": { + "fields": { + "publish_to_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cens": { + "current": "volcengine:cen/cens:Cens", + "fields": { + "cen_names": { + "maxItemsOne": false + }, + "cens": { + "maxItemsOne": false, + "elem": { + "fields": { + "cen_bandwidth_package_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_certificates": { + "current": "volcengine:clb/certificates:Certificates", + "fields": { + "certificates": { + "maxItemsOne": false, + "elem": { + "fields": { + "listeners": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_address_books": { + "current": "volcengine:cloud_firewall/cfwAddressBooks:CfwAddressBooks", + "fields": { + "address_books": { + "maxItemsOne": false, + "elem": { + "fields": { + "address_list": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cfw_control_policies": { + "current": "volcengine:cloud_firewall/cfwControlPolicies:CfwControlPolicies", + "fields": { + "action": { + "maxItemsOne": false + }, + "control_policies": { + "maxItemsOne": false, + "elem": { + "fields": { + "dest_port_list": { + "maxItemsOne": false + }, + "destination_cidr_list": { + "maxItemsOne": false + }, + "repeat_days": { + "maxItemsOne": false + }, + "source_cidr_list": { + "maxItemsOne": false + } + } + } + }, + "proto": { + "maxItemsOne": false + }, + "repeat_type": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_dns_control_policies": { + "current": "volcengine:cloud_firewall/cfwDnsControlPolicies:CfwDnsControlPolicies", + "fields": { + "destination": { + "maxItemsOne": false + }, + "dns_control_policies": { + "maxItemsOne": false, + "elem": { + "fields": { + "destination_group_list": { + "maxItemsOne": false + }, + "domain_list": { + "maxItemsOne": false + }, + "source": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "source": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_nat_firewall_control_policies": { + "current": "volcengine:cloud_firewall/cfwNatFirewallControlPolicies:CfwNatFirewallControlPolicies", + "fields": { + "action": { + "maxItemsOne": false + }, + "dest_port": { + "maxItemsOne": false + }, + "destination": { + "maxItemsOne": false + }, + "nat_firewall_control_policies": { + "maxItemsOne": false, + "elem": { + "fields": { + "dest_port_group_list": { + "maxItemsOne": false + }, + "dest_port_list": { + "maxItemsOne": false + }, + "destination_cidr_list": { + "maxItemsOne": false + }, + "destination_group_list": { + "maxItemsOne": false + }, + "repeat_days": { + "maxItemsOne": false + }, + "source_cidr_list": { + "maxItemsOne": false + }, + "source_group_list": { + "maxItemsOne": false + } + } + } + }, + "proto": { + "maxItemsOne": false + }, + "repeat_type": { + "maxItemsOne": false + }, + "rule_id": { + "maxItemsOne": false + }, + "source": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_cfw_vpc_firewall_acl_rules": { + "current": "volcengine:cloud_firewall/cfwVpcFirewallAclRules:CfwVpcFirewallAclRules", + "fields": { + "action": { + "maxItemsOne": false + }, + "proto": { + "maxItemsOne": false + }, + "repeat_type": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + }, + "vpc_firewall_acl_rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "dest_port_list": { + "maxItemsOne": false + }, + "destination_cidr_list": { + "maxItemsOne": false + }, + "repeat_days": { + "maxItemsOne": false + }, + "source_cidr_list": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_clb_rules": { + "current": "volcengine:clb/rules:Rules", + "fields": { + "ids": { + "maxItemsOne": false + }, + "rules": { + "maxItemsOne": false + } + } + }, + "volcengine_clb_zones": { + "current": "volcengine:clb/zones:Zones", + "fields": { + "master_zones": { + "maxItemsOne": false, + "elem": { + "fields": { + "slave_zones": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_clbs": { + "current": "volcengine:clb/clbs:Clbs", + "fields": { + "clbs": { + "maxItemsOne": false, + "elem": { + "fields": { + "eip_billing_config": { + "maxItemsOne": false + }, + "ipv6_address_bandwidth": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_groups": { + "current": "volcengine:cloud_identity/getGroups:getGroups", + "past": [ + { + "name": "volcengine:cloud_identity/groups:Groups", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "groups": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_permission_set_assignments": { + "current": "volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments", + "past": [ + { + "name": "volcengine:cloud_identity/permissionSetAssignments:PermissionSetAssignments", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "assignments": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_permission_set_provisionings": { + "current": "volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings", + "past": [ + { + "name": "volcengine:cloud_identity/permissionSetProvisionings:PermissionSetProvisionings", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "permission_provisionings": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_identity_permission_sets": { + "current": "volcengine:cloud_identity/getPermissionSets:getPermissionSets", + "past": [ + { + "name": "volcengine:cloud_identity/permissionSets:PermissionSets", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "ids": { + "maxItemsOne": false + }, + "permission_sets": { + "maxItemsOne": false, + "elem": { + "fields": { + "permission_policies": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cloud_identity_user_provisionings": { + "current": "volcengine:cloud_identity/getUserProvisionings:getUserProvisionings", + "past": [ + { + "name": "volcengine:cloud_identity/userProvisionings:UserProvisionings", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "user_provisionings": { + "maxItemsOne": false, + "elem": { + "fields": { + "department_names": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cloud_identity_users": { + "current": "volcengine:cloud_identity/getUsers:getUsers", + "past": [ + { + "name": "volcengine:cloud_identity/users:Users", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "users": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_monitor_contact_groups": { + "current": "volcengine:cloud_monitor/contactGroups:ContactGroups", + "fields": { + "groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "contacts": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cloud_monitor_contacts": { + "current": "volcengine:cloud_monitor/contacts:Contacts", + "fields": { + "contacts": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_cloud_monitor_event_rules": { + "current": "volcengine:cloud_monitor/eventRules:EventRules", + "fields": { + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "contact_group_ids": { + "maxItemsOne": false + }, + "contact_methods": { + "maxItemsOne": false + }, + "event_type": { + "maxItemsOne": false + }, + "filter_pattern": { + "maxItemsOne": false, + "elem": { + "fields": { + "type": { + "maxItemsOne": false + } + } + } + }, + "message_queue": { + "maxItemsOne": false + }, + "tls_target": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cloud_monitor_rules": { + "current": "volcengine:cloud_monitor/rules:Rules", + "fields": { + "alert_state": { + "maxItemsOne": false + }, + "enable_state": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "level": { + "maxItemsOne": false + }, + "namespace": { + "maxItemsOne": false + }, + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "alert_methods": { + "maxItemsOne": false + }, + "conditions": { + "maxItemsOne": false + }, + "contact_group_ids": { + "maxItemsOne": false + }, + "original_dimensions": { + "maxItemsOne": false, + "elem": { + "fields": { + "value": { + "maxItemsOne": false + } + } + } + }, + "regions": { + "maxItemsOne": false + }, + "webhook_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cloudfs_accesses": { + "current": "volcengine:cloudfs/accesses:Accesses", + "fields": { + "accesses": { + "maxItemsOne": false + } + } + }, + "volcengine_cloudfs_file_systems": { + "current": "volcengine:cloudfs/fileSystems:FileSystems", + "fields": { + "file_systems": { + "maxItemsOne": false + } + } + }, + "volcengine_cloudfs_namespaces": { + "current": "volcengine:cloudfs/namespaces:Namespaces", + "fields": { + "namespaces": { + "maxItemsOne": false + } + } + }, + "volcengine_cloudfs_ns_quotas": { + "current": "volcengine:cloudfs/nsQuotas:NsQuotas", + "fields": { + "fs_names": { + "maxItemsOne": false + }, + "quotas": { + "maxItemsOne": false + } + } + }, + "volcengine_cloudfs_quotas": { + "current": "volcengine:cloudfs/quotas:Quotas", + "fields": { + "quotas": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_authorization_tokens": { + "current": "volcengine:cr/authorizationTokens:AuthorizationTokens", + "fields": { + "tokens": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_endpoints": { + "current": "volcengine:cr/endpoints:Endpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "acl_policies": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_cr_namespaces": { + "current": "volcengine:cr/namespaces:Namespaces", + "fields": { + "names": { + "maxItemsOne": false + }, + "namespaces": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_registries": { + "current": "volcengine:cr/registries:Registries", + "fields": { + "names": { + "maxItemsOne": false + }, + "registries": { + "maxItemsOne": false, + "elem": { + "fields": { + "domains": { + "maxItemsOne": false + }, + "resource_tags": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": true, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "resource_tags": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "statuses": { + "maxItemsOne": false + }, + "types": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_repositories": { + "current": "volcengine:cr/repositories:Repositories", + "fields": { + "access_levels": { + "maxItemsOne": false + }, + "names": { + "maxItemsOne": false + }, + "namespaces": { + "maxItemsOne": false + }, + "repositories": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_tags": { + "current": "volcengine:cr/tags:Tags", + "fields": { + "names": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false, + "elem": { + "fields": { + "chart_attribute": { + "maxItemsOne": true + }, + "image_attributes": { + "maxItemsOne": false + } + } + } + }, + "types": { + "maxItemsOne": false + } + } + }, + "volcengine_cr_vpc_endpoints": { + "current": "volcengine:cr/vpcEndpoints:VpcEndpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "vpcs": { + "maxItemsOne": false + } + } + } + }, + "statuses": { + "maxItemsOne": false + } + } + }, + "volcengine_customer_gateways": { + "current": "volcengine:vpn/customerGateways:CustomerGateways", + "fields": { + "customer_gateway_names": { + "maxItemsOne": false + }, + "customer_gateways": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_bgp_peers": { + "current": "volcengine:direct_connect/bgpPeers:BgpPeers", + "fields": { + "bgp_peers": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_connections": { + "current": "volcengine:direct_connect/connections:Connections", + "fields": { + "direct_connect_connections": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tag_filters": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_gateway_routes": { + "current": "volcengine:direct_connect/gatewayRoutes:GatewayRoutes", + "fields": { + "direct_connect_gateway_routes": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_gateways": { + "current": "volcengine:direct_connect/gateways:Gateways", + "fields": { + "direct_connect_gateways": { + "maxItemsOne": false, + "elem": { + "fields": { + "associate_cens": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tag_filters": { + "maxItemsOne": false + } + } + }, + "volcengine_direct_connect_virtual_interfaces": { + "current": "volcengine:direct_connect/virtualInterfaces:VirtualInterfaces", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tag_filters": { + "maxItemsOne": false + }, + "virtual_interfaces": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_dnat_entries": { + "current": "volcengine:nat/dnatEntries:DnatEntries", + "fields": { + "dnat_entries": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_dns_backups": { + "current": "volcengine:dns/backups:Backups", + "fields": { + "backup_infos": { + "maxItemsOne": false + } + } + }, + "volcengine_dns_record_sets": { + "current": "volcengine:dns/recordSets:RecordSets", + "fields": { + "record_sets": { + "maxItemsOne": false + } + } + }, + "volcengine_dns_records": { + "current": "volcengine:dns/records:Records", + "fields": { + "records": { + "maxItemsOne": false, + "elem": { + "fields": { + "operators": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_dns_zones": { + "current": "volcengine:dns/zones:Zones", + "fields": { + "tags": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "zones": { + "maxItemsOne": false, + "elem": { + "fields": { + "allocate_dns_server_list": { + "maxItemsOne": false + }, + "real_dns_server_list": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_ebs_auto_snapshot_policies": { + "current": "volcengine:ebs/autoSnapshotPolicies:AutoSnapshotPolicies", + "fields": { + "auto_snapshot_policies": { + "maxItemsOne": false, + "elem": { + "fields": { + "repeat_weekdays": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "time_points": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ebs_snapshot_groups": { + "current": "volcengine:ebs/snapshotGroups:SnapshotGroups", + "fields": { + "ids": { + "maxItemsOne": false + }, + "snapshot_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "snapshots": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_ebs_snapshots": { + "current": "volcengine:ebs/snapshots:Snapshots", + "fields": { + "ids": { + "maxItemsOne": false + }, + "snapshot_status": { + "maxItemsOne": false + }, + "snapshots": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_available_resources": { + "current": "volcengine:ecs/availableResources:AvailableResources", + "fields": { + "available_zones": { + "maxItemsOne": false, + "elem": { + "fields": { + "available_resources": { + "maxItemsOne": false, + "elem": { + "fields": { + "supported_resources": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_ecs_commands": { + "current": "volcengine:ecs/commands:Commands", + "fields": { + "commands": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_deployment_sets": { + "current": "volcengine:ecs/deploymentSets:DeploymentSets", + "fields": { + "deployment_sets": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_hpc_clusters": { + "current": "volcengine:ecs/hpcClusters:HpcClusters", + "fields": { + "hpc_clusters": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_instance_types": { + "current": "volcengine:ecs/instanceTypes:InstanceTypes", + "fields": { + "ids": { + "maxItemsOne": false + }, + "instance_types": { + "maxItemsOne": false, + "elem": { + "fields": { + "gpu": { + "maxItemsOne": false, + "elem": { + "fields": { + "gpu_devices": { + "maxItemsOne": false, + "elem": { + "fields": { + "memory": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "local_volumes": { + "maxItemsOne": false + }, + "memory": { + "maxItemsOne": false + }, + "network": { + "maxItemsOne": false + }, + "processor": { + "maxItemsOne": false + }, + "rdma": { + "maxItemsOne": false + }, + "volume": { + "maxItemsOne": false, + "elem": { + "fields": { + "supported_volume_types": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_ecs_instances": { + "current": "volcengine:ecs/instances:Instances", + "fields": { + "deployment_set_ids": { + "maxItemsOne": false + }, + "eip_addresses": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "instance_type_families": { + "maxItemsOne": false + }, + "instance_type_ids": { + "maxItemsOne": false + }, + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "gpu_devices": { + "maxItemsOne": false + }, + "ipv6_addresses": { + "maxItemsOne": false + }, + "network_interfaces": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false + } + } + } + }, + "ipv6_addresses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_invocation_results": { + "current": "volcengine:ecs/invocationResults:InvocationResults", + "fields": { + "invocation_result_status": { + "maxItemsOne": false + }, + "invocation_results": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_invocations": { + "current": "volcengine:ecs/invocations:Invocations", + "fields": { + "invocation_status": { + "maxItemsOne": false + }, + "invocations": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_ecs_key_pairs": { + "current": "volcengine:ecs/keyPairs:KeyPairs", + "fields": { + "key_pair_ids": { + "maxItemsOne": false + }, + "key_pair_names": { + "maxItemsOne": false + }, + "key_pairs": { + "maxItemsOne": false + } + } + }, + "volcengine_ecs_launch_templates": { + "current": "volcengine:ecs/launchTemplates:LaunchTemplates", + "fields": { + "ids": { + "maxItemsOne": false + }, + "launch_template_names": { + "maxItemsOne": false + }, + "launch_templates": { + "maxItemsOne": false, + "elem": { + "fields": { + "network_interfaces": { + "maxItemsOne": false, + "elem": { + "fields": { + "security_group_ids": { + "maxItemsOne": false + } + } + } + }, + "volumes": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_eip_addresses": { + "current": "volcengine:eip/addresses:Addresses", + "fields": { + "addresses": { + "maxItemsOne": false, + "elem": { + "fields": { + "security_protection_types": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "eip_addresses": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_escloud_instances": { + "current": "volcengine:escloud/getInstances:getInstances", + "past": [ + { + "name": "volcengine:escloud/instances:Instances", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "charge_types": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_configuration": { + "maxItemsOne": true, + "elem": { + "fields": { + "hot_node_resource_spec": { + "maxItemsOne": true + }, + "hot_node_storage_spec": { + "maxItemsOne": true + }, + "kibana_node_resource_spec": { + "maxItemsOne": true + }, + "kibana_node_storage_spec": { + "maxItemsOne": true + }, + "master_node_resource_spec": { + "maxItemsOne": true + }, + "master_node_storage_spec": { + "maxItemsOne": true + }, + "subnet": { + "maxItemsOne": true + }, + "vpc": { + "maxItemsOne": true + } + } + } + }, + "maintenance_day": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false, + "elem": { + "fields": { + "resource_spec": { + "maxItemsOne": true + }, + "storage_spec": { + "maxItemsOne": true + } + } + } + }, + "plugins": { + "maxItemsOne": false + } + } + } + }, + "names": { + "maxItemsOne": false + }, + "statuses": { + "maxItemsOne": false + }, + "versions": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_escloud_instances_v2": { + "current": "volcengine:escloud/getInstancesV2:getInstancesV2", + "past": [ + { + "name": "volcengine:escloud_v2/escloudInstancesV2:EscloudInstancesV2", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "charge_types": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "instance_names": { + "maxItemsOne": false + }, + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "cold_node_resource_spec": { + "maxItemsOne": false + }, + "cold_node_storage_spec": { + "maxItemsOne": false + }, + "coordinator_node_resource_spec": { + "maxItemsOne": false + }, + "coordinator_node_storage_spec": { + "maxItemsOne": false + }, + "hot_node_resource_spec": { + "maxItemsOne": false + }, + "hot_node_storage_spec": { + "maxItemsOne": false + }, + "kibana_node_resource_spec": { + "maxItemsOne": false + }, + "kibana_node_storage_spec": { + "maxItemsOne": false + }, + "master_node_resource_spec": { + "maxItemsOne": false + }, + "master_node_storage_spec": { + "maxItemsOne": false + }, + "subnet": { + "maxItemsOne": false + }, + "vpc": { + "maxItemsOne": false + }, + "warm_node_resource_spec": { + "maxItemsOne": false + }, + "warm_node_storage_spec": { + "maxItemsOne": false + } + } + } + }, + "maintenance_day": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false, + "elem": { + "fields": { + "resource_spec": { + "maxItemsOne": false + }, + "storage_spec": { + "maxItemsOne": false + } + } + } + }, + "plugins": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "statuses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "versions": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_escloud_regions": { + "current": "volcengine:escloud/getRegions:getRegions", + "past": [ + { + "name": "volcengine:escloud/regions:Regions", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_escloud_zones": { + "current": "volcengine:escloud/getZones:getZones", + "past": [ + { + "name": "volcengine:escloud/zones:Zones", + "inCodegen": true, + "majorVersion": 0 + } + ], + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_financial_relations": { + "current": "volcengine:financial_relation/financialRelations:FinancialRelations", + "fields": { + "account_ids": { + "maxItemsOne": false + }, + "financial_relations": { + "maxItemsOne": false, + "elem": { + "fields": { + "auth_info": { + "maxItemsOne": false, + "elem": { + "fields": { + "auth_list": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "relation": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_ha_vips": { + "current": "volcengine:vpc/haVips:HaVips", + "fields": { + "ha_vips": { + "maxItemsOne": false, + "elem": { + "fields": { + "associated_instance_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_access_keys": { + "current": "volcengine:iam/accessKeys:AccessKeys", + "fields": { + "access_key_metadata": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_policies": { + "current": "volcengine:iam/policies:Policies", + "fields": { + "policies": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_roles": { + "current": "volcengine:iam/roles:Roles", + "fields": { + "roles": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_saml_providers": { + "current": "volcengine:iam/samlProviders:SamlProviders", + "fields": { + "providers": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_user_group_policy_attachments": { + "current": "volcengine:iam/userGroupPolicyAttachments:UserGroupPolicyAttachments", + "fields": { + "policies": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_user_groups": { + "current": "volcengine:iam/userGroups:UserGroups", + "fields": { + "user_groups": { + "maxItemsOne": false + } + } + }, + "volcengine_iam_users": { + "current": "volcengine:iam/users:Users", + "fields": { + "user_names": { + "maxItemsOne": false + }, + "users": { + "maxItemsOne": false + } + } + }, + "volcengine_image_share_permissions": { + "current": "volcengine:ecs/imageSharePermissions:ImageSharePermissions", + "fields": { + "accounts": { + "maxItemsOne": false + } + } + }, + "volcengine_images": { + "current": "volcengine:ecs/images:Images", + "fields": { + "ids": { + "maxItemsOne": false + }, + "images": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_consumed_partitions": { + "current": "volcengine:kafka/consumedPartitions:ConsumedPartitions", + "fields": { + "consumed_partitions": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_consumed_topics": { + "current": "volcengine:kafka/consumedTopics:ConsumedTopics", + "fields": { + "consumed_topics": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_groups": { + "current": "volcengine:kafka/groups:Groups", + "fields": { + "groups": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_instances": { + "current": "volcengine:kafka/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_info": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_regions": { + "current": "volcengine:kafka/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_sasl_users": { + "current": "volcengine:kafka/saslUsers:SaslUsers", + "fields": { + "users": { + "maxItemsOne": false + } + } + }, + "volcengine_kafka_topic_partitions": { + "current": "volcengine:kafka/topicPartitions:TopicPartitions", + "fields": { + "partition_ids": { + "maxItemsOne": false + }, + "partitions": { + "maxItemsOne": false, + "elem": { + "fields": { + "insync_replicas": { + "maxItemsOne": false + }, + "replicas": { + "maxItemsOne": false + }, + "under_insync_replicas": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_kafka_topics": { + "current": "volcengine:kafka/topics:Topics", + "fields": { + "topics": { + "maxItemsOne": false, + "elem": { + "fields": { + "access_policies": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": true + } + } + } + } + } + }, + "volcengine_kafka_zones": { + "current": "volcengine:kafka/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_listeners": { + "current": "volcengine:clb/listeners:Listeners", + "fields": { + "ids": { + "maxItemsOne": false + }, + "listeners": { + "maxItemsOne": false, + "elem": { + "fields": { + "acl_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_accounts": { + "current": "volcengine:mongodb/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false, + "elem": { + "fields": { + "account_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_allow_lists": { + "current": "volcengine:mongodb/mongoAllowLists:MongoAllowLists", + "fields": { + "allow_list_ids": { + "maxItemsOne": false + }, + "allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "associated_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_endpoints": { + "current": "volcengine:mongodb/endpoints:Endpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "db_addresses": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_instance_parameter_logs": { + "current": "volcengine:mongodb/instanceParameterLogs:InstanceParameterLogs", + "fields": { + "parameter_change_logs": { + "maxItemsOne": true + } + } + }, + "volcengine_mongodb_instance_parameters": { + "current": "volcengine:mongodb/instanceParameters:InstanceParameters", + "fields": { + "instance_parameters": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_parameters": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_instances": { + "current": "volcengine:mongodb/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "config_servers": { + "maxItemsOne": false + }, + "mongos": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false + }, + "shards": { + "maxItemsOne": false, + "elem": { + "fields": { + "nodes": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_regions": { + "current": "volcengine:mongodb/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_specs": { + "current": "volcengine:mongodb/specs:Specs", + "fields": { + "specs": { + "maxItemsOne": true, + "elem": { + "fields": { + "config_server_node_specs": { + "maxItemsOne": false + }, + "mongos_node_specs": { + "maxItemsOne": false + }, + "node_specs": { + "maxItemsOne": false + }, + "shard_node_specs": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_mongodb_ssl_states": { + "current": "volcengine:mongodb/sslStates:SslStates", + "fields": { + "ssl_state": { + "maxItemsOne": false + } + } + }, + "volcengine_mongodb_zones": { + "current": "volcengine:mongodb/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_file_systems": { + "current": "volcengine:nas/fileSystems:FileSystems", + "fields": { + "file_systems": { + "maxItemsOne": false, + "elem": { + "fields": { + "capacity": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_mount_points": { + "current": "volcengine:nas/mountPoints:MountPoints", + "fields": { + "mount_points": { + "maxItemsOne": false, + "elem": { + "fields": { + "permission_group": { + "maxItemsOne": false, + "elem": { + "fields": { + "mount_points": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_nas_permission_groups": { + "current": "volcengine:nas/permissionGroups:PermissionGroups", + "fields": { + "filters": { + "maxItemsOne": false + }, + "permission_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "mount_points": { + "maxItemsOne": false + }, + "permission_rules": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_nas_regions": { + "current": "volcengine:nas/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_snapshots": { + "current": "volcengine:nas/snapshots:Snapshots", + "fields": { + "ids": { + "maxItemsOne": false + }, + "snapshots": { + "maxItemsOne": false + } + } + }, + "volcengine_nas_zones": { + "current": "volcengine:nas/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false, + "elem": { + "fields": { + "sales": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_nat_gateways": { + "current": "volcengine:nat/gateways:Gateways", + "fields": { + "ids": { + "maxItemsOne": false + }, + "nat_gateways": { + "maxItemsOne": false, + "elem": { + "fields": { + "eip_addresses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_network_acls": { + "current": "volcengine:vpc/networkAcls:NetworkAcls", + "fields": { + "ids": { + "maxItemsOne": false + }, + "network_acls": { + "maxItemsOne": false, + "elem": { + "fields": { + "egress_acl_entries": { + "maxItemsOne": false + }, + "ingress_acl_entries": { + "maxItemsOne": false + }, + "resources": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_network_interfaces": { + "current": "volcengine:vpc/networkInterfaces:NetworkInterfaces", + "fields": { + "ids": { + "maxItemsOne": false + }, + "network_interface_ids": { + "maxItemsOne": false + }, + "network_interfaces": { + "maxItemsOne": false, + "elem": { + "fields": { + "ipv6_sets": { + "maxItemsOne": false + }, + "private_ip_sets": { + "maxItemsOne": false, + "elem": { + "fields": { + "associated_elastic_ip": { + "maxItemsOne": false + } + } + } + }, + "security_group_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "primary_ip_addresses": { + "maxItemsOne": false + }, + "private_ip_addresses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_organization_accounts": { + "current": "volcengine:organization/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_organization_service_control_policies": { + "current": "volcengine:organization/serviceControlPolicies:ServiceControlPolicies", + "fields": { + "policies": { + "maxItemsOne": false + } + } + }, + "volcengine_organization_units": { + "current": "volcengine:organization/units:Units", + "fields": { + "units": { + "maxItemsOne": false + } + } + }, + "volcengine_organizations": { + "current": "volcengine:organization/organizations:Organizations", + "fields": { + "organizations": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_record_sets": { + "current": "volcengine:private_zone/recordSets:RecordSets", + "fields": { + "record_sets": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_records": { + "current": "volcengine:private_zone/records:Records", + "fields": { + "records": { + "maxItemsOne": false + } + } + }, + "volcengine_private_zone_resolver_endpoints": { + "current": "volcengine:private_zone/resolverEndpoints:ResolverEndpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_configs": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_private_zone_resolver_rules": { + "current": "volcengine:private_zone/resolverRules:ResolverRules", + "fields": { + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "bind_vpcs": { + "maxItemsOne": false + }, + "forward_ips": { + "maxItemsOne": false + }, + "zone_name": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_private_zones": { + "current": "volcengine:private_zone/privateZones:PrivateZones", + "fields": { + "private_zones": { + "maxItemsOne": false, + "elem": { + "fields": { + "bind_vpcs": { + "maxItemsOne": false + }, + "region": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_privatelink_vpc_endpoint_connections": { + "current": "volcengine:privatelink/vpcEndpointConnections:VpcEndpointConnections", + "fields": { + "connections": { + "maxItemsOne": false, + "elem": { + "fields": { + "zones": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_privatelink_vpc_endpoint_service_permissions": { + "current": "volcengine:privatelink/vpcEndpointServicePermissions:VpcEndpointServicePermissions", + "fields": { + "permissions": { + "maxItemsOne": false + } + } + }, + "volcengine_privatelink_vpc_endpoint_services": { + "current": "volcengine:privatelink/vpcEndpointServices:VpcEndpointServices", + "fields": { + "ids": { + "maxItemsOne": false + }, + "services": { + "maxItemsOne": false, + "elem": { + "fields": { + "resources": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_privatelink_vpc_endpoint_zones": { + "current": "volcengine:privatelink/vpcEndpointZones:VpcEndpointZones", + "fields": { + "vpc_endpoint_zones": { + "maxItemsOne": false + } + } + }, + "volcengine_privatelink_vpc_endpoints": { + "current": "volcengine:privatelink/vpcEndpoints:VpcEndpoints", + "fields": { + "ids": { + "maxItemsOne": false + }, + "vpc_endpoints": { + "maxItemsOne": false + } + } + }, + "volcengine_rabbitmq_instance_plugins": { + "current": "volcengine:rabbitmq/instancePlugins:InstancePlugins", + "fields": { + "plugins": { + "maxItemsOne": false + } + } + }, + "volcengine_rabbitmq_instances": { + "current": "volcengine:rabbitmq/instances:Instances", + "fields": { + "rabbitmq_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": false + }, + "endpoints": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_accounts": { + "current": "volcengine:rds/accounts:Accounts", + "fields": { + "rds_accounts": { + "maxItemsOne": false, + "elem": { + "fields": { + "db_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_databases": { + "current": "volcengine:rds/databases:Databases", + "fields": { + "rds_databases": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_instances": { + "current": "volcengine:rds/instances:Instances", + "fields": { + "rds_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_info": { + "maxItemsOne": true + }, + "instance_spec": { + "maxItemsOne": true + }, + "read_only_instance_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_instances_v2": { + "current": "volcengine:rds_v2/rdsInstancesV2:RdsInstancesV2", + "fields": { + "rds_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": true + }, + "connection_info": { + "maxItemsOne": false, + "elem": { + "fields": { + "address": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + } + }, + "node_detail_info": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_ip_lists": { + "current": "volcengine:rds/ipLists:IpLists", + "fields": { + "rds_ip_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_list": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mssql_backups": { + "current": "volcengine:rds_mssql/backups:Backups", + "fields": { + "backups": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_database_detail": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mssql_instances": { + "current": "volcengine:rds_mssql/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": false + }, + "connection_info": { + "maxItemsOne": false, + "elem": { + "fields": { + "address": { + "maxItemsOne": false + } + } + } + }, + "node_detail_info": { + "maxItemsOne": false + }, + "parameters": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mssql_regions": { + "current": "volcengine:rds_mssql/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mssql_zones": { + "current": "volcengine:rds_mssql/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_accounts": { + "current": "volcengine:rds_mysql/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false, + "elem": { + "fields": { + "account_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_allowlists": { + "current": "volcengine:rds_mysql/allowlists:Allowlists", + "fields": { + "allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + }, + "security_group_bind_infos": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_list": { + "maxItemsOne": false + } + } + } + }, + "user_allow_list": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_backups": { + "current": "volcengine:rds_mysql/backups:Backups", + "fields": { + "backups": { + "maxItemsOne": false, + "elem": { + "fields": { + "db_table_infos": { + "maxItemsOne": false, + "elem": { + "fields": { + "tables": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_rds_mysql_databases": { + "current": "volcengine:rds_mysql/databases:Databases", + "fields": { + "databases": { + "maxItemsOne": false, + "elem": { + "fields": { + "database_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_endpoints": { + "current": "volcengine:rds_mysql/endpoints:Endpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "addresses": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_instance_specs": { + "current": "volcengine:rds_mysql/instanceSpecs:InstanceSpecs", + "fields": { + "instance_specs": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_instances": { + "current": "volcengine:rds_mysql/instances:Instances", + "fields": { + "rds_mysql_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": true + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "addresses": { + "maxItemsOne": false + }, + "node_weight": { + "maxItemsOne": false + } + } + } + }, + "feature_states": { + "maxItemsOne": false + }, + "maintenance_window": { + "maxItemsOne": false, + "elem": { + "fields": { + "day_of_month": { + "maxItemsOne": false + }, + "day_of_week": { + "maxItemsOne": false + } + } + } + }, + "nodes": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_parameter_templates": { + "current": "volcengine:rds_mysql/parameterTemplates:ParameterTemplates", + "fields": { + "templates": { + "maxItemsOne": false, + "elem": { + "fields": { + "template_params": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_mysql_regions": { + "current": "volcengine:rds_mysql/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_mysql_zones": { + "current": "volcengine:rds_mysql/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_parameter_templates": { + "current": "volcengine:rds/parameterTemplates:ParameterTemplates", + "fields": { + "rds_parameter_templates": { + "maxItemsOne": false, + "elem": { + "fields": { + "template_params": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_postgresql_accounts": { + "current": "volcengine:rds_postgresql/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_allowlists": { + "current": "volcengine:rds_postgresql/allowlists:Allowlists", + "fields": { + "postgresql_allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rds_postgresql_databases": { + "current": "volcengine:rds_postgresql/databases:Databases", + "fields": { + "databases": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_instances": { + "current": "volcengine:rds_postgresql/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": false + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "address": { + "maxItemsOne": false + }, + "read_only_node_weight": { + "maxItemsOne": false + } + } + } + }, + "nodes": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rds_postgresql_schemas": { + "current": "volcengine:rds_postgresql/schemas:Schemas", + "fields": { + "schemas": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_accounts": { + "current": "volcengine:redis/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_allow_lists": { + "current": "volcengine:redis/allowLists:AllowLists", + "fields": { + "allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_redis_backups": { + "current": "volcengine:redis/backups:Backups", + "fields": { + "backup_strategy_list": { + "maxItemsOne": false + }, + "backups": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_detail": { + "maxItemsOne": false, + "elem": { + "fields": { + "vpc_info": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_redis_instances": { + "current": "volcengine:redis/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_plan": { + "maxItemsOne": true, + "elem": { + "fields": { + "period": { + "maxItemsOne": false + } + } + } + }, + "capacity": { + "maxItemsOne": true + }, + "configure_nodes": { + "maxItemsOne": false + }, + "node_ids": { + "maxItemsOne": false + }, + "params": { + "maxItemsOne": false, + "elem": { + "fields": { + "options": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + }, + "visit_addrs": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_pitr_time_windows": { + "current": "volcengine:redis/pitrTimeWindows:PitrTimeWindows", + "fields": { + "ids": { + "maxItemsOne": false + }, + "periods": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_regions": { + "current": "volcengine:redis/regions:Regions", + "fields": { + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_redis_zones": { + "current": "volcengine:redis/zones:Zones", + "fields": { + "zones": { + "maxItemsOne": false + } + } + }, + "volcengine_regions": { + "current": "volcengine:ecs/regions:Regions", + "fields": { + "ids": { + "maxItemsOne": false + }, + "regions": { + "maxItemsOne": false + } + } + }, + "volcengine_rocketmq_access_keys": { + "current": "volcengine:rocketmq/accessKeys:AccessKeys", + "fields": { + "access_keys": { + "maxItemsOne": false, + "elem": { + "fields": { + "topic_permissions": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rocketmq_allow_lists": { + "current": "volcengine:rocketmq/allowLists:AllowLists", + "fields": { + "rocketmq_allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rocketmq_groups": { + "current": "volcengine:rocketmq/groups:Groups", + "fields": { + "rocketmq_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "consumed_clients": { + "maxItemsOne": false + }, + "consumed_topics": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_rocketmq_instances": { + "current": "volcengine:rocketmq/instances:Instances", + "fields": { + "rocketmq_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "charge_detail": { + "maxItemsOne": false + }, + "connection_info": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_rocketmq_topics": { + "current": "volcengine:rocketmq/topics:Topics", + "fields": { + "rocketmq_topics": { + "maxItemsOne": false, + "elem": { + "fields": { + "access_policies": { + "maxItemsOne": false + }, + "groups": { + "maxItemsOne": false + }, + "queues": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_route_entries": { + "current": "volcengine:vpc/routeEntries:RouteEntries", + "fields": { + "ids": { + "maxItemsOne": false + }, + "route_entries": { + "maxItemsOne": false + } + } + }, + "volcengine_route_tables": { + "current": "volcengine:vpc/routeTables:RouteTables", + "fields": { + "ids": { + "maxItemsOne": false + }, + "route_tables": { + "maxItemsOne": false, + "elem": { + "fields": { + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_scaling_activities": { + "current": "volcengine:autoscaling/scalingActivities:ScalingActivities", + "fields": { + "activities": { + "maxItemsOne": false, + "elem": { + "fields": { + "related_instances": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_scaling_configurations": { + "current": "volcengine:autoscaling/scalingConfigurations:ScalingConfigurations", + "fields": { + "ids": { + "maxItemsOne": false + }, + "scaling_configuration_names": { + "maxItemsOne": false + }, + "scaling_configurations": { + "maxItemsOne": false, + "elem": { + "fields": { + "instance_types": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_scaling_groups": { + "current": "volcengine:autoscaling/scalingGroups:ScalingGroups", + "fields": { + "ids": { + "maxItemsOne": false + }, + "scaling_group_names": { + "maxItemsOne": false + }, + "scaling_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "db_instance_ids": { + "maxItemsOne": false + }, + "launch_template_overrides": { + "maxItemsOne": false + }, + "server_group_attributes": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_scaling_instances": { + "current": "volcengine:autoscaling/scalingInstances:ScalingInstances", + "fields": { + "ids": { + "maxItemsOne": false + }, + "scaling_instances": { + "maxItemsOne": false + } + } + }, + "volcengine_scaling_lifecycle_hooks": { + "current": "volcengine:autoscaling/scalingLifecycleHooks:ScalingLifecycleHooks", + "fields": { + "ids": { + "maxItemsOne": false + }, + "lifecycle_hook_names": { + "maxItemsOne": false + }, + "lifecycle_hooks": { + "maxItemsOne": false, + "elem": { + "fields": { + "lifecycle_command": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_scaling_policies": { + "current": "volcengine:autoscaling/scalingPolicies:ScalingPolicies", + "fields": { + "ids": { + "maxItemsOne": false + }, + "scaling_policies": { + "maxItemsOne": false + }, + "scaling_policy_names": { + "maxItemsOne": false + } + } + }, + "volcengine_security_group_rules": { + "current": "volcengine:vpc/securityGroupRules:SecurityGroupRules", + "fields": { + "security_group_rules": { + "maxItemsOne": false + } + } + }, + "volcengine_security_groups": { + "current": "volcengine:vpc/securityGroups:SecurityGroups", + "fields": { + "ids": { + "maxItemsOne": false + }, + "security_group_names": { + "maxItemsOne": false + }, + "security_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_server_group_servers": { + "current": "volcengine:clb/serverGroupServers:ServerGroupServers", + "fields": { + "ids": { + "maxItemsOne": false + }, + "servers": { + "maxItemsOne": false + } + } + }, + "volcengine_server_groups": { + "current": "volcengine:clb/serverGroups:ServerGroups", + "fields": { + "groups": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_snat_entries": { + "current": "volcengine:nat/snatEntries:SnatEntries", + "fields": { + "ids": { + "maxItemsOne": false + }, + "snat_entries": { + "maxItemsOne": false + } + } + }, + "volcengine_ssl_vpn_client_certs": { + "current": "volcengine:vpn/sslVpnClientCerts:SslVpnClientCerts", + "fields": { + "ids": { + "maxItemsOne": false + }, + "ssl_vpn_client_certs": { + "maxItemsOne": false + } + } + }, + "volcengine_ssl_vpn_servers": { + "current": "volcengine:vpn/sslVpnServers:SslVpnServers", + "fields": { + "ids": { + "maxItemsOne": false + }, + "ssl_vpn_servers": { + "maxItemsOne": false, + "elem": { + "fields": { + "local_subnets": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_subnets": { + "current": "volcengine:vpc/subnets:Subnets", + "fields": { + "ids": { + "maxItemsOne": false + }, + "subnets": { + "maxItemsOne": false, + "elem": { + "fields": { + "route_table": { + "maxItemsOne": true + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_alarm_notify_groups": { + "current": "volcengine:tls/alarmNotifyGroups:AlarmNotifyGroups", + "fields": { + "groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "notify_type": { + "maxItemsOne": false + }, + "receivers": { + "maxItemsOne": false, + "elem": { + "fields": { + "receiver_channels": { + "maxItemsOne": false + }, + "receiver_names": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_tls_alarms": { + "current": "volcengine:tls/alarms:Alarms", + "fields": { + "alarms": { + "maxItemsOne": false, + "elem": { + "fields": { + "alarm_notify_group": { + "maxItemsOne": false, + "elem": { + "fields": { + "notify_type": { + "maxItemsOne": false + }, + "receivers": { + "maxItemsOne": false, + "elem": { + "fields": { + "receiver_channels": { + "maxItemsOne": false + }, + "receiver_names": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "alarm_period_detail": { + "maxItemsOne": false + }, + "query_request": { + "maxItemsOne": false + }, + "request_cycle": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tls_host_groups": { + "current": "volcengine:tls/hostGroups:HostGroups", + "fields": { + "infos": { + "maxItemsOne": false, + "elem": { + "fields": { + "host_ip_list": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tls_hosts": { + "current": "volcengine:tls/hosts:Hosts", + "fields": { + "host_infos": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_indexes": { + "current": "volcengine:tls/indexes:Indexes", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tls_indexes": { + "maxItemsOne": false, + "elem": { + "fields": { + "full_text": { + "maxItemsOne": true + }, + "key_value": { + "maxItemsOne": false, + "elem": { + "fields": { + "json_keys": { + "maxItemsOne": false + } + } + } + }, + "user_inner_key_value": { + "maxItemsOne": false, + "elem": { + "fields": { + "json_keys": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_tls_kafka_consumers": { + "current": "volcengine:tls/kafkaConsumers:KafkaConsumers", + "fields": { + "data": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_projects": { + "current": "volcengine:tls/projects:Projects", + "fields": { + "tags": { + "maxItemsOne": false + }, + "tls_projects": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tls_rule_appliers": { + "current": "volcengine:tls/ruleAppliers:RuleAppliers", + "fields": { + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "container_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "kubernetes_rule": { + "maxItemsOne": false + } + } + } + }, + "exclude_paths": { + "maxItemsOne": false + }, + "extract_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "filter_key_regex": { + "maxItemsOne": false + }, + "keys": { + "maxItemsOne": false + }, + "log_template": { + "maxItemsOne": false + } + } + } + }, + "paths": { + "maxItemsOne": false + }, + "user_define_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "advanced": { + "maxItemsOne": false + }, + "parse_path_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "keys": { + "maxItemsOne": false + } + } + } + }, + "plugin": { + "maxItemsOne": false + }, + "shard_hash_key": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_tls_rules": { + "current": "volcengine:tls/rules:Rules", + "fields": { + "rules": { + "maxItemsOne": false, + "elem": { + "fields": { + "container_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "kubernetes_rule": { + "maxItemsOne": false + } + } + } + }, + "exclude_paths": { + "maxItemsOne": false + }, + "extract_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "filter_key_regex": { + "maxItemsOne": false + }, + "keys": { + "maxItemsOne": false + }, + "log_template": { + "maxItemsOne": false + } + } + } + }, + "paths": { + "maxItemsOne": false + }, + "user_define_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "advanced": { + "maxItemsOne": false + }, + "parse_path_rule": { + "maxItemsOne": false, + "elem": { + "fields": { + "keys": { + "maxItemsOne": false + } + } + } + }, + "plugin": { + "maxItemsOne": false, + "elem": { + "fields": { + "processors": { + "maxItemsOne": false + } + } + } + }, + "shard_hash_key": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "volcengine_tls_shards": { + "current": "volcengine:tls/shards:Shards", + "fields": { + "shards": { + "maxItemsOne": false + } + } + }, + "volcengine_tls_topics": { + "current": "volcengine:tls/topics:Topics", + "fields": { + "tags": { + "maxItemsOne": false + }, + "tls_topics": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tos_bucket_inventories": { + "current": "volcengine:tos/bucketInventories:BucketInventories", + "fields": { + "inventory_configurations": { + "maxItemsOne": false, + "elem": { + "fields": { + "destination": { + "maxItemsOne": false, + "elem": { + "fields": { + "tos_bucket_destination": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false + }, + "optional_fields": { + "maxItemsOne": false, + "elem": { + "fields": { + "field": { + "maxItemsOne": false + } + } + } + }, + "schedule": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_tos_buckets": { + "current": "volcengine:tos/buckets:Buckets", + "fields": { + "buckets": { + "maxItemsOne": false + } + } + }, + "volcengine_tos_objects": { + "current": "volcengine:tos/bucketObjects:BucketObjects", + "fields": { + "objects": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_bandwidth_packages": { + "current": "volcengine:transit_router/bandwidthPackages:BandwidthPackages", + "fields": { + "bandwidth_packages": { + "maxItemsOne": false, + "elem": { + "fields": { + "allocations": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_direct_connect_gateway_attachments": { + "current": "volcengine:transit_router/directConnectGatewayAttachments:DirectConnectGatewayAttachments", + "fields": { + "attachments": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + }, + "transit_router_attachment_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_grant_rules": { + "current": "volcengine:transit_router/grantRules:GrantRules", + "fields": { + "rules": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_peer_attachments": { + "current": "volcengine:transit_router/peerAttachments:PeerAttachments", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "transit_router_attachments": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_transit_router_route_entries": { + "current": "volcengine:transit_router/routeEntries:RouteEntries", + "fields": { + "entries": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_route_table_associations": { + "current": "volcengine:transit_router/routeTableAssociations:RouteTableAssociations", + "fields": { + "associations": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_route_table_propagations": { + "current": "volcengine:transit_router/routeTablePropagations:RouteTablePropagations", + "fields": { + "propagations": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_route_tables": { + "current": "volcengine:transit_router/routeTables:RouteTables", + "fields": { + "ids": { + "maxItemsOne": false + }, + "route_tables": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_vpc_attachments": { + "current": "volcengine:transit_router/vpcAttachments:VpcAttachments", + "fields": { + "attachments": { + "maxItemsOne": false, + "elem": { + "fields": { + "attach_points": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + }, + "transit_router_attachment_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_router_vpn_attachments": { + "current": "volcengine:transit_router/vpnAttachments:VpnAttachments", + "fields": { + "attachments": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_transit_routers": { + "current": "volcengine:transit_router/transitRouters:TransitRouters", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "transit_routers": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + }, + "transit_router_attachments": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_accounts": { + "current": "volcengine:vedb_mysql/accounts:Accounts", + "fields": { + "accounts": { + "maxItemsOne": false, + "elem": { + "fields": { + "account_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_allowlists": { + "current": "volcengine:vedb_mysql/allowlists:Allowlists", + "fields": { + "allow_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "allow_list": { + "maxItemsOne": false + }, + "associated_instances": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_backups": { + "current": "volcengine:vedb_mysql/backups:Backups", + "fields": { + "backups": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_policy": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_databases": { + "current": "volcengine:vedb_mysql/databases:Databases", + "fields": { + "databases": { + "maxItemsOne": false, + "elem": { + "fields": { + "databases_privileges": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_endpoints": { + "current": "volcengine:vedb_mysql/endpoints:Endpoints", + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "addresses": { + "maxItemsOne": false + }, + "node_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vedb_mysql_instances": { + "current": "volcengine:vedb_mysql/instances:Instances", + "fields": { + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "nodes": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_veenedge_available_resources": { + "current": "volcengine:veenedge/availableResources:AvailableResources", + "fields": { + "regions": { + "maxItemsOne": false, + "elem": { + "fields": { + "area": { + "maxItemsOne": true + }, + "city": { + "maxItemsOne": true + }, + "cluster": { + "maxItemsOne": true + }, + "country": { + "maxItemsOne": true + }, + "isp": { + "maxItemsOne": true + } + } + } + } + } + }, + "volcengine_veenedge_cloud_servers": { + "current": "volcengine:veenedge/cloudServers:CloudServers", + "fields": { + "cloud_servers": { + "maxItemsOne": false, + "elem": { + "fields": { + "billing_config": { + "maxItemsOne": true + }, + "custom_data": { + "maxItemsOne": true + }, + "gpu": { + "maxItemsOne": true, + "elem": { + "fields": { + "gpus": { + "maxItemsOne": false, + "elem": { + "fields": { + "gpu_spec": { + "maxItemsOne": true + } + } + } + } + } + } + }, + "image": { + "maxItemsOne": true + }, + "instance_status": { + "maxItemsOne": false + }, + "network": { + "maxItemsOne": true + }, + "schedule_strategy_configs": { + "maxItemsOne": true + }, + "secret_config": { + "maxItemsOne": true + }, + "server_areas": { + "maxItemsOne": false + }, + "storage": { + "maxItemsOne": true, + "elem": { + "fields": { + "data_disk": { + "maxItemsOne": true + }, + "data_disk_list": { + "maxItemsOne": false + }, + "system_disk": { + "maxItemsOne": true + } + } + } + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, + "volcengine_veenedge_instance_types": { + "current": "volcengine:veenedge/instanceTypes:InstanceTypes", + "fields": { + "instance_type_configs": { + "maxItemsOne": false, + "elem": { + "fields": { + "storage": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_veenedge_instances": { + "current": "volcengine:veenedge/instances:Instances", + "fields": { + "cloud_server_ids": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "cluster": { + "maxItemsOne": true + }, + "gpu": { + "maxItemsOne": true, + "elem": { + "fields": { + "gpus": { + "maxItemsOne": false, + "elem": { + "fields": { + "gpu_spec": { + "maxItemsOne": true + } + } + } + } + } + } + }, + "image": { + "maxItemsOne": true + }, + "network": { + "maxItemsOne": true, + "elem": { + "fields": { + "external_interface": { + "maxItemsOne": true, + "elem": { + "fields": { + "ips": { + "maxItemsOne": false + } + } + } + }, + "internal_interface": { + "maxItemsOne": true, + "elem": { + "fields": { + "ips": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "storage": { + "maxItemsOne": true, + "elem": { + "fields": { + "data_disk": { + "maxItemsOne": true + }, + "data_disk_list": { + "maxItemsOne": false + }, + "system_disk": { + "maxItemsOne": true + } + } + } + } + } + } + }, + "names": { + "maxItemsOne": false + }, + "statuses": { + "maxItemsOne": false + } + } + }, + "volcengine_veenedge_vpcs": { + "current": "volcengine:veenedge/vpcs:Vpcs", + "fields": { + "ids": { + "maxItemsOne": false + }, + "vpc_instances": { + "maxItemsOne": false, + "elem": { + "fields": { + "cluster": { + "maxItemsOne": true + }, + "resource_statistic": { + "maxItemsOne": false + }, + "sub_nets": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vepfs_file_systems": { + "current": "volcengine:vepfs/fileSystems:FileSystems", + "fields": { + "file_systems": { + "maxItemsOne": false, + "elem": { + "fields": { + "capacity_info": { + "maxItemsOne": true + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_vepfs_filesets": { + "current": "volcengine:vepfs/filesets:Filesets", + "fields": { + "filesets": { + "maxItemsOne": false + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_vepfs_mount_services": { + "current": "volcengine:vepfs/mountServices:MountServices", + "fields": { + "mount_services": { + "maxItemsOne": false, + "elem": { + "fields": { + "attach_file_systems": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_addons": { + "current": "volcengine:vke/addons:Addons", + "fields": { + "addons": { + "maxItemsOne": false, + "elem": { + "fields": { + "status": { + "maxItemsOne": true, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "cluster_ids": { + "maxItemsOne": false + }, + "deploy_modes": { + "maxItemsOne": false + }, + "deploy_node_types": { + "maxItemsOne": false + }, + "names": { + "maxItemsOne": false + }, + "statuses": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_clusters": { + "current": "volcengine:vke/clusters:Clusters", + "fields": { + "clusters": { + "maxItemsOne": false, + "elem": { + "fields": { + "cluster_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "api_server_endpoints": { + "maxItemsOne": true, + "elem": { + "fields": { + "private_ip": { + "maxItemsOne": true + }, + "public_ip": { + "maxItemsOne": true + } + } + } + }, + "api_server_public_access_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "access_source_ipsv4": { + "maxItemsOne": false + }, + "public_access_network_config": { + "maxItemsOne": true + } + } + } + }, + "security_group_ids": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + } + } + } + }, + "logging_config": { + "maxItemsOne": false, + "elem": { + "fields": { + "log_setups": { + "maxItemsOne": false + } + } + } + }, + "node_statistics": { + "maxItemsOne": true + }, + "pods_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "flannel_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "pod_cidrs": { + "maxItemsOne": false + } + } + } + }, + "vpc_cni_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "subnet_ids": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "services_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "service_cidrsv4": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": true, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + }, + "tags": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + }, + "statuses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_kubeconfigs": { + "current": "volcengine:vke/kubeconfigs:Kubeconfigs", + "fields": { + "cluster_ids": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "kubeconfigs": { + "maxItemsOne": false + }, + "role_ids": { + "maxItemsOne": false + }, + "types": { + "maxItemsOne": false + }, + "user_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_node_pools": { + "current": "volcengine:vke/nodePools:NodePools", + "fields": { + "cluster_ids": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "node_pools": { + "maxItemsOne": false, + "elem": { + "fields": { + "condition_types": { + "maxItemsOne": false + }, + "data_volumes": { + "maxItemsOne": false + }, + "ecs_tags": { + "maxItemsOne": false + }, + "hpc_cluster_ids": { + "maxItemsOne": false + }, + "instance_type_ids": { + "maxItemsOne": false + }, + "kubelet_config": { + "maxItemsOne": false, + "elem": { + "fields": { + "feature_gates": { + "maxItemsOne": false + } + } + } + }, + "label_content": { + "maxItemsOne": false + }, + "node_statistics": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "security_strategies": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "system_volume": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "taint_content": { + "maxItemsOne": false + } + } + } + }, + "statuses": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_nodes": { + "current": "volcengine:vke/nodes:Nodes", + "fields": { + "cluster_ids": { + "maxItemsOne": false + }, + "ids": { + "maxItemsOne": false + }, + "node_pool_ids": { + "maxItemsOne": false + }, + "nodes": { + "maxItemsOne": false, + "elem": { + "fields": { + "condition_types": { + "maxItemsOne": false + }, + "labels": { + "maxItemsOne": false + }, + "roles": { + "maxItemsOne": false + }, + "taints": { + "maxItemsOne": false + } + } + } + }, + "statuses": { + "maxItemsOne": false + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_support_addons": { + "current": "volcengine:vke/supportAddons:SupportAddons", + "fields": { + "addons": { + "maxItemsOne": false, + "elem": { + "fields": { + "categories": { + "maxItemsOne": false + }, + "deploy_node_types": { + "maxItemsOne": false + }, + "pod_network_modes": { + "maxItemsOne": false + }, + "versions": { + "maxItemsOne": false, + "elem": { + "fields": { + "compatibilities": { + "maxItemsOne": false + }, + "compatible_versions": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "categories": { + "maxItemsOne": false + }, + "deploy_modes": { + "maxItemsOne": false + }, + "deploy_node_types": { + "maxItemsOne": false + }, + "kubernetes_versions": { + "maxItemsOne": false + }, + "necessaries": { + "maxItemsOne": false + }, + "pod_network_modes": { + "maxItemsOne": false + } + } + }, + "volcengine_vke_support_resource_types": { + "current": "volcengine:vke/supportResourceTypes:SupportResourceTypes", + "fields": { + "resource_types": { + "maxItemsOne": false + }, + "resources": { + "maxItemsOne": false, + "elem": { + "fields": { + "resource_specifications": { + "maxItemsOne": false + } + } + } + }, + "zone_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_volumes": { + "current": "volcengine:ebs/volumes:Volumes", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false, + "elem": { + "fields": { + "baseline_performance": { + "maxItemsOne": false + }, + "extra_performance": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "total_performance": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vpc_ipv6_address_bandwidths": { + "current": "volcengine:vpc/ipv6AddressBandwidths:Ipv6AddressBandwidths", + "fields": { + "ids": { + "maxItemsOne": false + }, + "ipv6_address_bandwidths": { + "maxItemsOne": false + }, + "ipv6_addresses": { + "maxItemsOne": false + } + } + }, + "volcengine_vpc_ipv6_addresses": { + "current": "volcengine:vpc/ipv6Addresses:Ipv6Addresses", + "fields": { + "ipv6_addresses": { + "maxItemsOne": false + } + } + }, + "volcengine_vpc_ipv6_gateways": { + "current": "volcengine:vpc/ipv6Gateways:Ipv6Gateways", + "fields": { + "ids": { + "maxItemsOne": false + }, + "ipv6_gateways": { + "maxItemsOne": false + }, + "vpc_ids": { + "maxItemsOne": false + } + } + }, + "volcengine_vpc_prefix_lists": { + "current": "volcengine:vpc/prefixLists:PrefixLists", + "fields": { + "ids": { + "maxItemsOne": false + }, + "prefix_lists": { + "maxItemsOne": false, + "elem": { + "fields": { + "cidrs": { + "maxItemsOne": false + }, + "prefix_list_associations": { + "maxItemsOne": false + }, + "prefix_list_entries": { + "maxItemsOne": false + } + } + } + }, + "tag_filters": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vpcs": { + "current": "volcengine:vpc/vpcs:Vpcs", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "vpcs": { + "maxItemsOne": false, + "elem": { + "fields": { + "associate_cens": { + "maxItemsOne": false + }, + "auxiliary_cidr_blocks": { + "maxItemsOne": false + }, + "dns_servers": { + "maxItemsOne": false + }, + "nat_gateway_ids": { + "maxItemsOne": false + }, + "route_table_ids": { + "maxItemsOne": false + }, + "security_group_ids": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vpn_connections": { + "current": "volcengine:vpn/connections:Connections", + "fields": { + "ids": { + "maxItemsOne": false + }, + "vpn_connection_names": { + "maxItemsOne": false + }, + "vpn_connections": { + "maxItemsOne": false, + "elem": { + "fields": { + "local_subnet": { + "maxItemsOne": false + }, + "remote_subnet": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_vpn_gateway_routes": { + "current": "volcengine:vpn/gatewayRoutes:GatewayRoutes", + "fields": { + "ids": { + "maxItemsOne": false + }, + "vpn_gateway_routes": { + "maxItemsOne": false + } + } + }, + "volcengine_vpn_gateways": { + "current": "volcengine:vpn/gateways:Gateways", + "fields": { + "ids": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + }, + "vpn_gateway_names": { + "maxItemsOne": false + }, + "vpn_gateways": { + "maxItemsOne": false, + "elem": { + "fields": { + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, + "volcengine_zones": { + "current": "volcengine:ecs/zones:Zones", + "fields": { + "ids": { + "maxItemsOne": false + }, + "zones": { + "maxItemsOne": false + } + } + } + } + }, + "auto-settings": { + "resources": { + "volcengine_escloud_instance_v2": { + "aliases": [ + "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2" + ] + }, + "volcengine_escloud_ip_white_list": { + "aliases": [ + "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList" + ] + } + }, + "datasources": { + "volcengine_cdn_certificates": { + "renames": [ + "volcengine:cdn/certificates:Certificates" + ] + }, + "volcengine_cdn_configs": { + "renames": [ + "volcengine:cdn/configs:Configs" + ] + }, + "volcengine_cdn_domains": { + "renames": [ + "volcengine:cdn/domains:Domains" + ] + }, + "volcengine_cdn_shared_configs": { + "renames": [ + "volcengine:cdn/sharedConfigs:SharedConfigs" + ] + }, + "volcengine_cloud_identity_groups": { + "renames": [ + "volcengine:cloud_identity/groups:Groups" + ] + }, + "volcengine_cloud_identity_permission_set_assignments": { + "renames": [ + "volcengine:cloud_identity/permissionSetAssignments:PermissionSetAssignments" + ] + }, + "volcengine_cloud_identity_permission_set_provisionings": { + "renames": [ + "volcengine:cloud_identity/permissionSetProvisionings:PermissionSetProvisionings" + ] + }, + "volcengine_cloud_identity_permission_sets": { + "renames": [ + "volcengine:cloud_identity/permissionSets:PermissionSets" + ] + }, + "volcengine_cloud_identity_user_provisionings": { + "renames": [ + "volcengine:cloud_identity/userProvisionings:UserProvisionings" + ] + }, + "volcengine_cloud_identity_users": { + "renames": [ + "volcengine:cloud_identity/users:Users" + ] + }, + "volcengine_escloud_instances": { + "renames": [ + "volcengine:escloud/instances:Instances" + ] + }, + "volcengine_escloud_instances_v2": { + "renames": [ + "volcengine:escloud_v2/escloudInstancesV2:EscloudInstancesV2" + ] + }, + "volcengine_escloud_regions": { + "renames": [ + "volcengine:escloud/regions:Regions" + ] + }, + "volcengine_escloud_zones": { + "renames": [ + "volcengine:escloud/zones:Zones" + ] + } + } + } +} \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-volcengine/generate.go b/provider/cmd/pulumi-resource-volcengine/generate.go index 8ae47889..8670f4cb 100644 --- a/provider/cmd/pulumi-resource-volcengine/generate.go +++ b/provider/cmd/pulumi-resource-volcengine/generate.go @@ -19,7 +19,8 @@ package main import ( "encoding/json" - "fmt" + "errors" + "io/fs" "io/ioutil" "log" "os" @@ -50,9 +51,13 @@ func main() { log.Fatalf("cannot reserialize schema: %v", err) } - err = ioutil.WriteFile("./schema.go", []byte(fmt.Sprintf(`package main -var pulumiSchema = %#v -`, versionedContents)), 0600) + // Clean up schema.go as it may be present & gitignored and tolerate an error if the file isn't present. + err = os.Remove("./schema.go") + if err != nil && !errors.Is(err, fs.ErrNotExist) { + log.Fatal(err) + } + + err = ioutil.WriteFile("./schema-embed.json", versionedContents, 0600) if err != nil { log.Fatal(err) } diff --git a/provider/cmd/pulumi-resource-volcengine/main.go b/provider/cmd/pulumi-resource-volcengine/main.go index 82883944..0af6b2c8 100644 --- a/provider/cmd/pulumi-resource-volcengine/main.go +++ b/provider/cmd/pulumi-resource-volcengine/main.go @@ -17,11 +17,16 @@ package main import ( + _ "embed" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" volcengine "github.com/volcengine/pulumi-volcengine/provider" "github.com/volcengine/pulumi-volcengine/provider/pkg/version" ) +//go:embed schema-embed.json +var pulumiSchema []byte + func main() { // Modify the path to point to the new provider tfbridge.Main("volcengine", version.Version, volcengine.Provider(), pulumiSchema) diff --git a/provider/cmd/pulumi-resource-volcengine/schema.json b/provider/cmd/pulumi-resource-volcengine/schema.json index 618da2fb..0f09ba9e 100644 --- a/provider/cmd/pulumi-resource-volcengine/schema.json +++ b/provider/cmd/pulumi-resource-volcengine/schema.json @@ -4029,6 +4029,540 @@ } } }, + "volcengine:cdn/getCertificatesCertInfo:getCertificatesCertInfo": { + "properties": { + "certId": { + "type": "string", + "description": "ID indicating the certificate.\n" + }, + "certName": { + "type": "string", + "description": "The domain name to which the certificate is issued.\n" + }, + "configuredDomain": { + "type": "string", + "description": "The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null.\n" + }, + "desc": { + "type": "string", + "description": "The remark of the cert.\n" + }, + "dnsName": { + "type": "string", + "description": "The domain names included in the SAN field of the certificate.\n" + }, + "effectiveTime": { + "type": "integer", + "description": "The issuance time of the certificate is indicated. The unit is Unix timestamp.\n" + }, + "expireTime": { + "type": "integer", + "description": "The expiration time of the certificate is indicated. The unit is Unix timestamp.\n" + }, + "source": { + "type": "string", + "description": "Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network.\n" + }, + "status": { + "type": "string", + "description": "Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired.\n" + } + }, + "type": "object", + "required": [ + "certId", + "certName", + "configuredDomain", + "desc", + "dnsName", + "effectiveTime", + "expireTime", + "source", + "status" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getConfigsDomainConfig:getConfigsDomainConfig": { + "properties": { + "cname": { + "type": "string", + "description": "The cname of the domain.\n" + }, + "createTime": { + "type": "integer", + "description": "The create time of the domain.\n" + }, + "domain": { + "type": "string", + "description": "The domain name.\n" + }, + "lockStatus": { + "type": "string", + "description": "Indicates whether the configuration of this domain name is allowed to be changed.\n" + }, + "project": { + "type": "string", + "description": "The project name.\n" + }, + "serviceRegion": { + "type": "string", + "description": "The service region of the domain.\n" + }, + "serviceType": { + "type": "string", + "description": "The service type of the domain.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + }, + "updateTime": { + "type": "integer", + "description": "The update time of the domain.\n" + } + }, + "type": "object", + "required": [ + "cname", + "createTime", + "domain", + "lockStatus", + "project", + "serviceRegion", + "serviceType", + "status", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getDomainsDomain:getDomainsDomain": { + "properties": { + "backupOrigins": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.\n" + }, + "cacheShared": { + "type": "string", + "description": "Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `target_host`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cache_shared_on`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`\"\"`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.\n" + }, + "cacheSharedTargetHost": { + "type": "string", + "description": "If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.\n" + }, + "cname": { + "type": "string", + "description": "The CNAME address of the domain is automatically assigned when adding the domain.\n" + }, + "createTime": { + "type": "integer", + "description": "The creation time of the domain.\n" + }, + "domain": { + "type": "string", + "description": "Search by specifying domain name keywords, with fuzzy matching.\n" + }, + "domainLocks": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getDomainsDomainDomainLock:getDomainsDomainDomainLock" + }, + "description": "Indicates the locked status of the accelerated domain.\n" + }, + "https": { + "type": "boolean", + "description": "Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function.\n" + }, + "ipv6": { + "type": "boolean", + "description": "Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses.\n" + }, + "isConflictDomain": { + "type": "boolean", + "description": "Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.\n" + }, + "originProtocol": { + "type": "string", + "description": "Configure the origin protocol for the accelerated domain.\n" + }, + "primaryOrigins": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specify a primary origin server for filtering accelerated domains.\n" + }, + "project": { + "type": "string", + "description": "The project name of the domain.\n" + }, + "serviceRegion": { + "type": "string", + "description": "Indicates the acceleration area. The parameter can take the following values: `chinese_mainland`: Indicates mainland China. `global`: Indicates global. `outside_chinese_mainland`: Indicates global (excluding mainland China).\n" + }, + "serviceType": { + "type": "string", + "description": "The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getDomainsDomainTag:getDomainsDomainTag" + }, + "description": "Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.\n" + }, + "updateTime": { + "type": "integer", + "description": "The update time of the domain.\n" + } + }, + "type": "object", + "required": [ + "backupOrigins", + "cacheShared", + "cacheSharedTargetHost", + "cname", + "createTime", + "domain", + "domainLocks", + "https", + "ipv6", + "isConflictDomain", + "originProtocol", + "primaryOrigins", + "project", + "serviceRegion", + "serviceType", + "status", + "tags", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getDomainsDomainDomainLock:getDomainsDomainDomainLock": { + "properties": { + "remark": { + "type": "string", + "description": "If the Status is on, this parameter value records the reason for the lock.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + } + }, + "type": "object", + "required": [ + "remark", + "status" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getDomainsDomainTag:getDomainsDomainTag": { + "properties": { + "key": { + "type": "string", + "description": "The key of the tag.\n" + }, + "value": { + "type": "string", + "description": "The value of the tag.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigData:getSharedConfigsConfigData": { + "properties": { + "allowIpAccessRules": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataAllowIpAccessRule:getSharedConfigsConfigDataAllowIpAccessRule" + }, + "description": "The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.\n" + }, + "allowRefererAccessRules": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataAllowRefererAccessRule:getSharedConfigsConfigDataAllowRefererAccessRule" + }, + "description": "The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.\n" + }, + "commonMatchLists": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataCommonMatchList:getSharedConfigsConfigDataCommonMatchList" + }, + "description": "The configuration for a common list is represented by ConfigType common_match_list.\n" + }, + "configName": { + "type": "string", + "description": "The name of the shared config.\n" + }, + "configType": { + "type": "string", + "description": "The type of the shared config.\n" + }, + "denyIpAccessRules": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataDenyIpAccessRule:getSharedConfigsConfigDataDenyIpAccessRule" + }, + "description": "The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.\n" + }, + "denyRefererAccessRules": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataDenyRefererAccessRule:getSharedConfigsConfigDataDenyRefererAccessRule" + }, + "description": "The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.\n" + }, + "domainCount": { + "type": "integer", + "description": "The number of domains.\n" + }, + "projectName": { + "type": "string", + "description": "The name of the project.\n" + }, + "updateTime": { + "type": "integer", + "description": "The update time of the shared config.\n" + } + }, + "type": "object", + "required": [ + "allowIpAccessRules", + "allowRefererAccessRules", + "commonMatchLists", + "configName", + "configType", + "denyIpAccessRules", + "denyRefererAccessRules", + "domainCount", + "projectName", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataAllowIpAccessRule:getSharedConfigsConfigDataAllowIpAccessRule": { + "properties": { + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.\n" + } + }, + "type": "object", + "required": [ + "rules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataAllowRefererAccessRule:getSharedConfigsConfigDataAllowRefererAccessRule": { + "properties": { + "allowEmpty": { + "type": "boolean", + "description": "Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.\n" + }, + "commonTypes": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataAllowRefererAccessRuleCommonType:getSharedConfigsConfigDataAllowRefererAccessRuleCommonType" + }, + "description": "The content indicating the Referer blacklist.\n" + } + }, + "type": "object", + "required": [ + "allowEmpty", + "commonTypes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataAllowRefererAccessRuleCommonType:getSharedConfigsConfigDataAllowRefererAccessRuleCommonType": { + "properties": { + "ignoreCase": { + "type": "boolean", + "description": "This list is case-sensitive when matching requests. Default is true.\n" + }, + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.\n" + } + }, + "type": "object", + "required": [ + "ignoreCase", + "rules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataCommonMatchList:getSharedConfigsConfigDataCommonMatchList": { + "properties": { + "commonTypes": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataCommonMatchListCommonType:getSharedConfigsConfigDataCommonMatchListCommonType" + }, + "description": "The content indicating the Referer blacklist.\n" + } + }, + "type": "object", + "required": [ + "commonTypes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataCommonMatchListCommonType:getSharedConfigsConfigDataCommonMatchListCommonType": { + "properties": { + "ignoreCase": { + "type": "boolean", + "description": "This list is case-sensitive when matching requests. Default is true.\n" + }, + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.\n" + } + }, + "type": "object", + "required": [ + "ignoreCase", + "rules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataDenyIpAccessRule:getSharedConfigsConfigDataDenyIpAccessRule": { + "properties": { + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.\n" + } + }, + "type": "object", + "required": [ + "rules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataDenyRefererAccessRule:getSharedConfigsConfigDataDenyRefererAccessRule": { + "properties": { + "allowEmpty": { + "type": "boolean", + "description": "Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.\n" + }, + "commonTypes": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigDataDenyRefererAccessRuleCommonType:getSharedConfigsConfigDataDenyRefererAccessRuleCommonType" + }, + "description": "The content indicating the Referer blacklist.\n" + } + }, + "type": "object", + "required": [ + "allowEmpty", + "commonTypes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cdn/getSharedConfigsConfigDataDenyRefererAccessRuleCommonType:getSharedConfigsConfigDataDenyRefererAccessRuleCommonType": { + "properties": { + "ignoreCase": { + "type": "boolean", + "description": "This list is case-sensitive when matching requests. Default is true.\n" + }, + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.\n" + } + }, + "type": "object", + "required": [ + "ignoreCase", + "rules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "volcengine:cen/AttachInstancesAttachInstance:AttachInstancesAttachInstance": { "properties": { "cenId": { @@ -6805,6 +7339,401 @@ } } }, + "volcengine:cloud_identity/getGroupsGroup:getGroupsGroup": { + "properties": { + "createdTime": { + "type": "string", + "description": "The created time of the cloud identity group.\n" + }, + "description": { + "type": "string", + "description": "The description of the cloud identity group.\n" + }, + "displayName": { + "type": "string", + "description": "The display name of cloud identity group.\n" + }, + "groupId": { + "type": "string", + "description": "The id of the cloud identity group.\n" + }, + "groupName": { + "type": "string", + "description": "The name of cloud identity group.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity group.\n" + }, + "joinType": { + "type": "string", + "description": "The join type of cloud identity group. Valid values: `Auto`, `Manual`.\n" + }, + "source": { + "type": "string", + "description": "The source of the cloud identity group.\n" + }, + "updatedTime": { + "type": "string", + "description": "The updated time of the cloud identity group.\n" + } + }, + "type": "object", + "required": [ + "createdTime", + "description", + "displayName", + "groupId", + "groupName", + "id", + "joinType", + "source", + "updatedTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getPermissionSetAssignmentsAssignment:getPermissionSetAssignmentsAssignment": { + "properties": { + "createTime": { + "type": "string", + "description": "The create time of the cloud identity permission set assignment.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of cloud identity permission set.\n" + }, + "permissionSetName": { + "type": "string", + "description": "The name of the cloud identity permission set.\n" + }, + "principalId": { + "type": "string", + "description": "The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`.\n" + }, + "principalType": { + "type": "string", + "description": "The principal type of cloud identity permission set. Valid values: `User`, `Group`.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of cloud identity permission set assignment.\n" + } + }, + "type": "object", + "required": [ + "createTime", + "id", + "permissionSetId", + "permissionSetName", + "principalId", + "principalType", + "targetId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getPermissionSetProvisioningsPermissionProvisioning:getPermissionSetProvisioningsPermissionProvisioning": { + "properties": { + "createTime": { + "type": "string", + "description": "The create time of the cloud identity permission set provisioning.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of cloud identity permission set.\n" + }, + "permissionSetName": { + "type": "string", + "description": "The name of the cloud identity permission set.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of cloud identity permission set.\n" + }, + "updateTime": { + "type": "string", + "description": "The update time of the cloud identity permission set provisioning.\n" + } + }, + "type": "object", + "required": [ + "createTime", + "id", + "permissionSetId", + "permissionSetName", + "targetId", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getPermissionSetsPermissionSet:getPermissionSetsPermissionSet": { + "properties": { + "createdTime": { + "type": "string", + "description": "The create time of the cloud identity permission set.\n" + }, + "description": { + "type": "string", + "description": "The description of the cloud identity permission set.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "name": { + "type": "string", + "description": "The name of the cloud identity permission set.\n" + }, + "permissionPolicies": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getPermissionSetsPermissionSetPermissionPolicy:getPermissionSetsPermissionSetPermissionPolicy" + }, + "description": "The policies of the cloud identity permission set.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "relayState": { + "type": "string", + "description": "The relay state of the cloud identity permission set.\n" + }, + "sessionDuration": { + "type": "integer", + "description": "The session duration of the cloud identity permission set.\n" + }, + "updatedTime": { + "type": "string", + "description": "The updated time of the cloud identity permission set.\n" + } + }, + "type": "object", + "required": [ + "createdTime", + "description", + "id", + "name", + "permissionPolicies", + "permissionSetId", + "relayState", + "sessionDuration", + "updatedTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getPermissionSetsPermissionSetPermissionPolicy:getPermissionSetsPermissionSetPermissionPolicy": { + "properties": { + "createTime": { + "type": "string", + "description": "The create time of the cloud identity permission set policy.\n" + }, + "permissionPolicyDocument": { + "type": "string", + "description": "The document of the cloud identity permission set policy.\n" + }, + "permissionPolicyName": { + "type": "string", + "description": "The name of the cloud identity permission set policy.\n" + }, + "permissionPolicyType": { + "type": "string", + "description": "The type of the cloud identity permission set policy.\n" + } + }, + "type": "object", + "required": [ + "createTime", + "permissionPolicyDocument", + "permissionPolicyName", + "permissionPolicyType" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getUserProvisioningsUserProvisioning:getUserProvisioningsUserProvisioning": { + "properties": { + "createdTime": { + "type": "string", + "description": "The created time of the cloud identity user provisioning.\n" + }, + "deletionStrategy": { + "type": "string", + "description": "The deletion strategy of the cloud identity user provisioning.\n" + }, + "departmentNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The department names of the cloud identity user provisioning.\n" + }, + "description": { + "type": "string", + "description": "The description of the cloud identity user provisioning.\n" + }, + "duplicationStrategy": { + "type": "string", + "description": "The duplication strategy of the cloud identity user provisioning.\n" + }, + "duplicationSuffix": { + "type": "string", + "description": "The duplication suffix of the cloud identity user provisioning.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity user provisioning.\n" + }, + "identitySourceStrategy": { + "type": "string", + "description": "The identity source strategy of the cloud identity user provisioning.\n" + }, + "principalId": { + "type": "string", + "description": "The principal id of the cloud identity user provisioning.\n" + }, + "principalName": { + "type": "string", + "description": "The principal name of the cloud identity user provisioning.\n" + }, + "principalType": { + "type": "string", + "description": "The principal type of the cloud identity user provisioning.\n" + }, + "provisionStatus": { + "type": "string", + "description": "The status of the cloud identity user provisioning.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of the cloud identity user provisioning.\n" + }, + "updatedTime": { + "type": "string", + "description": "The updated time of the cloud identity user provisioning.\n" + }, + "userProvisioningId": { + "type": "string", + "description": "The id of the cloud identity user provisioning.\n" + } + }, + "type": "object", + "required": [ + "createdTime", + "deletionStrategy", + "departmentNames", + "description", + "duplicationStrategy", + "duplicationSuffix", + "id", + "identitySourceStrategy", + "principalId", + "principalName", + "principalType", + "provisionStatus", + "targetId", + "updatedTime", + "userProvisioningId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:cloud_identity/getUsersUser:getUsersUser": { + "properties": { + "createdTime": { + "type": "string", + "description": "The created time of the cloud identity user.\n" + }, + "description": { + "type": "string", + "description": "The description of the cloud identity user.\n" + }, + "displayName": { + "type": "string", + "description": "The display name of cloud identity user.\n" + }, + "email": { + "type": "string", + "description": "The email of the cloud identity user.\n" + }, + "id": { + "type": "string", + "description": "The id of the cloud identity user.\n" + }, + "identityType": { + "type": "string", + "description": "The identity type of the cloud identity user.\n" + }, + "phone": { + "type": "string", + "description": "The phone of the cloud identity user.\n" + }, + "source": { + "type": "string", + "description": "The source of cloud identity user. Valid values: `Sync`, `Manual`.\n" + }, + "updatedTime": { + "type": "string", + "description": "The updated time of the cloud identity user.\n" + }, + "userId": { + "type": "string", + "description": "The id of the cloud identity user.\n" + }, + "userName": { + "type": "string", + "description": "The name of cloud identity user.\n" + } + }, + "type": "object", + "required": [ + "createdTime", + "description", + "displayName", + "email", + "id", + "identityType", + "phone", + "source", + "updatedTime", + "userId", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "volcengine:cloud_monitor/ContactGroupsGroup:ContactGroupsGroup": { "properties": { "accountId": { @@ -12461,6 +13390,102 @@ "type" ] }, + "volcengine:escloud/InstanceV2NetworkSpec:InstanceV2NetworkSpec": { + "properties": { + "bandwidth": { + "type": "integer", + "description": "The bandwidth of the eip. Unit: Mbps.\n", + "willReplaceOnChanges": true + }, + "isOpen": { + "type": "boolean", + "description": "Whether the eip is opened.\n", + "willReplaceOnChanges": true + }, + "specName": { + "type": "string", + "description": "The spec name of public network.\n", + "willReplaceOnChanges": true + }, + "type": { + "type": "string", + "description": "The type of public network, valid values: `Elasticsearch`, `Kibana`.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "bandwidth", + "isOpen", + "specName", + "type" + ] + }, + "volcengine:escloud/InstanceV2NodeSpecsAssign:InstanceV2NodeSpecsAssign": { + "properties": { + "extraPerformance": { + "$ref": "#/types/volcengine:escloud/InstanceV2NodeSpecsAssignExtraPerformance:InstanceV2NodeSpecsAssignExtraPerformance", + "description": "The extra performance of FlexPL storage spec.\n" + }, + "number": { + "type": "integer", + "description": "The number of node.\n" + }, + "resourceSpecName": { + "type": "string", + "description": "The name of compute resource spec.\n" + }, + "storageSize": { + "type": "integer", + "description": "The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.\n" + }, + "storageSpecName": { + "type": "string", + "description": "The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.\n" + }, + "type": { + "type": "string", + "description": "The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`.\n" + } + }, + "type": "object", + "required": [ + "number", + "resourceSpecName", + "storageSize", + "storageSpecName", + "type" + ] + }, + "volcengine:escloud/InstanceV2NodeSpecsAssignExtraPerformance:InstanceV2NodeSpecsAssignExtraPerformance": { + "properties": { + "throughput": { + "type": "integer", + "description": "When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth.\nThe unit is MiB, and the adjustment step size is 10MiB.\n" + } + }, + "type": "object", + "required": [ + "throughput" + ] + }, + "volcengine:escloud/InstanceV2Tag:InstanceV2Tag": { + "properties": { + "key": { + "type": "string", + "description": "The Key of Tags.\n" + }, + "value": { + "type": "string", + "description": "The Value of Tags.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, "volcengine:escloud/InstancesInstance:InstancesInstance": { "properties": { "chargeEnabled": { @@ -13257,136 +14282,16 @@ } } }, - "volcengine:escloud_v2/EscloudInstanceV2NetworkSpec:EscloudInstanceV2NetworkSpec": { - "properties": { - "bandwidth": { - "type": "integer", - "description": "The bandwidth of the eip. Unit: Mbps.\n", - "willReplaceOnChanges": true - }, - "isOpen": { - "type": "boolean", - "description": "Whether the eip is opened.\n", - "willReplaceOnChanges": true - }, - "specName": { - "type": "string", - "description": "The spec name of public network.\n", - "willReplaceOnChanges": true - }, - "type": { - "type": "string", - "description": "The type of public network, valid values: `Elasticsearch`, `Kibana`.\n", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "bandwidth", - "isOpen", - "specName", - "type" - ] - }, - "volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssign:EscloudInstanceV2NodeSpecsAssign": { - "properties": { - "extraPerformance": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssignExtraPerformance:EscloudInstanceV2NodeSpecsAssignExtraPerformance", - "description": "The extra performance of FlexPL storage spec.\n" - }, - "number": { - "type": "integer", - "description": "The number of node.\n" - }, - "resourceSpecName": { - "type": "string", - "description": "The name of compute resource spec.\n" - }, - "storageSize": { - "type": "integer", - "description": "The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.\n" - }, - "storageSpecName": { - "type": "string", - "description": "The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.\n" - }, - "type": { - "type": "string", - "description": "The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`.\n" - } - }, - "type": "object", - "required": [ - "number", - "resourceSpecName", - "storageSize", - "storageSpecName", - "type" - ] - }, - "volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssignExtraPerformance:EscloudInstanceV2NodeSpecsAssignExtraPerformance": { - "properties": { - "throughput": { - "type": "integer", - "description": "When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth.\nThe unit is MiB, and the adjustment step size is 10MiB.\n" - } - }, - "type": "object", - "required": [ - "throughput" - ] - }, - "volcengine:escloud_v2/EscloudInstanceV2Tag:EscloudInstanceV2Tag": { - "properties": { - "key": { - "type": "string", - "description": "The Key of Tags.\n" - }, - "value": { - "type": "string", - "description": "The Value of Tags.\n" - } - }, - "type": "object", - "required": [ - "key", - "value" - ] - }, - "volcengine:escloud_v2/EscloudInstancesV2Instance:EscloudInstancesV2Instance": { + "volcengine:escloud/getInstancesInstance:getInstancesInstance": { "properties": { - "cerebroEnabled": { - "type": "boolean", - "description": "Whether to enable cerebro.\n" - }, - "cerebroPrivateDomain": { - "type": "string", - "description": "The cerebro private domain of instance.\n" - }, - "cerebroPublicDomain": { - "type": "string", - "description": "The cerebro public domain of instance.\n" - }, "chargeEnabled": { "type": "boolean", "description": "The charge status of instance.\n" }, - "clusterId": { - "type": "string", - "description": "The cluster id of instance.\n" - }, "createTime": { "type": "string", "description": "The create time of instance.\n" }, - "deletionProtection": { - "type": "boolean", - "description": "Whether enable deletion protection for ESCloud instance.\n" - }, - "enableEsPrivateDomainPublic": { - "type": "boolean", - "description": "whether enable es private domain public.\n" - }, "enableEsPrivateNetwork": { "type": "boolean", "description": "whether enable es private network.\n" @@ -13395,10 +14300,6 @@ "type": "boolean", "description": "whether enable es public network.\n" }, - "enableKibanaPrivateDomainPublic": { - "type": "boolean", - "description": "whether enable kibana private domain public.\n" - }, "enableKibanaPrivateNetwork": { "type": "boolean", "description": "whether enable kibana private network.\n" @@ -13407,14 +14308,6 @@ "type": "boolean", "description": "whether enable kibana public network.\n" }, - "esEip": { - "type": "string", - "description": "The eip address of instance.\n" - }, - "esEipId": { - "type": "string", - "description": "The eip id associated with the instance.\n" - }, "esInnerEndpoint": { "type": "string", "description": "The es inner endpoint of instance.\n" @@ -13427,10 +14320,6 @@ "type": "string", "description": "The es private endpoint of instance.\n" }, - "esPrivateIpWhitelist": { - "type": "string", - "description": "The whitelist of es private ip.\n" - }, "esPublicDomain": { "type": "string", "description": "The es public domain of instance.\n" @@ -13439,57 +14328,30 @@ "type": "string", "description": "The es public endpoint of instance.\n" }, - "esPublicIpWhitelist": { - "type": "string", - "description": "The whitelist of es public ip.\n" - }, "expireDate": { "type": "string", "description": "The expire time of instance.\n" }, "id": { "type": "string", - "description": "The id of instance.\n" + "description": "The Id of instance.\n" }, - "instanceConfigurations": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfiguration:EscloudInstancesV2InstanceInstanceConfiguration" - }, + "instanceConfiguration": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfiguration:getInstancesInstanceInstanceConfiguration", "description": "The configuration of instance.\n" }, "instanceId": { "type": "string", - "description": "The id of instance.\n" - }, - "kibanaEip": { - "type": "string", - "description": "The eip address of kibana.\n" - }, - "kibanaEipId": { - "type": "string", - "description": "The eip id associated with kibana.\n" + "description": "The Id of instance.\n" }, "kibanaPrivateDomain": { "type": "string", "description": "The kibana private domain of instance.\n" }, - "kibanaPrivateIpWhitelist": { - "type": "string", - "description": "The whitelist of kibana private ip.\n" - }, "kibanaPublicDomain": { "type": "string", "description": "The kibana public domain of instance.\n" }, - "kibanaPublicIpWhitelist": { - "type": "string", - "description": "The whitelist of kibana public ip.\n" - }, - "mainZoneId": { - "type": "string", - "description": "The main zone id of instance.\n" - }, "maintenanceDays": { "type": "array", "items": { @@ -13501,17 +14363,21 @@ "type": "string", "description": "The maintenance time of instance.\n" }, + "namespace": { + "type": "string", + "description": "The namespace of instance.\n" + }, "nodes": { "type": "array", "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceNode:EscloudInstancesV2InstanceNode" + "$ref": "#/types/volcengine:escloud/getInstancesInstanceNode:getInstancesInstanceNode" }, "description": "The nodes info of instance.\n" }, "plugins": { "type": "array", "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstancePlugin:EscloudInstancesV2InstancePlugin" + "$ref": "#/types/volcengine:escloud/getInstancesInstancePlugin:getInstancesInstancePlugin" }, "description": "The plugin info of instance.\n" }, @@ -13519,17 +14385,6 @@ "type": "string", "description": "The status of instance.\n" }, - "supportCodeNode": { - "type": "boolean", - "description": "Whether support code node.\n" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceTag:EscloudInstancesV2InstanceTag" - }, - "description": "Tags.\n" - }, "totalNodes": { "type": "integer", "description": "The total nodes of instance.\n" @@ -13541,46 +14396,29 @@ }, "type": "object", "required": [ - "cerebroEnabled", - "cerebroPrivateDomain", - "cerebroPublicDomain", "chargeEnabled", - "clusterId", "createTime", - "deletionProtection", - "enableEsPrivateDomainPublic", "enableEsPrivateNetwork", "enableEsPublicNetwork", - "enableKibanaPrivateDomainPublic", "enableKibanaPrivateNetwork", "enableKibanaPublicNetwork", - "esEip", - "esEipId", "esInnerEndpoint", "esPrivateDomain", "esPrivateEndpoint", - "esPrivateIpWhitelist", "esPublicDomain", "esPublicEndpoint", - "esPublicIpWhitelist", "expireDate", "id", - "instanceConfigurations", + "instanceConfiguration", "instanceId", - "kibanaEip", - "kibanaEipId", "kibanaPrivateDomain", - "kibanaPrivateIpWhitelist", "kibanaPublicDomain", - "kibanaPublicIpWhitelist", - "mainZoneId", "maintenanceDays", "maintenanceTime", + "namespace", "nodes", "plugins", "status", - "supportCodeNode", - "tags", "totalNodes", "userId" ], @@ -13590,7 +14428,7 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfiguration:EscloudInstancesV2InstanceInstanceConfiguration": { + "volcengine:escloud/getInstancesInstanceInstanceConfiguration:getInstancesInstanceInstanceConfiguration": { "properties": { "adminUserName": { "type": "string", @@ -13600,42 +14438,6 @@ "type": "string", "description": "The charge type of instance.\n" }, - "coldNodeNumber": { - "type": "integer", - "description": "The node number of cold.\n" - }, - "coldNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec" - }, - "description": "The node resource spec of cold.\n" - }, - "coldNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec" - }, - "description": "The node storage spec of cold.\n" - }, - "coordinatorNodeNumber": { - "type": "integer", - "description": "The node number of coordinator.\n" - }, - "coordinatorNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec" - }, - "description": "The node resource spec of coordinator.\n" - }, - "coordinatorNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec" - }, - "description": "The node storage spec of coordinator.\n" - }, "enableHttps": { "type": "boolean", "description": "whether enable https.\n" @@ -13646,21 +14448,15 @@ }, "hotNodeNumber": { "type": "integer", - "description": "The node number of hot.\n" + "description": "The node number of host.\n" }, - "hotNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec" - }, - "description": "The node resource spec of hot.\n" + "hotNodeResourceSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationHotNodeResourceSpec:getInstancesInstanceInstanceConfigurationHotNodeResourceSpec", + "description": "The node resource spec of host.\n" }, - "hotNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec" - }, - "description": "The node storage spec of hot.\n" + "hotNodeStorageSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationHotNodeStorageSpec:getInstancesInstanceInstanceConfigurationHotNodeStorageSpec", + "description": "The node storage spec of host.\n" }, "instanceName": { "type": "string", @@ -13670,36 +14466,24 @@ "type": "integer", "description": "The node number of kibana.\n" }, - "kibanaNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec" - }, + "kibanaNodeResourceSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec:getInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec", "description": "The node resource spec of kibana.\n" }, - "kibanaNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec" - }, + "kibanaNodeStorageSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec:getInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec", "description": "The node storage spec of kibana.\n" }, "masterNodeNumber": { "type": "integer", "description": "The node number of master.\n" }, - "masterNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec" - }, + "masterNodeResourceSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationMasterNodeResourceSpec:getInstancesInstanceInstanceConfigurationMasterNodeResourceSpec", "description": "The node resource spec of master.\n" }, - "masterNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec" - }, + "masterNodeStorageSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationMasterNodeStorageSpec:getInstancesInstanceInstanceConfigurationMasterNodeStorageSpec", "description": "The node storage spec of master.\n" }, "period": { @@ -13714,42 +14498,18 @@ "type": "string", "description": "The region info of instance.\n" }, - "subnets": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationSubnet:EscloudInstancesV2InstanceInstanceConfigurationSubnet" - }, + "subnet": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationSubnet:getInstancesInstanceInstanceConfigurationSubnet", "description": "The subnet info.\n" }, "version": { "type": "string", - "description": "The version of instance.\n" + "description": "The version of plugin.\n" }, - "vpcs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationVpc:EscloudInstancesV2InstanceInstanceConfigurationVpc" - }, + "vpc": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceInstanceConfigurationVpc:getInstancesInstanceInstanceConfigurationVpc", "description": "The vpc info.\n" }, - "warmNodeNumber": { - "type": "integer", - "description": "The node number of warm.\n" - }, - "warmNodeResourceSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec" - }, - "description": "The node resource spec of warm.\n" - }, - "warmNodeStorageSpecs": { - "type": "array", - "items": { - "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec" - }, - "description": "The node storage spec of warm.\n" - }, "zoneId": { "type": "string", "description": "The zoneId of instance.\n" @@ -13763,33 +14523,24 @@ "required": [ "adminUserName", "chargeType", - "coldNodeNumber", - "coldNodeResourceSpecs", - "coldNodeStorageSpecs", - "coordinatorNodeNumber", - "coordinatorNodeResourceSpecs", - "coordinatorNodeStorageSpecs", "enableHttps", "enablePureMaster", "hotNodeNumber", - "hotNodeResourceSpecs", - "hotNodeStorageSpecs", + "hotNodeResourceSpec", + "hotNodeStorageSpec", "instanceName", "kibanaNodeNumber", - "kibanaNodeResourceSpecs", - "kibanaNodeStorageSpecs", + "kibanaNodeResourceSpec", + "kibanaNodeStorageSpec", "masterNodeNumber", - "masterNodeResourceSpecs", - "masterNodeStorageSpecs", + "masterNodeResourceSpec", + "masterNodeStorageSpec", "period", "projectName", "regionId", - "subnets", + "subnet", "version", - "vpcs", - "warmNodeNumber", - "warmNodeResourceSpecs", - "warmNodeStorageSpecs", + "vpc", "zoneId", "zoneNumber" ], @@ -13799,7 +14550,7 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationHotNodeResourceSpec:getInstancesInstanceInstanceConfigurationHotNodeResourceSpec": { "properties": { "cpu": { "type": "integer", @@ -13807,11 +14558,11 @@ }, "description": { "type": "string", - "description": "The description of resource spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", - "description": "The show name of resource spec.\n" + "description": "The show name of storage spec.\n" }, "memory": { "type": "integer", @@ -13819,7 +14570,7 @@ }, "name": { "type": "string", - "description": "The name of resource spec.\n" + "description": "The name of storage spec.\n" } }, "type": "object", @@ -13836,11 +14587,11 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationHotNodeStorageSpec:getInstancesInstanceInstanceConfigurationHotNodeStorageSpec": { "properties": { "description": { "type": "string", - "description": "The description of storage spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", @@ -13861,6 +14612,10 @@ "size": { "type": "integer", "description": "The size of storage spec.\n" + }, + "type": { + "type": "string", + "description": "The type of storage spec.\n" } }, "type": "object", @@ -13870,7 +14625,8 @@ "maxSize", "minSize", "name", - "size" + "size", + "type" ], "language": { "nodejs": { @@ -13878,7 +14634,7 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec:getInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec": { "properties": { "cpu": { "type": "integer", @@ -13886,11 +14642,11 @@ }, "description": { "type": "string", - "description": "The description of resource spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", - "description": "The show name of resource spec.\n" + "description": "The show name of storage spec.\n" }, "memory": { "type": "integer", @@ -13898,7 +14654,7 @@ }, "name": { "type": "string", - "description": "The name of resource spec.\n" + "description": "The name of storage spec.\n" } }, "type": "object", @@ -13915,11 +14671,11 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec:getInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec": { "properties": { "description": { "type": "string", - "description": "The description of storage spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", @@ -13940,6 +14696,10 @@ "size": { "type": "integer", "description": "The size of storage spec.\n" + }, + "type": { + "type": "string", + "description": "The type of storage spec.\n" } }, "type": "object", @@ -13949,7 +14709,8 @@ "maxSize", "minSize", "name", - "size" + "size", + "type" ], "language": { "nodejs": { @@ -13957,7 +14718,7 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationMasterNodeResourceSpec:getInstancesInstanceInstanceConfigurationMasterNodeResourceSpec": { "properties": { "cpu": { "type": "integer", @@ -13965,11 +14726,11 @@ }, "description": { "type": "string", - "description": "The description of resource spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", - "description": "The show name of resource spec.\n" + "description": "The show name of storage spec.\n" }, "memory": { "type": "integer", @@ -13977,7 +14738,7 @@ }, "name": { "type": "string", - "description": "The name of resource spec.\n" + "description": "The name of storage spec.\n" } }, "type": "object", @@ -13994,11 +14755,11 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationMasterNodeStorageSpec:getInstancesInstanceInstanceConfigurationMasterNodeStorageSpec": { "properties": { "description": { "type": "string", - "description": "The description of storage spec.\n" + "description": "The description of plugin.\n" }, "displayName": { "type": "string", @@ -14019,6 +14780,10 @@ "size": { "type": "integer", "description": "The size of storage spec.\n" + }, + "type": { + "type": "string", + "description": "The type of storage spec.\n" } }, "type": "object", @@ -14028,7 +14793,8 @@ "maxSize", "minSize", "name", - "size" + "size", + "type" ], "language": { "nodejs": { @@ -14036,35 +14802,2275 @@ } } }, - "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec": { + "volcengine:escloud/getInstancesInstanceInstanceConfigurationSubnet:getInstancesInstanceInstanceConfigurationSubnet": { "properties": { - "cpu": { - "type": "integer", - "description": "The cpu info of resource spec.\n" - }, - "description": { - "type": "string", - "description": "The description of resource spec.\n" - }, - "displayName": { + "subnetId": { "type": "string", - "description": "The show name of resource spec.\n" - }, - "memory": { - "type": "integer", - "description": "The memory info of resource spec.\n" + "description": "The id of subnet.\n" }, - "name": { + "subnetName": { "type": "string", - "description": "The name of resource spec.\n" + "description": "The name of subnet.\n" } }, "type": "object", "required": [ - "cpu", - "description", - "displayName", - "memory", + "subnetId", + "subnetName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesInstanceInstanceConfigurationVpc:getInstancesInstanceInstanceConfigurationVpc": { + "properties": { + "vpcId": { + "type": "string", + "description": "The id of vpc.\n" + }, + "vpcName": { + "type": "string", + "description": "The name of vpc.\n" + } + }, + "type": "object", + "required": [ + "vpcId", + "vpcName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesInstanceNode:getInstancesInstanceNode": { + "properties": { + "isCold": { + "type": "boolean", + "description": "Is cold node.\n" + }, + "isHot": { + "type": "boolean", + "description": "Is hot node.\n" + }, + "isKibana": { + "type": "boolean", + "description": "Is kibana node.\n" + }, + "isMaster": { + "type": "boolean", + "description": "Is master node.\n" + }, + "isWarm": { + "type": "boolean", + "description": "Is warm node.\n" + }, + "nodeDisplayName": { + "type": "string", + "description": "The show name of node.\n" + }, + "nodeName": { + "type": "string", + "description": "The name of node.\n" + }, + "resourceSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceNodeResourceSpec:getInstancesInstanceNodeResourceSpec", + "description": "The node resource spec of master.\n" + }, + "restartNumber": { + "type": "integer", + "description": "The restart times of node.\n" + }, + "startTime": { + "type": "string", + "description": "The start time of node.\n" + }, + "status": { + "type": "string", + "description": "The status of instance.\n" + }, + "storageSpec": { + "$ref": "#/types/volcengine:escloud/getInstancesInstanceNodeStorageSpec:getInstancesInstanceNodeStorageSpec", + "description": "The node storage spec of master.\n" + } + }, + "type": "object", + "required": [ + "isCold", + "isHot", + "isKibana", + "isMaster", + "isWarm", + "nodeDisplayName", + "nodeName", + "resourceSpec", + "restartNumber", + "startTime", + "status", + "storageSpec" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesInstanceNodeResourceSpec:getInstancesInstanceNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of plugin.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesInstanceNodeStorageSpec:getInstancesInstanceNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of plugin.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + }, + "type": { + "type": "string", + "description": "The type of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesInstancePlugin:getInstancesInstancePlugin": { + "properties": { + "description": { + "type": "string", + "description": "The description of plugin.\n" + }, + "pluginName": { + "type": "string", + "description": "The name of plugin.\n" + }, + "version": { + "type": "string", + "description": "The version of plugin.\n" + } + }, + "type": "object", + "required": [ + "description", + "pluginName", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2Instance:getInstancesV2Instance": { + "properties": { + "cerebroEnabled": { + "type": "boolean", + "description": "Whether to enable cerebro.\n" + }, + "cerebroPrivateDomain": { + "type": "string", + "description": "The cerebro private domain of instance.\n" + }, + "cerebroPublicDomain": { + "type": "string", + "description": "The cerebro public domain of instance.\n" + }, + "chargeEnabled": { + "type": "boolean", + "description": "The charge status of instance.\n" + }, + "clusterId": { + "type": "string", + "description": "The cluster id of instance.\n" + }, + "createTime": { + "type": "string", + "description": "The create time of instance.\n" + }, + "deletionProtection": { + "type": "boolean", + "description": "Whether enable deletion protection for ESCloud instance.\n" + }, + "enableEsPrivateDomainPublic": { + "type": "boolean", + "description": "whether enable es private domain public.\n" + }, + "enableEsPrivateNetwork": { + "type": "boolean", + "description": "whether enable es private network.\n" + }, + "enableEsPublicNetwork": { + "type": "boolean", + "description": "whether enable es public network.\n" + }, + "enableKibanaPrivateDomainPublic": { + "type": "boolean", + "description": "whether enable kibana private domain public.\n" + }, + "enableKibanaPrivateNetwork": { + "type": "boolean", + "description": "whether enable kibana private network.\n" + }, + "enableKibanaPublicNetwork": { + "type": "boolean", + "description": "whether enable kibana public network.\n" + }, + "esEip": { + "type": "string", + "description": "The eip address of instance.\n" + }, + "esEipId": { + "type": "string", + "description": "The eip id associated with the instance.\n" + }, + "esInnerEndpoint": { + "type": "string", + "description": "The es inner endpoint of instance.\n" + }, + "esPrivateDomain": { + "type": "string", + "description": "The es private domain of instance.\n" + }, + "esPrivateEndpoint": { + "type": "string", + "description": "The es private endpoint of instance.\n" + }, + "esPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of es private ip.\n" + }, + "esPublicDomain": { + "type": "string", + "description": "The es public domain of instance.\n" + }, + "esPublicEndpoint": { + "type": "string", + "description": "The es public endpoint of instance.\n" + }, + "esPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of es public ip.\n" + }, + "expireDate": { + "type": "string", + "description": "The expire time of instance.\n" + }, + "id": { + "type": "string", + "description": "The id of instance.\n" + }, + "instanceConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfiguration:getInstancesV2InstanceInstanceConfiguration" + }, + "description": "The configuration of instance.\n" + }, + "instanceId": { + "type": "string", + "description": "The id of instance.\n" + }, + "kibanaEip": { + "type": "string", + "description": "The eip address of kibana.\n" + }, + "kibanaEipId": { + "type": "string", + "description": "The eip id associated with kibana.\n" + }, + "kibanaPrivateDomain": { + "type": "string", + "description": "The kibana private domain of instance.\n" + }, + "kibanaPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana private ip.\n" + }, + "kibanaPublicDomain": { + "type": "string", + "description": "The kibana public domain of instance.\n" + }, + "kibanaPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana public ip.\n" + }, + "mainZoneId": { + "type": "string", + "description": "The main zone id of instance.\n" + }, + "maintenanceDays": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The maintenance day of instance.\n" + }, + "maintenanceTime": { + "type": "string", + "description": "The maintenance time of instance.\n" + }, + "nodes": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceNode:getInstancesV2InstanceNode" + }, + "description": "The nodes info of instance.\n" + }, + "plugins": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstancePlugin:getInstancesV2InstancePlugin" + }, + "description": "The plugin info of instance.\n" + }, + "status": { + "type": "string", + "description": "The status of instance.\n" + }, + "supportCodeNode": { + "type": "boolean", + "description": "Whether support code node.\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceTag:getInstancesV2InstanceTag" + }, + "description": "Tags.\n" + }, + "totalNodes": { + "type": "integer", + "description": "The total nodes of instance.\n" + }, + "userId": { + "type": "string", + "description": "The user id of instance.\n" + } + }, + "type": "object", + "required": [ + "cerebroEnabled", + "cerebroPrivateDomain", + "cerebroPublicDomain", + "chargeEnabled", + "clusterId", + "createTime", + "deletionProtection", + "enableEsPrivateDomainPublic", + "enableEsPrivateNetwork", + "enableEsPublicNetwork", + "enableKibanaPrivateDomainPublic", + "enableKibanaPrivateNetwork", + "enableKibanaPublicNetwork", + "esEip", + "esEipId", + "esInnerEndpoint", + "esPrivateDomain", + "esPrivateEndpoint", + "esPrivateIpWhitelist", + "esPublicDomain", + "esPublicEndpoint", + "esPublicIpWhitelist", + "expireDate", + "id", + "instanceConfigurations", + "instanceId", + "kibanaEip", + "kibanaEipId", + "kibanaPrivateDomain", + "kibanaPrivateIpWhitelist", + "kibanaPublicDomain", + "kibanaPublicIpWhitelist", + "mainZoneId", + "maintenanceDays", + "maintenanceTime", + "nodes", + "plugins", + "status", + "supportCodeNode", + "tags", + "totalNodes", + "userId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfiguration:getInstancesV2InstanceInstanceConfiguration": { + "properties": { + "adminUserName": { + "type": "string", + "description": "The user name of instance.\n" + }, + "chargeType": { + "type": "string", + "description": "The charge type of instance.\n" + }, + "coldNodeNumber": { + "type": "integer", + "description": "The node number of cold.\n" + }, + "coldNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec" + }, + "description": "The node resource spec of cold.\n" + }, + "coldNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec" + }, + "description": "The node storage spec of cold.\n" + }, + "coordinatorNodeNumber": { + "type": "integer", + "description": "The node number of coordinator.\n" + }, + "coordinatorNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec" + }, + "description": "The node resource spec of coordinator.\n" + }, + "coordinatorNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec" + }, + "description": "The node storage spec of coordinator.\n" + }, + "enableHttps": { + "type": "boolean", + "description": "whether enable https.\n" + }, + "enablePureMaster": { + "type": "boolean", + "description": "Whether enable pure master.\n" + }, + "hotNodeNumber": { + "type": "integer", + "description": "The node number of hot.\n" + }, + "hotNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec" + }, + "description": "The node resource spec of hot.\n" + }, + "hotNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec" + }, + "description": "The node storage spec of hot.\n" + }, + "instanceName": { + "type": "string", + "description": "The name of instance.\n" + }, + "kibanaNodeNumber": { + "type": "integer", + "description": "The node number of kibana.\n" + }, + "kibanaNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec" + }, + "description": "The node resource spec of kibana.\n" + }, + "kibanaNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec" + }, + "description": "The node storage spec of kibana.\n" + }, + "masterNodeNumber": { + "type": "integer", + "description": "The node number of master.\n" + }, + "masterNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec" + }, + "description": "The node resource spec of master.\n" + }, + "masterNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec" + }, + "description": "The node storage spec of master.\n" + }, + "period": { + "type": "integer", + "description": "The period of project.\n" + }, + "projectName": { + "type": "string", + "description": "The name of project.\n" + }, + "regionId": { + "type": "string", + "description": "The region info of instance.\n" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationSubnet:getInstancesV2InstanceInstanceConfigurationSubnet" + }, + "description": "The subnet info.\n" + }, + "version": { + "type": "string", + "description": "The version of instance.\n" + }, + "vpcs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationVpc:getInstancesV2InstanceInstanceConfigurationVpc" + }, + "description": "The vpc info.\n" + }, + "warmNodeNumber": { + "type": "integer", + "description": "The node number of warm.\n" + }, + "warmNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec" + }, + "description": "The node resource spec of warm.\n" + }, + "warmNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec" + }, + "description": "The node storage spec of warm.\n" + }, + "zoneId": { + "type": "string", + "description": "The zoneId of instance.\n" + }, + "zoneNumber": { + "type": "integer", + "description": "The zone number of instance.\n" + } + }, + "type": "object", + "required": [ + "adminUserName", + "chargeType", + "coldNodeNumber", + "coldNodeResourceSpecs", + "coldNodeStorageSpecs", + "coordinatorNodeNumber", + "coordinatorNodeResourceSpecs", + "coordinatorNodeStorageSpecs", + "enableHttps", + "enablePureMaster", + "hotNodeNumber", + "hotNodeResourceSpecs", + "hotNodeStorageSpecs", + "instanceName", + "kibanaNodeNumber", + "kibanaNodeResourceSpecs", + "kibanaNodeStorageSpecs", + "masterNodeNumber", + "masterNodeResourceSpecs", + "masterNodeStorageSpecs", + "period", + "projectName", + "regionId", + "subnets", + "version", + "vpcs", + "warmNodeNumber", + "warmNodeResourceSpecs", + "warmNodeStorageSpecs", + "zoneId", + "zoneNumber" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationSubnet:getInstancesV2InstanceInstanceConfigurationSubnet": { + "properties": { + "subnetId": { + "type": "string", + "description": "The id of subnet.\n" + }, + "subnetName": { + "type": "string", + "description": "The name of subnet.\n" + } + }, + "type": "object", + "required": [ + "subnetId", + "subnetName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationVpc:getInstancesV2InstanceInstanceConfigurationVpc": { + "properties": { + "vpcId": { + "type": "string", + "description": "The id of vpc.\n" + }, + "vpcName": { + "type": "string", + "description": "The name of vpc.\n" + } + }, + "type": "object", + "required": [ + "vpcId", + "vpcName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec:getInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec:getInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceNode:getInstancesV2InstanceNode": { + "properties": { + "isCold": { + "type": "boolean", + "description": "Is cold node.\n" + }, + "isCoordinator": { + "type": "boolean", + "description": "Is coordinator node.\n" + }, + "isHot": { + "type": "boolean", + "description": "Is hot node.\n" + }, + "isKibana": { + "type": "boolean", + "description": "Is kibana node.\n" + }, + "isMaster": { + "type": "boolean", + "description": "Is master node.\n" + }, + "isWarm": { + "type": "boolean", + "description": "Is warm node.\n" + }, + "nodeDisplayName": { + "type": "string", + "description": "The show name of node.\n" + }, + "nodeName": { + "type": "string", + "description": "The name of node.\n" + }, + "resourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceNodeResourceSpec:getInstancesV2InstanceNodeResourceSpec" + }, + "description": "The node resource spec of master.\n" + }, + "restartNumber": { + "type": "integer", + "description": "The restart times of node.\n" + }, + "startTime": { + "type": "string", + "description": "The start time of node.\n" + }, + "status": { + "type": "string", + "description": "The status of node.\n" + }, + "storageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2InstanceNodeStorageSpec:getInstancesV2InstanceNodeStorageSpec" + }, + "description": "The node storage spec of master.\n" + } + }, + "type": "object", + "required": [ + "isCold", + "isCoordinator", + "isHot", + "isKibana", + "isMaster", + "isWarm", + "nodeDisplayName", + "nodeName", + "resourceSpecs", + "restartNumber", + "startTime", + "status", + "storageSpecs" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceNodeResourceSpec:getInstancesV2InstanceNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceNodeStorageSpec:getInstancesV2InstanceNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstancePlugin:getInstancesV2InstancePlugin": { + "properties": { + "description": { + "type": "string", + "description": "The description of plugin.\n" + }, + "pluginName": { + "type": "string", + "description": "The name of plugin.\n" + }, + "status": { + "type": "string", + "description": "The status of plugin.\n" + }, + "version": { + "type": "string", + "description": "The version of plugin.\n" + } + }, + "type": "object", + "required": [ + "description", + "pluginName", + "status", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2InstanceTag:getInstancesV2InstanceTag": { + "properties": { + "key": { + "type": "string", + "description": "The Key of Tags.\n" + }, + "value": { + "type": "string", + "description": "The Value of Tags.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getInstancesV2Tag:getInstancesV2Tag": { + "properties": { + "key": { + "type": "string", + "description": "The Key of Tags.\n" + }, + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Value of Tags.\n" + } + }, + "type": "object", + "required": [ + "key", + "values" + ] + }, + "volcengine:escloud/getRegionsRegion:getRegionsRegion": { + "properties": { + "regionId": { + "type": "string", + "description": "The id of the region.\n" + }, + "regionName": { + "type": "string", + "description": "The name of region.\n" + } + }, + "type": "object", + "required": [ + "regionId", + "regionName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud/getZonesZone:getZonesZone": { + "properties": { + "id": { + "type": "string", + "description": "The id of the zone.\n" + }, + "zoneId": { + "type": "string", + "description": "The id of the zone.\n" + }, + "zoneName": { + "type": "string", + "description": "The name of the zone.\n" + } + }, + "type": "object", + "required": [ + "id", + "zoneId", + "zoneName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstanceV2NetworkSpec:EscloudInstanceV2NetworkSpec": { + "properties": { + "bandwidth": { + "type": "integer", + "description": "The bandwidth of the eip. Unit: Mbps.\n", + "willReplaceOnChanges": true + }, + "isOpen": { + "type": "boolean", + "description": "Whether the eip is opened.\n", + "willReplaceOnChanges": true + }, + "specName": { + "type": "string", + "description": "The spec name of public network.\n", + "willReplaceOnChanges": true + }, + "type": { + "type": "string", + "description": "The type of public network, valid values: `Elasticsearch`, `Kibana`.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "bandwidth", + "isOpen", + "specName", + "type" + ] + }, + "volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssign:EscloudInstanceV2NodeSpecsAssign": { + "properties": { + "extraPerformance": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssignExtraPerformance:EscloudInstanceV2NodeSpecsAssignExtraPerformance", + "description": "The extra performance of FlexPL storage spec.\n" + }, + "number": { + "type": "integer", + "description": "The number of node.\n" + }, + "resourceSpecName": { + "type": "string", + "description": "The name of compute resource spec.\n" + }, + "storageSize": { + "type": "integer", + "description": "The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.\n" + }, + "storageSpecName": { + "type": "string", + "description": "The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.\n" + }, + "type": { + "type": "string", + "description": "The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`.\n" + } + }, + "type": "object", + "required": [ + "number", + "resourceSpecName", + "storageSize", + "storageSpecName", + "type" + ] + }, + "volcengine:escloud_v2/EscloudInstanceV2NodeSpecsAssignExtraPerformance:EscloudInstanceV2NodeSpecsAssignExtraPerformance": { + "properties": { + "throughput": { + "type": "integer", + "description": "When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth.\nThe unit is MiB, and the adjustment step size is 10MiB.\n" + } + }, + "type": "object", + "required": [ + "throughput" + ] + }, + "volcengine:escloud_v2/EscloudInstanceV2Tag:EscloudInstanceV2Tag": { + "properties": { + "key": { + "type": "string", + "description": "The Key of Tags.\n" + }, + "value": { + "type": "string", + "description": "The Value of Tags.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, + "volcengine:escloud_v2/EscloudInstancesV2Instance:EscloudInstancesV2Instance": { + "properties": { + "cerebroEnabled": { + "type": "boolean", + "description": "Whether to enable cerebro.\n" + }, + "cerebroPrivateDomain": { + "type": "string", + "description": "The cerebro private domain of instance.\n" + }, + "cerebroPublicDomain": { + "type": "string", + "description": "The cerebro public domain of instance.\n" + }, + "chargeEnabled": { + "type": "boolean", + "description": "The charge status of instance.\n" + }, + "clusterId": { + "type": "string", + "description": "The cluster id of instance.\n" + }, + "createTime": { + "type": "string", + "description": "The create time of instance.\n" + }, + "deletionProtection": { + "type": "boolean", + "description": "Whether enable deletion protection for ESCloud instance.\n" + }, + "enableEsPrivateDomainPublic": { + "type": "boolean", + "description": "whether enable es private domain public.\n" + }, + "enableEsPrivateNetwork": { + "type": "boolean", + "description": "whether enable es private network.\n" + }, + "enableEsPublicNetwork": { + "type": "boolean", + "description": "whether enable es public network.\n" + }, + "enableKibanaPrivateDomainPublic": { + "type": "boolean", + "description": "whether enable kibana private domain public.\n" + }, + "enableKibanaPrivateNetwork": { + "type": "boolean", + "description": "whether enable kibana private network.\n" + }, + "enableKibanaPublicNetwork": { + "type": "boolean", + "description": "whether enable kibana public network.\n" + }, + "esEip": { + "type": "string", + "description": "The eip address of instance.\n" + }, + "esEipId": { + "type": "string", + "description": "The eip id associated with the instance.\n" + }, + "esInnerEndpoint": { + "type": "string", + "description": "The es inner endpoint of instance.\n" + }, + "esPrivateDomain": { + "type": "string", + "description": "The es private domain of instance.\n" + }, + "esPrivateEndpoint": { + "type": "string", + "description": "The es private endpoint of instance.\n" + }, + "esPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of es private ip.\n" + }, + "esPublicDomain": { + "type": "string", + "description": "The es public domain of instance.\n" + }, + "esPublicEndpoint": { + "type": "string", + "description": "The es public endpoint of instance.\n" + }, + "esPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of es public ip.\n" + }, + "expireDate": { + "type": "string", + "description": "The expire time of instance.\n" + }, + "id": { + "type": "string", + "description": "The id of instance.\n" + }, + "instanceConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfiguration:EscloudInstancesV2InstanceInstanceConfiguration" + }, + "description": "The configuration of instance.\n" + }, + "instanceId": { + "type": "string", + "description": "The id of instance.\n" + }, + "kibanaEip": { + "type": "string", + "description": "The eip address of kibana.\n" + }, + "kibanaEipId": { + "type": "string", + "description": "The eip id associated with kibana.\n" + }, + "kibanaPrivateDomain": { + "type": "string", + "description": "The kibana private domain of instance.\n" + }, + "kibanaPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana private ip.\n" + }, + "kibanaPublicDomain": { + "type": "string", + "description": "The kibana public domain of instance.\n" + }, + "kibanaPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana public ip.\n" + }, + "mainZoneId": { + "type": "string", + "description": "The main zone id of instance.\n" + }, + "maintenanceDays": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The maintenance day of instance.\n" + }, + "maintenanceTime": { + "type": "string", + "description": "The maintenance time of instance.\n" + }, + "nodes": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceNode:EscloudInstancesV2InstanceNode" + }, + "description": "The nodes info of instance.\n" + }, + "plugins": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstancePlugin:EscloudInstancesV2InstancePlugin" + }, + "description": "The plugin info of instance.\n" + }, + "status": { + "type": "string", + "description": "The status of instance.\n" + }, + "supportCodeNode": { + "type": "boolean", + "description": "Whether support code node.\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceTag:EscloudInstancesV2InstanceTag" + }, + "description": "Tags.\n" + }, + "totalNodes": { + "type": "integer", + "description": "The total nodes of instance.\n" + }, + "userId": { + "type": "string", + "description": "The user id of instance.\n" + } + }, + "type": "object", + "required": [ + "cerebroEnabled", + "cerebroPrivateDomain", + "cerebroPublicDomain", + "chargeEnabled", + "clusterId", + "createTime", + "deletionProtection", + "enableEsPrivateDomainPublic", + "enableEsPrivateNetwork", + "enableEsPublicNetwork", + "enableKibanaPrivateDomainPublic", + "enableKibanaPrivateNetwork", + "enableKibanaPublicNetwork", + "esEip", + "esEipId", + "esInnerEndpoint", + "esPrivateDomain", + "esPrivateEndpoint", + "esPrivateIpWhitelist", + "esPublicDomain", + "esPublicEndpoint", + "esPublicIpWhitelist", + "expireDate", + "id", + "instanceConfigurations", + "instanceId", + "kibanaEip", + "kibanaEipId", + "kibanaPrivateDomain", + "kibanaPrivateIpWhitelist", + "kibanaPublicDomain", + "kibanaPublicIpWhitelist", + "mainZoneId", + "maintenanceDays", + "maintenanceTime", + "nodes", + "plugins", + "status", + "supportCodeNode", + "tags", + "totalNodes", + "userId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfiguration:EscloudInstancesV2InstanceInstanceConfiguration": { + "properties": { + "adminUserName": { + "type": "string", + "description": "The user name of instance.\n" + }, + "chargeType": { + "type": "string", + "description": "The charge type of instance.\n" + }, + "coldNodeNumber": { + "type": "integer", + "description": "The node number of cold.\n" + }, + "coldNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec" + }, + "description": "The node resource spec of cold.\n" + }, + "coldNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec" + }, + "description": "The node storage spec of cold.\n" + }, + "coordinatorNodeNumber": { + "type": "integer", + "description": "The node number of coordinator.\n" + }, + "coordinatorNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec" + }, + "description": "The node resource spec of coordinator.\n" + }, + "coordinatorNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec" + }, + "description": "The node storage spec of coordinator.\n" + }, + "enableHttps": { + "type": "boolean", + "description": "whether enable https.\n" + }, + "enablePureMaster": { + "type": "boolean", + "description": "Whether enable pure master.\n" + }, + "hotNodeNumber": { + "type": "integer", + "description": "The node number of hot.\n" + }, + "hotNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec" + }, + "description": "The node resource spec of hot.\n" + }, + "hotNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec" + }, + "description": "The node storage spec of hot.\n" + }, + "instanceName": { + "type": "string", + "description": "The name of instance.\n" + }, + "kibanaNodeNumber": { + "type": "integer", + "description": "The node number of kibana.\n" + }, + "kibanaNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec" + }, + "description": "The node resource spec of kibana.\n" + }, + "kibanaNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec" + }, + "description": "The node storage spec of kibana.\n" + }, + "masterNodeNumber": { + "type": "integer", + "description": "The node number of master.\n" + }, + "masterNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec" + }, + "description": "The node resource spec of master.\n" + }, + "masterNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec" + }, + "description": "The node storage spec of master.\n" + }, + "period": { + "type": "integer", + "description": "The period of project.\n" + }, + "projectName": { + "type": "string", + "description": "The name of project.\n" + }, + "regionId": { + "type": "string", + "description": "The region info of instance.\n" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationSubnet:EscloudInstancesV2InstanceInstanceConfigurationSubnet" + }, + "description": "The subnet info.\n" + }, + "version": { + "type": "string", + "description": "The version of instance.\n" + }, + "vpcs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationVpc:EscloudInstancesV2InstanceInstanceConfigurationVpc" + }, + "description": "The vpc info.\n" + }, + "warmNodeNumber": { + "type": "integer", + "description": "The node number of warm.\n" + }, + "warmNodeResourceSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec" + }, + "description": "The node resource spec of warm.\n" + }, + "warmNodeStorageSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec" + }, + "description": "The node storage spec of warm.\n" + }, + "zoneId": { + "type": "string", + "description": "The zoneId of instance.\n" + }, + "zoneNumber": { + "type": "integer", + "description": "The zone number of instance.\n" + } + }, + "type": "object", + "required": [ + "adminUserName", + "chargeType", + "coldNodeNumber", + "coldNodeResourceSpecs", + "coldNodeStorageSpecs", + "coordinatorNodeNumber", + "coordinatorNodeResourceSpecs", + "coordinatorNodeStorageSpecs", + "enableHttps", + "enablePureMaster", + "hotNodeNumber", + "hotNodeResourceSpecs", + "hotNodeStorageSpecs", + "instanceName", + "kibanaNodeNumber", + "kibanaNodeResourceSpecs", + "kibanaNodeStorageSpecs", + "masterNodeNumber", + "masterNodeResourceSpecs", + "masterNodeStorageSpecs", + "period", + "projectName", + "regionId", + "subnets", + "version", + "vpcs", + "warmNodeNumber", + "warmNodeResourceSpecs", + "warmNodeStorageSpecs", + "zoneId", + "zoneNumber" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec:EscloudInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec": { + "properties": { + "description": { + "type": "string", + "description": "The description of storage spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of storage spec.\n" + }, + "maxSize": { + "type": "integer", + "description": "The max size of storage spec.\n" + }, + "minSize": { + "type": "integer", + "description": "The min size of storage spec.\n" + }, + "name": { + "type": "string", + "description": "The name of storage spec.\n" + }, + "size": { + "type": "integer", + "description": "The size of storage spec.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName", + "maxSize", + "minSize", + "name", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "volcengine:escloud_v2/EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec:EscloudInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec": { + "properties": { + "cpu": { + "type": "integer", + "description": "The cpu info of resource spec.\n" + }, + "description": { + "type": "string", + "description": "The description of resource spec.\n" + }, + "displayName": { + "type": "string", + "description": "The show name of resource spec.\n" + }, + "memory": { + "type": "integer", + "description": "The memory info of resource spec.\n" + }, + "name": { + "type": "string", + "description": "The name of resource spec.\n" + } + }, + "type": "object", + "required": [ + "cpu", + "description", + "displayName", + "memory", "name" ], "language": { @@ -54308,320 +57314,897 @@ "description": "Stop Mode of Instance, the value can be `KeepCharging` or `StopCharging`.\n" } }, - "type": "object" - } - }, - "volcengine:eip/address:Address": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst foo = new volcengine.eip.Address(\"foo\", {\n bandwidth: 1,\n billingType: \"PostPaidByBandwidth\",\n description: \"acc-test\",\n isp: \"ChinaUnicom\",\n projectName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.eip.Address(\"foo\",\n bandwidth=1,\n billing_type=\"PostPaidByBandwidth\",\n description=\"acc-test\",\n isp=\"ChinaUnicom\",\n project_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new Volcengine.Eip.Address(\"foo\", new()\n {\n Bandwidth = 1,\n BillingType = \"PostPaidByBandwidth\",\n Description = \"acc-test\",\n Isp = \"ChinaUnicom\",\n ProjectName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eip.NewAddress(ctx, \"foo\", \u0026eip.AddressArgs{\n\t\t\tBandwidth: pulumi.Int(1),\n\t\t\tBillingType: pulumi.String(\"PostPaidByBandwidth\"),\n\t\t\tDescription: pulumi.String(\"acc-test\"),\n\t\t\tIsp: pulumi.String(\"ChinaUnicom\"),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.eip.Address;\nimport com.pulumi.volcengine.eip.AddressArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Address(\"foo\", AddressArgs.builder() \n .bandwidth(1)\n .billingType(\"PostPaidByBandwidth\")\n .description(\"acc-test\")\n .isp(\"ChinaUnicom\")\n .projectName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: volcengine:eip:Address\n properties:\n bandwidth: 1\n billingType: PostPaidByBandwidth\n description: acc-test\n isp: ChinaUnicom\n projectName: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEip address can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:eip/address:Address default eip-274oj9a8rs9a87fap8sf9515b\n```\n", - "properties": { - "bandwidth": { - "type": "integer", - "description": "The peek bandwidth of the EIP.\n" + "type": "object" + } + }, + "volcengine:eip/address:Address": { + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst foo = new volcengine.eip.Address(\"foo\", {\n bandwidth: 1,\n billingType: \"PostPaidByBandwidth\",\n description: \"acc-test\",\n isp: \"ChinaUnicom\",\n projectName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.eip.Address(\"foo\",\n bandwidth=1,\n billing_type=\"PostPaidByBandwidth\",\n description=\"acc-test\",\n isp=\"ChinaUnicom\",\n project_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new Volcengine.Eip.Address(\"foo\", new()\n {\n Bandwidth = 1,\n BillingType = \"PostPaidByBandwidth\",\n Description = \"acc-test\",\n Isp = \"ChinaUnicom\",\n ProjectName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eip.NewAddress(ctx, \"foo\", \u0026eip.AddressArgs{\n\t\t\tBandwidth: pulumi.Int(1),\n\t\t\tBillingType: pulumi.String(\"PostPaidByBandwidth\"),\n\t\t\tDescription: pulumi.String(\"acc-test\"),\n\t\t\tIsp: pulumi.String(\"ChinaUnicom\"),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.eip.Address;\nimport com.pulumi.volcengine.eip.AddressArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Address(\"foo\", AddressArgs.builder() \n .bandwidth(1)\n .billingType(\"PostPaidByBandwidth\")\n .description(\"acc-test\")\n .isp(\"ChinaUnicom\")\n .projectName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: volcengine:eip:Address\n properties:\n bandwidth: 1\n billingType: PostPaidByBandwidth\n description: acc-test\n isp: ChinaUnicom\n projectName: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEip address can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:eip/address:Address default eip-274oj9a8rs9a87fap8sf9515b\n```\n", + "properties": { + "bandwidth": { + "type": "integer", + "description": "The peek bandwidth of the EIP.\n" + }, + "billingType": { + "type": "string", + "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + }, + "deletedTime": { + "type": "string", + "description": "The deleted time of the EIP.\n" + }, + "description": { + "type": "string", + "description": "The description of the EIP.\n" + }, + "eipAddress": { + "type": "string", + "description": "The ip address of the EIP.\n" + }, + "expiredTime": { + "type": "string", + "description": "The expired time of the EIP.\n" + }, + "isp": { + "type": "string", + "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n" + }, + "name": { + "type": "string", + "description": "The name of the EIP Address.\n" + }, + "overdueTime": { + "type": "string", + "description": "The overdue time of the EIP.\n" + }, + "period": { + "type": "integer", + "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + }, + "projectName": { + "type": "string", + "description": "The ProjectName of the EIP.\n" + }, + "securityProtectionTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n" + }, + "status": { + "type": "string", + "description": "The status of the EIP.\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + }, + "description": "Tags.\n" + } + }, + "required": [ + "bandwidth", + "billingType", + "deletedTime", + "eipAddress", + "expiredTime", + "isp", + "name", + "overdueTime", + "projectName", + "status" + ], + "inputProperties": { + "bandwidth": { + "type": "integer", + "description": "The peek bandwidth of the EIP.\n" + }, + "billingType": { + "type": "string", + "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + }, + "description": { + "type": "string", + "description": "The description of the EIP.\n" + }, + "isp": { + "type": "string", + "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the EIP Address.\n" + }, + "period": { + "type": "integer", + "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + }, + "projectName": { + "type": "string", + "description": "The ProjectName of the EIP.\n" + }, + "securityProtectionTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n", + "willReplaceOnChanges": true + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + }, + "description": "Tags.\n" + } + }, + "requiredInputs": [ + "billingType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Address resources.\n", + "properties": { + "bandwidth": { + "type": "integer", + "description": "The peek bandwidth of the EIP.\n" + }, + "billingType": { + "type": "string", + "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + }, + "deletedTime": { + "type": "string", + "description": "The deleted time of the EIP.\n" + }, + "description": { + "type": "string", + "description": "The description of the EIP.\n" + }, + "eipAddress": { + "type": "string", + "description": "The ip address of the EIP.\n" + }, + "expiredTime": { + "type": "string", + "description": "The expired time of the EIP.\n" + }, + "isp": { + "type": "string", + "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the EIP Address.\n" + }, + "overdueTime": { + "type": "string", + "description": "The overdue time of the EIP.\n" + }, + "period": { + "type": "integer", + "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + }, + "projectName": { + "type": "string", + "description": "The ProjectName of the EIP.\n" + }, + "securityProtectionTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n", + "willReplaceOnChanges": true + }, + "status": { + "type": "string", + "description": "The status of the EIP.\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + }, + "description": "Tags.\n" + } + }, + "type": "object" + } + }, + "volcengine:eip/associate:Associate": { + "description": "Provides a resource to manage eip associate\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooImages = volcengine.ecs.Images({\n osType: \"Linux\",\n visibility: \"public\",\n instanceTypeId: \"ecs.g1.large\",\n});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooSecurityGroup = new volcengine.vpc.SecurityGroup(\"fooSecurityGroup\", {\n vpcId: fooVpc.id,\n securityGroupName: \"acc-test-security-group\",\n});\nconst fooInstance = new volcengine.ecs.Instance(\"fooInstance\", {\n imageId: fooImages.then(fooImages =\u003e fooImages.images?.[0]?.imageId),\n instanceType: \"ecs.g1.large\",\n instanceName: \"acc-test-ecs-name\",\n password: \"93f0cb0614Aab12\",\n instanceChargeType: \"PostPaid\",\n systemVolumeType: \"ESSD_PL0\",\n systemVolumeSize: 40,\n subnetId: fooSubnet.id,\n securityGroupIds: [fooSecurityGroup.id],\n});\nconst fooAddress = new volcengine.eip.Address(\"fooAddress\", {billingType: \"PostPaidByTraffic\"});\nconst fooAssociate = new volcengine.eip.Associate(\"fooAssociate\", {\n allocationId: fooAddress.id,\n instanceId: fooInstance.id,\n instanceType: \"EcsInstance\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_images = volcengine.ecs.images(os_type=\"Linux\",\n visibility=\"public\",\n instance_type_id=\"ecs.g1.large\")\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_security_group = volcengine.vpc.SecurityGroup(\"fooSecurityGroup\",\n vpc_id=foo_vpc.id,\n security_group_name=\"acc-test-security-group\")\nfoo_instance = volcengine.ecs.Instance(\"fooInstance\",\n image_id=foo_images.images[0].image_id,\n instance_type=\"ecs.g1.large\",\n instance_name=\"acc-test-ecs-name\",\n password=\"93f0cb0614Aab12\",\n instance_charge_type=\"PostPaid\",\n system_volume_type=\"ESSD_PL0\",\n system_volume_size=40,\n subnet_id=foo_subnet.id,\n security_group_ids=[foo_security_group.id])\nfoo_address = volcengine.eip.Address(\"fooAddress\", billing_type=\"PostPaidByTraffic\")\nfoo_associate = volcengine.eip.Associate(\"fooAssociate\",\n allocation_id=foo_address.id,\n instance_id=foo_instance.id,\n instance_type=\"EcsInstance\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooImages = Volcengine.Ecs.Images.Invoke(new()\n {\n OsType = \"Linux\",\n Visibility = \"public\",\n InstanceTypeId = \"ecs.g1.large\",\n });\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup(\"fooSecurityGroup\", new()\n {\n VpcId = fooVpc.Id,\n SecurityGroupName = \"acc-test-security-group\",\n });\n\n var fooInstance = new Volcengine.Ecs.Instance(\"fooInstance\", new()\n {\n ImageId = fooImages.Apply(imagesResult =\u003e imagesResult.Images[0]?.ImageId),\n InstanceType = \"ecs.g1.large\",\n InstanceName = \"acc-test-ecs-name\",\n Password = \"93f0cb0614Aab12\",\n InstanceChargeType = \"PostPaid\",\n SystemVolumeType = \"ESSD_PL0\",\n SystemVolumeSize = 40,\n SubnetId = fooSubnet.Id,\n SecurityGroupIds = new[]\n {\n fooSecurityGroup.Id,\n },\n });\n\n var fooAddress = new Volcengine.Eip.Address(\"fooAddress\", new()\n {\n BillingType = \"PostPaidByTraffic\",\n });\n\n var fooAssociate = new Volcengine.Eip.Associate(\"fooAssociate\", new()\n {\n AllocationId = fooAddress.Id,\n InstanceId = fooInstance.Id,\n InstanceType = \"EcsInstance\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooImages, err := ecs.Images(ctx, \u0026ecs.ImagesArgs{\n\t\t\tOsType: pulumi.StringRef(\"Linux\"),\n\t\t\tVisibility: pulumi.StringRef(\"public\"),\n\t\t\tInstanceTypeId: pulumi.StringRef(\"ecs.g1.large\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSecurityGroup, err := vpc.NewSecurityGroup(ctx, \"fooSecurityGroup\", \u0026vpc.SecurityGroupArgs{\n\t\t\tVpcId: fooVpc.ID(),\n\t\t\tSecurityGroupName: pulumi.String(\"acc-test-security-group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstance, err := ecs.NewInstance(ctx, \"fooInstance\", \u0026ecs.InstanceArgs{\n\t\t\tImageId: pulumi.String(fooImages.Images[0].ImageId),\n\t\t\tInstanceType: pulumi.String(\"ecs.g1.large\"),\n\t\t\tInstanceName: pulumi.String(\"acc-test-ecs-name\"),\n\t\t\tPassword: pulumi.String(\"93f0cb0614Aab12\"),\n\t\t\tInstanceChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tSystemVolumeType: pulumi.String(\"ESSD_PL0\"),\n\t\t\tSystemVolumeSize: pulumi.Int(40),\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tfooSecurityGroup.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooAddress, err := eip.NewAddress(ctx, \"fooAddress\", \u0026eip.AddressArgs{\n\t\t\tBillingType: pulumi.String(\"PostPaidByTraffic\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = eip.NewAssociate(ctx, \"fooAssociate\", \u0026eip.AssociateArgs{\n\t\t\tAllocationId: fooAddress.ID(),\n\t\t\tInstanceId: fooInstance.ID(),\n\t\t\tInstanceType: pulumi.String(\"EcsInstance\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.ecs.inputs.ImagesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.vpc.SecurityGroup;\nimport com.pulumi.volcengine.vpc.SecurityGroupArgs;\nimport com.pulumi.volcengine.ecs.Instance;\nimport com.pulumi.volcengine.ecs.InstanceArgs;\nimport com.pulumi.volcengine.eip.Address;\nimport com.pulumi.volcengine.eip.AddressArgs;\nimport com.pulumi.volcengine.eip.Associate;\nimport com.pulumi.volcengine.eip.AssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n final var fooImages = EcsFunctions.Images(ImagesArgs.builder()\n .osType(\"Linux\")\n .visibility(\"public\")\n .instanceTypeId(\"ecs.g1.large\")\n .build());\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooSecurityGroup = new SecurityGroup(\"fooSecurityGroup\", SecurityGroupArgs.builder() \n .vpcId(fooVpc.id())\n .securityGroupName(\"acc-test-security-group\")\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .imageId(fooImages.applyValue(imagesResult -\u003e imagesResult.images()[0].imageId()))\n .instanceType(\"ecs.g1.large\")\n .instanceName(\"acc-test-ecs-name\")\n .password(\"93f0cb0614Aab12\")\n .instanceChargeType(\"PostPaid\")\n .systemVolumeType(\"ESSD_PL0\")\n .systemVolumeSize(40)\n .subnetId(fooSubnet.id())\n .securityGroupIds(fooSecurityGroup.id())\n .build());\n\n var fooAddress = new Address(\"fooAddress\", AddressArgs.builder() \n .billingType(\"PostPaidByTraffic\")\n .build());\n\n var fooAssociate = new Associate(\"fooAssociate\", AssociateArgs.builder() \n .allocationId(fooAddress.id())\n .instanceId(fooInstance.id())\n .instanceType(\"EcsInstance\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooSecurityGroup:\n type: volcengine:vpc:SecurityGroup\n properties:\n vpcId: ${fooVpc.id}\n securityGroupName: acc-test-security-group\n fooInstance:\n type: volcengine:ecs:Instance\n properties:\n imageId: ${fooImages.images[0].imageId}\n instanceType: ecs.g1.large\n instanceName: acc-test-ecs-name\n password: 93f0cb0614Aab12\n instanceChargeType: PostPaid\n systemVolumeType: ESSD_PL0\n systemVolumeSize: 40\n subnetId: ${fooSubnet.id}\n securityGroupIds:\n - ${fooSecurityGroup.id}\n fooAddress:\n type: volcengine:eip:Address\n properties:\n billingType: PostPaidByTraffic\n fooAssociate:\n type: volcengine:eip:Associate\n properties:\n allocationId: ${fooAddress.id}\n instanceId: ${fooInstance.id}\n instanceType: EcsInstance\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n fooImages:\n fn::invoke:\n Function: volcengine:ecs:Images\n Arguments:\n osType: Linux\n visibility: public\n instanceTypeId: ecs.g1.large\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEip associate can be imported using the eip allocation_id:instance_id, e.g.\n\n```sh\n$ pulumi import volcengine:eip/associate:Associate default eip-274oj9a8rs9a87fap8sf9515b:i-cm9t9ug9lggu79yr5tcw\n```\n", + "properties": { + "allocationId": { + "type": "string", + "description": "The allocation id of the EIP.\n" + }, + "instanceId": { + "type": "string", + "description": "The instance id which be associated to the EIP.\n" + }, + "instanceType": { + "type": "string", + "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n" + }, + "privateIpAddress": { + "type": "string", + "description": "The private IP address of the instance will be associated to the EIP.\n" + } + }, + "required": [ + "allocationId", + "instanceId", + "instanceType", + "privateIpAddress" + ], + "inputProperties": { + "allocationId": { + "type": "string", + "description": "The allocation id of the EIP.\n", + "willReplaceOnChanges": true + }, + "instanceId": { + "type": "string", + "description": "The instance id which be associated to the EIP.\n", + "willReplaceOnChanges": true + }, + "instanceType": { + "type": "string", + "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n", + "willReplaceOnChanges": true + }, + "privateIpAddress": { + "type": "string", + "description": "The private IP address of the instance will be associated to the EIP.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "allocationId", + "instanceId", + "instanceType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Associate resources.\n", + "properties": { + "allocationId": { + "type": "string", + "description": "The allocation id of the EIP.\n", + "willReplaceOnChanges": true + }, + "instanceId": { + "type": "string", + "description": "The instance id which be associated to the EIP.\n", + "willReplaceOnChanges": true + }, + "instanceType": { + "type": "string", + "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n", + "willReplaceOnChanges": true + }, + "privateIpAddress": { + "type": "string", + "description": "The private IP address of the instance will be associated to the EIP.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, + "volcengine:escloud/instance:Instance": { + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Provides a resource to manage escloud instance\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet_new\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstance = new volcengine.escloud.Instance(\"fooInstance\", {instanceConfiguration: {\n version: \"V6_7\",\n zoneNumber: 1,\n enableHttps: true,\n adminUserName: \"admin\",\n adminPassword: \"Password@@\",\n chargeType: \"PostPaid\",\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n instanceName: \"acc-test-0\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x4.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Hot\",\n number: 2,\n resourceSpecName: \"es.x4.large\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n },\n ],\n subnetId: fooSubnet.id,\n projectName: \"default\",\n forceRestartAfterScale: false,\n}});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet_new\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance = volcengine.escloud.Instance(\"fooInstance\", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(\n version=\"V6_7\",\n zone_number=1,\n enable_https=True,\n admin_user_name=\"admin\",\n admin_password=\"Password@@\",\n charge_type=\"PostPaid\",\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n instance_name=\"acc-test-0\",\n node_specs_assigns=[\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x4.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Hot\",\n number=2,\n resource_spec_name=\"es.x4.large\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n ),\n ],\n subnet_id=foo_subnet.id,\n project_name=\"default\",\n force_restart_after_scale=False,\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet_new\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstance = new Volcengine.Escloud.Instance(\"fooInstance\", new()\n {\n InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs\n {\n Version = \"V6_7\",\n ZoneNumber = 1,\n EnableHttps = true,\n AdminUserName = \"admin\",\n AdminPassword = \"Password@@\",\n ChargeType = \"PostPaid\",\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n InstanceName = \"acc-test-0\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x4.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 2,\n ResourceSpecName = \"es.x4.large\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n },\n },\n SubnetId = fooSubnet.Id,\n ProjectName = \"default\",\n ForceRestartAfterScale = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet_new\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewInstance(ctx, \"fooInstance\", \u0026escloud.InstanceArgs{\n\t\t\tInstanceConfiguration: \u0026escloud.InstanceInstanceConfigurationArgs{\n\t\t\t\tVersion: pulumi.String(\"V6_7\"),\n\t\t\t\tZoneNumber: pulumi.Int(1),\n\t\t\t\tEnableHttps: pulumi.Bool(true),\n\t\t\t\tAdminUserName: pulumi.String(\"admin\"),\n\t\t\t\tAdminPassword: pulumi.String(\"Password@@\"),\n\t\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\t\tInstanceName: pulumi.String(\"acc-test-0\"),\n\t\t\t\tNodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.medium\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\t\tNumber: pulumi.Int(2),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.large\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\t\tForceRestartAfterScale: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.Instance;\nimport com.pulumi.volcengine.escloud.InstanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet_new\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .instanceConfiguration(InstanceInstanceConfigurationArgs.builder()\n .version(\"V6_7\")\n .zoneNumber(1)\n .enableHttps(true)\n .adminUserName(\"admin\")\n .adminPassword(\"Password@@\")\n .chargeType(\"PostPaid\")\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .instanceName(\"acc-test-0\")\n .nodeSpecsAssigns( \n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x4.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(2)\n .resourceSpecName(\"es.x4.large\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .build())\n .subnetId(fooSubnet.id())\n .projectName(\"default\")\n .forceRestartAfterScale(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet_new\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstance:\n type: volcengine:escloud:Instance\n properties:\n instanceConfiguration:\n version: V6_7\n zoneNumber: 1\n enableHttps: true\n adminUserName: admin\n adminPassword: Password@@\n chargeType: PostPaid\n configurationCode: es.standard\n enablePureMaster: true\n instanceName: acc-test-0\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x4.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Hot\n number: 2\n resourceSpecName: es.x4.large\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n subnetId: ${fooSubnet.id}\n projectName: default\n forceRestartAfterScale: false\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nESCloud Instance can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:escloud/instance:Instance default n769ewmjjqyqh5dv\n```\n", + "properties": { + "instanceConfiguration": { + "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", + "description": "The configuration of ESCloud instance.\n" + } + }, + "required": [ + "instanceConfiguration" + ], + "inputProperties": { + "instanceConfiguration": { + "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", + "description": "The configuration of ESCloud instance.\n" + } + }, + "requiredInputs": [ + "instanceConfiguration" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Instance resources.\n", + "properties": { + "instanceConfiguration": { + "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", + "description": "The configuration of ESCloud instance.\n" + } + }, + "type": "object" + } + }, + "volcengine:escloud/instanceV2:InstanceV2": { + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstanceV2 = new volcengine.escloud.InstanceV2(\"fooInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\n// maintenance_time = \"02:00-08:00\"\n// maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance_v2 = volcengine.escloud.InstanceV2(\"fooInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud.InstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\n# maintenance_time = \"02:00-08:00\"\n# maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstanceV2 = new Volcengine.Escloud.InstanceV2(\"fooInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewInstanceV2(ctx, \"fooInstanceV2\", \u0026escloud.InstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud.InstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud.InstanceV2TagArray{\n\t\t\t\t\u0026escloud.InstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.InstanceV2;\nimport com.pulumi.volcengine.escloud.InstanceV2Args;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2TagArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstanceV2 = new InstanceV2(\"fooInstanceV2\", InstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(InstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n InstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n InstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(InstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstanceV2:\n type: volcengine:escloud:InstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudInstanceV2 can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id\n```\n", + "properties": { + "adminPassword": { + "type": "string", + "description": "The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.\n", + "secret": true + }, + "autoRenew": { + "type": "boolean", + "description": "Whether to automatically renew in prepaid scenarios. Default is false.\n" + }, + "cerebroPrivateDomain": { + "type": "string", + "description": "The cerebro private domain of instance.\n" + }, + "cerebroPublicDomain": { + "type": "string", + "description": "The cerebro public domain of instance.\n" + }, + "chargeType": { + "type": "string", + "description": "The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`.\n" + }, + "configurationCode": { + "type": "string", + "description": "Configuration code used for billing.\n" + }, + "deletionProtection": { + "type": "boolean", + "description": "Whether enable deletion protection for ESCloud instance. Default is false.\n" + }, + "enableHttps": { + "type": "boolean", + "description": "Whether Https access is enabled.\n" + }, + "enablePureMaster": { + "type": "boolean", + "description": "Whether the Master node is independent.\n" + }, + "esEip": { + "type": "string", + "description": "The eip address of instance.\n" + }, + "esEipId": { + "type": "string", + "description": "The eip id associated with the instance.\n" + }, + "esPrivateDomain": { + "type": "string", + "description": "The es private domain of instance.\n" + }, + "esPrivateEndpoint": { + "type": "string", + "description": "The es private endpoint of instance.\n" + }, + "esPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of es private ip.\n" }, - "billingType": { + "esPublicDomain": { "type": "string", - "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + "description": "The es public domain of instance.\n" }, - "deletedTime": { + "esPublicEndpoint": { "type": "string", - "description": "The deleted time of the EIP.\n" + "description": "The es public endpoint of instance.\n" }, - "description": { + "esPublicIpWhitelist": { "type": "string", - "description": "The description of the EIP.\n" + "description": "The whitelist of es public ip.\n" }, - "eipAddress": { + "instanceName": { "type": "string", - "description": "The ip address of the EIP.\n" + "description": "The name of ESCloud instance.\n" }, - "expiredTime": { + "kibanaEip": { "type": "string", - "description": "The expired time of the EIP.\n" + "description": "The eip address of kibana.\n" }, - "isp": { + "kibanaEipId": { "type": "string", - "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n" + "description": "The eip id associated with kibana.\n" }, - "name": { + "kibanaPrivateDomain": { "type": "string", - "description": "The name of the EIP Address.\n" + "description": "The kibana private domain of instance.\n" }, - "overdueTime": { + "kibanaPrivateIpWhitelist": { "type": "string", - "description": "The overdue time of the EIP.\n" + "description": "The whitelist of kibana private ip.\n" }, - "period": { - "type": "integer", - "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + "kibanaPublicDomain": { + "type": "string", + "description": "The kibana public domain of instance.\n" }, - "projectName": { + "kibanaPublicIpWhitelist": { "type": "string", - "description": "The ProjectName of the EIP.\n" + "description": "The whitelist of kibana public ip.\n" }, - "securityProtectionTypes": { + "mainZoneId": { + "type": "string", + "description": "The main zone id of instance.\n" + }, + "maintenanceDays": { "type": "array", "items": { "type": "string" }, - "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n" + "description": "The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes.\n" + }, + "maintenanceTime": { + "type": "string", + "description": "The maintainable time period for the instance. Works only on modified scenes.\n" + }, + "networkSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NetworkSpec:InstanceV2NetworkSpec" + }, + "description": "The public network config of the ESCloud instance.\n" + }, + "nodeSpecsAssigns": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NodeSpecsAssign:InstanceV2NodeSpecsAssign" + }, + "description": "The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.\n" + }, + "period": { + "type": "integer", + "description": "Purchase duration in prepaid scenarios. Unit: Monthly.\n" + }, + "projectName": { + "type": "string", + "description": "The project name to which the ESCloud instance belongs.\n" }, "status": { "type": "string", - "description": "The status of the EIP.\n" + "description": "The status of instance.\n" + }, + "subnetId": { + "type": "string", + "description": "The id of subnet, the subnet must belong to the AZ selected.\n" }, "tags": { "type": "array", "items": { - "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + "$ref": "#/types/volcengine:escloud/InstanceV2Tag:InstanceV2Tag" }, "description": "Tags.\n" + }, + "version": { + "type": "string", + "description": "The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`.\n" + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zone id of the ESCloud instance. Support specifying multiple availability zones.\nThe first zone id is the primary availability zone, while the rest are backup availability zones.\n" } }, "required": [ - "bandwidth", - "billingType", - "deletedTime", - "eipAddress", - "expiredTime", - "isp", - "name", - "overdueTime", + "adminPassword", + "cerebroPrivateDomain", + "cerebroPublicDomain", + "chargeType", + "configurationCode", + "enableHttps", + "enablePureMaster", + "esEip", + "esEipId", + "esPrivateDomain", + "esPrivateEndpoint", + "esPrivateIpWhitelist", + "esPublicDomain", + "esPublicEndpoint", + "esPublicIpWhitelist", + "instanceName", + "kibanaEip", + "kibanaEipId", + "kibanaPrivateDomain", + "kibanaPrivateIpWhitelist", + "kibanaPublicDomain", + "kibanaPublicIpWhitelist", + "mainZoneId", + "maintenanceDays", + "maintenanceTime", + "nodeSpecsAssigns", "projectName", - "status" + "status", + "subnetId", + "version", + "zoneIds" ], "inputProperties": { - "bandwidth": { - "type": "integer", - "description": "The peek bandwidth of the EIP.\n" - }, - "billingType": { + "adminPassword": { "type": "string", - "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + "description": "The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.\n", + "secret": true }, - "description": { + "autoRenew": { + "type": "boolean", + "description": "Whether to automatically renew in prepaid scenarios. Default is false.\n" + }, + "chargeType": { "type": "string", - "description": "The description of the EIP.\n" + "description": "The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`.\n" }, - "isp": { + "configurationCode": { "type": "string", - "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n", + "description": "Configuration code used for billing.\n", "willReplaceOnChanges": true }, - "name": { + "deletionProtection": { + "type": "boolean", + "description": "Whether enable deletion protection for ESCloud instance. Default is false.\n" + }, + "enableHttps": { + "type": "boolean", + "description": "Whether Https access is enabled.\n", + "willReplaceOnChanges": true + }, + "enablePureMaster": { + "type": "boolean", + "description": "Whether the Master node is independent.\n", + "willReplaceOnChanges": true + }, + "instanceName": { "type": "string", - "description": "The name of the EIP Address.\n" + "description": "The name of ESCloud instance.\n" + }, + "maintenanceDays": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes.\n" + }, + "maintenanceTime": { + "type": "string", + "description": "The maintainable time period for the instance. Works only on modified scenes.\n" + }, + "networkSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NetworkSpec:InstanceV2NetworkSpec" + }, + "description": "The public network config of the ESCloud instance.\n", + "willReplaceOnChanges": true + }, + "nodeSpecsAssigns": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NodeSpecsAssign:InstanceV2NodeSpecsAssign" + }, + "description": "The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.\n" }, "period": { "type": "integer", - "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + "description": "Purchase duration in prepaid scenarios. Unit: Monthly.\n" }, "projectName": { "type": "string", - "description": "The ProjectName of the EIP.\n" + "description": "The project name to which the ESCloud instance belongs.\n" }, - "securityProtectionTypes": { + "subnetId": { + "type": "string", + "description": "The id of subnet, the subnet must belong to the AZ selected.\n", + "willReplaceOnChanges": true + }, + "tags": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/volcengine:escloud/InstanceV2Tag:InstanceV2Tag" }, - "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n", + "description": "Tags.\n" + }, + "version": { + "type": "string", + "description": "The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`.\n", "willReplaceOnChanges": true }, - "tags": { + "zoneIds": { "type": "array", "items": { - "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + "type": "string" }, - "description": "Tags.\n" + "description": "The zone id of the ESCloud instance. Support specifying multiple availability zones.\nThe first zone id is the primary availability zone, while the rest are backup availability zones.\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ - "billingType" + "adminPassword", + "chargeType", + "configurationCode", + "enableHttps", + "instanceName", + "nodeSpecsAssigns", + "subnetId", + "version", + "zoneIds" ], "stateInputs": { - "description": "Input properties used for looking up and filtering Address resources.\n", + "description": "Input properties used for looking up and filtering InstanceV2 resources.\n", "properties": { - "bandwidth": { - "type": "integer", - "description": "The peek bandwidth of the EIP.\n" + "adminPassword": { + "type": "string", + "description": "The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.\n", + "secret": true }, - "billingType": { + "autoRenew": { + "type": "boolean", + "description": "Whether to automatically renew in prepaid scenarios. Default is false.\n" + }, + "cerebroPrivateDomain": { "type": "string", - "description": "The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.\n" + "description": "The cerebro private domain of instance.\n" }, - "deletedTime": { + "cerebroPublicDomain": { "type": "string", - "description": "The deleted time of the EIP.\n" + "description": "The cerebro public domain of instance.\n" }, - "description": { + "chargeType": { "type": "string", - "description": "The description of the EIP.\n" + "description": "The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`.\n" }, - "eipAddress": { + "configurationCode": { "type": "string", - "description": "The ip address of the EIP.\n" + "description": "Configuration code used for billing.\n", + "willReplaceOnChanges": true }, - "expiredTime": { + "deletionProtection": { + "type": "boolean", + "description": "Whether enable deletion protection for ESCloud instance. Default is false.\n" + }, + "enableHttps": { + "type": "boolean", + "description": "Whether Https access is enabled.\n", + "willReplaceOnChanges": true + }, + "enablePureMaster": { + "type": "boolean", + "description": "Whether the Master node is independent.\n", + "willReplaceOnChanges": true + }, + "esEip": { "type": "string", - "description": "The expired time of the EIP.\n" + "description": "The eip address of instance.\n" }, - "isp": { + "esEipId": { "type": "string", - "description": "The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP` or `Fusion_BGP`.\n", - "willReplaceOnChanges": true + "description": "The eip id associated with the instance.\n" }, - "name": { + "esPrivateDomain": { "type": "string", - "description": "The name of the EIP Address.\n" + "description": "The es private domain of instance.\n" }, - "overdueTime": { + "esPrivateEndpoint": { "type": "string", - "description": "The overdue time of the EIP.\n" + "description": "The es private endpoint of instance.\n" }, - "period": { - "type": "integer", - "description": "The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.\n" + "esPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of es private ip.\n" }, - "projectName": { + "esPublicDomain": { "type": "string", - "description": "The ProjectName of the EIP.\n" + "description": "The es public domain of instance.\n" }, - "securityProtectionTypes": { + "esPublicEndpoint": { + "type": "string", + "description": "The es public endpoint of instance.\n" + }, + "esPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of es public ip.\n" + }, + "instanceName": { + "type": "string", + "description": "The name of ESCloud instance.\n" + }, + "kibanaEip": { + "type": "string", + "description": "The eip address of kibana.\n" + }, + "kibanaEipId": { + "type": "string", + "description": "The eip id associated with kibana.\n" + }, + "kibanaPrivateDomain": { + "type": "string", + "description": "The kibana private domain of instance.\n" + }, + "kibanaPrivateIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana private ip.\n" + }, + "kibanaPublicDomain": { + "type": "string", + "description": "The kibana public domain of instance.\n" + }, + "kibanaPublicIpWhitelist": { + "type": "string", + "description": "The whitelist of kibana public ip.\n" + }, + "mainZoneId": { + "type": "string", + "description": "The main zone id of instance.\n" + }, + "maintenanceDays": { "type": "array", "items": { "type": "string" }, - "description": "Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.\n", + "description": "The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes.\n" + }, + "maintenanceTime": { + "type": "string", + "description": "The maintainable time period for the instance. Works only on modified scenes.\n" + }, + "networkSpecs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NetworkSpec:InstanceV2NetworkSpec" + }, + "description": "The public network config of the ESCloud instance.\n", "willReplaceOnChanges": true }, + "nodeSpecsAssigns": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/InstanceV2NodeSpecsAssign:InstanceV2NodeSpecsAssign" + }, + "description": "The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.\n" + }, + "period": { + "type": "integer", + "description": "Purchase duration in prepaid scenarios. Unit: Monthly.\n" + }, + "projectName": { + "type": "string", + "description": "The project name to which the ESCloud instance belongs.\n" + }, "status": { "type": "string", - "description": "The status of the EIP.\n" + "description": "The status of instance.\n" + }, + "subnetId": { + "type": "string", + "description": "The id of subnet, the subnet must belong to the AZ selected.\n", + "willReplaceOnChanges": true }, "tags": { "type": "array", "items": { - "$ref": "#/types/volcengine:eip/AddressTag:AddressTag" + "$ref": "#/types/volcengine:escloud/InstanceV2Tag:InstanceV2Tag" }, "description": "Tags.\n" + }, + "version": { + "type": "string", + "description": "The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`.\n", + "willReplaceOnChanges": true + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zone id of the ESCloud instance. Support specifying multiple availability zones.\nThe first zone id is the primary availability zone, while the rest are backup availability zones.\n", + "willReplaceOnChanges": true } }, "type": "object" - } + }, + "aliases": [ + { + "type": "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2" + } + ] }, - "volcengine:eip/associate:Associate": { - "description": "Provides a resource to manage eip associate\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooImages = volcengine.ecs.Images({\n osType: \"Linux\",\n visibility: \"public\",\n instanceTypeId: \"ecs.g1.large\",\n});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooSecurityGroup = new volcengine.vpc.SecurityGroup(\"fooSecurityGroup\", {\n vpcId: fooVpc.id,\n securityGroupName: \"acc-test-security-group\",\n});\nconst fooInstance = new volcengine.ecs.Instance(\"fooInstance\", {\n imageId: fooImages.then(fooImages =\u003e fooImages.images?.[0]?.imageId),\n instanceType: \"ecs.g1.large\",\n instanceName: \"acc-test-ecs-name\",\n password: \"93f0cb0614Aab12\",\n instanceChargeType: \"PostPaid\",\n systemVolumeType: \"ESSD_PL0\",\n systemVolumeSize: 40,\n subnetId: fooSubnet.id,\n securityGroupIds: [fooSecurityGroup.id],\n});\nconst fooAddress = new volcengine.eip.Address(\"fooAddress\", {billingType: \"PostPaidByTraffic\"});\nconst fooAssociate = new volcengine.eip.Associate(\"fooAssociate\", {\n allocationId: fooAddress.id,\n instanceId: fooInstance.id,\n instanceType: \"EcsInstance\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_images = volcengine.ecs.images(os_type=\"Linux\",\n visibility=\"public\",\n instance_type_id=\"ecs.g1.large\")\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_security_group = volcengine.vpc.SecurityGroup(\"fooSecurityGroup\",\n vpc_id=foo_vpc.id,\n security_group_name=\"acc-test-security-group\")\nfoo_instance = volcengine.ecs.Instance(\"fooInstance\",\n image_id=foo_images.images[0].image_id,\n instance_type=\"ecs.g1.large\",\n instance_name=\"acc-test-ecs-name\",\n password=\"93f0cb0614Aab12\",\n instance_charge_type=\"PostPaid\",\n system_volume_type=\"ESSD_PL0\",\n system_volume_size=40,\n subnet_id=foo_subnet.id,\n security_group_ids=[foo_security_group.id])\nfoo_address = volcengine.eip.Address(\"fooAddress\", billing_type=\"PostPaidByTraffic\")\nfoo_associate = volcengine.eip.Associate(\"fooAssociate\",\n allocation_id=foo_address.id,\n instance_id=foo_instance.id,\n instance_type=\"EcsInstance\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooImages = Volcengine.Ecs.Images.Invoke(new()\n {\n OsType = \"Linux\",\n Visibility = \"public\",\n InstanceTypeId = \"ecs.g1.large\",\n });\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup(\"fooSecurityGroup\", new()\n {\n VpcId = fooVpc.Id,\n SecurityGroupName = \"acc-test-security-group\",\n });\n\n var fooInstance = new Volcengine.Ecs.Instance(\"fooInstance\", new()\n {\n ImageId = fooImages.Apply(imagesResult =\u003e imagesResult.Images[0]?.ImageId),\n InstanceType = \"ecs.g1.large\",\n InstanceName = \"acc-test-ecs-name\",\n Password = \"93f0cb0614Aab12\",\n InstanceChargeType = \"PostPaid\",\n SystemVolumeType = \"ESSD_PL0\",\n SystemVolumeSize = 40,\n SubnetId = fooSubnet.Id,\n SecurityGroupIds = new[]\n {\n fooSecurityGroup.Id,\n },\n });\n\n var fooAddress = new Volcengine.Eip.Address(\"fooAddress\", new()\n {\n BillingType = \"PostPaidByTraffic\",\n });\n\n var fooAssociate = new Volcengine.Eip.Associate(\"fooAssociate\", new()\n {\n AllocationId = fooAddress.Id,\n InstanceId = fooInstance.Id,\n InstanceType = \"EcsInstance\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooImages, err := ecs.Images(ctx, \u0026ecs.ImagesArgs{\n\t\t\tOsType: pulumi.StringRef(\"Linux\"),\n\t\t\tVisibility: pulumi.StringRef(\"public\"),\n\t\t\tInstanceTypeId: pulumi.StringRef(\"ecs.g1.large\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSecurityGroup, err := vpc.NewSecurityGroup(ctx, \"fooSecurityGroup\", \u0026vpc.SecurityGroupArgs{\n\t\t\tVpcId: fooVpc.ID(),\n\t\t\tSecurityGroupName: pulumi.String(\"acc-test-security-group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstance, err := ecs.NewInstance(ctx, \"fooInstance\", \u0026ecs.InstanceArgs{\n\t\t\tImageId: pulumi.String(fooImages.Images[0].ImageId),\n\t\t\tInstanceType: pulumi.String(\"ecs.g1.large\"),\n\t\t\tInstanceName: pulumi.String(\"acc-test-ecs-name\"),\n\t\t\tPassword: pulumi.String(\"93f0cb0614Aab12\"),\n\t\t\tInstanceChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tSystemVolumeType: pulumi.String(\"ESSD_PL0\"),\n\t\t\tSystemVolumeSize: pulumi.Int(40),\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tfooSecurityGroup.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooAddress, err := eip.NewAddress(ctx, \"fooAddress\", \u0026eip.AddressArgs{\n\t\t\tBillingType: pulumi.String(\"PostPaidByTraffic\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = eip.NewAssociate(ctx, \"fooAssociate\", \u0026eip.AssociateArgs{\n\t\t\tAllocationId: fooAddress.ID(),\n\t\t\tInstanceId: fooInstance.ID(),\n\t\t\tInstanceType: pulumi.String(\"EcsInstance\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.ecs.inputs.ImagesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.vpc.SecurityGroup;\nimport com.pulumi.volcengine.vpc.SecurityGroupArgs;\nimport com.pulumi.volcengine.ecs.Instance;\nimport com.pulumi.volcengine.ecs.InstanceArgs;\nimport com.pulumi.volcengine.eip.Address;\nimport com.pulumi.volcengine.eip.AddressArgs;\nimport com.pulumi.volcengine.eip.Associate;\nimport com.pulumi.volcengine.eip.AssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n final var fooImages = EcsFunctions.Images(ImagesArgs.builder()\n .osType(\"Linux\")\n .visibility(\"public\")\n .instanceTypeId(\"ecs.g1.large\")\n .build());\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooSecurityGroup = new SecurityGroup(\"fooSecurityGroup\", SecurityGroupArgs.builder() \n .vpcId(fooVpc.id())\n .securityGroupName(\"acc-test-security-group\")\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .imageId(fooImages.applyValue(imagesResult -\u003e imagesResult.images()[0].imageId()))\n .instanceType(\"ecs.g1.large\")\n .instanceName(\"acc-test-ecs-name\")\n .password(\"93f0cb0614Aab12\")\n .instanceChargeType(\"PostPaid\")\n .systemVolumeType(\"ESSD_PL0\")\n .systemVolumeSize(40)\n .subnetId(fooSubnet.id())\n .securityGroupIds(fooSecurityGroup.id())\n .build());\n\n var fooAddress = new Address(\"fooAddress\", AddressArgs.builder() \n .billingType(\"PostPaidByTraffic\")\n .build());\n\n var fooAssociate = new Associate(\"fooAssociate\", AssociateArgs.builder() \n .allocationId(fooAddress.id())\n .instanceId(fooInstance.id())\n .instanceType(\"EcsInstance\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooSecurityGroup:\n type: volcengine:vpc:SecurityGroup\n properties:\n vpcId: ${fooVpc.id}\n securityGroupName: acc-test-security-group\n fooInstance:\n type: volcengine:ecs:Instance\n properties:\n imageId: ${fooImages.images[0].imageId}\n instanceType: ecs.g1.large\n instanceName: acc-test-ecs-name\n password: 93f0cb0614Aab12\n instanceChargeType: PostPaid\n systemVolumeType: ESSD_PL0\n systemVolumeSize: 40\n subnetId: ${fooSubnet.id}\n securityGroupIds:\n - ${fooSecurityGroup.id}\n fooAddress:\n type: volcengine:eip:Address\n properties:\n billingType: PostPaidByTraffic\n fooAssociate:\n type: volcengine:eip:Associate\n properties:\n allocationId: ${fooAddress.id}\n instanceId: ${fooInstance.id}\n instanceType: EcsInstance\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n fooImages:\n fn::invoke:\n Function: volcengine:ecs:Images\n Arguments:\n osType: Linux\n visibility: public\n instanceTypeId: ecs.g1.large\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEip associate can be imported using the eip allocation_id:instance_id, e.g.\n\n```sh\n$ pulumi import volcengine:eip/associate:Associate default eip-274oj9a8rs9a87fap8sf9515b:i-cm9t9ug9lggu79yr5tcw\n```\n", + "volcengine:escloud/ipWhiteList:IpWhiteList": { + "description": "Provides a resource to manage escloud ip white list\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstanceV2 = new volcengine.escloud.InstanceV2(\"fooInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\nconst fooIpWhiteList = new volcengine.escloud.IpWhiteList(\"fooIpWhiteList\", {\n instanceId: fooInstanceV2.id,\n type: \"public\",\n component: \"es\",\n ipLists: [\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance_v2 = volcengine.escloud.InstanceV2(\"fooInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud.InstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\nfoo_ip_white_list = volcengine.escloud.IpWhiteList(\"fooIpWhiteList\",\n instance_id=foo_instance_v2.id,\n type=\"public\",\n component=\"es\",\n ip_lists=[\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstanceV2 = new Volcengine.Escloud.InstanceV2(\"fooInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n var fooIpWhiteList = new Volcengine.Escloud.IpWhiteList(\"fooIpWhiteList\", new()\n {\n InstanceId = fooInstanceV2.Id,\n Type = \"public\",\n Component = \"es\",\n IpLists = new[]\n {\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstanceV2, err := escloud.NewInstanceV2(ctx, \"fooInstanceV2\", \u0026escloud.InstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud.InstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud.InstanceV2TagArray{\n\t\t\t\t\u0026escloud.InstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewIpWhiteList(ctx, \"fooIpWhiteList\", \u0026escloud.IpWhiteListArgs{\n\t\t\tInstanceId: fooInstanceV2.ID(),\n\t\t\tType: pulumi.String(\"public\"),\n\t\t\tComponent: pulumi.String(\"es\"),\n\t\t\tIpLists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"172.16.0.10\"),\n\t\t\t\tpulumi.String(\"172.16.0.11\"),\n\t\t\t\tpulumi.String(\"172.16.0.12\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.InstanceV2;\nimport com.pulumi.volcengine.escloud.InstanceV2Args;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2TagArgs;\nimport com.pulumi.volcengine.escloud.IpWhiteList;\nimport com.pulumi.volcengine.escloud.IpWhiteListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstanceV2 = new InstanceV2(\"fooInstanceV2\", InstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(InstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n InstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n InstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(InstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n var fooIpWhiteList = new IpWhiteList(\"fooIpWhiteList\", IpWhiteListArgs.builder() \n .instanceId(fooInstanceV2.id())\n .type(\"public\")\n .component(\"es\")\n .ipLists( \n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstanceV2:\n type: volcengine:escloud:InstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\n fooIpWhiteList:\n type: volcengine:escloud:IpWhiteList\n properties:\n instanceId: ${fooInstanceV2.id}\n type: public\n component: es\n ipLists:\n - 172.16.0.10\n - 172.16.0.11\n - 172.16.0.12\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudIpWhiteList can be imported using the instance_id:type:component, e.g.\n\n```sh\n$ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id\n```\n", "properties": { - "allocationId": { + "component": { "type": "string", - "description": "The allocation id of the EIP.\n" + "description": "The component of the ip white list. Valid values: `es`, `kibana`.\n" }, "instanceId": { "type": "string", - "description": "The instance id which be associated to the EIP.\n" + "description": "The id of the EsCloud instance.\n" }, - "instanceType": { - "type": "string", - "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n" + "ipLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ip list of the ip white list.\n" }, - "privateIpAddress": { + "type": { "type": "string", - "description": "The private IP address of the instance will be associated to the EIP.\n" + "description": "The type of the ip white list. Valid values: `private`, `public`.\n" } }, "required": [ - "allocationId", + "component", "instanceId", - "instanceType", - "privateIpAddress" + "ipLists", + "type" ], "inputProperties": { - "allocationId": { + "component": { "type": "string", - "description": "The allocation id of the EIP.\n", + "description": "The component of the ip white list. Valid values: `es`, `kibana`.\n", "willReplaceOnChanges": true }, "instanceId": { "type": "string", - "description": "The instance id which be associated to the EIP.\n", + "description": "The id of the EsCloud instance.\n", "willReplaceOnChanges": true }, - "instanceType": { - "type": "string", - "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n", - "willReplaceOnChanges": true + "ipLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ip list of the ip white list.\n" }, - "privateIpAddress": { + "type": { "type": "string", - "description": "The private IP address of the instance will be associated to the EIP.\n", + "description": "The type of the ip white list. Valid values: `private`, `public`.\n", "willReplaceOnChanges": true } }, "requiredInputs": [ - "allocationId", + "component", "instanceId", - "instanceType" + "ipLists", + "type" ], "stateInputs": { - "description": "Input properties used for looking up and filtering Associate resources.\n", + "description": "Input properties used for looking up and filtering IpWhiteList resources.\n", "properties": { - "allocationId": { + "component": { "type": "string", - "description": "The allocation id of the EIP.\n", + "description": "The component of the ip white list. Valid values: `es`, `kibana`.\n", "willReplaceOnChanges": true }, "instanceId": { "type": "string", - "description": "The instance id which be associated to the EIP.\n", + "description": "The id of the EsCloud instance.\n", "willReplaceOnChanges": true }, - "instanceType": { - "type": "string", - "description": "The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.\n", - "willReplaceOnChanges": true + "ipLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ip list of the ip white list.\n" }, - "privateIpAddress": { + "type": { "type": "string", - "description": "The private IP address of the instance will be associated to the EIP.\n", + "description": "The type of the ip white list. Valid values: `private`, `public`.\n", "willReplaceOnChanges": true } }, "type": "object" - } - }, - "volcengine:escloud/instance:Instance": { - "description": "(Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet_new\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstance = new volcengine.escloud.Instance(\"fooInstance\", {instanceConfiguration: {\n version: \"V6_7\",\n zoneNumber: 1,\n enableHttps: true,\n adminUserName: \"admin\",\n adminPassword: \"Password@@\",\n chargeType: \"PostPaid\",\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n instanceName: \"acc-test-0\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x4.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Hot\",\n number: 2,\n resourceSpecName: \"es.x4.large\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n },\n ],\n subnetId: fooSubnet.id,\n projectName: \"default\",\n forceRestartAfterScale: false,\n}});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet_new\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance = volcengine.escloud.Instance(\"fooInstance\", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(\n version=\"V6_7\",\n zone_number=1,\n enable_https=True,\n admin_user_name=\"admin\",\n admin_password=\"Password@@\",\n charge_type=\"PostPaid\",\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n instance_name=\"acc-test-0\",\n node_specs_assigns=[\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x4.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Hot\",\n number=2,\n resource_spec_name=\"es.x4.large\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n ),\n ],\n subnet_id=foo_subnet.id,\n project_name=\"default\",\n force_restart_after_scale=False,\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet_new\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstance = new Volcengine.Escloud.Instance(\"fooInstance\", new()\n {\n InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs\n {\n Version = \"V6_7\",\n ZoneNumber = 1,\n EnableHttps = true,\n AdminUserName = \"admin\",\n AdminPassword = \"Password@@\",\n ChargeType = \"PostPaid\",\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n InstanceName = \"acc-test-0\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x4.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 2,\n ResourceSpecName = \"es.x4.large\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n },\n },\n SubnetId = fooSubnet.Id,\n ProjectName = \"default\",\n ForceRestartAfterScale = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet_new\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewInstance(ctx, \"fooInstance\", \u0026escloud.InstanceArgs{\n\t\t\tInstanceConfiguration: \u0026escloud.InstanceInstanceConfigurationArgs{\n\t\t\t\tVersion: pulumi.String(\"V6_7\"),\n\t\t\t\tZoneNumber: pulumi.Int(1),\n\t\t\t\tEnableHttps: pulumi.Bool(true),\n\t\t\t\tAdminUserName: pulumi.String(\"admin\"),\n\t\t\t\tAdminPassword: pulumi.String(\"Password@@\"),\n\t\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\t\tInstanceName: pulumi.String(\"acc-test-0\"),\n\t\t\t\tNodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.medium\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\t\tNumber: pulumi.Int(2),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.large\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\t\tForceRestartAfterScale: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.Instance;\nimport com.pulumi.volcengine.escloud.InstanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet_new\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .instanceConfiguration(InstanceInstanceConfigurationArgs.builder()\n .version(\"V6_7\")\n .zoneNumber(1)\n .enableHttps(true)\n .adminUserName(\"admin\")\n .adminPassword(\"Password@@\")\n .chargeType(\"PostPaid\")\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .instanceName(\"acc-test-0\")\n .nodeSpecsAssigns( \n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x4.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(2)\n .resourceSpecName(\"es.x4.large\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .build())\n .subnetId(fooSubnet.id())\n .projectName(\"default\")\n .forceRestartAfterScale(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet_new\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstance:\n type: volcengine:escloud:Instance\n properties:\n instanceConfiguration:\n version: V6_7\n zoneNumber: 1\n enableHttps: true\n adminUserName: admin\n adminPassword: Password@@\n chargeType: PostPaid\n configurationCode: es.standard\n enablePureMaster: true\n instanceName: acc-test-0\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x4.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Hot\n number: 2\n resourceSpecName: es.x4.large\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n subnetId: ${fooSubnet.id}\n projectName: default\n forceRestartAfterScale: false\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nESCloud Instance can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:escloud/instance:Instance default n769ewmjjqyqh5dv\n```\n", - "properties": { - "instanceConfiguration": { - "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", - "description": "The configuration of ESCloud instance.\n" - } }, - "required": [ - "instanceConfiguration" - ], - "inputProperties": { - "instanceConfiguration": { - "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", - "description": "The configuration of ESCloud instance.\n" + "aliases": [ + { + "type": "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList" } - }, - "requiredInputs": [ - "instanceConfiguration" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering Instance resources.\n", - "properties": { - "instanceConfiguration": { - "$ref": "#/types/volcengine:escloud/InstanceInstanceConfiguration:InstanceInstanceConfiguration", - "description": "The configuration of ESCloud instance.\n" - } - }, - "type": "object" - } + ] }, "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\n// maintenance_time = \"02:00-08:00\"\n// maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\n# maintenance_time = \"02:00-08:00\"\n# maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooEscloudInstanceV2 = new Volcengine.Escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud_v2.NewEscloudInstanceV2(ctx, \"fooEscloudInstanceV2\", \u0026escloud_v2.EscloudInstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud_v2.EscloudInstanceV2TagArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud_v2.EscloudInstanceV2;\nimport com.pulumi.volcengine.escloud_v2.EscloudInstanceV2Args;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2TagArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooEscloudInstanceV2 = new EscloudInstanceV2(\"fooEscloudInstanceV2\", EscloudInstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n EscloudInstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n EscloudInstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(EscloudInstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooEscloudInstanceV2:\n type: volcengine:escloud_v2:EscloudInstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudInstanceV2 can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id\n```\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstanceV2 = new volcengine.escloud.InstanceV2(\"fooInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\n// maintenance_time = \"02:00-08:00\"\n// maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance_v2 = volcengine.escloud.InstanceV2(\"fooInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud.InstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\n# maintenance_time = \"02:00-08:00\"\n# maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstanceV2 = new Volcengine.Escloud.InstanceV2(\"fooInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewInstanceV2(ctx, \"fooInstanceV2\", \u0026escloud.InstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud.InstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud.InstanceV2TagArray{\n\t\t\t\t\u0026escloud.InstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.InstanceV2;\nimport com.pulumi.volcengine.escloud.InstanceV2Args;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2TagArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstanceV2 = new InstanceV2(\"fooInstanceV2\", InstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(InstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n InstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n InstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(InstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n // maintenance_time = \"02:00-08:00\"\n // maintenance_day = [\"FRIDAY\", \"MONDAY\"]\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstanceV2:\n type: volcengine:escloud:InstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudInstanceV2 can be imported using the id, e.g.\n\n```sh\n$ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id\n```\n", "properties": { "adminPassword": { "type": "string", @@ -55097,10 +58680,11 @@ } }, "type": "object" - } + }, + "deprecationMessage": "volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2" }, "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList": { - "description": "Provides a resource to manage escloud ip white list\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\nconst fooEscloudIpWhiteList = new volcengine.escloud_v2.EscloudIpWhiteList(\"fooEscloudIpWhiteList\", {\n instanceId: fooEscloudInstanceV2.id,\n type: \"public\",\n component: \"es\",\n ipLists: [\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\nfoo_escloud_ip_white_list = volcengine.escloud_v2.EscloudIpWhiteList(\"fooEscloudIpWhiteList\",\n instance_id=foo_escloud_instance_v2.id,\n type=\"public\",\n component=\"es\",\n ip_lists=[\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooEscloudInstanceV2 = new Volcengine.Escloud_v2.EscloudInstanceV2(\"fooEscloudInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n var fooEscloudIpWhiteList = new Volcengine.Escloud_v2.EscloudIpWhiteList(\"fooEscloudIpWhiteList\", new()\n {\n InstanceId = fooEscloudInstanceV2.Id,\n Type = \"public\",\n Component = \"es\",\n IpLists = new[]\n {\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooEscloudInstanceV2, err := escloud_v2.NewEscloudInstanceV2(ctx, \"fooEscloudInstanceV2\", \u0026escloud_v2.EscloudInstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud_v2.EscloudInstanceV2TagArray{\n\t\t\t\t\u0026escloud_v2.EscloudInstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud_v2.NewEscloudIpWhiteList(ctx, \"fooEscloudIpWhiteList\", \u0026escloud_v2.EscloudIpWhiteListArgs{\n\t\t\tInstanceId: fooEscloudInstanceV2.ID(),\n\t\t\tType: pulumi.String(\"public\"),\n\t\t\tComponent: pulumi.String(\"es\"),\n\t\t\tIpLists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"172.16.0.10\"),\n\t\t\t\tpulumi.String(\"172.16.0.11\"),\n\t\t\t\tpulumi.String(\"172.16.0.12\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud_v2.EscloudInstanceV2;\nimport com.pulumi.volcengine.escloud_v2.EscloudInstanceV2Args;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2TagArgs;\nimport com.pulumi.volcengine.escloud_v2.EscloudIpWhiteList;\nimport com.pulumi.volcengine.escloud_v2.EscloudIpWhiteListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooEscloudInstanceV2 = new EscloudInstanceV2(\"fooEscloudInstanceV2\", EscloudInstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n EscloudInstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n EscloudInstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n EscloudInstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(EscloudInstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n var fooEscloudIpWhiteList = new EscloudIpWhiteList(\"fooEscloudIpWhiteList\", EscloudIpWhiteListArgs.builder() \n .instanceId(fooEscloudInstanceV2.id())\n .type(\"public\")\n .component(\"es\")\n .ipLists( \n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooEscloudInstanceV2:\n type: volcengine:escloud_v2:EscloudInstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\n fooEscloudIpWhiteList:\n type: volcengine:escloud_v2:EscloudIpWhiteList\n properties:\n instanceId: ${fooEscloudInstanceV2.id}\n type: public\n component: es\n ipLists:\n - 172.16.0.10\n - 172.16.0.11\n - 172.16.0.12\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudIpWhiteList can be imported using the instance_id:type:component, e.g.\n\n```sh\n$ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList default resource_id\n```\n", + "description": "Provides a resource to manage escloud ip white list\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstanceV2 = new volcengine.escloud.InstanceV2(\"fooInstanceV2\", {\n instanceName: \"acc-test-escloud-instance\",\n version: \"V7_10\",\n zoneIds: [\n fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[1]?.id),\n fooZones.then(fooZones =\u003e fooZones.zones?.[2]?.id),\n ],\n subnetId: fooSubnet.id,\n enableHttps: false,\n adminPassword: \"Password@@123\",\n chargeType: \"PostPaid\",\n autoRenew: false,\n period: 1,\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n deletionProtection: false,\n projectName: \"default\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 20,\n },\n {\n type: \"Hot\",\n number: 6,\n resourceSpecName: \"es.x2.medium\",\n storageSpecName: \"es.volume.essd.flexpl-standard\",\n storageSize: 500,\n extraPerformance: {\n throughput: 65,\n },\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n storageSpecName: \"\",\n storageSize: 0,\n },\n ],\n networkSpecs: [\n {\n type: \"Elasticsearch\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n {\n type: \"Kibana\",\n bandwidth: 1,\n isOpen: true,\n specName: \"es.eip.bgp_fixed_bandwidth\",\n },\n ],\n tags: [{\n key: \"k1\",\n value: \"v1\",\n }],\n});\nconst fooIpWhiteList = new volcengine.escloud.IpWhiteList(\"fooIpWhiteList\", {\n instanceId: fooInstanceV2.id,\n type: \"public\",\n component: \"es\",\n ipLists: [\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance_v2 = volcengine.escloud.InstanceV2(\"fooInstanceV2\",\n instance_name=\"acc-test-escloud-instance\",\n version=\"V7_10\",\n zone_ids=[\n foo_zones.zones[0].id,\n foo_zones.zones[1].id,\n foo_zones.zones[2].id,\n ],\n subnet_id=foo_subnet.id,\n enable_https=False,\n admin_password=\"Password@@123\",\n charge_type=\"PostPaid\",\n auto_renew=False,\n period=1,\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n deletion_protection=False,\n project_name=\"default\",\n node_specs_assigns=[\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=20,\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Hot\",\n number=6,\n resource_spec_name=\"es.x2.medium\",\n storage_spec_name=\"es.volume.essd.flexpl-standard\",\n storage_size=500,\n extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs(\n throughput=65,\n ),\n ),\n volcengine.escloud.InstanceV2NodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n storage_spec_name=\"\",\n storage_size=0,\n ),\n ],\n network_specs=[\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Elasticsearch\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n volcengine.escloud.InstanceV2NetworkSpecArgs(\n type=\"Kibana\",\n bandwidth=1,\n is_open=True,\n spec_name=\"es.eip.bgp_fixed_bandwidth\",\n ),\n ],\n tags=[volcengine.escloud.InstanceV2TagArgs(\n key=\"k1\",\n value=\"v1\",\n )])\nfoo_ip_white_list = volcengine.escloud.IpWhiteList(\"fooIpWhiteList\",\n instance_id=foo_instance_v2.id,\n type=\"public\",\n component=\"es\",\n ip_lists=[\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstanceV2 = new Volcengine.Escloud.InstanceV2(\"fooInstanceV2\", new()\n {\n InstanceName = \"acc-test-escloud-instance\",\n Version = \"V7_10\",\n ZoneIds = new[]\n {\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[1]?.Id),\n fooZones.Apply(zonesResult =\u003e zonesResult.Zones[2]?.Id),\n },\n SubnetId = fooSubnet.Id,\n EnableHttps = false,\n AdminPassword = \"Password@@123\",\n ChargeType = \"PostPaid\",\n AutoRenew = false,\n Period = 1,\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n DeletionProtection = false,\n ProjectName = \"default\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 20,\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 6,\n ResourceSpecName = \"es.x2.medium\",\n StorageSpecName = \"es.volume.essd.flexpl-standard\",\n StorageSize = 500,\n ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs\n {\n Throughput = 65,\n },\n },\n new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n StorageSpecName = \"\",\n StorageSize = 0,\n },\n },\n NetworkSpecs = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Elasticsearch\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs\n {\n Type = \"Kibana\",\n Bandwidth = 1,\n IsOpen = true,\n SpecName = \"es.eip.bgp_fixed_bandwidth\",\n },\n },\n Tags = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceV2TagArgs\n {\n Key = \"k1\",\n Value = \"v1\",\n },\n },\n });\n\n var fooIpWhiteList = new Volcengine.Escloud.IpWhiteList(\"fooIpWhiteList\", new()\n {\n InstanceId = fooInstanceV2.Id,\n Type = \"public\",\n Component = \"es\",\n IpLists = new[]\n {\n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstanceV2, err := escloud.NewInstanceV2(ctx, \"fooInstanceV2\", \u0026escloud.InstanceV2Args{\n\t\t\tInstanceName: pulumi.String(\"acc-test-escloud-instance\"),\n\t\t\tVersion: pulumi.String(\"V7_10\"),\n\t\t\tZoneIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(fooZones.Zones[0].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[1].Id),\n\t\t\t\tpulumi.String(fooZones.Zones[2].Id),\n\t\t\t},\n\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\tEnableHttps: pulumi.Bool(false),\n\t\t\tAdminPassword: pulumi.String(\"Password@@123\"),\n\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\tAutoRenew: pulumi.Bool(false),\n\t\t\tPeriod: pulumi.Int(1),\n\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\tDeletionProtection: pulumi.Bool(false),\n\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\tNodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\tStorageSize: pulumi.Int(20),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\tNumber: pulumi.Int(6),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x2.medium\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.flexpl-standard\"),\n\t\t\t\t\tStorageSize: pulumi.Int(500),\n\t\t\t\t\tExtraPerformance: \u0026escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{\n\t\t\t\t\t\tThroughput: pulumi.Int(65),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NodeSpecsAssignArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\tStorageSpecName: pulumi.String(\"\"),\n\t\t\t\t\tStorageSize: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkSpecs: escloud.InstanceV2NetworkSpecArray{\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Elasticsearch\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t\t\u0026escloud.InstanceV2NetworkSpecArgs{\n\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\tBandwidth: pulumi.Int(1),\n\t\t\t\t\tIsOpen: pulumi.Bool(true),\n\t\t\t\t\tSpecName: pulumi.String(\"es.eip.bgp_fixed_bandwidth\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: escloud.InstanceV2TagArray{\n\t\t\t\t\u0026escloud.InstanceV2TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"k1\"),\n\t\t\t\t\tValue: pulumi.String(\"v1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = escloud.NewIpWhiteList(ctx, \"fooIpWhiteList\", \u0026escloud.IpWhiteListArgs{\n\t\t\tInstanceId: fooInstanceV2.ID(),\n\t\t\tType: pulumi.String(\"public\"),\n\t\t\tComponent: pulumi.String(\"es\"),\n\t\t\tIpLists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"172.16.0.10\"),\n\t\t\t\tpulumi.String(\"172.16.0.11\"),\n\t\t\t\tpulumi.String(\"172.16.0.12\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.InstanceV2;\nimport com.pulumi.volcengine.escloud.InstanceV2Args;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2NetworkSpecArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceV2TagArgs;\nimport com.pulumi.volcengine.escloud.IpWhiteList;\nimport com.pulumi.volcengine.escloud.IpWhiteListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstanceV2 = new InstanceV2(\"fooInstanceV2\", InstanceV2Args.builder() \n .instanceName(\"acc-test-escloud-instance\")\n .version(\"V7_10\")\n .zoneIds( \n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[1].id()),\n fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[2].id()))\n .subnetId(fooSubnet.id())\n .enableHttps(false)\n .adminPassword(\"Password@@123\")\n .chargeType(\"PostPaid\")\n .autoRenew(false)\n .period(1)\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .deletionProtection(false)\n .projectName(\"default\")\n .nodeSpecsAssigns( \n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(20)\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(6)\n .resourceSpecName(\"es.x2.medium\")\n .storageSpecName(\"es.volume.essd.flexpl-standard\")\n .storageSize(500)\n .extraPerformance(InstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()\n .throughput(65)\n .build())\n .build(),\n InstanceV2NodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .storageSpecName(\"\")\n .storageSize(0)\n .build())\n .networkSpecs( \n InstanceV2NetworkSpecArgs.builder()\n .type(\"Elasticsearch\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build(),\n InstanceV2NetworkSpecArgs.builder()\n .type(\"Kibana\")\n .bandwidth(1)\n .isOpen(true)\n .specName(\"es.eip.bgp_fixed_bandwidth\")\n .build())\n .tags(InstanceV2TagArgs.builder()\n .key(\"k1\")\n .value(\"v1\")\n .build())\n .build());\n\n var fooIpWhiteList = new IpWhiteList(\"fooIpWhiteList\", IpWhiteListArgs.builder() \n .instanceId(fooInstanceV2.id())\n .type(\"public\")\n .component(\"es\")\n .ipLists( \n \"172.16.0.10\",\n \"172.16.0.11\",\n \"172.16.0.12\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstanceV2:\n type: volcengine:escloud:InstanceV2\n properties:\n instanceName: acc-test-escloud-instance\n version: V7_10\n zoneIds:\n - ${fooZones.zones[0].id}\n - ${fooZones.zones[1].id}\n - ${fooZones.zones[2].id}\n subnetId: ${fooSubnet.id}\n enableHttps: false\n adminPassword: Password@@123\n chargeType: PostPaid\n autoRenew: false\n period: 1\n configurationCode: es.standard\n enablePureMaster: true\n deletionProtection: false\n projectName: default\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 20\n - type: Hot\n number: 6\n resourceSpecName: es.x2.medium\n storageSpecName: es.volume.essd.flexpl-standard\n storageSize: 500\n extraPerformance:\n throughput: 65\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n storageSpecName:\n storageSize: 0\n networkSpecs:\n - type: Elasticsearch\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n - type: Kibana\n bandwidth: 1\n isOpen: true\n specName: es.eip.bgp_fixed_bandwidth\n tags:\n - key: k1\n value: v1\n fooIpWhiteList:\n type: volcengine:escloud:IpWhiteList\n properties:\n instanceId: ${fooInstanceV2.id}\n type: public\n component: es\n ipLists:\n - 172.16.0.10\n - 172.16.0.11\n - 172.16.0.12\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEscloudIpWhiteList can be imported using the instance_id:type:component, e.g.\n\n```sh\n$ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList default resource_id\n```\n", "properties": { "component": { "type": "string", @@ -55185,7 +58769,8 @@ } }, "type": "object" - } + }, + "deprecationMessage": "volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList" }, "volcengine:financial_relation/financialRelation:FinancialRelation": { "description": "Provides a resource to manage financial relation\n## Import\n\nFinancialRelation can be imported using the sub_account_id:relation:relation_id, e.g.\n\n```sh\n$ pulumi import volcengine:financial_relation/financialRelation:FinancialRelation default resource_id\n```\n", @@ -78304,7 +81889,8 @@ } }, "volcengine:cdn/certificates:Certificates": { - "description": "Use this data source to query detailed information of cdn certificates\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCertificates = volcengine.cdn.CertificatesOutput({\n source: fooCdnCertificate.source,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_certificates = volcengine.cdn.certificates_output(source=foo_cdn_certificate.source)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCertificates = Volcengine.Cdn.Certificates.Invoke(new()\n {\n Source = fooCdnCertificate.Source,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.CertificatesOutput(ctx, cdn.CertificatesOutputArgs{\n\t\t\tSource: fooCdnCertificate.Source,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.CertificatesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n final var fooCertificates = CdnFunctions.Certificates(CertificatesArgs.builder()\n .source(fooCdnCertificate.source())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\nvariables:\n fooCertificates:\n fn::invoke:\n Function: volcengine:cdn:Certificates\n Arguments:\n source: ${fooCdnCertificate.source}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates", + "description": "Use this data source to query detailed information of cdn certificates\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCertificates = volcengine.cdn.getCertificatesOutput({\n source: fooCdnCertificate.source,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new()\n {\n Source = fooCdnCertificate.Source,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetCertificatesOutput(ctx, cdn.GetCertificatesOutputArgs{\n\t\t\tSource: fooCdnCertificate.Source,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetCertificatesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n final var fooCertificates = CdnFunctions.getCertificates(GetCertificatesArgs.builder()\n .source(fooCdnCertificate.source())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\nvariables:\n fooCertificates:\n fn::invoke:\n Function: volcengine:cdn:getCertificates\n Arguments:\n source: ${fooCdnCertificate.source}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Certificates.\n", "properties": { @@ -78373,7 +81959,8 @@ } }, "volcengine:cdn/configs:Configs": { - "description": "Use this data source to query detailed information of cdn configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooConfigs = volcengine.cdn.ConfigsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_configs = volcengine.cdn.configs_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooConfigs = Volcengine.Cdn.Configs.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.ConfigsOutput(ctx, cdn.ConfigsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.ConfigsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooConfigs = CdnFunctions.Configs(ConfigsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooConfigs:\n fn::invoke:\n Function: volcengine:cdn:Configs\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs", + "description": "Use this data source to query detailed information of cdn configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooConfigs = volcengine.cdn.getConfigsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetConfigsOutput(ctx, cdn.GetConfigsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetConfigsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooConfigs = CdnFunctions.getConfigs(GetConfigsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooConfigs:\n fn::invoke:\n Function: volcengine:cdn:getConfigs\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Configs.\n", "properties": { @@ -78427,7 +82014,8 @@ } }, "volcengine:cdn/domains:Domains": { - "description": "Use this data source to query detailed information of cdn domains\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooDomains = volcengine.cdn.DomainsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_domains = volcengine.cdn.domains_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooDomains = Volcengine.Cdn.Domains.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.DomainsOutput(ctx, cdn.DomainsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.DomainsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooDomains = CdnFunctions.Domains(DomainsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooDomains:\n fn::invoke:\n Function: volcengine:cdn:Domains\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains", + "description": "Use this data source to query detailed information of cdn domains\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooDomains = volcengine.cdn.getDomainsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetDomainsOutput(ctx, cdn.GetDomainsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetDomainsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooDomains = CdnFunctions.getDomains(GetDomainsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooDomains:\n fn::invoke:\n Function: volcengine:cdn:getDomains\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Domains.\n", "properties": { @@ -78546,8 +82134,331 @@ ] } }, + "volcengine:cdn/getCertificates:getCertificates": { + "description": "Use this data source to query detailed information of cdn certificates\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCertificates = volcengine.cdn.getCertificatesOutput({\n source: fooCdnCertificate.source,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new()\n {\n Source = fooCdnCertificate.Source,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetCertificatesOutput(ctx, cdn.GetCertificatesOutputArgs{\n\t\t\tSource: fooCdnCertificate.Source,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetCertificatesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n final var fooCertificates = CdnFunctions.getCertificates(GetCertificatesArgs.builder()\n .source(fooCdnCertificate.source())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\nvariables:\n fooCertificates:\n fn::invoke:\n Function: volcengine:cdn:getCertificates\n Arguments:\n source: ${fooCdnCertificate.source}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getCertificates.\n", + "properties": { + "name": { + "type": "string", + "description": "Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "source": { + "type": "string", + "description": "Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network.\n" + }, + "status": { + "type": "string", + "description": "Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired.\n" + } + }, + "type": "object", + "required": [ + "source" + ] + }, + "outputs": { + "description": "A collection of values returned by getCertificates.\n", + "properties": { + "certInfos": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getCertificatesCertInfo:getCertificatesCertInfo" + }, + "description": "The collection of query.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "name": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "source": { + "type": "string", + "description": "Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network.\n" + }, + "status": { + "type": "string", + "description": "Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "certInfos", + "source", + "totalCount", + "id" + ] + } + }, + "volcengine:cdn/getConfigs:getConfigs": { + "description": "Use this data source to query detailed information of cdn configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooConfigs = volcengine.cdn.getConfigsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetConfigsOutput(ctx, cdn.GetConfigsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetConfigsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooConfigs = CdnFunctions.getConfigs(GetConfigsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooConfigs:\n fn::invoke:\n Function: volcengine:cdn:getConfigs\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getConfigs.\n", + "properties": { + "domain": { + "type": "string", + "description": "The domain name.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + } + }, + "type": "object", + "required": [ + "domain" + ] + }, + "outputs": { + "description": "A collection of values returned by getConfigs.\n", + "properties": { + "domain": { + "type": "string", + "description": "The domain name.\n" + }, + "domainConfigs": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getConfigsDomainConfig:getConfigsDomainConfig" + }, + "description": "The collection of query.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "outputFile": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "domain", + "domainConfigs", + "totalCount", + "id" + ] + } + }, + "volcengine:cdn/getDomains:getDomains": { + "description": "Use this data source to query detailed information of cdn domains\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooCdnCertificate = new volcengine.cdn.CdnCertificate(\"fooCdnCertificate\", {\n certificate: \"\",\n privateKey: \"\",\n desc: \"tftest\",\n source: \"cdn_cert_hosting\",\n});\nconst fooCdnDomain = new volcengine.cdn.CdnDomain(\"fooCdnDomain\", {\n domain: \"tftest.byte-test.com\",\n serviceType: \"web\",\n tags: [\n {\n key: \"tfkey1\",\n value: \"tfvalue1\",\n },\n {\n key: \"tfkey2\",\n value: \"tfvalue2\",\n },\n ],\n domainConfig: pulumi.jsonStringify({\n OriginProtocol: \"https\",\n Origin: [{\n OriginAction: {\n OriginLines: [{\n Address: \"1.1.1.1\",\n HttpPort: \"80\",\n HttpsPort: \"443\",\n InstanceType: \"ip\",\n OriginType: \"primary\",\n PrivateBucketAccess: false,\n Weight: \"2\",\n }],\n },\n }],\n HTTPS: {\n CertInfo: {\n CertId: fooCdnCertificate.id,\n },\n DisableHttp: false,\n HTTP2: true,\n Switch: true,\n Ocsp: false,\n TlsVersion: [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }),\n});\nconst fooDomains = volcengine.cdn.getDomainsOutput({\n domain: fooCdnDomain.id,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_volcengine as volcengine\n\nfoo_cdn_certificate = volcengine.cdn.CdnCertificate(\"fooCdnCertificate\",\n certificate=\"\",\n private_key=\"\",\n desc=\"tftest\",\n source=\"cdn_cert_hosting\")\nfoo_cdn_domain = volcengine.cdn.CdnDomain(\"fooCdnDomain\",\n domain=\"tftest.byte-test.com\",\n service_type=\"web\",\n tags=[\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey1\",\n value=\"tfvalue1\",\n ),\n volcengine.cdn.CdnDomainTagArgs(\n key=\"tfkey2\",\n value=\"tfvalue2\",\n ),\n ],\n domain_config=pulumi.Output.json_dumps({\n \"OriginProtocol\": \"https\",\n \"Origin\": [{\n \"OriginAction\": {\n \"OriginLines\": [{\n \"Address\": \"1.1.1.1\",\n \"HttpPort\": \"80\",\n \"HttpsPort\": \"443\",\n \"InstanceType\": \"ip\",\n \"OriginType\": \"primary\",\n \"PrivateBucketAccess\": False,\n \"Weight\": \"2\",\n }],\n },\n }],\n \"HTTPS\": {\n \"CertInfo\": {\n \"CertId\": foo_cdn_certificate.id,\n },\n \"DisableHttp\": False,\n \"HTTP2\": True,\n \"Switch\": True,\n \"Ocsp\": False,\n \"TlsVersion\": [\n \"tlsv1.1\",\n \"tlsv1.2\",\n ],\n },\n }))\nfoo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate(\"fooCdnCertificate\", new()\n {\n Certificate = \"\",\n PrivateKey = \"\",\n Desc = \"tftest\",\n Source = \"cdn_cert_hosting\",\n });\n\n var fooCdnDomain = new Volcengine.Cdn.CdnDomain(\"fooCdnDomain\", new()\n {\n Domain = \"tftest.byte-test.com\",\n ServiceType = \"web\",\n Tags = new[]\n {\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey1\",\n Value = \"tfvalue1\",\n },\n new Volcengine.Cdn.Inputs.CdnDomainTagArgs\n {\n Key = \"tfkey2\",\n Value = \"tfvalue2\",\n },\n },\n DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginProtocol\"] = \"https\",\n [\"Origin\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginAction\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"OriginLines\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Address\"] = \"1.1.1.1\",\n [\"HttpPort\"] = \"80\",\n [\"HttpsPort\"] = \"443\",\n [\"InstanceType\"] = \"ip\",\n [\"OriginType\"] = \"primary\",\n [\"PrivateBucketAccess\"] = false,\n [\"Weight\"] = \"2\",\n },\n },\n },\n },\n },\n [\"HTTPS\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertInfo\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"CertId\"] = fooCdnCertificate.Id,\n },\n [\"DisableHttp\"] = false,\n [\"HTTP2\"] = true,\n [\"Switch\"] = true,\n [\"Ocsp\"] = false,\n [\"TlsVersion\"] = new[]\n {\n \"tlsv1.1\",\n \"tlsv1.2\",\n },\n },\n })),\n });\n\n var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new()\n {\n Domain = fooCdnDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCdnCertificate, err := cdn.NewCdnCertificate(ctx, \"fooCdnCertificate\", \u0026cdn.CdnCertificateArgs{\n\t\t\tCertificate: pulumi.String(\"\"),\n\t\t\tPrivateKey: pulumi.String(\"\"),\n\t\t\tDesc: pulumi.String(\"tftest\"),\n\t\t\tSource: pulumi.String(\"cdn_cert_hosting\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooCdnDomain, err := cdn.NewCdnDomain(ctx, \"fooCdnDomain\", \u0026cdn.CdnDomainArgs{\n\t\t\tDomain: pulumi.String(\"tftest.byte-test.com\"),\n\t\t\tServiceType: pulumi.String(\"web\"),\n\t\t\tTags: cdn.CdnDomainTagArray{\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey1\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue1\"),\n\t\t\t\t},\n\t\t\t\t\u0026cdn.CdnDomainTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tfkey2\"),\n\t\t\t\t\tValue: pulumi.String(\"tfvalue2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {\n\t\t\t\tvar _zero pulumi.String\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"OriginProtocol\": \"https\",\n\t\t\t\t\t\"Origin\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"OriginAction\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"OriginLines\": []map[string]interface{}{\n\t\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"Address\": \"1.1.1.1\",\n\t\t\t\t\t\t\t\t\t\t\"HttpPort\": \"80\",\n\t\t\t\t\t\t\t\t\t\t\"HttpsPort\": \"443\",\n\t\t\t\t\t\t\t\t\t\t\"InstanceType\": \"ip\",\n\t\t\t\t\t\t\t\t\t\t\"OriginType\": \"primary\",\n\t\t\t\t\t\t\t\t\t\t\"PrivateBucketAccess\": false,\n\t\t\t\t\t\t\t\t\t\t\"Weight\": \"2\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\t\"HTTPS\": map[string]interface{}{\n\t\t\t\t\t\t\"CertInfo\": map[string]interface{}{\n\t\t\t\t\t\t\t\"CertId\": id,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"DisableHttp\": false,\n\t\t\t\t\t\t\"HTTP2\": true,\n\t\t\t\t\t\t\"Switch\": true,\n\t\t\t\t\t\t\"Ocsp\": false,\n\t\t\t\t\t\t\"TlsVersion\": []string{\n\t\t\t\t\t\t\t\"tlsv1.1\",\n\t\t\t\t\t\t\t\"tlsv1.2\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn pulumi.String(json0), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cdn.GetDomainsOutput(ctx, cdn.GetDomainsOutputArgs{\n\t\t\tDomain: fooCdnDomain.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnCertificate;\nimport com.pulumi.volcengine.cdn.CdnCertificateArgs;\nimport com.pulumi.volcengine.cdn.CdnDomain;\nimport com.pulumi.volcengine.cdn.CdnDomainArgs;\nimport com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetDomainsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCdnCertificate = new CdnCertificate(\"fooCdnCertificate\", CdnCertificateArgs.builder() \n .certificate(\"\")\n .privateKey(\"\")\n .desc(\"tftest\")\n .source(\"cdn_cert_hosting\")\n .build());\n\n var fooCdnDomain = new CdnDomain(\"fooCdnDomain\", CdnDomainArgs.builder() \n .domain(\"tftest.byte-test.com\")\n .serviceType(\"web\")\n .tags( \n CdnDomainTagArgs.builder()\n .key(\"tfkey1\")\n .value(\"tfvalue1\")\n .build(),\n CdnDomainTagArgs.builder()\n .key(\"tfkey2\")\n .value(\"tfvalue2\")\n .build())\n .domainConfig(fooCdnCertificate.id().applyValue(id -\u003e serializeJson(\n jsonObject(\n jsonProperty(\"OriginProtocol\", \"https\"),\n jsonProperty(\"Origin\", jsonArray(jsonObject(\n jsonProperty(\"OriginAction\", jsonObject(\n jsonProperty(\"OriginLines\", jsonArray(jsonObject(\n jsonProperty(\"Address\", \"1.1.1.1\"),\n jsonProperty(\"HttpPort\", \"80\"),\n jsonProperty(\"HttpsPort\", \"443\"),\n jsonProperty(\"InstanceType\", \"ip\"),\n jsonProperty(\"OriginType\", \"primary\"),\n jsonProperty(\"PrivateBucketAccess\", false),\n jsonProperty(\"Weight\", \"2\")\n )))\n ))\n ))),\n jsonProperty(\"HTTPS\", jsonObject(\n jsonProperty(\"CertInfo\", jsonObject(\n jsonProperty(\"CertId\", id)\n )),\n jsonProperty(\"DisableHttp\", false),\n jsonProperty(\"HTTP2\", true),\n jsonProperty(\"Switch\", true),\n jsonProperty(\"Ocsp\", false),\n jsonProperty(\"TlsVersion\", jsonArray(\n \"tlsv1.1\", \n \"tlsv1.2\"\n ))\n ))\n ))))\n .build());\n\n final var fooDomains = CdnFunctions.getDomains(GetDomainsArgs.builder()\n .domain(fooCdnDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCdnCertificate:\n type: volcengine:cdn:CdnCertificate\n properties:\n certificate:\n privateKey:\n desc: tftest\n source: cdn_cert_hosting\n fooCdnDomain:\n type: volcengine:cdn:CdnDomain\n properties:\n domain: tftest.byte-test.com\n serviceType: web\n tags:\n - key: tfkey1\n value: tfvalue1\n - key: tfkey2\n value: tfvalue2\n domainConfig:\n fn::toJSON:\n OriginProtocol: https\n Origin:\n - OriginAction:\n OriginLines:\n - Address: 1.1.1.1\n HttpPort: '80'\n HttpsPort: '443'\n InstanceType: ip\n OriginType: primary\n PrivateBucketAccess: false\n Weight: '2'\n HTTPS:\n CertInfo:\n CertId: ${fooCdnCertificate.id}\n DisableHttp: false\n HTTP2: true\n Switch: true\n Ocsp: false\n TlsVersion:\n - tlsv1.1\n - tlsv1.2\nvariables:\n fooDomains:\n fn::invoke:\n Function: volcengine:cdn:getDomains\n Arguments:\n domain: ${fooCdnDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDomains.\n", + "properties": { + "domain": { + "type": "string", + "description": "Search by specifying domain name keywords, with fuzzy matching.\n" + }, + "https": { + "type": "boolean", + "description": "Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function.\n" + }, + "ipv6": { + "type": "boolean", + "description": "Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses.\n" + }, + "originProtocol": { + "type": "string", + "description": "Configure the origin protocol for the accelerated domain.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "primaryOrigin": { + "type": "string", + "description": "Specify a primary origin server for filtering accelerated domains.\n" + }, + "project": { + "type": "string", + "description": "The project name of the domain.\n" + }, + "serviceType": { + "type": "string", + "description": "The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getDomains.\n", + "properties": { + "domain": { + "type": "string", + "description": "Search by specifying domain name keywords, with fuzzy matching.\n" + }, + "domains": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getDomainsDomain:getDomainsDomain" + }, + "description": "The collection of query.\n" + }, + "https": { + "type": "boolean", + "description": "Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ipv6": { + "type": "boolean", + "description": "Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses.\n" + }, + "originProtocol": { + "type": "string", + "description": "Configure the origin protocol for the accelerated domain.\n" + }, + "outputFile": { + "type": "string" + }, + "primaryOrigin": { + "type": "string", + "description": "List of primary source servers to accelerate the domain name.\n" + }, + "project": { + "type": "string", + "description": "The project name of the domain.\n" + }, + "serviceType": { + "type": "string", + "description": "The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Indicate the tags you have set for this domain name. You can set up to 10 tags.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "domains", + "totalCount", + "id" + ] + } + }, + "volcengine:cdn/getSharedConfigs:getSharedConfigs": { + "description": "Use this data source to query detailed information of cdn shared configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cdn.getSharedConfigs({\n configName: \"tf-test\",\n configType: \"allow_ip_access_rule\",\n projectName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cdn.get_shared_configs(config_name=\"tf-test\",\n config_type=\"allow_ip_access_rule\",\n project_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new()\n {\n ConfigName = \"tf-test\",\n ConfigType = \"allow_ip_access_rule\",\n ProjectName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.GetSharedConfigs(ctx, \u0026cdn.GetSharedConfigsArgs{\n\t\t\tConfigName: pulumi.StringRef(\"tf-test\"),\n\t\t\tConfigType: pulumi.StringRef(\"allow_ip_access_rule\"),\n\t\t\tProjectName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetSharedConfigsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = CdnFunctions.getSharedConfigs(GetSharedConfigsArgs.builder()\n .configName(\"tf-test\")\n .configType(\"allow_ip_access_rule\")\n .projectName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cdn:getSharedConfigs\n Arguments:\n configName: tf-test\n configType: allow_ip_access_rule\n projectName: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSharedConfigs.\n", + "properties": { + "configName": { + "type": "string", + "description": "The name of the shared config.\n" + }, + "configType": { + "type": "string", + "description": "The type of the shared config.\n" + }, + "configTypeLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "projectName": { + "type": "string", + "description": "The name of the project.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getSharedConfigs.\n", + "properties": { + "configDatas": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cdn/getSharedConfigsConfigData:getSharedConfigsConfigData" + }, + "description": "The collection of query.\n" + }, + "configName": { + "type": "string", + "description": "The name of the config.\n" + }, + "configType": { + "type": "string", + "description": "The type of the config.\n" + }, + "configTypeLists": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "outputFile": { + "type": "string" + }, + "projectName": { + "type": "string", + "description": "The name of the project.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "configDatas", + "totalCount", + "id" + ] + } + }, "volcengine:cdn/sharedConfigs:SharedConfigs": { - "description": "Use this data source to query detailed information of cdn shared configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cdn.SharedConfigs({\n configName: \"tf-test\",\n configType: \"allow_ip_access_rule\",\n projectName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cdn.shared_configs(config_name=\"tf-test\",\n config_type=\"allow_ip_access_rule\",\n project_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cdn.SharedConfigs.Invoke(new()\n {\n ConfigName = \"tf-test\",\n ConfigType = \"allow_ip_access_rule\",\n ProjectName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.SharedConfigs(ctx, \u0026cdn.SharedConfigsArgs{\n\t\t\tConfigName: pulumi.StringRef(\"tf-test\"),\n\t\t\tConfigType: pulumi.StringRef(\"allow_ip_access_rule\"),\n\t\t\tProjectName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.SharedConfigsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = CdnFunctions.SharedConfigs(SharedConfigsArgs.builder()\n .configName(\"tf-test\")\n .configType(\"allow_ip_access_rule\")\n .projectName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cdn:SharedConfigs\n Arguments:\n configName: tf-test\n configType: allow_ip_access_rule\n projectName: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs", + "description": "Use this data source to query detailed information of cdn shared configs\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cdn.getSharedConfigs({\n configName: \"tf-test\",\n configType: \"allow_ip_access_rule\",\n projectName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cdn.get_shared_configs(config_name=\"tf-test\",\n config_type=\"allow_ip_access_rule\",\n project_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new()\n {\n ConfigName = \"tf-test\",\n ConfigType = \"allow_ip_access_rule\",\n ProjectName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.GetSharedConfigs(ctx, \u0026cdn.GetSharedConfigsArgs{\n\t\t\tConfigName: pulumi.StringRef(\"tf-test\"),\n\t\t\tConfigType: pulumi.StringRef(\"allow_ip_access_rule\"),\n\t\t\tProjectName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cdn.CdnFunctions;\nimport com.pulumi.volcengine.cdn.inputs.GetSharedConfigsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = CdnFunctions.getSharedConfigs(GetSharedConfigsArgs.builder()\n .configName(\"tf-test\")\n .configType(\"allow_ip_access_rule\")\n .projectName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cdn:getSharedConfigs\n Arguments:\n configName: tf-test\n configType: allow_ip_access_rule\n projectName: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking SharedConfigs.\n", "properties": { @@ -80383,8 +84294,419 @@ ] } }, + "volcengine:cloud_identity/getGroups:getGroups": { + "description": "Use this data source to query detailed information of cloud identity groups\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooGroup: volcengine.cloud_identity.Group[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooGroup.push(new volcengine.cloud_identity.Group(`fooGroup-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-group-${range.value}`,\n groupName: `acc-test-group-${range.value}`,\n joinType: \"Manual\",\n }));\n}\nconst fooGroups = volcengine.cloud_identity.getGroups({\n groupName: \"acc-test-group\",\n joinType: \"Manual\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_group = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_group.append(volcengine.cloud_identity.Group(f\"fooGroup-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-group-{range['value']}\",\n group_name=f\"acc-test-group-{range['value']}\",\n join_type=\"Manual\"))\nfoo_groups = volcengine.cloud_identity.get_groups(group_name=\"acc-test-group\",\n join_type=\"Manual\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooGroup = new List\u003cVolcengine.Cloud_identity.Group\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooGroup.Add(new Volcengine.Cloud_identity.Group($\"fooGroup-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-group-{range.Value}\",\n GroupName = $\"acc-test-group-{range.Value}\",\n JoinType = \"Manual\",\n }));\n }\n var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new()\n {\n GroupName = \"acc-test-group\",\n JoinType = \"Manual\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooGroup []*cloud_identity.Group\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewGroup(ctx, fmt.Sprintf(\"fooGroup-%v\", key0), \u0026cloud_identity.GroupArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-group-%v\", val0)),\n\t\t\t\tGroupName: pulumi.String(fmt.Sprintf(\"acc-test-group-%v\", val0)),\n\t\t\t\tJoinType: pulumi.String(\"Manual\"),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooGroup = append(fooGroup, __res)\n\t\t}\n\t\t_, err = cloud_identity.GetGroups(ctx, \u0026cloud_identity.GetGroupsArgs{\n\t\t\tGroupName: pulumi.StringRef(\"acc-test-group\"),\n\t\t\tJoinType: pulumi.StringRef(\"Manual\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Group;\nimport com.pulumi.volcengine.cloud_identity.GroupArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetGroupsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new Group(\"fooGroup-\" + i, GroupArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-group-%s\", range.value()))\n .groupName(String.format(\"acc-test-group-%s\", range.value()))\n .joinType(\"Manual\")\n .build());\n\n \n}\n final var fooGroups = Cloud_identityFunctions.getGroups(GetGroupsArgs.builder()\n .groupName(\"acc-test-group\")\n .joinType(\"Manual\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooGroup:\n type: volcengine:cloud_identity:Group\n properties:\n description: tf\n displayName: tf-test-group-${range.value}\n groupName: acc-test-group-${range.value}\n joinType: Manual\n options: {}\nvariables:\n fooGroups:\n fn::invoke:\n Function: volcengine:cloud_identity:getGroups\n Arguments:\n groupName: acc-test-group\n joinType: Manual\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getGroups.\n", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of cloud identity group.\n" + }, + "groupName": { + "type": "string", + "description": "The name of cloud identity group.\n" + }, + "joinType": { + "type": "string", + "description": "The join type of cloud identity group. Valid values: `Auto`, `Manual`.\n" + }, + "nameRegex": { + "type": "string", + "description": "A Name Regex of Resource.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getGroups.\n", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the cloud identity group.\n" + }, + "groupName": { + "type": "string", + "description": "The name of the cloud identity group.\n" + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getGroupsGroup:getGroupsGroup" + }, + "description": "The collection of query.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "joinType": { + "type": "string", + "description": "The email of the cloud identity group.\n" + }, + "nameRegex": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "groups", + "totalCount", + "id" + ] + } + }, + "volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments": { + "description": "Use this data source to query detailed information of cloud identity permission set assignments\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet = new volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\", {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n});\nconst fooUser = new volcengine.cloud_identity.User(\"fooUser\", {\n userName: \"acc-test-user\",\n displayName: \"tf-test-user\",\n description: \"tf\",\n email: \"88@qq.com\",\n phone: \"181\",\n});\nconst fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", {\n permissionSetId: fooPermissionSet.id,\n targetId: \"210026****\",\n principalType: \"User\",\n principalId: fooUser.id,\n});\nconst fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({\n permissionSetId: fooPermissionSetAssignment.permissionSetId,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ])\nfoo_user = volcengine.cloud_identity.User(\"fooUser\",\n user_name=\"acc-test-user\",\n display_name=\"tf-test-user\",\n description=\"tf\",\n email=\"88@qq.com\",\n phone=\"181\")\nfoo_permission_set_assignment = volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\",\n permission_set_id=foo_permission_set.id,\n target_id=\"210026****\",\n principal_type=\"User\",\n principal_id=foo_user.id)\nfoo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new Volcengine.Cloud_identity.PermissionSet(\"fooPermissionSet\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n });\n\n var fooUser = new Volcengine.Cloud_identity.User(\"fooUser\", new()\n {\n UserName = \"acc-test-user\",\n DisplayName = \"tf-test-user\",\n Description = \"tf\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n });\n\n var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", new()\n {\n PermissionSetId = fooPermissionSet.Id,\n TargetId = \"210026****\",\n PrincipalType = \"User\",\n PrincipalId = fooUser.Id,\n });\n\n var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new()\n {\n PermissionSetId = fooPermissionSetAssignment.PermissionSetId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooPermissionSet, err := cloud_identity.NewPermissionSet(ctx, \"fooPermissionSet\", \u0026cloud_identity.PermissionSetArgs{\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tSessionDuration: pulumi.Int(5000),\n\t\t\tPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"Inline\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooUser, err := cloud_identity.NewUser(ctx, \"fooUser\", \u0026cloud_identity.UserArgs{\n\t\t\tUserName: pulumi.String(\"acc-test-user\"),\n\t\t\tDisplayName: pulumi.String(\"tf-test-user\"),\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\tPhone: pulumi.String(\"181\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooPermissionSetAssignment, err := cloud_identity.NewPermissionSetAssignment(ctx, \"fooPermissionSetAssignment\", \u0026cloud_identity.PermissionSetAssignmentArgs{\n\t\t\tPermissionSetId: fooPermissionSet.ID(),\n\t\t\tTargetId: pulumi.String(\"210026****\"),\n\t\t\tPrincipalType: pulumi.String(\"User\"),\n\t\t\tPrincipalId: fooUser.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cloud_identity.GetPermissionSetAssignmentsOutput(ctx, cloud_identity.GetPermissionSetAssignmentsOutputArgs{\n\t\t\tPermissionSetId: fooPermissionSetAssignment.PermissionSetId,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignment;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignmentArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetAssignmentsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooPermissionSet = new PermissionSet(\"fooPermissionSet\", PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n var fooUser = new User(\"fooUser\", UserArgs.builder() \n .userName(\"acc-test-user\")\n .displayName(\"tf-test-user\")\n .description(\"tf\")\n .email(\"88@qq.com\")\n .phone(\"181\")\n .build());\n\n var fooPermissionSetAssignment = new PermissionSetAssignment(\"fooPermissionSetAssignment\", PermissionSetAssignmentArgs.builder() \n .permissionSetId(fooPermissionSet.id())\n .targetId(\"210026****\")\n .principalType(\"User\")\n .principalId(fooUser.id())\n .build());\n\n final var fooPermissionSetAssignments = Cloud_identityFunctions.getPermissionSetAssignments(GetPermissionSetAssignmentsArgs.builder()\n .permissionSetId(fooPermissionSetAssignment.permissionSetId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooPermissionSet:\n type: volcengine:cloud_identity:PermissionSet\n properties:\n description: tf\n sessionDuration: 5000\n permissionPolicies:\n - permissionPolicyType: System\n permissionPolicyName: AdministratorAccess\n inlinePolicyDocument:\n - permissionPolicyType: System\n permissionPolicyName: ReadOnlyAccess\n inlinePolicyDocument:\n - permissionPolicyType: Inline\n inlinePolicyDocument: '{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}'\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n userName: acc-test-user\n displayName: tf-test-user\n description: tf\n email: 88@qq.com\n phone: '181'\n fooPermissionSetAssignment:\n type: volcengine:cloud_identity:PermissionSetAssignment\n properties:\n permissionSetId: ${fooPermissionSet.id}\n targetId: 210026****\n principalType: User\n principalId: ${fooUser.id}\nvariables:\n fooPermissionSetAssignments:\n fn::invoke:\n Function: volcengine:cloud_identity:getPermissionSetAssignments\n Arguments:\n permissionSetId: ${fooPermissionSetAssignment.permissionSetId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPermissionSetAssignments.\n", + "properties": { + "nameRegex": { + "type": "string", + "description": "A Name Regex of Resource.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of cloud identity permission set.\n" + }, + "principalId": { + "type": "string", + "description": "The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`.\n" + }, + "principalType": { + "type": "string", + "description": "The principal type of cloud identity permission set. Valid values: `User`, `Group`.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of cloud identity permission set assignment.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getPermissionSetAssignments.\n", + "properties": { + "assignments": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getPermissionSetAssignmentsAssignment:getPermissionSetAssignmentsAssignment" + }, + "description": "The collection of query.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "nameRegex": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "permissionSetId": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "principalId": { + "type": "string", + "description": "The principal id of the cloud identity permission set assignment.\n" + }, + "principalType": { + "type": "string", + "description": "The principal type of the cloud identity permission set assignment.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of the cloud identity permission set assignment.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "assignments", + "totalCount", + "id" + ] + } + }, + "volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings": { + "description": "Use this data source to query detailed information of cloud identity permission set provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.getPermissionSetProvisionings({\n targetId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.get_permission_set_provisionings(target_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new()\n {\n TargetId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.GetPermissionSetProvisionings(ctx, \u0026cloud_identity.GetPermissionSetProvisioningsArgs{\n\t\t\tTargetId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.getPermissionSetProvisionings(GetPermissionSetProvisioningsArgs.builder()\n .targetId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:getPermissionSetProvisionings\n Arguments:\n targetId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPermissionSetProvisionings.\n", + "properties": { + "nameRegex": { + "type": "string", + "description": "A Name Regex of Resource.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of cloud identity permission set.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of cloud identity permission set.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getPermissionSetProvisionings.\n", + "properties": { + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "nameRegex": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "permissionProvisionings": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getPermissionSetProvisioningsPermissionProvisioning:getPermissionSetProvisioningsPermissionProvisioning" + }, + "description": "The collection of query.\n" + }, + "permissionSetId": { + "type": "string", + "description": "The id of the cloud identity permission set.\n" + }, + "targetId": { + "type": "string", + "description": "The target account id of the cloud identity permission set provisioning.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "permissionProvisionings", + "totalCount", + "id" + ] + } + }, + "volcengine:cloud_identity/getPermissionSets:getPermissionSets": { + "description": "Use this data source to query detailed information of cloud identity permission sets\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet: volcengine.cloud_identity.PermissionSet[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooPermissionSet.push(new volcengine.cloud_identity.PermissionSet(`fooPermissionSet-${range.value}`, {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n }));\n}\nconst fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({\n ids: fooPermissionSet.map(__item =\u003e __item.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_permission_set.append(volcengine.cloud_identity.PermissionSet(f\"fooPermissionSet-{range['value']}\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ]))\nfoo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new List\u003cVolcengine.Cloud_identity.PermissionSet\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooPermissionSet.Add(new Volcengine.Cloud_identity.PermissionSet($\"fooPermissionSet-{range.Value}\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n }));\n }\n var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new()\n {\n Ids = fooPermissionSet.Select(__item =\u003e __item.Id).ToList(),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nvar fooPermissionSet []*cloud_identity.PermissionSet\nfor index := 0; index \u003c 2; index++ {\n key0 := index\n _ := index\n__res, err := cloud_identity.NewPermissionSet(ctx, fmt.Sprintf(\"fooPermissionSet-%v\", key0), \u0026cloud_identity.PermissionSetArgs{\nDescription: pulumi.String(\"tf\"),\nSessionDuration: pulumi.Int(5000),\nPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"Inline\"),\nInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n},\n},\n})\nif err != nil {\nreturn err\n}\nfooPermissionSet = append(fooPermissionSet, __res)\n}\n_ = cloud_identity.GetPermissionSetsOutput(ctx, cloud_identity.GetPermissionSetsOutputArgs{\nIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:cloud_identity-getPermissionSets:getPermissionSets.pp:23,9-31),\n}, nil);\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new PermissionSet(\"fooPermissionSet-\" + i, PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n \n}\n final var fooPermissionSets = Cloud_identityFunctions.getPermissionSets(GetPermissionSetsArgs.builder()\n .ids(fooPermissionSet.stream().map(element -\u003e element.id()).collect(toList()))\n .build());\n\n }\n}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPermissionSets.\n", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of cloud identity permission set IDs.\n" + }, + "nameRegex": { + "type": "string", + "description": "A Name Regex of cloud identity permission set.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getPermissionSets.\n", + "properties": { + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "nameRegex": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "permissionSets": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getPermissionSetsPermissionSet:getPermissionSetsPermissionSet" + }, + "description": "The collection of query.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + } + }, + "type": "object", + "required": [ + "permissionSets", + "totalCount", + "id" + ] + } + }, + "volcengine:cloud_identity/getUserProvisionings:getUserProvisionings": { + "description": "Use this data source to query detailed information of cloud identity user provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.getUserProvisionings({\n accountId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.get_user_provisionings(account_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new()\n {\n AccountId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.GetUserProvisionings(ctx, \u0026cloud_identity.GetUserProvisioningsArgs{\n\t\t\tAccountId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetUserProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.getUserProvisionings(GetUserProvisioningsArgs.builder()\n .accountId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:getUserProvisionings\n Arguments:\n accountId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getUserProvisionings.\n", + "properties": { + "accountId": { + "type": "string", + "description": "The account id.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getUserProvisionings.\n", + "properties": { + "accountId": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "outputFile": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + }, + "userProvisionings": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getUserProvisioningsUserProvisioning:getUserProvisioningsUserProvisioning" + }, + "description": "The collection of query.\n" + } + }, + "type": "object", + "required": [ + "totalCount", + "userProvisionings", + "id" + ] + } + }, + "volcengine:cloud_identity/getUsers:getUsers": { + "description": "Use this data source to query detailed information of cloud identity users\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooUser: volcengine.cloud_identity.User[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooUser.push(new volcengine.cloud_identity.User(`fooUser-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-user-${range.value}`,\n email: \"88@qq.com\",\n phone: \"181\",\n userName: `acc-test-user-${range.value}`,\n }));\n}\nconst fooUsers = volcengine.cloud_identity.getUsers({\n source: \"Manual\",\n userName: \"acc-test-user\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_user = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_user.append(volcengine.cloud_identity.User(f\"fooUser-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-user-{range['value']}\",\n email=\"88@qq.com\",\n phone=\"181\",\n user_name=f\"acc-test-user-{range['value']}\"))\nfoo_users = volcengine.cloud_identity.get_users(source=\"Manual\",\n user_name=\"acc-test-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooUser = new List\u003cVolcengine.Cloud_identity.User\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooUser.Add(new Volcengine.Cloud_identity.User($\"fooUser-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-user-{range.Value}\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n UserName = $\"acc-test-user-{range.Value}\",\n }));\n }\n var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new()\n {\n Source = \"Manual\",\n UserName = \"acc-test-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooUser []*cloud_identity.User\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewUser(ctx, fmt.Sprintf(\"fooUser-%v\", key0), \u0026cloud_identity.UserArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-user-%v\", val0)),\n\t\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\t\tPhone: pulumi.String(\"181\"),\n\t\t\t\tUserName: pulumi.String(fmt.Sprintf(\"acc-test-user-%v\", val0)),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooUser = append(fooUser, __res)\n\t\t}\n\t\t_, err = cloud_identity.GetUsers(ctx, \u0026cloud_identity.GetUsersArgs{\n\t\t\tSource: pulumi.StringRef(\"Manual\"),\n\t\t\tUserName: pulumi.StringRef(\"acc-test-user\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetUsersArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new User(\"fooUser-\" + i, UserArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-user-%s\", range.value()))\n .email(\"88@qq.com\")\n .phone(\"181\")\n .userName(String.format(\"acc-test-user-%s\", range.value()))\n .build());\n\n \n}\n final var fooUsers = Cloud_identityFunctions.getUsers(GetUsersArgs.builder()\n .source(\"Manual\")\n .userName(\"acc-test-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n description: tf\n displayName: tf-test-user-${range.value}\n email: 88@qq.com\n phone: '181'\n userName: acc-test-user-${range.value}\n options: {}\nvariables:\n fooUsers:\n fn::invoke:\n Function: volcengine:cloud_identity:getUsers\n Arguments:\n source: Manual\n userName: acc-test-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getUsers.\n", + "properties": { + "departmentId": { + "type": "string", + "description": "The department id.\n" + }, + "displayName": { + "type": "string", + "description": "The display name of cloud identity user.\n" + }, + "nameRegex": { + "type": "string", + "description": "A Name Regex of Resource.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "source": { + "type": "string", + "description": "The source of cloud identity user. Valid values: `Sync`, `Manual`.\n" + }, + "userName": { + "type": "string", + "description": "The name of cloud identity user.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getUsers.\n", + "properties": { + "departmentId": { + "type": "string" + }, + "displayName": { + "type": "string", + "description": "The display name of the cloud identity user.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "nameRegex": { + "type": "string" + }, + "outputFile": { + "type": "string" + }, + "source": { + "type": "string", + "description": "The source of the cloud identity user.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of query.\n" + }, + "userName": { + "type": "string", + "description": "The name of the cloud identity user.\n" + }, + "users": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:cloud_identity/getUsersUser:getUsersUser" + }, + "description": "The collection of query.\n" + } + }, + "type": "object", + "required": [ + "totalCount", + "users", + "id" + ] + } + }, "volcengine:cloud_identity/groups:Groups": { - "description": "Use this data source to query detailed information of cloud identity groups\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooGroup: volcengine.cloud_identity.Group[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooGroup.push(new volcengine.cloud_identity.Group(`fooGroup-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-group-${range.value}`,\n groupName: `acc-test-group-${range.value}`,\n joinType: \"Manual\",\n }));\n}\nconst fooGroups = volcengine.cloud_identity.Groups({\n groupName: \"acc-test-group\",\n joinType: \"Manual\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_group = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_group.append(volcengine.cloud_identity.Group(f\"fooGroup-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-group-{range['value']}\",\n group_name=f\"acc-test-group-{range['value']}\",\n join_type=\"Manual\"))\nfoo_groups = volcengine.cloud_identity.groups(group_name=\"acc-test-group\",\n join_type=\"Manual\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooGroup = new List\u003cVolcengine.Cloud_identity.Group\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooGroup.Add(new Volcengine.Cloud_identity.Group($\"fooGroup-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-group-{range.Value}\",\n GroupName = $\"acc-test-group-{range.Value}\",\n JoinType = \"Manual\",\n }));\n }\n var fooGroups = Volcengine.Cloud_identity.Groups.Invoke(new()\n {\n GroupName = \"acc-test-group\",\n JoinType = \"Manual\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooGroup []*cloud_identity.Group\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewGroup(ctx, fmt.Sprintf(\"fooGroup-%v\", key0), \u0026cloud_identity.GroupArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-group-%v\", val0)),\n\t\t\t\tGroupName: pulumi.String(fmt.Sprintf(\"acc-test-group-%v\", val0)),\n\t\t\t\tJoinType: pulumi.String(\"Manual\"),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooGroup = append(fooGroup, __res)\n\t\t}\n\t\t_, err = cloud_identity.Groups(ctx, \u0026cloud_identity.GroupsArgs{\n\t\t\tGroupName: pulumi.StringRef(\"acc-test-group\"),\n\t\t\tJoinType: pulumi.StringRef(\"Manual\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Group;\nimport com.pulumi.volcengine.cloud_identity.GroupArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GroupsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new Group(\"fooGroup-\" + i, GroupArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-group-%s\", range.value()))\n .groupName(String.format(\"acc-test-group-%s\", range.value()))\n .joinType(\"Manual\")\n .build());\n\n \n}\n final var fooGroups = Cloud_identityFunctions.Groups(GroupsArgs.builder()\n .groupName(\"acc-test-group\")\n .joinType(\"Manual\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooGroup:\n type: volcengine:cloud_identity:Group\n properties:\n description: tf\n displayName: tf-test-group-${range.value}\n groupName: acc-test-group-${range.value}\n joinType: Manual\n options: {}\nvariables:\n fooGroups:\n fn::invoke:\n Function: volcengine:cloud_identity:Groups\n Arguments:\n groupName: acc-test-group\n joinType: Manual\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups", + "description": "Use this data source to query detailed information of cloud identity groups\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooGroup: volcengine.cloud_identity.Group[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooGroup.push(new volcengine.cloud_identity.Group(`fooGroup-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-group-${range.value}`,\n groupName: `acc-test-group-${range.value}`,\n joinType: \"Manual\",\n }));\n}\nconst fooGroups = volcengine.cloud_identity.getGroups({\n groupName: \"acc-test-group\",\n joinType: \"Manual\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_group = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_group.append(volcengine.cloud_identity.Group(f\"fooGroup-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-group-{range['value']}\",\n group_name=f\"acc-test-group-{range['value']}\",\n join_type=\"Manual\"))\nfoo_groups = volcengine.cloud_identity.get_groups(group_name=\"acc-test-group\",\n join_type=\"Manual\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooGroup = new List\u003cVolcengine.Cloud_identity.Group\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooGroup.Add(new Volcengine.Cloud_identity.Group($\"fooGroup-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-group-{range.Value}\",\n GroupName = $\"acc-test-group-{range.Value}\",\n JoinType = \"Manual\",\n }));\n }\n var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new()\n {\n GroupName = \"acc-test-group\",\n JoinType = \"Manual\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooGroup []*cloud_identity.Group\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewGroup(ctx, fmt.Sprintf(\"fooGroup-%v\", key0), \u0026cloud_identity.GroupArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-group-%v\", val0)),\n\t\t\t\tGroupName: pulumi.String(fmt.Sprintf(\"acc-test-group-%v\", val0)),\n\t\t\t\tJoinType: pulumi.String(\"Manual\"),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooGroup = append(fooGroup, __res)\n\t\t}\n\t\t_, err = cloud_identity.GetGroups(ctx, \u0026cloud_identity.GetGroupsArgs{\n\t\t\tGroupName: pulumi.StringRef(\"acc-test-group\"),\n\t\t\tJoinType: pulumi.StringRef(\"Manual\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Group;\nimport com.pulumi.volcengine.cloud_identity.GroupArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetGroupsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new Group(\"fooGroup-\" + i, GroupArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-group-%s\", range.value()))\n .groupName(String.format(\"acc-test-group-%s\", range.value()))\n .joinType(\"Manual\")\n .build());\n\n \n}\n final var fooGroups = Cloud_identityFunctions.getGroups(GetGroupsArgs.builder()\n .groupName(\"acc-test-group\")\n .joinType(\"Manual\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooGroup:\n type: volcengine:cloud_identity:Group\n properties:\n description: tf\n displayName: tf-test-group-${range.value}\n groupName: acc-test-group-${range.value}\n joinType: Manual\n options: {}\nvariables:\n fooGroups:\n fn::invoke:\n Function: volcengine:cloud_identity:getGroups\n Arguments:\n groupName: acc-test-group\n joinType: Manual\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Groups.\n", "properties": { @@ -80457,7 +84779,8 @@ } }, "volcengine:cloud_identity/permissionSetAssignments:PermissionSetAssignments": { - "description": "Use this data source to query detailed information of cloud identity permission set assignments\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet = new volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\", {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n});\nconst fooUser = new volcengine.cloud_identity.User(\"fooUser\", {\n userName: \"acc-test-user\",\n displayName: \"tf-test-user\",\n description: \"tf\",\n email: \"88@qq.com\",\n phone: \"181\",\n});\nconst fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", {\n permissionSetId: fooPermissionSet.id,\n targetId: \"210026****\",\n principalType: \"User\",\n principalId: fooUser.id,\n});\nconst fooPermissionSetAssignments = volcengine.cloud_identity.PermissionSetAssignmentsOutput({\n permissionSetId: fooPermissionSetAssignment.permissionSetId,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ])\nfoo_user = volcengine.cloud_identity.User(\"fooUser\",\n user_name=\"acc-test-user\",\n display_name=\"tf-test-user\",\n description=\"tf\",\n email=\"88@qq.com\",\n phone=\"181\")\nfoo_permission_set_assignment = volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\",\n permission_set_id=foo_permission_set.id,\n target_id=\"210026****\",\n principal_type=\"User\",\n principal_id=foo_user.id)\nfoo_permission_set_assignments = volcengine.cloud_identity.permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new Volcengine.Cloud_identity.PermissionSet(\"fooPermissionSet\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n });\n\n var fooUser = new Volcengine.Cloud_identity.User(\"fooUser\", new()\n {\n UserName = \"acc-test-user\",\n DisplayName = \"tf-test-user\",\n Description = \"tf\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n });\n\n var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", new()\n {\n PermissionSetId = fooPermissionSet.Id,\n TargetId = \"210026****\",\n PrincipalType = \"User\",\n PrincipalId = fooUser.Id,\n });\n\n var fooPermissionSetAssignments = Volcengine.Cloud_identity.PermissionSetAssignments.Invoke(new()\n {\n PermissionSetId = fooPermissionSetAssignment.PermissionSetId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooPermissionSet, err := cloud_identity.NewPermissionSet(ctx, \"fooPermissionSet\", \u0026cloud_identity.PermissionSetArgs{\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tSessionDuration: pulumi.Int(5000),\n\t\t\tPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"Inline\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooUser, err := cloud_identity.NewUser(ctx, \"fooUser\", \u0026cloud_identity.UserArgs{\n\t\t\tUserName: pulumi.String(\"acc-test-user\"),\n\t\t\tDisplayName: pulumi.String(\"tf-test-user\"),\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\tPhone: pulumi.String(\"181\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooPermissionSetAssignment, err := cloud_identity.NewPermissionSetAssignment(ctx, \"fooPermissionSetAssignment\", \u0026cloud_identity.PermissionSetAssignmentArgs{\n\t\t\tPermissionSetId: fooPermissionSet.ID(),\n\t\t\tTargetId: pulumi.String(\"210026****\"),\n\t\t\tPrincipalType: pulumi.String(\"User\"),\n\t\t\tPrincipalId: fooUser.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cloud_identity.PermissionSetAssignmentsOutput(ctx, cloud_identity.PermissionSetAssignmentsOutputArgs{\n\t\t\tPermissionSetId: fooPermissionSetAssignment.PermissionSetId,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignment;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignmentArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetAssignmentsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooPermissionSet = new PermissionSet(\"fooPermissionSet\", PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n var fooUser = new User(\"fooUser\", UserArgs.builder() \n .userName(\"acc-test-user\")\n .displayName(\"tf-test-user\")\n .description(\"tf\")\n .email(\"88@qq.com\")\n .phone(\"181\")\n .build());\n\n var fooPermissionSetAssignment = new PermissionSetAssignment(\"fooPermissionSetAssignment\", PermissionSetAssignmentArgs.builder() \n .permissionSetId(fooPermissionSet.id())\n .targetId(\"210026****\")\n .principalType(\"User\")\n .principalId(fooUser.id())\n .build());\n\n final var fooPermissionSetAssignments = Cloud_identityFunctions.PermissionSetAssignments(PermissionSetAssignmentsArgs.builder()\n .permissionSetId(fooPermissionSetAssignment.permissionSetId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooPermissionSet:\n type: volcengine:cloud_identity:PermissionSet\n properties:\n description: tf\n sessionDuration: 5000\n permissionPolicies:\n - permissionPolicyType: System\n permissionPolicyName: AdministratorAccess\n inlinePolicyDocument:\n - permissionPolicyType: System\n permissionPolicyName: ReadOnlyAccess\n inlinePolicyDocument:\n - permissionPolicyType: Inline\n inlinePolicyDocument: '{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}'\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n userName: acc-test-user\n displayName: tf-test-user\n description: tf\n email: 88@qq.com\n phone: '181'\n fooPermissionSetAssignment:\n type: volcengine:cloud_identity:PermissionSetAssignment\n properties:\n permissionSetId: ${fooPermissionSet.id}\n targetId: 210026****\n principalType: User\n principalId: ${fooUser.id}\nvariables:\n fooPermissionSetAssignments:\n fn::invoke:\n Function: volcengine:cloud_identity:PermissionSetAssignments\n Arguments:\n permissionSetId: ${fooPermissionSetAssignment.permissionSetId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments", + "description": "Use this data source to query detailed information of cloud identity permission set assignments\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet = new volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\", {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n});\nconst fooUser = new volcengine.cloud_identity.User(\"fooUser\", {\n userName: \"acc-test-user\",\n displayName: \"tf-test-user\",\n description: \"tf\",\n email: \"88@qq.com\",\n phone: \"181\",\n});\nconst fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", {\n permissionSetId: fooPermissionSet.id,\n targetId: \"210026****\",\n principalType: \"User\",\n principalId: fooUser.id,\n});\nconst fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({\n permissionSetId: fooPermissionSetAssignment.permissionSetId,\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = volcengine.cloud_identity.PermissionSet(\"fooPermissionSet\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ])\nfoo_user = volcengine.cloud_identity.User(\"fooUser\",\n user_name=\"acc-test-user\",\n display_name=\"tf-test-user\",\n description=\"tf\",\n email=\"88@qq.com\",\n phone=\"181\")\nfoo_permission_set_assignment = volcengine.cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\",\n permission_set_id=foo_permission_set.id,\n target_id=\"210026****\",\n principal_type=\"User\",\n principal_id=foo_user.id)\nfoo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new Volcengine.Cloud_identity.PermissionSet(\"fooPermissionSet\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n });\n\n var fooUser = new Volcengine.Cloud_identity.User(\"fooUser\", new()\n {\n UserName = \"acc-test-user\",\n DisplayName = \"tf-test-user\",\n Description = \"tf\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n });\n\n var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment(\"fooPermissionSetAssignment\", new()\n {\n PermissionSetId = fooPermissionSet.Id,\n TargetId = \"210026****\",\n PrincipalType = \"User\",\n PrincipalId = fooUser.Id,\n });\n\n var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new()\n {\n PermissionSetId = fooPermissionSetAssignment.PermissionSetId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooPermissionSet, err := cloud_identity.NewPermissionSet(ctx, \"fooPermissionSet\", \u0026cloud_identity.PermissionSetArgs{\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tSessionDuration: pulumi.Int(5000),\n\t\t\tPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"System\"),\n\t\t\t\t\tPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"\"),\n\t\t\t\t},\n\t\t\t\t\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\n\t\t\t\t\tPermissionPolicyType: pulumi.String(\"Inline\"),\n\t\t\t\t\tInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooUser, err := cloud_identity.NewUser(ctx, \"fooUser\", \u0026cloud_identity.UserArgs{\n\t\t\tUserName: pulumi.String(\"acc-test-user\"),\n\t\t\tDisplayName: pulumi.String(\"tf-test-user\"),\n\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\tPhone: pulumi.String(\"181\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooPermissionSetAssignment, err := cloud_identity.NewPermissionSetAssignment(ctx, \"fooPermissionSetAssignment\", \u0026cloud_identity.PermissionSetAssignmentArgs{\n\t\t\tPermissionSetId: fooPermissionSet.ID(),\n\t\t\tTargetId: pulumi.String(\"210026****\"),\n\t\t\tPrincipalType: pulumi.String(\"User\"),\n\t\t\tPrincipalId: fooUser.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = cloud_identity.GetPermissionSetAssignmentsOutput(ctx, cloud_identity.GetPermissionSetAssignmentsOutputArgs{\n\t\t\tPermissionSetId: fooPermissionSetAssignment.PermissionSetId,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignment;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetAssignmentArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetAssignmentsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooPermissionSet = new PermissionSet(\"fooPermissionSet\", PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n var fooUser = new User(\"fooUser\", UserArgs.builder() \n .userName(\"acc-test-user\")\n .displayName(\"tf-test-user\")\n .description(\"tf\")\n .email(\"88@qq.com\")\n .phone(\"181\")\n .build());\n\n var fooPermissionSetAssignment = new PermissionSetAssignment(\"fooPermissionSetAssignment\", PermissionSetAssignmentArgs.builder() \n .permissionSetId(fooPermissionSet.id())\n .targetId(\"210026****\")\n .principalType(\"User\")\n .principalId(fooUser.id())\n .build());\n\n final var fooPermissionSetAssignments = Cloud_identityFunctions.getPermissionSetAssignments(GetPermissionSetAssignmentsArgs.builder()\n .permissionSetId(fooPermissionSetAssignment.permissionSetId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooPermissionSet:\n type: volcengine:cloud_identity:PermissionSet\n properties:\n description: tf\n sessionDuration: 5000\n permissionPolicies:\n - permissionPolicyType: System\n permissionPolicyName: AdministratorAccess\n inlinePolicyDocument:\n - permissionPolicyType: System\n permissionPolicyName: ReadOnlyAccess\n inlinePolicyDocument:\n - permissionPolicyType: Inline\n inlinePolicyDocument: '{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}'\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n userName: acc-test-user\n displayName: tf-test-user\n description: tf\n email: 88@qq.com\n phone: '181'\n fooPermissionSetAssignment:\n type: volcengine:cloud_identity:PermissionSetAssignment\n properties:\n permissionSetId: ${fooPermissionSet.id}\n targetId: 210026****\n principalType: User\n principalId: ${fooUser.id}\nvariables:\n fooPermissionSetAssignments:\n fn::invoke:\n Function: volcengine:cloud_identity:getPermissionSetAssignments\n Arguments:\n permissionSetId: ${fooPermissionSetAssignment.permissionSetId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking PermissionSetAssignments.\n", "properties": { @@ -80538,7 +84861,8 @@ } }, "volcengine:cloud_identity/permissionSetProvisionings:PermissionSetProvisionings": { - "description": "Use this data source to query detailed information of cloud identity permission set provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.PermissionSetProvisionings({\n targetId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.permission_set_provisionings(target_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.PermissionSetProvisionings.Invoke(new()\n {\n TargetId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.PermissionSetProvisionings(ctx, \u0026cloud_identity.PermissionSetProvisioningsArgs{\n\t\t\tTargetId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.PermissionSetProvisionings(PermissionSetProvisioningsArgs.builder()\n .targetId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:PermissionSetProvisionings\n Arguments:\n targetId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings", + "description": "Use this data source to query detailed information of cloud identity permission set provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.getPermissionSetProvisionings({\n targetId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.get_permission_set_provisionings(target_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new()\n {\n TargetId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.GetPermissionSetProvisionings(ctx, \u0026cloud_identity.GetPermissionSetProvisioningsArgs{\n\t\t\tTargetId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.getPermissionSetProvisionings(GetPermissionSetProvisioningsArgs.builder()\n .targetId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:getPermissionSetProvisionings\n Arguments:\n targetId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking PermissionSetProvisionings.\n", "properties": { @@ -80603,7 +84927,8 @@ } }, "volcengine:cloud_identity/permissionSets:PermissionSets": { - "description": "Use this data source to query detailed information of cloud identity permission sets\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet: volcengine.cloud_identity.PermissionSet[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooPermissionSet.push(new volcengine.cloud_identity.PermissionSet(`fooPermissionSet-${range.value}`, {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n }));\n}\nconst fooPermissionSets = volcengine.cloud_identity.PermissionSetsOutput({\n ids: fooPermissionSet.map(__item =\u003e __item.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_permission_set.append(volcengine.cloud_identity.PermissionSet(f\"fooPermissionSet-{range['value']}\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ]))\nfoo_permission_sets = volcengine.cloud_identity.permission_sets_output(ids=[__item.id for __item in foo_permission_set])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new List\u003cVolcengine.Cloud_identity.PermissionSet\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooPermissionSet.Add(new Volcengine.Cloud_identity.PermissionSet($\"fooPermissionSet-{range.Value}\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n }));\n }\n var fooPermissionSets = Volcengine.Cloud_identity.PermissionSets.Invoke(new()\n {\n Ids = fooPermissionSet.Select(__item =\u003e __item.Id).ToList(),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nvar fooPermissionSet []*cloud_identity.PermissionSet\nfor index := 0; index \u003c 2; index++ {\n key0 := index\n _ := index\n__res, err := cloud_identity.NewPermissionSet(ctx, fmt.Sprintf(\"fooPermissionSet-%v\", key0), \u0026cloud_identity.PermissionSetArgs{\nDescription: pulumi.String(\"tf\"),\nSessionDuration: pulumi.Int(5000),\nPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"Inline\"),\nInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n},\n},\n})\nif err != nil {\nreturn err\n}\nfooPermissionSet = append(fooPermissionSet, __res)\n}\n_ = cloud_identity.PermissionSetsOutput(ctx, cloud_identity.PermissionSetsOutputArgs{\nIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:cloud_identity-permissionSets:PermissionSets.pp:23,9-31),\n}, nil);\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new PermissionSet(\"fooPermissionSet-\" + i, PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n \n}\n final var fooPermissionSets = Cloud_identityFunctions.PermissionSets(PermissionSetsArgs.builder()\n .ids(fooPermissionSet.stream().map(element -\u003e element.id()).collect(toList()))\n .build());\n\n }\n}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets", + "description": "Use this data source to query detailed information of cloud identity permission sets\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooPermissionSet: volcengine.cloud_identity.PermissionSet[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooPermissionSet.push(new volcengine.cloud_identity.PermissionSet(`fooPermissionSet-${range.value}`, {\n description: \"tf\",\n sessionDuration: 5000,\n permissionPolicies: [\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"AdministratorAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"System\",\n permissionPolicyName: \"ReadOnlyAccess\",\n inlinePolicyDocument: \"\",\n },\n {\n permissionPolicyType: \"Inline\",\n inlinePolicyDocument: \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n ],\n }));\n}\nconst fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({\n ids: fooPermissionSet.map(__item =\u003e __item.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_permission_set = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_permission_set.append(volcengine.cloud_identity.PermissionSet(f\"fooPermissionSet-{range['value']}\",\n description=\"tf\",\n session_duration=5000,\n permission_policies=[\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"AdministratorAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"System\",\n permission_policy_name=\"ReadOnlyAccess\",\n inline_policy_document=\"\",\n ),\n volcengine.cloud_identity.PermissionSetPermissionPolicyArgs(\n permission_policy_type=\"Inline\",\n inline_policy_document=\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n ),\n ]))\nfoo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooPermissionSet = new List\u003cVolcengine.Cloud_identity.PermissionSet\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooPermissionSet.Add(new Volcengine.Cloud_identity.PermissionSet($\"fooPermissionSet-{range.Value}\", new()\n {\n Description = \"tf\",\n SessionDuration = 5000,\n PermissionPolicies = new[]\n {\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"AdministratorAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"System\",\n PermissionPolicyName = \"ReadOnlyAccess\",\n InlinePolicyDocument = \"\",\n },\n new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs\n {\n PermissionPolicyType = \"Inline\",\n InlinePolicyDocument = \"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\",\n },\n },\n }));\n }\n var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new()\n {\n Ids = fooPermissionSet.Select(__item =\u003e __item.Id).ToList(),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nvar fooPermissionSet []*cloud_identity.PermissionSet\nfor index := 0; index \u003c 2; index++ {\n key0 := index\n _ := index\n__res, err := cloud_identity.NewPermissionSet(ctx, fmt.Sprintf(\"fooPermissionSet-%v\", key0), \u0026cloud_identity.PermissionSetArgs{\nDescription: pulumi.String(\"tf\"),\nSessionDuration: pulumi.Int(5000),\nPermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"AdministratorAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"System\"),\nPermissionPolicyName: pulumi.String(\"ReadOnlyAccess\"),\nInlinePolicyDocument: pulumi.String(\"\"),\n},\n\u0026cloud_identity.PermissionSetPermissionPolicyArgs{\nPermissionPolicyType: pulumi.String(\"Inline\"),\nInlinePolicyDocument: pulumi.String(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\"),\n},\n},\n})\nif err != nil {\nreturn err\n}\nfooPermissionSet = append(fooPermissionSet, __res)\n}\n_ = cloud_identity.GetPermissionSetsOutput(ctx, cloud_identity.GetPermissionSetsOutputArgs{\nIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:cloud_identity-permissionSets:PermissionSets.pp:23,9-31),\n}, nil);\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.PermissionSet;\nimport com.pulumi.volcengine.cloud_identity.PermissionSetArgs;\nimport com.pulumi.volcengine.cloud_identity.inputs.PermissionSetPermissionPolicyArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetPermissionSetsArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new PermissionSet(\"fooPermissionSet-\" + i, PermissionSetArgs.builder() \n .description(\"tf\")\n .sessionDuration(5000)\n .permissionPolicies( \n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"AdministratorAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"System\")\n .permissionPolicyName(\"ReadOnlyAccess\")\n .inlinePolicyDocument(\"\")\n .build(),\n PermissionSetPermissionPolicyArgs.builder()\n .permissionPolicyType(\"Inline\")\n .inlinePolicyDocument(\"{\\\"Statement\\\":[{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":[\\\"auto_scaling:DescribeScalingGroups\\\"],\\\"Resource\\\":[\\\"*\\\"]}]}\")\n .build())\n .build());\n\n \n}\n final var fooPermissionSets = Cloud_identityFunctions.getPermissionSets(GetPermissionSetsArgs.builder()\n .ids(fooPermissionSet.stream().map(element -\u003e element.id()).collect(toList()))\n .build());\n\n }\n}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking PermissionSets.\n", "properties": { @@ -80665,7 +84990,8 @@ } }, "volcengine:cloud_identity/userProvisionings:UserProvisionings": { - "description": "Use this data source to query detailed information of cloud identity user provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.UserProvisionings({\n accountId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.user_provisionings(account_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.UserProvisionings.Invoke(new()\n {\n AccountId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.UserProvisionings(ctx, \u0026cloud_identity.UserProvisioningsArgs{\n\t\t\tAccountId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.UserProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.UserProvisionings(UserProvisioningsArgs.builder()\n .accountId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:UserProvisionings\n Arguments:\n accountId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings", + "description": "Use this data source to query detailed information of cloud identity user provisionings\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst foo = volcengine.cloud_identity.getUserProvisionings({\n accountId: \"210026****\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo = volcengine.cloud_identity.get_user_provisionings(account_id=\"210026****\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new()\n {\n AccountId = \"210026****\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cloud_identity.GetUserProvisionings(ctx, \u0026cloud_identity.GetUserProvisioningsArgs{\n\t\t\tAccountId: pulumi.StringRef(\"210026****\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetUserProvisioningsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Cloud_identityFunctions.getUserProvisionings(GetUserProvisioningsArgs.builder()\n .accountId(\"210026****\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: volcengine:cloud_identity:getUserProvisionings\n Arguments:\n accountId: 210026****\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking UserProvisionings.\n", "properties": { @@ -80714,7 +85040,8 @@ } }, "volcengine:cloud_identity/users:Users": { - "description": "Use this data source to query detailed information of cloud identity users\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooUser: volcengine.cloud_identity.User[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooUser.push(new volcengine.cloud_identity.User(`fooUser-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-user-${range.value}`,\n email: \"88@qq.com\",\n phone: \"181\",\n userName: `acc-test-user-${range.value}`,\n }));\n}\nconst fooUsers = volcengine.cloud_identity.Users({\n source: \"Manual\",\n userName: \"acc-test-user\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_user = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_user.append(volcengine.cloud_identity.User(f\"fooUser-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-user-{range['value']}\",\n email=\"88@qq.com\",\n phone=\"181\",\n user_name=f\"acc-test-user-{range['value']}\"))\nfoo_users = volcengine.cloud_identity.users(source=\"Manual\",\n user_name=\"acc-test-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooUser = new List\u003cVolcengine.Cloud_identity.User\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooUser.Add(new Volcengine.Cloud_identity.User($\"fooUser-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-user-{range.Value}\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n UserName = $\"acc-test-user-{range.Value}\",\n }));\n }\n var fooUsers = Volcengine.Cloud_identity.Users.Invoke(new()\n {\n Source = \"Manual\",\n UserName = \"acc-test-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooUser []*cloud_identity.User\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewUser(ctx, fmt.Sprintf(\"fooUser-%v\", key0), \u0026cloud_identity.UserArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-user-%v\", val0)),\n\t\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\t\tPhone: pulumi.String(\"181\"),\n\t\t\t\tUserName: pulumi.String(fmt.Sprintf(\"acc-test-user-%v\", val0)),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooUser = append(fooUser, __res)\n\t\t}\n\t\t_, err = cloud_identity.Users(ctx, \u0026cloud_identity.UsersArgs{\n\t\t\tSource: pulumi.StringRef(\"Manual\"),\n\t\t\tUserName: pulumi.StringRef(\"acc-test-user\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.UsersArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new User(\"fooUser-\" + i, UserArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-user-%s\", range.value()))\n .email(\"88@qq.com\")\n .phone(\"181\")\n .userName(String.format(\"acc-test-user-%s\", range.value()))\n .build());\n\n \n}\n final var fooUsers = Cloud_identityFunctions.Users(UsersArgs.builder()\n .source(\"Manual\")\n .userName(\"acc-test-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n description: tf\n displayName: tf-test-user-${range.value}\n email: 88@qq.com\n phone: '181'\n userName: acc-test-user-${range.value}\n options: {}\nvariables:\n fooUsers:\n fn::invoke:\n Function: volcengine:cloud_identity:Users\n Arguments:\n source: Manual\n userName: acc-test-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers", + "description": "Use this data source to query detailed information of cloud identity users\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooUser: volcengine.cloud_identity.User[] = [];\nfor (const range = {value: 0}; range.value \u003c 2; range.value++) {\n fooUser.push(new volcengine.cloud_identity.User(`fooUser-${range.value}`, {\n description: \"tf\",\n displayName: `tf-test-user-${range.value}`,\n email: \"88@qq.com\",\n phone: \"181\",\n userName: `acc-test-user-${range.value}`,\n }));\n}\nconst fooUsers = volcengine.cloud_identity.getUsers({\n source: \"Manual\",\n userName: \"acc-test-user\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_user = []\nfor range in [{\"value\": i} for i in range(0, 2)]:\n foo_user.append(volcengine.cloud_identity.User(f\"fooUser-{range['value']}\",\n description=\"tf\",\n display_name=f\"tf-test-user-{range['value']}\",\n email=\"88@qq.com\",\n phone=\"181\",\n user_name=f\"acc-test-user-{range['value']}\"))\nfoo_users = volcengine.cloud_identity.get_users(source=\"Manual\",\n user_name=\"acc-test-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooUser = new List\u003cVolcengine.Cloud_identity.User\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 2; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n fooUser.Add(new Volcengine.Cloud_identity.User($\"fooUser-{range.Value}\", new()\n {\n Description = \"tf\",\n DisplayName = $\"tf-test-user-{range.Value}\",\n Email = \"88@qq.com\",\n Phone = \"181\",\n UserName = $\"acc-test-user-{range.Value}\",\n }));\n }\n var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new()\n {\n Source = \"Manual\",\n UserName = \"acc-test-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvar fooUser []*cloud_identity.User\n\t\tfor index := 0; index \u003c 2; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := cloud_identity.NewUser(ctx, fmt.Sprintf(\"fooUser-%v\", key0), \u0026cloud_identity.UserArgs{\n\t\t\t\tDescription: pulumi.String(\"tf\"),\n\t\t\t\tDisplayName: pulumi.String(fmt.Sprintf(\"tf-test-user-%v\", val0)),\n\t\t\t\tEmail: pulumi.String(\"88@qq.com\"),\n\t\t\t\tPhone: pulumi.String(\"181\"),\n\t\t\t\tUserName: pulumi.String(fmt.Sprintf(\"acc-test-user-%v\", val0)),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tfooUser = append(fooUser, __res)\n\t\t}\n\t\t_, err = cloud_identity.GetUsers(ctx, \u0026cloud_identity.GetUsersArgs{\n\t\t\tSource: pulumi.StringRef(\"Manual\"),\n\t\t\tUserName: pulumi.StringRef(\"acc-test-user\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.cloud_identity.User;\nimport com.pulumi.volcengine.cloud_identity.UserArgs;\nimport com.pulumi.volcengine.cloud_identity.Cloud_identityFunctions;\nimport com.pulumi.volcengine.cloud_identity.inputs.GetUsersArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n for (var i = 0; i \u003c 2; i++) {\n new User(\"fooUser-\" + i, UserArgs.builder() \n .description(\"tf\")\n .displayName(String.format(\"tf-test-user-%s\", range.value()))\n .email(\"88@qq.com\")\n .phone(\"181\")\n .userName(String.format(\"acc-test-user-%s\", range.value()))\n .build());\n\n \n}\n final var fooUsers = Cloud_identityFunctions.getUsers(GetUsersArgs.builder()\n .source(\"Manual\")\n .userName(\"acc-test-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooUser:\n type: volcengine:cloud_identity:User\n properties:\n description: tf\n displayName: tf-test-user-${range.value}\n email: 88@qq.com\n phone: '181'\n userName: acc-test-user-${range.value}\n options: {}\nvariables:\n fooUsers:\n fn::invoke:\n Function: volcengine:cloud_identity:getUsers\n Arguments:\n source: Manual\n userName: acc-test-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Users.\n", "properties": { @@ -84560,8 +88887,352 @@ ] } }, + "volcengine:escloud/getInstances:getInstances": { + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet_new\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstance = new volcengine.escloud.Instance(\"fooInstance\", {instanceConfiguration: {\n version: \"V6_7\",\n zoneNumber: 1,\n enableHttps: true,\n adminUserName: \"admin\",\n adminPassword: \"Password@@\",\n chargeType: \"PostPaid\",\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n instanceName: \"acc-test-0\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x4.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Hot\",\n number: 2,\n resourceSpecName: \"es.x4.large\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n },\n ],\n subnetId: fooSubnet.id,\n projectName: \"default\",\n forceRestartAfterScale: false,\n}});\nconst fooInstances = volcengine.escloud.getInstancesOutput({\n ids: [fooInstance.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet_new\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance = volcengine.escloud.Instance(\"fooInstance\", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(\n version=\"V6_7\",\n zone_number=1,\n enable_https=True,\n admin_user_name=\"admin\",\n admin_password=\"Password@@\",\n charge_type=\"PostPaid\",\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n instance_name=\"acc-test-0\",\n node_specs_assigns=[\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x4.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Hot\",\n number=2,\n resource_spec_name=\"es.x4.large\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n ),\n ],\n subnet_id=foo_subnet.id,\n project_name=\"default\",\n force_restart_after_scale=False,\n))\nfoo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet_new\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstance = new Volcengine.Escloud.Instance(\"fooInstance\", new()\n {\n InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs\n {\n Version = \"V6_7\",\n ZoneNumber = 1,\n EnableHttps = true,\n AdminUserName = \"admin\",\n AdminPassword = \"Password@@\",\n ChargeType = \"PostPaid\",\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n InstanceName = \"acc-test-0\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x4.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 2,\n ResourceSpecName = \"es.x4.large\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n },\n },\n SubnetId = fooSubnet.Id,\n ProjectName = \"default\",\n ForceRestartAfterScale = false,\n },\n });\n\n var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new()\n {\n Ids = new[]\n {\n fooInstance.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet_new\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstance, err := escloud.NewInstance(ctx, \"fooInstance\", \u0026escloud.InstanceArgs{\n\t\t\tInstanceConfiguration: \u0026escloud.InstanceInstanceConfigurationArgs{\n\t\t\t\tVersion: pulumi.String(\"V6_7\"),\n\t\t\t\tZoneNumber: pulumi.Int(1),\n\t\t\t\tEnableHttps: pulumi.Bool(true),\n\t\t\t\tAdminUserName: pulumi.String(\"admin\"),\n\t\t\t\tAdminPassword: pulumi.String(\"Password@@\"),\n\t\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\t\tInstanceName: pulumi.String(\"acc-test-0\"),\n\t\t\t\tNodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.medium\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\t\tNumber: pulumi.Int(2),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.large\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\t\tForceRestartAfterScale: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = escloud.GetInstancesOutput(ctx, escloud.GetInstancesOutputArgs{\n\t\t\tIds: pulumi.StringArray{\n\t\t\t\tfooInstance.ID(),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.Instance;\nimport com.pulumi.volcengine.escloud.InstanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetInstancesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet_new\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .instanceConfiguration(InstanceInstanceConfigurationArgs.builder()\n .version(\"V6_7\")\n .zoneNumber(1)\n .enableHttps(true)\n .adminUserName(\"admin\")\n .adminPassword(\"Password@@\")\n .chargeType(\"PostPaid\")\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .instanceName(\"acc-test-0\")\n .nodeSpecsAssigns( \n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x4.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(2)\n .resourceSpecName(\"es.x4.large\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .build())\n .subnetId(fooSubnet.id())\n .projectName(\"default\")\n .forceRestartAfterScale(false)\n .build())\n .build());\n\n final var fooInstances = EscloudFunctions.getInstances(GetInstancesArgs.builder()\n .ids(fooInstance.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet_new\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstance:\n type: volcengine:escloud:Instance\n properties:\n instanceConfiguration:\n version: V6_7\n zoneNumber: 1\n enableHttps: true\n adminUserName: admin\n adminPassword: Password@@\n chargeType: PostPaid\n configurationCode: es.standard\n enablePureMaster: true\n instanceName: acc-test-0\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x4.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Hot\n number: 2\n resourceSpecName: es.x4.large\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n subnetId: ${fooSubnet.id}\n projectName: default\n forceRestartAfterScale: false\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n fooInstances:\n fn::invoke:\n Function: volcengine:escloud:getInstances\n Arguments:\n ids:\n - ${fooInstance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getInstances.\n", + "properties": { + "chargeTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The charge types of instance.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of instance IDs.\n" + }, + "names": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The names of instance.\n" + }, + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "statuses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list status of instance.\n" + }, + "versions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The versions of instance.\n" + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The available zone IDs of instance.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getInstances.\n", + "properties": { + "chargeTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "instances": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesInstance:getInstancesInstance" + }, + "description": "The collection of instance query.\n" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "outputFile": { + "type": "string" + }, + "statuses": { + "type": "array", + "items": { + "type": "string" + } + }, + "totalCount": { + "type": "integer", + "description": "The total count of instance query.\n" + }, + "versions": { + "type": "array", + "items": { + "type": "string" + } + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "instances", + "totalCount", + "id" + ] + } + }, + "volcengine:escloud/getInstancesV2:getInstancesV2": { + "inputs": { + "description": "A collection of arguments for invoking getInstancesV2.\n", + "properties": { + "chargeTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "instanceNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "outputFile": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "statuses": { + "type": "array", + "items": { + "type": "string" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2Tag:getInstancesV2Tag" + } + }, + "versions": { + "type": "array", + "items": { + "type": "string" + } + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getInstancesV2.\n", + "properties": { + "chargeTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "instanceNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "instances": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2Instance:getInstancesV2Instance" + } + }, + "outputFile": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "statuses": { + "type": "array", + "items": { + "type": "string" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getInstancesV2Tag:getInstancesV2Tag" + } + }, + "totalCount": { + "type": "integer" + }, + "versions": { + "type": "array", + "items": { + "type": "string" + } + }, + "zoneIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "instances", + "totalCount", + "id" + ] + } + }, + "volcengine:escloud/getRegions:getRegions": { + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.getRegions({});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.get_regions()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.GetRegions.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.GetRegions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.getRegions();\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:getRegions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getRegions.\n", + "properties": { + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getRegions.\n", + "properties": { + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "outputFile": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getRegionsRegion:getRegionsRegion" + }, + "description": "The collection of region query.\n" + }, + "totalCount": { + "type": "integer", + "description": "The total count of region query.\n" + } + }, + "type": "object", + "required": [ + "regions", + "totalCount", + "id" + ] + } + }, + "volcengine:escloud/getZones:getZones": { + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.getZones({\n regionId: \"xxx\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.get_zones(region_id=\"xxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.GetZones.Invoke(new()\n {\n RegionId = \"xxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.GetZones(ctx, \u0026escloud.GetZonesArgs{\n\t\t\tRegionId: \"xxx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetZonesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.getZones(GetZonesArgs.builder()\n .regionId(\"xxx\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:getZones\n Arguments:\n regionId: xxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getZones.\n", + "properties": { + "outputFile": { + "type": "string", + "description": "File name where to save data source results.\n" + }, + "regionId": { + "type": "string", + "description": "The Id of Region.\n" + } + }, + "type": "object", + "required": [ + "regionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getZones.\n", + "properties": { + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "outputFile": { + "type": "string" + }, + "regionId": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "description": "The total count of zone query.\n" + }, + "zones": { + "type": "array", + "items": { + "$ref": "#/types/volcengine:escloud/getZonesZone:getZonesZone" + }, + "description": "The collection of zone query.\n" + } + }, + "type": "object", + "required": [ + "regionId", + "totalCount", + "zones", + "id" + ] + } + }, "volcengine:escloud/instances:Instances": { - "description": "(Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet_new\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstance = new volcengine.escloud.Instance(\"fooInstance\", {instanceConfiguration: {\n version: \"V6_7\",\n zoneNumber: 1,\n enableHttps: true,\n adminUserName: \"admin\",\n adminPassword: \"Password@@\",\n chargeType: \"PostPaid\",\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n instanceName: \"acc-test-0\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x4.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Hot\",\n number: 2,\n resourceSpecName: \"es.x4.large\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n },\n ],\n subnetId: fooSubnet.id,\n projectName: \"default\",\n forceRestartAfterScale: false,\n}});\nconst fooInstances = volcengine.escloud.InstancesOutput({\n ids: [fooInstance.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet_new\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance = volcengine.escloud.Instance(\"fooInstance\", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(\n version=\"V6_7\",\n zone_number=1,\n enable_https=True,\n admin_user_name=\"admin\",\n admin_password=\"Password@@\",\n charge_type=\"PostPaid\",\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n instance_name=\"acc-test-0\",\n node_specs_assigns=[\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x4.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Hot\",\n number=2,\n resource_spec_name=\"es.x4.large\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n ),\n ],\n subnet_id=foo_subnet.id,\n project_name=\"default\",\n force_restart_after_scale=False,\n))\nfoo_instances = volcengine.escloud.instances_output(ids=[foo_instance.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet_new\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstance = new Volcengine.Escloud.Instance(\"fooInstance\", new()\n {\n InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs\n {\n Version = \"V6_7\",\n ZoneNumber = 1,\n EnableHttps = true,\n AdminUserName = \"admin\",\n AdminPassword = \"Password@@\",\n ChargeType = \"PostPaid\",\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n InstanceName = \"acc-test-0\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x4.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 2,\n ResourceSpecName = \"es.x4.large\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n },\n },\n SubnetId = fooSubnet.Id,\n ProjectName = \"default\",\n ForceRestartAfterScale = false,\n },\n });\n\n var fooInstances = Volcengine.Escloud.Instances.Invoke(new()\n {\n Ids = new[]\n {\n fooInstance.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet_new\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstance, err := escloud.NewInstance(ctx, \"fooInstance\", \u0026escloud.InstanceArgs{\n\t\t\tInstanceConfiguration: \u0026escloud.InstanceInstanceConfigurationArgs{\n\t\t\t\tVersion: pulumi.String(\"V6_7\"),\n\t\t\t\tZoneNumber: pulumi.Int(1),\n\t\t\t\tEnableHttps: pulumi.Bool(true),\n\t\t\t\tAdminUserName: pulumi.String(\"admin\"),\n\t\t\t\tAdminPassword: pulumi.String(\"Password@@\"),\n\t\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\t\tInstanceName: pulumi.String(\"acc-test-0\"),\n\t\t\t\tNodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.medium\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\t\tNumber: pulumi.Int(2),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.large\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\t\tForceRestartAfterScale: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = escloud.InstancesOutput(ctx, escloud.InstancesOutputArgs{\n\t\t\tIds: pulumi.StringArray{\n\t\t\t\tfooInstance.ID(),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.Instance;\nimport com.pulumi.volcengine.escloud.InstanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.InstancesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet_new\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .instanceConfiguration(InstanceInstanceConfigurationArgs.builder()\n .version(\"V6_7\")\n .zoneNumber(1)\n .enableHttps(true)\n .adminUserName(\"admin\")\n .adminPassword(\"Password@@\")\n .chargeType(\"PostPaid\")\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .instanceName(\"acc-test-0\")\n .nodeSpecsAssigns( \n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x4.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(2)\n .resourceSpecName(\"es.x4.large\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .build())\n .subnetId(fooSubnet.id())\n .projectName(\"default\")\n .forceRestartAfterScale(false)\n .build())\n .build());\n\n final var fooInstances = EscloudFunctions.Instances(InstancesArgs.builder()\n .ids(fooInstance.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet_new\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstance:\n type: volcengine:escloud:Instance\n properties:\n instanceConfiguration:\n version: V6_7\n zoneNumber: 1\n enableHttps: true\n adminUserName: admin\n adminPassword: Password@@\n chargeType: PostPaid\n configurationCode: es.standard\n enablePureMaster: true\n instanceName: acc-test-0\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x4.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Hot\n number: 2\n resourceSpecName: es.x4.large\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n subnetId: ${fooSubnet.id}\n projectName: default\n forceRestartAfterScale: false\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n fooInstances:\n fn::invoke:\n Function: volcengine:escloud:Instances\n Arguments:\n ids:\n - ${fooInstance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances", + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\nimport * as volcengine from \"@volcengine/pulumi\";\n\nconst fooZones = volcengine.ecs.Zones({});\nconst fooVpc = new volcengine.vpc.Vpc(\"fooVpc\", {\n vpcName: \"acc-test-vpc\",\n cidrBlock: \"172.16.0.0/16\",\n});\nconst fooSubnet = new volcengine.vpc.Subnet(\"fooSubnet\", {\n subnetName: \"acc-test-subnet_new\",\n description: \"tfdesc\",\n cidrBlock: \"172.16.0.0/24\",\n zoneId: fooZones.then(fooZones =\u003e fooZones.zones?.[0]?.id),\n vpcId: fooVpc.id,\n});\nconst fooInstance = new volcengine.escloud.Instance(\"fooInstance\", {instanceConfiguration: {\n version: \"V6_7\",\n zoneNumber: 1,\n enableHttps: true,\n adminUserName: \"admin\",\n adminPassword: \"Password@@\",\n chargeType: \"PostPaid\",\n configurationCode: \"es.standard\",\n enablePureMaster: true,\n instanceName: \"acc-test-0\",\n nodeSpecsAssigns: [\n {\n type: \"Master\",\n number: 3,\n resourceSpecName: \"es.x4.medium\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Hot\",\n number: 2,\n resourceSpecName: \"es.x4.large\",\n storageSpecName: \"es.volume.essd.pl0\",\n storageSize: 100,\n },\n {\n type: \"Kibana\",\n number: 1,\n resourceSpecName: \"kibana.x2.small\",\n },\n ],\n subnetId: fooSubnet.id,\n projectName: \"default\",\n forceRestartAfterScale: false,\n}});\nconst fooInstances = volcengine.escloud.getInstancesOutput({\n ids: [fooInstance.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\nfoo_zones = volcengine.ecs.zones()\nfoo_vpc = volcengine.vpc.Vpc(\"fooVpc\",\n vpc_name=\"acc-test-vpc\",\n cidr_block=\"172.16.0.0/16\")\nfoo_subnet = volcengine.vpc.Subnet(\"fooSubnet\",\n subnet_name=\"acc-test-subnet_new\",\n description=\"tfdesc\",\n cidr_block=\"172.16.0.0/24\",\n zone_id=foo_zones.zones[0].id,\n vpc_id=foo_vpc.id)\nfoo_instance = volcengine.escloud.Instance(\"fooInstance\", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(\n version=\"V6_7\",\n zone_number=1,\n enable_https=True,\n admin_user_name=\"admin\",\n admin_password=\"Password@@\",\n charge_type=\"PostPaid\",\n configuration_code=\"es.standard\",\n enable_pure_master=True,\n instance_name=\"acc-test-0\",\n node_specs_assigns=[\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Master\",\n number=3,\n resource_spec_name=\"es.x4.medium\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Hot\",\n number=2,\n resource_spec_name=\"es.x4.large\",\n storage_spec_name=\"es.volume.essd.pl0\",\n storage_size=100,\n ),\n volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(\n type=\"Kibana\",\n number=1,\n resource_spec_name=\"kibana.x2.small\",\n ),\n ],\n subnet_id=foo_subnet.id,\n project_name=\"default\",\n force_restart_after_scale=False,\n))\nfoo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooZones = Volcengine.Ecs.Zones.Invoke();\n\n var fooVpc = new Volcengine.Vpc.Vpc(\"fooVpc\", new()\n {\n VpcName = \"acc-test-vpc\",\n CidrBlock = \"172.16.0.0/16\",\n });\n\n var fooSubnet = new Volcengine.Vpc.Subnet(\"fooSubnet\", new()\n {\n SubnetName = \"acc-test-subnet_new\",\n Description = \"tfdesc\",\n CidrBlock = \"172.16.0.0/24\",\n ZoneId = fooZones.Apply(zonesResult =\u003e zonesResult.Zones[0]?.Id),\n VpcId = fooVpc.Id,\n });\n\n var fooInstance = new Volcengine.Escloud.Instance(\"fooInstance\", new()\n {\n InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs\n {\n Version = \"V6_7\",\n ZoneNumber = 1,\n EnableHttps = true,\n AdminUserName = \"admin\",\n AdminPassword = \"Password@@\",\n ChargeType = \"PostPaid\",\n ConfigurationCode = \"es.standard\",\n EnablePureMaster = true,\n InstanceName = \"acc-test-0\",\n NodeSpecsAssigns = new[]\n {\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Master\",\n Number = 3,\n ResourceSpecName = \"es.x4.medium\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Hot\",\n Number = 2,\n ResourceSpecName = \"es.x4.large\",\n StorageSpecName = \"es.volume.essd.pl0\",\n StorageSize = 100,\n },\n new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs\n {\n Type = \"Kibana\",\n Number = 1,\n ResourceSpecName = \"kibana.x2.small\",\n },\n },\n SubnetId = fooSubnet.Id,\n ProjectName = \"default\",\n ForceRestartAfterScale = false,\n },\n });\n\n var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new()\n {\n Ids = new[]\n {\n fooInstance.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooZones, err := ecs.Zones(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooVpc, err := vpc.NewVpc(ctx, \"fooVpc\", \u0026vpc.VpcArgs{\n\t\t\tVpcName: pulumi.String(\"acc-test-vpc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooSubnet, err := vpc.NewSubnet(ctx, \"fooSubnet\", \u0026vpc.SubnetArgs{\n\t\t\tSubnetName: pulumi.String(\"acc-test-subnet_new\"),\n\t\t\tDescription: pulumi.String(\"tfdesc\"),\n\t\t\tCidrBlock: pulumi.String(\"172.16.0.0/24\"),\n\t\t\tZoneId: pulumi.String(fooZones.Zones[0].Id),\n\t\t\tVpcId: fooVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooInstance, err := escloud.NewInstance(ctx, \"fooInstance\", \u0026escloud.InstanceArgs{\n\t\t\tInstanceConfiguration: \u0026escloud.InstanceInstanceConfigurationArgs{\n\t\t\t\tVersion: pulumi.String(\"V6_7\"),\n\t\t\t\tZoneNumber: pulumi.Int(1),\n\t\t\t\tEnableHttps: pulumi.Bool(true),\n\t\t\t\tAdminUserName: pulumi.String(\"admin\"),\n\t\t\t\tAdminPassword: pulumi.String(\"Password@@\"),\n\t\t\t\tChargeType: pulumi.String(\"PostPaid\"),\n\t\t\t\tConfigurationCode: pulumi.String(\"es.standard\"),\n\t\t\t\tEnablePureMaster: pulumi.Bool(true),\n\t\t\t\tInstanceName: pulumi.String(\"acc-test-0\"),\n\t\t\t\tNodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Master\"),\n\t\t\t\t\t\tNumber: pulumi.Int(3),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.medium\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Hot\"),\n\t\t\t\t\t\tNumber: pulumi.Int(2),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"es.x4.large\"),\n\t\t\t\t\t\tStorageSpecName: pulumi.String(\"es.volume.essd.pl0\"),\n\t\t\t\t\t\tStorageSize: pulumi.Int(100),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{\n\t\t\t\t\t\tType: pulumi.String(\"Kibana\"),\n\t\t\t\t\t\tNumber: pulumi.Int(1),\n\t\t\t\t\t\tResourceSpecName: pulumi.String(\"kibana.x2.small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSubnetId: fooSubnet.ID(),\n\t\t\t\tProjectName: pulumi.String(\"default\"),\n\t\t\t\tForceRestartAfterScale: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = escloud.GetInstancesOutput(ctx, escloud.GetInstancesOutputArgs{\n\t\t\tIds: pulumi.StringArray{\n\t\t\t\tfooInstance.ID(),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.ecs.EcsFunctions;\nimport com.pulumi.volcengine.ecs.inputs.ZonesArgs;\nimport com.pulumi.volcengine.vpc.Vpc;\nimport com.pulumi.volcengine.vpc.VpcArgs;\nimport com.pulumi.volcengine.vpc.Subnet;\nimport com.pulumi.volcengine.vpc.SubnetArgs;\nimport com.pulumi.volcengine.escloud.Instance;\nimport com.pulumi.volcengine.escloud.InstanceArgs;\nimport com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetInstancesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var fooZones = EcsFunctions.Zones();\n\n var fooVpc = new Vpc(\"fooVpc\", VpcArgs.builder() \n .vpcName(\"acc-test-vpc\")\n .cidrBlock(\"172.16.0.0/16\")\n .build());\n\n var fooSubnet = new Subnet(\"fooSubnet\", SubnetArgs.builder() \n .subnetName(\"acc-test-subnet_new\")\n .description(\"tfdesc\")\n .cidrBlock(\"172.16.0.0/24\")\n .zoneId(fooZones.applyValue(zonesResult -\u003e zonesResult.zones()[0].id()))\n .vpcId(fooVpc.id())\n .build());\n\n var fooInstance = new Instance(\"fooInstance\", InstanceArgs.builder() \n .instanceConfiguration(InstanceInstanceConfigurationArgs.builder()\n .version(\"V6_7\")\n .zoneNumber(1)\n .enableHttps(true)\n .adminUserName(\"admin\")\n .adminPassword(\"Password@@\")\n .chargeType(\"PostPaid\")\n .configurationCode(\"es.standard\")\n .enablePureMaster(true)\n .instanceName(\"acc-test-0\")\n .nodeSpecsAssigns( \n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Master\")\n .number(3)\n .resourceSpecName(\"es.x4.medium\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Hot\")\n .number(2)\n .resourceSpecName(\"es.x4.large\")\n .storageSpecName(\"es.volume.essd.pl0\")\n .storageSize(100)\n .build(),\n InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()\n .type(\"Kibana\")\n .number(1)\n .resourceSpecName(\"kibana.x2.small\")\n .build())\n .subnetId(fooSubnet.id())\n .projectName(\"default\")\n .forceRestartAfterScale(false)\n .build())\n .build());\n\n final var fooInstances = EscloudFunctions.getInstances(GetInstancesArgs.builder()\n .ids(fooInstance.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooVpc:\n type: volcengine:vpc:Vpc\n properties:\n vpcName: acc-test-vpc\n cidrBlock: 172.16.0.0/16\n fooSubnet:\n type: volcengine:vpc:Subnet\n properties:\n subnetName: acc-test-subnet_new\n description: tfdesc\n cidrBlock: 172.16.0.0/24\n zoneId: ${fooZones.zones[0].id}\n vpcId: ${fooVpc.id}\n fooInstance:\n type: volcengine:escloud:Instance\n properties:\n instanceConfiguration:\n version: V6_7\n zoneNumber: 1\n enableHttps: true\n adminUserName: admin\n adminPassword: Password@@\n chargeType: PostPaid\n configurationCode: es.standard\n enablePureMaster: true\n instanceName: acc-test-0\n nodeSpecsAssigns:\n - type: Master\n number: 3\n resourceSpecName: es.x4.medium\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Hot\n number: 2\n resourceSpecName: es.x4.large\n storageSpecName: es.volume.essd.pl0\n storageSize: 100\n - type: Kibana\n number: 1\n resourceSpecName: kibana.x2.small\n subnetId: ${fooSubnet.id}\n projectName: default\n forceRestartAfterScale: false\nvariables:\n fooZones:\n fn::invoke:\n Function: volcengine:ecs:Zones\n Arguments: {}\n fooInstances:\n fn::invoke:\n Function: volcengine:escloud:getInstances\n Arguments:\n ids:\n - ${fooInstance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Instances.\n", "properties": { @@ -84681,7 +89352,8 @@ } }, "volcengine:escloud/regions:Regions": { - "description": "(Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.Regions({});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.regions()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.Regions.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.Regions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.RegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.Regions();\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:Regions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions", + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.getRegions({});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.get_regions()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.GetRegions.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.GetRegions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.getRegions();\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:getRegions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Regions.\n", "properties": { @@ -84723,7 +89395,8 @@ } }, "volcengine:escloud/zones:Zones": { - "description": "(Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.Zones({\n regionId: \"xxx\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.zones(region_id=\"xxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.Zones.Invoke(new()\n {\n RegionId = \"xxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.Zones(ctx, \u0026escloud.ZonesArgs{\n\t\t\tRegionId: \"xxx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.ZonesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.Zones(ZonesArgs.builder()\n .regionId(\"xxx\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:Zones\n Arguments:\n regionId: xxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "deprecationMessage": "volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones", + "description": "(Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as volcengine from \"@pulumi/volcengine\";\n\nconst default = volcengine.escloud.getZones({\n regionId: \"xxx\",\n});\n```\n```python\nimport pulumi\nimport pulumi_volcengine as volcengine\n\ndefault = volcengine.escloud.get_zones(region_id=\"xxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Volcengine = Pulumi.Volcengine;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Volcengine.Escloud.GetZones.Invoke(new()\n {\n RegionId = \"xxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := escloud.GetZones(ctx, \u0026escloud.GetZonesArgs{\n\t\t\tRegionId: \"xxx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.volcengine.escloud.EscloudFunctions;\nimport com.pulumi.volcengine.escloud.inputs.GetZonesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = EscloudFunctions.getZones(GetZonesArgs.builder()\n .regionId(\"xxx\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: volcengine:escloud:getZones\n Arguments:\n regionId: xxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking Zones.\n", "properties": { @@ -84776,6 +89449,7 @@ } }, "volcengine:escloud_v2/escloudInstancesV2:EscloudInstancesV2": { + "deprecationMessage": "volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2", "inputs": { "description": "A collection of arguments for invoking EscloudInstancesV2.\n", "properties": { diff --git a/provider/resources.go b/provider/resources.go index 7da80e12..3da4427a 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -18,8 +18,12 @@ import ( "fmt" "path/filepath" + // The linter requires unnamed imports to have a doc comment + _ "embed" + "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" + tks "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens" shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim" shimv1 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1" "github.com/pulumi/pulumi/sdk/v3/go/common/resource" @@ -52,7 +56,6 @@ const ( volcengineVpnMod = "vpn" volcengineAlbMod = "alb" volcengineEbsMod = "ebs" - volcengineEscloudV2Mod = "escloud_v2" volcengineIamMod = "iam" volcengineOrganizationMod = "organization" volcengineVepfsMod = "vepfs" @@ -98,6 +101,9 @@ func dataSourceType(mod string, res string) tokens.ModuleMember { return tfbridge.MakeDataSource(volcenginePkg, mod, res) } +//go:embed cmd/pulumi-resource-volcengine/bridge-metadata.json +var metadata []byte + // Provider returns additional overlaid schema and metadata associated with the provider.. func Provider() tfbridge.ProviderInfo { // Instantiate the Terraform provider @@ -130,6 +136,7 @@ func Provider() tfbridge.ProviderInfo { Homepage: "https://volcengine.com", Repository: "https://github.com/volcengine/pulumi-volcengine", GitHubOrg: "volcengine", + MetadataInfo: tfbridge.NewProviderMetadata(metadata), Config: map[string]*tfbridge.SchemaInfo{ "region": { Default: &tfbridge.DefaultInfo{ @@ -222,7 +229,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_vpc": {Tok: resourceType(volcengineVpcMod, "Vpc")}, "volcengine_network_acl": {Tok: resourceType(volcengineVpcMod, "NetworkAcl")}, "volcengine_ha_vip_associate": {Tok: resourceType(volcengineVpcMod, "HaVipAssociate")}, - "volcengine_escloud_instance": {Tok: resourceType(volcengineEscloudMod, "Instance")}, "volcengine_iam_access_key": {Tok: resourceType(volcengineIamMod, "AccessKey")}, "volcengine_iam_user_policy_attachment": {Tok: resourceType(volcengineIamMod, "UserPolicyAttachment")}, "volcengine_iam_login_profile": {Tok: resourceType(volcengineIamMod, "LoginProfile")}, @@ -285,13 +291,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_private_zone_record": {Tok: resourceType(volcenginePrivateZoneMod, "Record")}, "volcengine_private_zone_user_vpc_authorization": {Tok: resourceType(volcenginePrivateZoneMod, "UserVpcAuthorization")}, "volcengine_private_zone_record_weight_enabler": {Tok: resourceType(volcenginePrivateZoneMod, "RecordWeightEnabler")}, - "volcengine_cloud_identity_permission_set_provisioning": {Tok: resourceType(volcengineCloudIdentityMod, "PermissionSetProvisioning")}, - "volcengine_cloud_identity_permission_set": {Tok: resourceType(volcengineCloudIdentityMod, "PermissionSet")}, - "volcengine_cloud_identity_permission_set_assignment": {Tok: resourceType(volcengineCloudIdentityMod, "PermissionSetAssignment")}, - "volcengine_cloud_identity_user_provisioning": {Tok: resourceType(volcengineCloudIdentityMod, "UserProvisioning")}, - "volcengine_cloud_identity_user_attachment": {Tok: resourceType(volcengineCloudIdentityMod, "UserAttachment")}, - "volcengine_cloud_identity_group": {Tok: resourceType(volcengineCloudIdentityMod, "Group")}, - "volcengine_cloud_identity_user": {Tok: resourceType(volcengineCloudIdentityMod, "User")}, "volcengine_mongodb_ssl_state": {Tok: resourceType(volcengineMongodbMod, "SslState")}, "volcengine_mongodb_endpoint": {Tok: resourceType(volcengineMongodbMod, "Endpoint")}, "volcengine_mongodb_allow_list_associate": {Tok: resourceType(volcengineMongodbMod, "MongoAllowListAssociate")}, @@ -299,8 +298,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_mongodb_instance_parameter": {Tok: resourceType(volcengineMongodbMod, "InstanceParameter")}, "volcengine_mongodb_allow_list": {Tok: resourceType(volcengineMongodbMod, "MongoAllowList")}, "volcengine_mongodb_account": {Tok: resourceType(volcengineMongodbMod, "Account")}, - "volcengine_escloud_ip_white_list": {Tok: resourceType(volcengineEscloudV2Mod, "EscloudIpWhiteList")}, - "volcengine_escloud_instance_v2": {Tok: resourceType(volcengineEscloudV2Mod, "EscloudInstanceV2")}, "volcengine_nas_snapshot": {Tok: resourceType(volcengineNasMod, "Snapshot")}, "volcengine_nas_file_system": {Tok: resourceType(volcengineNasMod, "FileSystem")}, "volcengine_nas_permission_group": {Tok: resourceType(volcengineNasMod, "PermissionGroup")}, @@ -325,7 +322,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_kafka_group": {Tok: resourceType(volcengineKafkaMod, "Group")}, "volcengine_cdn_certificate": {Tok: resourceType(volcengineCdnMod, "CdnCertificate")}, "volcengine_cdn_domain": {Tok: resourceType(volcengineCdnMod, "CdnDomain")}, - "volcengine_cdn_shared_config": {Tok: resourceType(volcengineCdnMod, "SharedConfig")}, "volcengine_ssl_vpn_client_cert": {Tok: resourceType(volcengineVpnMod, "SslVpnClientCert")}, "volcengine_ssl_vpn_server": {Tok: resourceType(volcengineVpnMod, "SslVpnServer")}, "volcengine_customer_gateway": {Tok: resourceType(volcengineVpnMod, "CustomerGateway")}, @@ -490,9 +486,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_subnets": {Tok: dataSourceType(volcengineVpcMod, "Subnets")}, "volcengine_vpcs": {Tok: dataSourceType(volcengineVpcMod, "Vpcs")}, "volcengine_network_acls": {Tok: dataSourceType(volcengineVpcMod, "NetworkAcls")}, - "volcengine_escloud_instances": {Tok: dataSourceType(volcengineEscloudMod, "Instances")}, - "volcengine_escloud_zones": {Tok: dataSourceType(volcengineEscloudMod, "Zones")}, - "volcengine_escloud_regions": {Tok: dataSourceType(volcengineEscloudMod, "Regions")}, "volcengine_iam_access_keys": {Tok: dataSourceType(volcengineIamMod, "AccessKeys")}, "volcengine_iam_users": {Tok: dataSourceType(volcengineIamMod, "Users")}, "volcengine_iam_roles": {Tok: dataSourceType(volcengineIamMod, "Roles")}, @@ -542,12 +535,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_private_zones": {Tok: dataSourceType(volcenginePrivateZoneMod, "PrivateZones")}, "volcengine_private_zone_record_sets": {Tok: dataSourceType(volcenginePrivateZoneMod, "RecordSets")}, "volcengine_private_zone_records": {Tok: dataSourceType(volcenginePrivateZoneMod, "Records")}, - "volcengine_cloud_identity_permission_set_provisionings": {Tok: dataSourceType(volcengineCloudIdentityMod, "PermissionSetProvisionings")}, - "volcengine_cloud_identity_permission_sets": {Tok: dataSourceType(volcengineCloudIdentityMod, "PermissionSets")}, - "volcengine_cloud_identity_permission_set_assignments": {Tok: dataSourceType(volcengineCloudIdentityMod, "PermissionSetAssignments")}, - "volcengine_cloud_identity_user_provisionings": {Tok: dataSourceType(volcengineCloudIdentityMod, "UserProvisionings")}, - "volcengine_cloud_identity_groups": {Tok: dataSourceType(volcengineCloudIdentityMod, "Groups")}, - "volcengine_cloud_identity_users": {Tok: dataSourceType(volcengineCloudIdentityMod, "Users")}, "volcengine_mongodb_ssl_states": {Tok: dataSourceType(volcengineMongodbMod, "SslStates")}, "volcengine_mongodb_endpoints": {Tok: dataSourceType(volcengineMongodbMod, "Endpoints")}, "volcengine_mongodb_instances": {Tok: dataSourceType(volcengineMongodbMod, "Instances")}, @@ -558,7 +545,7 @@ func Provider() tfbridge.ProviderInfo { "volcengine_mongodb_accounts": {Tok: dataSourceType(volcengineMongodbMod, "Accounts")}, "volcengine_mongodb_zones": {Tok: dataSourceType(volcengineMongodbMod, "Zones")}, "volcengine_mongodb_instance_parameter_logs": {Tok: dataSourceType(volcengineMongodbMod, "InstanceParameterLogs")}, - "volcengine_escloud_instances_v2": {Tok: dataSourceType(volcengineEscloudV2Mod, "EscloudInstancesV2")}, + "volcengine_escloud_instances_v2": {Tok: dataSourceType(volcengineEscloudMod, "getInstancesV2")}, "volcengine_nas_regions": {Tok: dataSourceType(volcengineNasMod, "Regions")}, "volcengine_nas_snapshots": {Tok: dataSourceType(volcengineNasMod, "Snapshots")}, "volcengine_nas_file_systems": {Tok: dataSourceType(volcengineNasMod, "FileSystems")}, @@ -585,10 +572,6 @@ func Provider() tfbridge.ProviderInfo { "volcengine_kafka_regions": {Tok: dataSourceType(volcengineKafkaMod, "Regions")}, "volcengine_kafka_instances": {Tok: dataSourceType(volcengineKafkaMod, "Instances")}, "volcengine_kafka_groups": {Tok: dataSourceType(volcengineKafkaMod, "Groups")}, - "volcengine_cdn_certificates": {Tok: dataSourceType(volcengineCdnMod, "Certificates")}, - "volcengine_cdn_domains": {Tok: dataSourceType(volcengineCdnMod, "Domains")}, - "volcengine_cdn_shared_configs": {Tok: dataSourceType(volcengineCdnMod, "SharedConfigs")}, - "volcengine_cdn_configs": {Tok: dataSourceType(volcengineCdnMod, "Configs")}, "volcengine_ssl_vpn_client_certs": {Tok: dataSourceType(volcengineVpnMod, "SslVpnClientCerts")}, "volcengine_ssl_vpn_servers": {Tok: dataSourceType(volcengineVpnMod, "SslVpnServers")}, "volcengine_customer_gateways": {Tok: dataSourceType(volcengineVpnMod, "CustomerGateways")}, @@ -721,7 +704,20 @@ func Provider() tfbridge.ProviderInfo { }, } + prov.MustComputeTokens( + tks.MappedModules( + "volcengine_", + "index", + map[string]string{ + "cdn": volcengineCdnMod, + "cloud_identity": volcengineCloudIdentityMod, + "escloud": volcengineEscloudMod, + }, + tks.MakeStandard(volcenginePkg), + ), + ) prov.SetAutonaming(255, "-") + prov.MustApplyAutoAliases() return prov } diff --git a/sdk/dotnet/Cdn/Certificates.cs b/sdk/dotnet/Cdn/Certificates.cs index 170c86bc..09d616a2 100644 --- a/sdk/dotnet/Cdn/Certificates.cs +++ b/sdk/dotnet/Cdn/Certificates.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cdn { + [Obsolete(@"volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates")] public static class Certificates { /// @@ -31,7 +32,7 @@ public static class Certificates /// Source = "cdn_cert_hosting", /// }); /// - /// var fooCertificates = Volcengine.Cdn.Certificates.Invoke(new() + /// var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new() /// { /// Source = fooCdnCertificate.Source, /// }); @@ -62,7 +63,7 @@ public static Task InvokeAsync(CertificatesArgs args, Invoke /// Source = "cdn_cert_hosting", /// }); /// - /// var fooCertificates = Volcengine.Cdn.Certificates.Invoke(new() + /// var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new() /// { /// Source = fooCdnCertificate.Source, /// }); diff --git a/sdk/dotnet/Cdn/Configs.cs b/sdk/dotnet/Cdn/Configs.cs index 2d7a388e..c3bda11b 100644 --- a/sdk/dotnet/Cdn/Configs.cs +++ b/sdk/dotnet/Cdn/Configs.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cdn { + [Obsolete(@"volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs")] public static class Configs { /// @@ -93,7 +94,7 @@ public static class Configs /// })), /// }); /// - /// var fooConfigs = Volcengine.Cdn.Configs.Invoke(new() + /// var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new() /// { /// Domain = fooCdnDomain.Id, /// }); @@ -186,7 +187,7 @@ public static Task InvokeAsync(ConfigsArgs args, InvokeOptions? o /// })), /// }); /// - /// var fooConfigs = Volcengine.Cdn.Configs.Invoke(new() + /// var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new() /// { /// Domain = fooCdnDomain.Id, /// }); diff --git a/sdk/dotnet/Cdn/Domains.cs b/sdk/dotnet/Cdn/Domains.cs index bf7cb713..442a3dde 100644 --- a/sdk/dotnet/Cdn/Domains.cs +++ b/sdk/dotnet/Cdn/Domains.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cdn { + [Obsolete(@"volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains")] public static class Domains { /// @@ -93,7 +94,7 @@ public static class Domains /// })), /// }); /// - /// var fooDomains = Volcengine.Cdn.Domains.Invoke(new() + /// var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new() /// { /// Domain = fooCdnDomain.Id, /// }); @@ -186,7 +187,7 @@ public static Task InvokeAsync(DomainsArgs? args = null, InvokeOp /// })), /// }); /// - /// var fooDomains = Volcengine.Cdn.Domains.Invoke(new() + /// var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new() /// { /// Domain = fooCdnDomain.Id, /// }); diff --git a/sdk/dotnet/Cdn/GetCertificates.cs b/sdk/dotnet/Cdn/GetCertificates.cs new file mode 100644 index 00000000..fa6f3932 --- /dev/null +++ b/sdk/dotnet/Cdn/GetCertificates.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn +{ + public static class GetCertificates + { + /// + /// Use this data source to query detailed information of cdn certificates + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new() + /// { + /// Source = fooCdnCertificate.Source, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetCertificatesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cdn/getCertificates:getCertificates", args ?? new GetCertificatesArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cdn certificates + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCertificates = Volcengine.Cdn.GetCertificates.Invoke(new() + /// { + /// Source = fooCdnCertificate.Source, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetCertificatesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cdn/getCertificates:getCertificates", args ?? new GetCertificatesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCertificatesArgs : global::Pulumi.InvokeArgs + { + /// + /// Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + /// + [Input("source", required: true)] + public string Source { get; set; } = null!; + + /// + /// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + /// + [Input("status")] + public string? Status { get; set; } + + public GetCertificatesArgs() + { + } + public static new GetCertificatesArgs Empty => new GetCertificatesArgs(); + } + + public sealed class GetCertificatesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + /// + [Input("source", required: true)] + public Input Source { get; set; } = null!; + + /// + /// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + /// + [Input("status")] + public Input? Status { get; set; } + + public GetCertificatesInvokeArgs() + { + } + public static new GetCertificatesInvokeArgs Empty => new GetCertificatesInvokeArgs(); + } + + + [OutputType] + public sealed class GetCertificatesResult + { + /// + /// The collection of query. + /// + public readonly ImmutableArray CertInfos; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? Name; + public readonly string? OutputFile; + /// + /// Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + /// + public readonly string Source; + /// + /// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + /// + public readonly string? Status; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetCertificatesResult( + ImmutableArray certInfos, + + string id, + + string? name, + + string? outputFile, + + string source, + + string? status, + + int totalCount) + { + CertInfos = certInfos; + Id = id; + Name = name; + OutputFile = outputFile; + Source = source; + Status = status; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cdn/GetConfigs.cs b/sdk/dotnet/Cdn/GetConfigs.cs new file mode 100644 index 00000000..f2f07db0 --- /dev/null +++ b/sdk/dotnet/Cdn/GetConfigs.cs @@ -0,0 +1,283 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn +{ + public static class GetConfigs + { + /// + /// Use this data source to query detailed information of cdn configs + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCdnDomain = new Volcengine.Cdn.CdnDomain("fooCdnDomain", new() + /// { + /// Domain = "tftest.byte-test.com", + /// ServiceType = "web", + /// Tags = new[] + /// { + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey1", + /// Value = "tfvalue1", + /// }, + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey2", + /// Value = "tfvalue2", + /// }, + /// }, + /// DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary<string, object?> + /// { + /// ["OriginProtocol"] = "https", + /// ["Origin"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["OriginAction"] = new Dictionary<string, object?> + /// { + /// ["OriginLines"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["Address"] = "1.1.1.1", + /// ["HttpPort"] = "80", + /// ["HttpsPort"] = "443", + /// ["InstanceType"] = "ip", + /// ["OriginType"] = "primary", + /// ["PrivateBucketAccess"] = false, + /// ["Weight"] = "2", + /// }, + /// }, + /// }, + /// }, + /// }, + /// ["HTTPS"] = new Dictionary<string, object?> + /// { + /// ["CertInfo"] = new Dictionary<string, object?> + /// { + /// ["CertId"] = fooCdnCertificate.Id, + /// }, + /// ["DisableHttp"] = false, + /// ["HTTP2"] = true, + /// ["Switch"] = true, + /// ["Ocsp"] = false, + /// ["TlsVersion"] = new[] + /// { + /// "tlsv1.1", + /// "tlsv1.2", + /// }, + /// }, + /// })), + /// }); + /// + /// var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new() + /// { + /// Domain = fooCdnDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetConfigsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cdn/getConfigs:getConfigs", args ?? new GetConfigsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cdn configs + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCdnDomain = new Volcengine.Cdn.CdnDomain("fooCdnDomain", new() + /// { + /// Domain = "tftest.byte-test.com", + /// ServiceType = "web", + /// Tags = new[] + /// { + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey1", + /// Value = "tfvalue1", + /// }, + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey2", + /// Value = "tfvalue2", + /// }, + /// }, + /// DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary<string, object?> + /// { + /// ["OriginProtocol"] = "https", + /// ["Origin"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["OriginAction"] = new Dictionary<string, object?> + /// { + /// ["OriginLines"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["Address"] = "1.1.1.1", + /// ["HttpPort"] = "80", + /// ["HttpsPort"] = "443", + /// ["InstanceType"] = "ip", + /// ["OriginType"] = "primary", + /// ["PrivateBucketAccess"] = false, + /// ["Weight"] = "2", + /// }, + /// }, + /// }, + /// }, + /// }, + /// ["HTTPS"] = new Dictionary<string, object?> + /// { + /// ["CertInfo"] = new Dictionary<string, object?> + /// { + /// ["CertId"] = fooCdnCertificate.Id, + /// }, + /// ["DisableHttp"] = false, + /// ["HTTP2"] = true, + /// ["Switch"] = true, + /// ["Ocsp"] = false, + /// ["TlsVersion"] = new[] + /// { + /// "tlsv1.1", + /// "tlsv1.2", + /// }, + /// }, + /// })), + /// }); + /// + /// var fooConfigs = Volcengine.Cdn.GetConfigs.Invoke(new() + /// { + /// Domain = fooCdnDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetConfigsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cdn/getConfigs:getConfigs", args ?? new GetConfigsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetConfigsArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain name. + /// + [Input("domain", required: true)] + public string Domain { get; set; } = null!; + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + public GetConfigsArgs() + { + } + public static new GetConfigsArgs Empty => new GetConfigsArgs(); + } + + public sealed class GetConfigsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain name. + /// + [Input("domain", required: true)] + public Input Domain { get; set; } = null!; + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + public GetConfigsInvokeArgs() + { + } + public static new GetConfigsInvokeArgs Empty => new GetConfigsInvokeArgs(); + } + + + [OutputType] + public sealed class GetConfigsResult + { + /// + /// The domain name. + /// + public readonly string Domain; + /// + /// The collection of query. + /// + public readonly ImmutableArray DomainConfigs; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OutputFile; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetConfigsResult( + string domain, + + ImmutableArray domainConfigs, + + string id, + + string? outputFile, + + int totalCount) + { + Domain = domain; + DomainConfigs = domainConfigs; + Id = id; + OutputFile = outputFile; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cdn/GetDomains.cs b/sdk/dotnet/Cdn/GetDomains.cs new file mode 100644 index 00000000..17bed072 --- /dev/null +++ b/sdk/dotnet/Cdn/GetDomains.cs @@ -0,0 +1,447 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn +{ + public static class GetDomains + { + /// + /// Use this data source to query detailed information of cdn domains + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCdnDomain = new Volcengine.Cdn.CdnDomain("fooCdnDomain", new() + /// { + /// Domain = "tftest.byte-test.com", + /// ServiceType = "web", + /// Tags = new[] + /// { + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey1", + /// Value = "tfvalue1", + /// }, + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey2", + /// Value = "tfvalue2", + /// }, + /// }, + /// DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary<string, object?> + /// { + /// ["OriginProtocol"] = "https", + /// ["Origin"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["OriginAction"] = new Dictionary<string, object?> + /// { + /// ["OriginLines"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["Address"] = "1.1.1.1", + /// ["HttpPort"] = "80", + /// ["HttpsPort"] = "443", + /// ["InstanceType"] = "ip", + /// ["OriginType"] = "primary", + /// ["PrivateBucketAccess"] = false, + /// ["Weight"] = "2", + /// }, + /// }, + /// }, + /// }, + /// }, + /// ["HTTPS"] = new Dictionary<string, object?> + /// { + /// ["CertInfo"] = new Dictionary<string, object?> + /// { + /// ["CertId"] = fooCdnCertificate.Id, + /// }, + /// ["DisableHttp"] = false, + /// ["HTTP2"] = true, + /// ["Switch"] = true, + /// ["Ocsp"] = false, + /// ["TlsVersion"] = new[] + /// { + /// "tlsv1.1", + /// "tlsv1.2", + /// }, + /// }, + /// })), + /// }); + /// + /// var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new() + /// { + /// Domain = fooCdnDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDomainsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cdn/getDomains:getDomains", args ?? new GetDomainsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cdn domains + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new() + /// { + /// Certificate = "", + /// PrivateKey = "", + /// Desc = "tftest", + /// Source = "cdn_cert_hosting", + /// }); + /// + /// var fooCdnDomain = new Volcengine.Cdn.CdnDomain("fooCdnDomain", new() + /// { + /// Domain = "tftest.byte-test.com", + /// ServiceType = "web", + /// Tags = new[] + /// { + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey1", + /// Value = "tfvalue1", + /// }, + /// new Volcengine.Cdn.Inputs.CdnDomainTagArgs + /// { + /// Key = "tfkey2", + /// Value = "tfvalue2", + /// }, + /// }, + /// DomainConfig = Output.JsonSerialize(Output.Create(new Dictionary<string, object?> + /// { + /// ["OriginProtocol"] = "https", + /// ["Origin"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["OriginAction"] = new Dictionary<string, object?> + /// { + /// ["OriginLines"] = new[] + /// { + /// new Dictionary<string, object?> + /// { + /// ["Address"] = "1.1.1.1", + /// ["HttpPort"] = "80", + /// ["HttpsPort"] = "443", + /// ["InstanceType"] = "ip", + /// ["OriginType"] = "primary", + /// ["PrivateBucketAccess"] = false, + /// ["Weight"] = "2", + /// }, + /// }, + /// }, + /// }, + /// }, + /// ["HTTPS"] = new Dictionary<string, object?> + /// { + /// ["CertInfo"] = new Dictionary<string, object?> + /// { + /// ["CertId"] = fooCdnCertificate.Id, + /// }, + /// ["DisableHttp"] = false, + /// ["HTTP2"] = true, + /// ["Switch"] = true, + /// ["Ocsp"] = false, + /// ["TlsVersion"] = new[] + /// { + /// "tlsv1.1", + /// "tlsv1.2", + /// }, + /// }, + /// })), + /// }); + /// + /// var fooDomains = Volcengine.Cdn.GetDomains.Invoke(new() + /// { + /// Domain = fooCdnDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cdn/getDomains:getDomains", args ?? new GetDomainsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDomainsArgs : global::Pulumi.InvokeArgs + { + /// + /// Search by specifying domain name keywords, with fuzzy matching. + /// + [Input("domain")] + public string? Domain { get; set; } + + /// + /// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + /// + [Input("https")] + public bool? Https { get; set; } + + /// + /// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + /// + [Input("ipv6")] + public bool? Ipv6 { get; set; } + + /// + /// Configure the origin protocol for the accelerated domain. + /// + [Input("originProtocol")] + public string? OriginProtocol { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// Specify a primary origin server for filtering accelerated domains. + /// + [Input("primaryOrigin")] + public string? PrimaryOrigin { get; set; } + + /// + /// The project name of the domain. + /// + [Input("project")] + public string? Project { get; set; } + + /// + /// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + /// + [Input("serviceType")] + public string? ServiceType { get; set; } + + /// + /// The status of the domain. + /// + [Input("status")] + public string? Status { get; set; } + + [Input("tags")] + private List? _tags; + + /// + /// Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + /// + public List Tags + { + get => _tags ?? (_tags = new List()); + set => _tags = value; + } + + public GetDomainsArgs() + { + } + public static new GetDomainsArgs Empty => new GetDomainsArgs(); + } + + public sealed class GetDomainsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Search by specifying domain name keywords, with fuzzy matching. + /// + [Input("domain")] + public Input? Domain { get; set; } + + /// + /// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + /// + [Input("https")] + public Input? Https { get; set; } + + /// + /// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + /// + [Input("ipv6")] + public Input? Ipv6 { get; set; } + + /// + /// Configure the origin protocol for the accelerated domain. + /// + [Input("originProtocol")] + public Input? OriginProtocol { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// Specify a primary origin server for filtering accelerated domains. + /// + [Input("primaryOrigin")] + public Input? PrimaryOrigin { get; set; } + + /// + /// The project name of the domain. + /// + [Input("project")] + public Input? Project { get; set; } + + /// + /// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + /// + [Input("serviceType")] + public Input? ServiceType { get; set; } + + /// + /// The status of the domain. + /// + [Input("status")] + public Input? Status { get; set; } + + [Input("tags")] + private InputList? _tags; + + /// + /// Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public GetDomainsInvokeArgs() + { + } + public static new GetDomainsInvokeArgs Empty => new GetDomainsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDomainsResult + { + /// + /// Search by specifying domain name keywords, with fuzzy matching. + /// + public readonly string? Domain; + /// + /// The collection of query. + /// + public readonly ImmutableArray Domains; + /// + /// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + /// + public readonly bool? Https; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + /// + public readonly bool? Ipv6; + /// + /// Configure the origin protocol for the accelerated domain. + /// + public readonly string? OriginProtocol; + public readonly string? OutputFile; + /// + /// List of primary source servers to accelerate the domain name. + /// + public readonly string? PrimaryOrigin; + /// + /// The project name of the domain. + /// + public readonly string? Project; + /// + /// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + /// + public readonly string? ServiceType; + /// + /// The status of the domain. + /// + public readonly string? Status; + /// + /// Indicate the tags you have set for this domain name. You can set up to 10 tags. + /// + public readonly ImmutableArray Tags; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetDomainsResult( + string? domain, + + ImmutableArray domains, + + bool? https, + + string id, + + bool? ipv6, + + string? originProtocol, + + string? outputFile, + + string? primaryOrigin, + + string? project, + + string? serviceType, + + string? status, + + ImmutableArray tags, + + int totalCount) + { + Domain = domain; + Domains = domains; + Https = https; + Id = id; + Ipv6 = ipv6; + OriginProtocol = originProtocol; + OutputFile = outputFile; + PrimaryOrigin = primaryOrigin; + Project = project; + ServiceType = serviceType; + Status = status; + Tags = tags; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cdn/GetSharedConfigs.cs b/sdk/dotnet/Cdn/GetSharedConfigs.cs new file mode 100644 index 00000000..28021e00 --- /dev/null +++ b/sdk/dotnet/Cdn/GetSharedConfigs.cs @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn +{ + public static class GetSharedConfigs + { + /// + /// Use this data source to query detailed information of cdn shared configs + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new() + /// { + /// ConfigName = "tf-test", + /// ConfigType = "allow_ip_access_rule", + /// ProjectName = "default", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSharedConfigsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cdn/getSharedConfigs:getSharedConfigs", args ?? new GetSharedConfigsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cdn shared configs + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new() + /// { + /// ConfigName = "tf-test", + /// ConfigType = "allow_ip_access_rule", + /// ProjectName = "default", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSharedConfigsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cdn/getSharedConfigs:getSharedConfigs", args ?? new GetSharedConfigsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSharedConfigsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the shared config. + /// + [Input("configName")] + public string? ConfigName { get; set; } + + /// + /// The type of the shared config. + /// + [Input("configType")] + public string? ConfigType { get; set; } + + [Input("configTypeLists")] + private List? _configTypeLists; + + /// + /// The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + /// + public List ConfigTypeLists + { + get => _configTypeLists ?? (_configTypeLists = new List()); + set => _configTypeLists = value; + } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// The name of the project. + /// + [Input("projectName")] + public string? ProjectName { get; set; } + + public GetSharedConfigsArgs() + { + } + public static new GetSharedConfigsArgs Empty => new GetSharedConfigsArgs(); + } + + public sealed class GetSharedConfigsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the shared config. + /// + [Input("configName")] + public Input? ConfigName { get; set; } + + /// + /// The type of the shared config. + /// + [Input("configType")] + public Input? ConfigType { get; set; } + + [Input("configTypeLists")] + private InputList? _configTypeLists; + + /// + /// The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + /// + public InputList ConfigTypeLists + { + get => _configTypeLists ?? (_configTypeLists = new InputList()); + set => _configTypeLists = value; + } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// The name of the project. + /// + [Input("projectName")] + public Input? ProjectName { get; set; } + + public GetSharedConfigsInvokeArgs() + { + } + public static new GetSharedConfigsInvokeArgs Empty => new GetSharedConfigsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSharedConfigsResult + { + /// + /// The collection of query. + /// + public readonly ImmutableArray ConfigDatas; + /// + /// The name of the config. + /// + public readonly string? ConfigName; + /// + /// The type of the config. + /// + public readonly string? ConfigType; + public readonly ImmutableArray ConfigTypeLists; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OutputFile; + /// + /// The name of the project. + /// + public readonly string? ProjectName; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetSharedConfigsResult( + ImmutableArray configDatas, + + string? configName, + + string? configType, + + ImmutableArray configTypeLists, + + string id, + + string? outputFile, + + string? projectName, + + int totalCount) + { + ConfigDatas = configDatas; + ConfigName = configName; + ConfigType = configType; + ConfigTypeLists = configTypeLists; + Id = id; + OutputFile = outputFile; + ProjectName = projectName; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetCertificatesCertInfoResult.cs b/sdk/dotnet/Cdn/Outputs/GetCertificatesCertInfoResult.cs new file mode 100644 index 00000000..0db6a89c --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetCertificatesCertInfoResult.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetCertificatesCertInfoResult + { + /// + /// ID indicating the certificate. + /// + public readonly string CertId; + /// + /// The domain name to which the certificate is issued. + /// + public readonly string CertName; + /// + /// The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. + /// + public readonly string ConfiguredDomain; + /// + /// The remark of the cert. + /// + public readonly string Desc; + /// + /// The domain names included in the SAN field of the certificate. + /// + public readonly string DnsName; + /// + /// The issuance time of the certificate is indicated. The unit is Unix timestamp. + /// + public readonly int EffectiveTime; + /// + /// The expiration time of the certificate is indicated. The unit is Unix timestamp. + /// + public readonly int ExpireTime; + /// + /// Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + /// + public readonly string Source; + /// + /// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + /// + public readonly string Status; + + [OutputConstructor] + private GetCertificatesCertInfoResult( + string certId, + + string certName, + + string configuredDomain, + + string desc, + + string dnsName, + + int effectiveTime, + + int expireTime, + + string source, + + string status) + { + CertId = certId; + CertName = certName; + ConfiguredDomain = configuredDomain; + Desc = desc; + DnsName = dnsName; + EffectiveTime = effectiveTime; + ExpireTime = expireTime; + Source = source; + Status = status; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetConfigsDomainConfigResult.cs b/sdk/dotnet/Cdn/Outputs/GetConfigsDomainConfigResult.cs new file mode 100644 index 00000000..7fbc4dce --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetConfigsDomainConfigResult.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetConfigsDomainConfigResult + { + /// + /// The cname of the domain. + /// + public readonly string Cname; + /// + /// The create time of the domain. + /// + public readonly int CreateTime; + /// + /// The domain name. + /// + public readonly string Domain; + /// + /// Indicates whether the configuration of this domain name is allowed to be changed. + /// + public readonly string LockStatus; + /// + /// The project name. + /// + public readonly string Project; + /// + /// The service region of the domain. + /// + public readonly string ServiceRegion; + /// + /// The service type of the domain. + /// + public readonly string ServiceType; + /// + /// The status of the domain. + /// + public readonly string Status; + /// + /// The update time of the domain. + /// + public readonly int UpdateTime; + + [OutputConstructor] + private GetConfigsDomainConfigResult( + string cname, + + int createTime, + + string domain, + + string lockStatus, + + string project, + + string serviceRegion, + + string serviceType, + + string status, + + int updateTime) + { + Cname = cname; + CreateTime = createTime; + Domain = domain; + LockStatus = lockStatus; + Project = project; + ServiceRegion = serviceRegion; + ServiceType = serviceType; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetDomainsDomainDomainLockResult.cs b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainDomainLockResult.cs new file mode 100644 index 00000000..a23e9ec7 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainDomainLockResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetDomainsDomainDomainLockResult + { + /// + /// If the Status is on, this parameter value records the reason for the lock. + /// + public readonly string Remark; + /// + /// The status of the domain. + /// + public readonly string Status; + + [OutputConstructor] + private GetDomainsDomainDomainLockResult( + string remark, + + string status) + { + Remark = remark; + Status = status; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetDomainsDomainResult.cs b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainResult.cs new file mode 100644 index 00000000..262ecb03 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainResult.cs @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetDomainsDomainResult + { + /// + /// The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. + /// + public readonly ImmutableArray BackupOrigins; + /// + /// Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `target_host`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cache_shared_on`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + /// + public readonly string CacheShared; + /// + /// If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty. + /// + public readonly string CacheSharedTargetHost; + /// + /// The CNAME address of the domain is automatically assigned when adding the domain. + /// + public readonly string Cname; + /// + /// The creation time of the domain. + /// + public readonly int CreateTime; + /// + /// Search by specifying domain name keywords, with fuzzy matching. + /// + public readonly string Domain; + /// + /// Indicates the locked status of the accelerated domain. + /// + public readonly ImmutableArray DomainLocks; + /// + /// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + /// + public readonly bool Https; + /// + /// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + /// + public readonly bool Ipv6; + /// + /// Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + /// + public readonly bool IsConflictDomain; + /// + /// Configure the origin protocol for the accelerated domain. + /// + public readonly string OriginProtocol; + /// + /// Specify a primary origin server for filtering accelerated domains. + /// + public readonly ImmutableArray PrimaryOrigins; + /// + /// The project name of the domain. + /// + public readonly string Project; + /// + /// Indicates the acceleration area. The parameter can take the following values: `chinese_mainland`: Indicates mainland China. `global`: Indicates global. `outside_chinese_mainland`: Indicates global (excluding mainland China). + /// + public readonly string ServiceRegion; + /// + /// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + /// + public readonly string ServiceType; + /// + /// The status of the domain. + /// + public readonly string Status; + /// + /// Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + /// + public readonly ImmutableArray Tags; + /// + /// The update time of the domain. + /// + public readonly int UpdateTime; + + [OutputConstructor] + private GetDomainsDomainResult( + ImmutableArray backupOrigins, + + string cacheShared, + + string cacheSharedTargetHost, + + string cname, + + int createTime, + + string domain, + + ImmutableArray domainLocks, + + bool https, + + bool ipv6, + + bool isConflictDomain, + + string originProtocol, + + ImmutableArray primaryOrigins, + + string project, + + string serviceRegion, + + string serviceType, + + string status, + + ImmutableArray tags, + + int updateTime) + { + BackupOrigins = backupOrigins; + CacheShared = cacheShared; + CacheSharedTargetHost = cacheSharedTargetHost; + Cname = cname; + CreateTime = createTime; + Domain = domain; + DomainLocks = domainLocks; + Https = https; + Ipv6 = ipv6; + IsConflictDomain = isConflictDomain; + OriginProtocol = originProtocol; + PrimaryOrigins = primaryOrigins; + Project = project; + ServiceRegion = serviceRegion; + ServiceType = serviceType; + Status = status; + Tags = tags; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetDomainsDomainTagResult.cs b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainTagResult.cs new file mode 100644 index 00000000..76a7d6eb --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetDomainsDomainTagResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetDomainsDomainTagResult + { + /// + /// The key of the tag. + /// + public readonly string Key; + /// + /// The value of the tag. + /// + public readonly string Value; + + [OutputConstructor] + private GetDomainsDomainTagResult( + string key, + + string value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowIpAccessRuleResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowIpAccessRuleResult.cs new file mode 100644 index 00000000..1834af39 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowIpAccessRuleResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataAllowIpAccessRuleResult + { + /// + /// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private GetSharedConfigsConfigDataAllowIpAccessRuleResult(ImmutableArray rules) + { + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult.cs new file mode 100644 index 00000000..9ee4986b --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult + { + /// + /// This list is case-sensitive when matching requests. Default is true. + /// + public readonly bool IgnoreCase; + /// + /// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult( + bool ignoreCase, + + ImmutableArray rules) + { + IgnoreCase = ignoreCase; + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleResult.cs new file mode 100644 index 00000000..fc7731f2 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataAllowRefererAccessRuleResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataAllowRefererAccessRuleResult + { + /// + /// Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + /// + public readonly bool AllowEmpty; + /// + /// The content indicating the Referer blacklist. + /// + public readonly ImmutableArray CommonTypes; + + [OutputConstructor] + private GetSharedConfigsConfigDataAllowRefererAccessRuleResult( + bool allowEmpty, + + ImmutableArray commonTypes) + { + AllowEmpty = allowEmpty; + CommonTypes = commonTypes; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListCommonTypeResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListCommonTypeResult.cs new file mode 100644 index 00000000..39884e4a --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListCommonTypeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataCommonMatchListCommonTypeResult + { + /// + /// This list is case-sensitive when matching requests. Default is true. + /// + public readonly bool IgnoreCase; + /// + /// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private GetSharedConfigsConfigDataCommonMatchListCommonTypeResult( + bool ignoreCase, + + ImmutableArray rules) + { + IgnoreCase = ignoreCase; + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListResult.cs new file mode 100644 index 00000000..9cb0497d --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataCommonMatchListResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataCommonMatchListResult + { + /// + /// The content indicating the Referer blacklist. + /// + public readonly ImmutableArray CommonTypes; + + [OutputConstructor] + private GetSharedConfigsConfigDataCommonMatchListResult(ImmutableArray commonTypes) + { + CommonTypes = commonTypes; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyIpAccessRuleResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyIpAccessRuleResult.cs new file mode 100644 index 00000000..bce9c581 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyIpAccessRuleResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataDenyIpAccessRuleResult + { + /// + /// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private GetSharedConfigsConfigDataDenyIpAccessRuleResult(ImmutableArray rules) + { + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult.cs new file mode 100644 index 00000000..322b398e --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult + { + /// + /// This list is case-sensitive when matching requests. Default is true. + /// + public readonly bool IgnoreCase; + /// + /// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult( + bool ignoreCase, + + ImmutableArray rules) + { + IgnoreCase = ignoreCase; + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleResult.cs new file mode 100644 index 00000000..7cb04c10 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataDenyRefererAccessRuleResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataDenyRefererAccessRuleResult + { + /// + /// Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + /// + public readonly bool AllowEmpty; + /// + /// The content indicating the Referer blacklist. + /// + public readonly ImmutableArray CommonTypes; + + [OutputConstructor] + private GetSharedConfigsConfigDataDenyRefererAccessRuleResult( + bool allowEmpty, + + ImmutableArray commonTypes) + { + AllowEmpty = allowEmpty; + CommonTypes = commonTypes; + } + } +} diff --git a/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataResult.cs b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataResult.cs new file mode 100644 index 00000000..d5716026 --- /dev/null +++ b/sdk/dotnet/Cdn/Outputs/GetSharedConfigsConfigDataResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cdn.Outputs +{ + + [OutputType] + public sealed class GetSharedConfigsConfigDataResult + { + /// + /// The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + /// + public readonly ImmutableArray AllowIpAccessRules; + /// + /// The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + /// + public readonly ImmutableArray AllowRefererAccessRules; + /// + /// The configuration for a common list is represented by ConfigType common_match_list. + /// + public readonly ImmutableArray CommonMatchLists; + /// + /// The name of the shared config. + /// + public readonly string ConfigName; + /// + /// The type of the shared config. + /// + public readonly string ConfigType; + /// + /// The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + /// + public readonly ImmutableArray DenyIpAccessRules; + /// + /// The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + /// + public readonly ImmutableArray DenyRefererAccessRules; + /// + /// The number of domains. + /// + public readonly int DomainCount; + /// + /// The name of the project. + /// + public readonly string ProjectName; + /// + /// The update time of the shared config. + /// + public readonly int UpdateTime; + + [OutputConstructor] + private GetSharedConfigsConfigDataResult( + ImmutableArray allowIpAccessRules, + + ImmutableArray allowRefererAccessRules, + + ImmutableArray commonMatchLists, + + string configName, + + string configType, + + ImmutableArray denyIpAccessRules, + + ImmutableArray denyRefererAccessRules, + + int domainCount, + + string projectName, + + int updateTime) + { + AllowIpAccessRules = allowIpAccessRules; + AllowRefererAccessRules = allowRefererAccessRules; + CommonMatchLists = commonMatchLists; + ConfigName = configName; + ConfigType = configType; + DenyIpAccessRules = denyIpAccessRules; + DenyRefererAccessRules = denyRefererAccessRules; + DomainCount = domainCount; + ProjectName = projectName; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Cdn/SharedConfigs.cs b/sdk/dotnet/Cdn/SharedConfigs.cs index 7dd20884..7316f172 100644 --- a/sdk/dotnet/Cdn/SharedConfigs.cs +++ b/sdk/dotnet/Cdn/SharedConfigs.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cdn { + [Obsolete(@"volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs")] public static class SharedConfigs { /// @@ -23,7 +24,7 @@ public static class SharedConfigs /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cdn.SharedConfigs.Invoke(new() + /// var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new() /// { /// ConfigName = "tf-test", /// ConfigType = "allow_ip_access_rule", @@ -48,7 +49,7 @@ public static Task InvokeAsync(SharedConfigsArgs? args = nu /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cdn.SharedConfigs.Invoke(new() + /// var foo = Volcengine.Cdn.GetSharedConfigs.Invoke(new() /// { /// ConfigName = "tf-test", /// ConfigType = "allow_ip_access_rule", diff --git a/sdk/dotnet/Cloud_identity/GetGroups.cs b/sdk/dotnet/Cloud_identity/GetGroups.cs new file mode 100644 index 00000000..1eafd3c8 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetGroups.cs @@ -0,0 +1,223 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetGroups + { + /// + /// Use this data source to query detailed information of cloud identity groups + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooGroup = new List<Volcengine.Cloud_identity.Group>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooGroup.Add(new Volcengine.Cloud_identity.Group($"fooGroup-{range.Value}", new() + /// { + /// Description = "tf", + /// DisplayName = $"tf-test-group-{range.Value}", + /// GroupName = $"acc-test-group-{range.Value}", + /// JoinType = "Manual", + /// })); + /// } + /// var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new() + /// { + /// GroupName = "acc-test-group", + /// JoinType = "Manual", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetGroupsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getGroups:getGroups", args ?? new GetGroupsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity groups + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooGroup = new List<Volcengine.Cloud_identity.Group>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooGroup.Add(new Volcengine.Cloud_identity.Group($"fooGroup-{range.Value}", new() + /// { + /// Description = "tf", + /// DisplayName = $"tf-test-group-{range.Value}", + /// GroupName = $"acc-test-group-{range.Value}", + /// JoinType = "Manual", + /// })); + /// } + /// var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new() + /// { + /// GroupName = "acc-test-group", + /// JoinType = "Manual", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetGroupsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getGroups:getGroups", args ?? new GetGroupsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGroupsArgs : global::Pulumi.InvokeArgs + { + /// + /// The display name of cloud identity group. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + /// + /// The name of cloud identity group. + /// + [Input("groupName")] + public string? GroupName { get; set; } + + /// + /// The join type of cloud identity group. Valid values: `Auto`, `Manual`. + /// + [Input("joinType")] + public string? JoinType { get; set; } + + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + public GetGroupsArgs() + { + } + public static new GetGroupsArgs Empty => new GetGroupsArgs(); + } + + public sealed class GetGroupsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The display name of cloud identity group. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// The name of cloud identity group. + /// + [Input("groupName")] + public Input? GroupName { get; set; } + + /// + /// The join type of cloud identity group. Valid values: `Auto`, `Manual`. + /// + [Input("joinType")] + public Input? JoinType { get; set; } + + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + public GetGroupsInvokeArgs() + { + } + public static new GetGroupsInvokeArgs Empty => new GetGroupsInvokeArgs(); + } + + + [OutputType] + public sealed class GetGroupsResult + { + /// + /// The display name of the cloud identity group. + /// + public readonly string? DisplayName; + /// + /// The name of the cloud identity group. + /// + public readonly string? GroupName; + /// + /// The collection of query. + /// + public readonly ImmutableArray Groups; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The email of the cloud identity group. + /// + public readonly string? JoinType; + public readonly string? NameRegex; + public readonly string? OutputFile; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetGroupsResult( + string? displayName, + + string? groupName, + + ImmutableArray groups, + + string id, + + string? joinType, + + string? nameRegex, + + string? outputFile, + + int totalCount) + { + DisplayName = displayName; + GroupName = groupName; + Groups = groups; + Id = id; + JoinType = joinType; + NameRegex = nameRegex; + OutputFile = outputFile; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/GetPermissionSetAssignments.cs b/sdk/dotnet/Cloud_identity/GetPermissionSetAssignments.cs new file mode 100644 index 00000000..6e468043 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetPermissionSetAssignments.cs @@ -0,0 +1,302 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetPermissionSetAssignments + { + /// + /// Use this data source to query detailed information of cloud identity permission set assignments + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooPermissionSet = new Volcengine.Cloud_identity.PermissionSet("fooPermissionSet", new() + /// { + /// Description = "tf", + /// SessionDuration = 5000, + /// PermissionPolicies = new[] + /// { + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "AdministratorAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "ReadOnlyAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "Inline", + /// InlinePolicyDocument = "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + /// }, + /// }, + /// }); + /// + /// var fooUser = new Volcengine.Cloud_identity.User("fooUser", new() + /// { + /// UserName = "acc-test-user", + /// DisplayName = "tf-test-user", + /// Description = "tf", + /// Email = "88@qq.com", + /// Phone = "181", + /// }); + /// + /// var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", new() + /// { + /// PermissionSetId = fooPermissionSet.Id, + /// TargetId = "210026****", + /// PrincipalType = "User", + /// PrincipalId = fooUser.Id, + /// }); + /// + /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new() + /// { + /// PermissionSetId = fooPermissionSetAssignment.PermissionSetId, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPermissionSetAssignmentsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments", args ?? new GetPermissionSetAssignmentsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity permission set assignments + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooPermissionSet = new Volcengine.Cloud_identity.PermissionSet("fooPermissionSet", new() + /// { + /// Description = "tf", + /// SessionDuration = 5000, + /// PermissionPolicies = new[] + /// { + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "AdministratorAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "ReadOnlyAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "Inline", + /// InlinePolicyDocument = "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + /// }, + /// }, + /// }); + /// + /// var fooUser = new Volcengine.Cloud_identity.User("fooUser", new() + /// { + /// UserName = "acc-test-user", + /// DisplayName = "tf-test-user", + /// Description = "tf", + /// Email = "88@qq.com", + /// Phone = "181", + /// }); + /// + /// var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", new() + /// { + /// PermissionSetId = fooPermissionSet.Id, + /// TargetId = "210026****", + /// PrincipalType = "User", + /// PrincipalId = fooUser.Id, + /// }); + /// + /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new() + /// { + /// PermissionSetId = fooPermissionSetAssignment.PermissionSetId, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPermissionSetAssignmentsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments", args ?? new GetPermissionSetAssignmentsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPermissionSetAssignmentsArgs : global::Pulumi.InvokeArgs + { + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// The id of cloud identity permission set. + /// + [Input("permissionSetId")] + public string? PermissionSetId { get; set; } + + /// + /// The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + /// + [Input("principalId")] + public string? PrincipalId { get; set; } + + /// + /// The principal type of cloud identity permission set. Valid values: `User`, `Group`. + /// + [Input("principalType")] + public string? PrincipalType { get; set; } + + /// + /// The target account id of cloud identity permission set assignment. + /// + [Input("targetId")] + public string? TargetId { get; set; } + + public GetPermissionSetAssignmentsArgs() + { + } + public static new GetPermissionSetAssignmentsArgs Empty => new GetPermissionSetAssignmentsArgs(); + } + + public sealed class GetPermissionSetAssignmentsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// The id of cloud identity permission set. + /// + [Input("permissionSetId")] + public Input? PermissionSetId { get; set; } + + /// + /// The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// The principal type of cloud identity permission set. Valid values: `User`, `Group`. + /// + [Input("principalType")] + public Input? PrincipalType { get; set; } + + /// + /// The target account id of cloud identity permission set assignment. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + public GetPermissionSetAssignmentsInvokeArgs() + { + } + public static new GetPermissionSetAssignmentsInvokeArgs Empty => new GetPermissionSetAssignmentsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPermissionSetAssignmentsResult + { + /// + /// The collection of query. + /// + public readonly ImmutableArray Assignments; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? NameRegex; + public readonly string? OutputFile; + /// + /// The id of the cloud identity permission set. + /// + public readonly string? PermissionSetId; + /// + /// The principal id of the cloud identity permission set assignment. + /// + public readonly string? PrincipalId; + /// + /// The principal type of the cloud identity permission set assignment. + /// + public readonly string? PrincipalType; + /// + /// The target account id of the cloud identity permission set assignment. + /// + public readonly string? TargetId; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetPermissionSetAssignmentsResult( + ImmutableArray assignments, + + string id, + + string? nameRegex, + + string? outputFile, + + string? permissionSetId, + + string? principalId, + + string? principalType, + + string? targetId, + + int totalCount) + { + Assignments = assignments; + Id = id; + NameRegex = nameRegex; + OutputFile = outputFile; + PermissionSetId = permissionSetId; + PrincipalId = principalId; + PrincipalType = principalType; + TargetId = targetId; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/GetPermissionSetProvisionings.cs b/sdk/dotnet/Cloud_identity/GetPermissionSetProvisionings.cs new file mode 100644 index 00000000..58f62d83 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetPermissionSetProvisionings.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetPermissionSetProvisionings + { + /// + /// Use this data source to query detailed information of cloud identity permission set provisionings + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new() + /// { + /// TargetId = "210026****", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPermissionSetProvisioningsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings", args ?? new GetPermissionSetProvisioningsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity permission set provisionings + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new() + /// { + /// TargetId = "210026****", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPermissionSetProvisioningsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings", args ?? new GetPermissionSetProvisioningsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPermissionSetProvisioningsArgs : global::Pulumi.InvokeArgs + { + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// The id of cloud identity permission set. + /// + [Input("permissionSetId")] + public string? PermissionSetId { get; set; } + + /// + /// The target account id of cloud identity permission set. + /// + [Input("targetId")] + public string? TargetId { get; set; } + + public GetPermissionSetProvisioningsArgs() + { + } + public static new GetPermissionSetProvisioningsArgs Empty => new GetPermissionSetProvisioningsArgs(); + } + + public sealed class GetPermissionSetProvisioningsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// The id of cloud identity permission set. + /// + [Input("permissionSetId")] + public Input? PermissionSetId { get; set; } + + /// + /// The target account id of cloud identity permission set. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + public GetPermissionSetProvisioningsInvokeArgs() + { + } + public static new GetPermissionSetProvisioningsInvokeArgs Empty => new GetPermissionSetProvisioningsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPermissionSetProvisioningsResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? NameRegex; + public readonly string? OutputFile; + /// + /// The collection of query. + /// + public readonly ImmutableArray PermissionProvisionings; + /// + /// The id of the cloud identity permission set. + /// + public readonly string? PermissionSetId; + /// + /// The target account id of the cloud identity permission set provisioning. + /// + public readonly string? TargetId; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetPermissionSetProvisioningsResult( + string id, + + string? nameRegex, + + string? outputFile, + + ImmutableArray permissionProvisionings, + + string? permissionSetId, + + string? targetId, + + int totalCount) + { + Id = id; + NameRegex = nameRegex; + OutputFile = outputFile; + PermissionProvisionings = permissionProvisionings; + PermissionSetId = permissionSetId; + TargetId = targetId; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/GetPermissionSets.cs b/sdk/dotnet/Cloud_identity/GetPermissionSets.cs new file mode 100644 index 00000000..f0c73681 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetPermissionSets.cs @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetPermissionSets + { + /// + /// Use this data source to query detailed information of cloud identity permission sets + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooPermissionSet = new List<Volcengine.Cloud_identity.PermissionSet>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooPermissionSet.Add(new Volcengine.Cloud_identity.PermissionSet($"fooPermissionSet-{range.Value}", new() + /// { + /// Description = "tf", + /// SessionDuration = 5000, + /// PermissionPolicies = new[] + /// { + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "AdministratorAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "ReadOnlyAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "Inline", + /// InlinePolicyDocument = "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + /// }, + /// }, + /// })); + /// } + /// var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new() + /// { + /// Ids = fooPermissionSet.Select(__item => __item.Id).ToList(), + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPermissionSetsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getPermissionSets:getPermissionSets", args ?? new GetPermissionSetsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity permission sets + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooPermissionSet = new List<Volcengine.Cloud_identity.PermissionSet>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooPermissionSet.Add(new Volcengine.Cloud_identity.PermissionSet($"fooPermissionSet-{range.Value}", new() + /// { + /// Description = "tf", + /// SessionDuration = 5000, + /// PermissionPolicies = new[] + /// { + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "AdministratorAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "System", + /// PermissionPolicyName = "ReadOnlyAccess", + /// InlinePolicyDocument = "", + /// }, + /// new Volcengine.Cloud_identity.Inputs.PermissionSetPermissionPolicyArgs + /// { + /// PermissionPolicyType = "Inline", + /// InlinePolicyDocument = "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + /// }, + /// }, + /// })); + /// } + /// var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new() + /// { + /// Ids = fooPermissionSet.Select(__item => __item.Id).ToList(), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPermissionSetsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getPermissionSets:getPermissionSets", args ?? new GetPermissionSetsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPermissionSetsArgs : global::Pulumi.InvokeArgs + { + [Input("ids")] + private List? _ids; + + /// + /// A list of cloud identity permission set IDs. + /// + public List Ids + { + get => _ids ?? (_ids = new List()); + set => _ids = value; + } + + /// + /// A Name Regex of cloud identity permission set. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + public GetPermissionSetsArgs() + { + } + public static new GetPermissionSetsArgs Empty => new GetPermissionSetsArgs(); + } + + public sealed class GetPermissionSetsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("ids")] + private InputList? _ids; + + /// + /// A list of cloud identity permission set IDs. + /// + public InputList Ids + { + get => _ids ?? (_ids = new InputList()); + set => _ids = value; + } + + /// + /// A Name Regex of cloud identity permission set. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + public GetPermissionSetsInvokeArgs() + { + } + public static new GetPermissionSetsInvokeArgs Empty => new GetPermissionSetsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPermissionSetsResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly ImmutableArray Ids; + public readonly string? NameRegex; + public readonly string? OutputFile; + /// + /// The collection of query. + /// + public readonly ImmutableArray PermissionSets; + /// + /// The total count of query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetPermissionSetsResult( + string id, + + ImmutableArray ids, + + string? nameRegex, + + string? outputFile, + + ImmutableArray permissionSets, + + int totalCount) + { + Id = id; + Ids = ids; + NameRegex = nameRegex; + OutputFile = outputFile; + PermissionSets = permissionSets; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/GetUserProvisionings.cs b/sdk/dotnet/Cloud_identity/GetUserProvisionings.cs new file mode 100644 index 00000000..485e1309 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetUserProvisionings.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetUserProvisionings + { + /// + /// Use this data source to query detailed information of cloud identity user provisionings + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new() + /// { + /// AccountId = "210026****", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetUserProvisioningsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getUserProvisionings:getUserProvisionings", args ?? new GetUserProvisioningsArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity user provisionings + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new() + /// { + /// AccountId = "210026****", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetUserProvisioningsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getUserProvisionings:getUserProvisionings", args ?? new GetUserProvisioningsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetUserProvisioningsArgs : global::Pulumi.InvokeArgs + { + /// + /// The account id. + /// + [Input("accountId")] + public string? AccountId { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + public GetUserProvisioningsArgs() + { + } + public static new GetUserProvisioningsArgs Empty => new GetUserProvisioningsArgs(); + } + + public sealed class GetUserProvisioningsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The account id. + /// + [Input("accountId")] + public Input? AccountId { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + public GetUserProvisioningsInvokeArgs() + { + } + public static new GetUserProvisioningsInvokeArgs Empty => new GetUserProvisioningsInvokeArgs(); + } + + + [OutputType] + public sealed class GetUserProvisioningsResult + { + public readonly string? AccountId; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OutputFile; + /// + /// The total count of query. + /// + public readonly int TotalCount; + /// + /// The collection of query. + /// + public readonly ImmutableArray UserProvisionings; + + [OutputConstructor] + private GetUserProvisioningsResult( + string? accountId, + + string id, + + string? outputFile, + + int totalCount, + + ImmutableArray userProvisionings) + { + AccountId = accountId; + Id = id; + OutputFile = outputFile; + TotalCount = totalCount; + UserProvisionings = userProvisionings; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/GetUsers.cs b/sdk/dotnet/Cloud_identity/GetUsers.cs new file mode 100644 index 00000000..1ffaa0bc --- /dev/null +++ b/sdk/dotnet/Cloud_identity/GetUsers.cs @@ -0,0 +1,241 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity +{ + public static class GetUsers + { + /// + /// Use this data source to query detailed information of cloud identity users + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooUser = new List<Volcengine.Cloud_identity.User>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooUser.Add(new Volcengine.Cloud_identity.User($"fooUser-{range.Value}", new() + /// { + /// Description = "tf", + /// DisplayName = $"tf-test-user-{range.Value}", + /// Email = "88@qq.com", + /// Phone = "181", + /// UserName = $"acc-test-user-{range.Value}", + /// })); + /// } + /// var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new() + /// { + /// Source = "Manual", + /// UserName = "acc-test-user", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetUsersArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:cloud_identity/getUsers:getUsers", args ?? new GetUsersArgs(), options.WithDefaults()); + + /// + /// Use this data source to query detailed information of cloud identity users + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooUser = new List<Volcengine.Cloud_identity.User>(); + /// for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// fooUser.Add(new Volcengine.Cloud_identity.User($"fooUser-{range.Value}", new() + /// { + /// Description = "tf", + /// DisplayName = $"tf-test-user-{range.Value}", + /// Email = "88@qq.com", + /// Phone = "181", + /// UserName = $"acc-test-user-{range.Value}", + /// })); + /// } + /// var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new() + /// { + /// Source = "Manual", + /// UserName = "acc-test-user", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetUsersInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:cloud_identity/getUsers:getUsers", args ?? new GetUsersInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetUsersArgs : global::Pulumi.InvokeArgs + { + /// + /// The department id. + /// + [Input("departmentId")] + public string? DepartmentId { get; set; } + + /// + /// The display name of cloud identity user. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// The source of cloud identity user. Valid values: `Sync`, `Manual`. + /// + [Input("source")] + public string? Source { get; set; } + + /// + /// The name of cloud identity user. + /// + [Input("userName")] + public string? UserName { get; set; } + + public GetUsersArgs() + { + } + public static new GetUsersArgs Empty => new GetUsersArgs(); + } + + public sealed class GetUsersInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The department id. + /// + [Input("departmentId")] + public Input? DepartmentId { get; set; } + + /// + /// The display name of cloud identity user. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// A Name Regex of Resource. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// The source of cloud identity user. Valid values: `Sync`, `Manual`. + /// + [Input("source")] + public Input? Source { get; set; } + + /// + /// The name of cloud identity user. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public GetUsersInvokeArgs() + { + } + public static new GetUsersInvokeArgs Empty => new GetUsersInvokeArgs(); + } + + + [OutputType] + public sealed class GetUsersResult + { + public readonly string? DepartmentId; + /// + /// The display name of the cloud identity user. + /// + public readonly string? DisplayName; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? NameRegex; + public readonly string? OutputFile; + /// + /// The source of the cloud identity user. + /// + public readonly string? Source; + /// + /// The total count of query. + /// + public readonly int TotalCount; + /// + /// The name of the cloud identity user. + /// + public readonly string? UserName; + /// + /// The collection of query. + /// + public readonly ImmutableArray Users; + + [OutputConstructor] + private GetUsersResult( + string? departmentId, + + string? displayName, + + string id, + + string? nameRegex, + + string? outputFile, + + string? source, + + int totalCount, + + string? userName, + + ImmutableArray users) + { + DepartmentId = departmentId; + DisplayName = displayName; + Id = id; + NameRegex = nameRegex; + OutputFile = outputFile; + Source = source; + TotalCount = totalCount; + UserName = userName; + Users = users; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Groups.cs b/sdk/dotnet/Cloud_identity/Groups.cs index c9eb3af3..a59603e3 100644 --- a/sdk/dotnet/Cloud_identity/Groups.cs +++ b/sdk/dotnet/Cloud_identity/Groups.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups")] public static class Groups { /// @@ -35,7 +36,7 @@ public static class Groups /// JoinType = "Manual", /// })); /// } - /// var fooGroups = Volcengine.Cloud_identity.Groups.Invoke(new() + /// var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new() /// { /// GroupName = "acc-test-group", /// JoinType = "Manual", @@ -71,7 +72,7 @@ public static Task InvokeAsync(GroupsArgs? args = null, InvokeOpti /// JoinType = "Manual", /// })); /// } - /// var fooGroups = Volcengine.Cloud_identity.Groups.Invoke(new() + /// var fooGroups = Volcengine.Cloud_identity.GetGroups.Invoke(new() /// { /// GroupName = "acc-test-group", /// JoinType = "Manual", diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetGroupsGroupResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetGroupsGroupResult.cs new file mode 100644 index 00000000..01b6bbf3 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetGroupsGroupResult.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetGroupsGroupResult + { + /// + /// The created time of the cloud identity group. + /// + public readonly string CreatedTime; + /// + /// The description of the cloud identity group. + /// + public readonly string Description; + /// + /// The display name of cloud identity group. + /// + public readonly string DisplayName; + /// + /// The id of the cloud identity group. + /// + public readonly string GroupId; + /// + /// The name of cloud identity group. + /// + public readonly string GroupName; + /// + /// The id of the cloud identity group. + /// + public readonly string Id; + /// + /// The join type of cloud identity group. Valid values: `Auto`, `Manual`. + /// + public readonly string JoinType; + /// + /// The source of the cloud identity group. + /// + public readonly string Source; + /// + /// The updated time of the cloud identity group. + /// + public readonly string UpdatedTime; + + [OutputConstructor] + private GetGroupsGroupResult( + string createdTime, + + string description, + + string displayName, + + string groupId, + + string groupName, + + string id, + + string joinType, + + string source, + + string updatedTime) + { + CreatedTime = createdTime; + Description = description; + DisplayName = displayName; + GroupId = groupId; + GroupName = groupName; + Id = id; + JoinType = joinType; + Source = source; + UpdatedTime = updatedTime; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetAssignmentsAssignmentResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetAssignmentsAssignmentResult.cs new file mode 100644 index 00000000..f85c3ba1 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetAssignmentsAssignmentResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetPermissionSetAssignmentsAssignmentResult + { + /// + /// The create time of the cloud identity permission set assignment. + /// + public readonly string CreateTime; + /// + /// The id of the cloud identity permission set. + /// + public readonly string Id; + /// + /// The id of cloud identity permission set. + /// + public readonly string PermissionSetId; + /// + /// The name of the cloud identity permission set. + /// + public readonly string PermissionSetName; + /// + /// The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + /// + public readonly string PrincipalId; + /// + /// The principal type of cloud identity permission set. Valid values: `User`, `Group`. + /// + public readonly string PrincipalType; + /// + /// The target account id of cloud identity permission set assignment. + /// + public readonly string TargetId; + + [OutputConstructor] + private GetPermissionSetAssignmentsAssignmentResult( + string createTime, + + string id, + + string permissionSetId, + + string permissionSetName, + + string principalId, + + string principalType, + + string targetId) + { + CreateTime = createTime; + Id = id; + PermissionSetId = permissionSetId; + PermissionSetName = permissionSetName; + PrincipalId = principalId; + PrincipalType = principalType; + TargetId = targetId; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetProvisioningsPermissionProvisioningResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetProvisioningsPermissionProvisioningResult.cs new file mode 100644 index 00000000..7d0ba364 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetProvisioningsPermissionProvisioningResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetPermissionSetProvisioningsPermissionProvisioningResult + { + /// + /// The create time of the cloud identity permission set provisioning. + /// + public readonly string CreateTime; + /// + /// The id of the cloud identity permission set. + /// + public readonly string Id; + /// + /// The id of cloud identity permission set. + /// + public readonly string PermissionSetId; + /// + /// The name of the cloud identity permission set. + /// + public readonly string PermissionSetName; + /// + /// The target account id of cloud identity permission set. + /// + public readonly string TargetId; + /// + /// The update time of the cloud identity permission set provisioning. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetPermissionSetProvisioningsPermissionProvisioningResult( + string createTime, + + string id, + + string permissionSetId, + + string permissionSetName, + + string targetId, + + string updateTime) + { + CreateTime = createTime; + Id = id; + PermissionSetId = permissionSetId; + PermissionSetName = permissionSetName; + TargetId = targetId; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetPermissionPolicyResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetPermissionPolicyResult.cs new file mode 100644 index 00000000..2f5c98e8 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetPermissionPolicyResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetPermissionSetsPermissionSetPermissionPolicyResult + { + /// + /// The create time of the cloud identity permission set policy. + /// + public readonly string CreateTime; + /// + /// The document of the cloud identity permission set policy. + /// + public readonly string PermissionPolicyDocument; + /// + /// The name of the cloud identity permission set policy. + /// + public readonly string PermissionPolicyName; + /// + /// The type of the cloud identity permission set policy. + /// + public readonly string PermissionPolicyType; + + [OutputConstructor] + private GetPermissionSetsPermissionSetPermissionPolicyResult( + string createTime, + + string permissionPolicyDocument, + + string permissionPolicyName, + + string permissionPolicyType) + { + CreateTime = createTime; + PermissionPolicyDocument = permissionPolicyDocument; + PermissionPolicyName = permissionPolicyName; + PermissionPolicyType = permissionPolicyType; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetResult.cs new file mode 100644 index 00000000..010335ef --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetPermissionSetsPermissionSetResult.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetPermissionSetsPermissionSetResult + { + /// + /// The create time of the cloud identity permission set. + /// + public readonly string CreatedTime; + /// + /// The description of the cloud identity permission set. + /// + public readonly string Description; + /// + /// The id of the cloud identity permission set. + /// + public readonly string Id; + /// + /// The name of the cloud identity permission set. + /// + public readonly string Name; + /// + /// The policies of the cloud identity permission set. + /// + public readonly ImmutableArray PermissionPolicies; + /// + /// The id of the cloud identity permission set. + /// + public readonly string PermissionSetId; + /// + /// The relay state of the cloud identity permission set. + /// + public readonly string RelayState; + /// + /// The session duration of the cloud identity permission set. + /// + public readonly int SessionDuration; + /// + /// The updated time of the cloud identity permission set. + /// + public readonly string UpdatedTime; + + [OutputConstructor] + private GetPermissionSetsPermissionSetResult( + string createdTime, + + string description, + + string id, + + string name, + + ImmutableArray permissionPolicies, + + string permissionSetId, + + string relayState, + + int sessionDuration, + + string updatedTime) + { + CreatedTime = createdTime; + Description = description; + Id = id; + Name = name; + PermissionPolicies = permissionPolicies; + PermissionSetId = permissionSetId; + RelayState = relayState; + SessionDuration = sessionDuration; + UpdatedTime = updatedTime; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetUserProvisioningsUserProvisioningResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetUserProvisioningsUserProvisioningResult.cs new file mode 100644 index 00000000..fcad5741 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetUserProvisioningsUserProvisioningResult.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetUserProvisioningsUserProvisioningResult + { + /// + /// The created time of the cloud identity user provisioning. + /// + public readonly string CreatedTime; + /// + /// The deletion strategy of the cloud identity user provisioning. + /// + public readonly string DeletionStrategy; + /// + /// The department names of the cloud identity user provisioning. + /// + public readonly ImmutableArray DepartmentNames; + /// + /// The description of the cloud identity user provisioning. + /// + public readonly string Description; + /// + /// The duplication strategy of the cloud identity user provisioning. + /// + public readonly string DuplicationStrategy; + /// + /// The duplication suffix of the cloud identity user provisioning. + /// + public readonly string DuplicationSuffix; + /// + /// The id of the cloud identity user provisioning. + /// + public readonly string Id; + /// + /// The identity source strategy of the cloud identity user provisioning. + /// + public readonly string IdentitySourceStrategy; + /// + /// The principal id of the cloud identity user provisioning. + /// + public readonly string PrincipalId; + /// + /// The principal name of the cloud identity user provisioning. + /// + public readonly string PrincipalName; + /// + /// The principal type of the cloud identity user provisioning. + /// + public readonly string PrincipalType; + /// + /// The status of the cloud identity user provisioning. + /// + public readonly string ProvisionStatus; + /// + /// The target account id of the cloud identity user provisioning. + /// + public readonly string TargetId; + /// + /// The updated time of the cloud identity user provisioning. + /// + public readonly string UpdatedTime; + /// + /// The id of the cloud identity user provisioning. + /// + public readonly string UserProvisioningId; + + [OutputConstructor] + private GetUserProvisioningsUserProvisioningResult( + string createdTime, + + string deletionStrategy, + + ImmutableArray departmentNames, + + string description, + + string duplicationStrategy, + + string duplicationSuffix, + + string id, + + string identitySourceStrategy, + + string principalId, + + string principalName, + + string principalType, + + string provisionStatus, + + string targetId, + + string updatedTime, + + string userProvisioningId) + { + CreatedTime = createdTime; + DeletionStrategy = deletionStrategy; + DepartmentNames = departmentNames; + Description = description; + DuplicationStrategy = duplicationStrategy; + DuplicationSuffix = duplicationSuffix; + Id = id; + IdentitySourceStrategy = identitySourceStrategy; + PrincipalId = principalId; + PrincipalName = principalName; + PrincipalType = principalType; + ProvisionStatus = provisionStatus; + TargetId = targetId; + UpdatedTime = updatedTime; + UserProvisioningId = userProvisioningId; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/Outputs/GetUsersUserResult.cs b/sdk/dotnet/Cloud_identity/Outputs/GetUsersUserResult.cs new file mode 100644 index 00000000..97d74754 --- /dev/null +++ b/sdk/dotnet/Cloud_identity/Outputs/GetUsersUserResult.cs @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Cloud_identity.Outputs +{ + + [OutputType] + public sealed class GetUsersUserResult + { + /// + /// The created time of the cloud identity user. + /// + public readonly string CreatedTime; + /// + /// The description of the cloud identity user. + /// + public readonly string Description; + /// + /// The display name of cloud identity user. + /// + public readonly string DisplayName; + /// + /// The email of the cloud identity user. + /// + public readonly string Email; + /// + /// The id of the cloud identity user. + /// + public readonly string Id; + /// + /// The identity type of the cloud identity user. + /// + public readonly string IdentityType; + /// + /// The phone of the cloud identity user. + /// + public readonly string Phone; + /// + /// The source of cloud identity user. Valid values: `Sync`, `Manual`. + /// + public readonly string Source; + /// + /// The updated time of the cloud identity user. + /// + public readonly string UpdatedTime; + /// + /// The id of the cloud identity user. + /// + public readonly string UserId; + /// + /// The name of cloud identity user. + /// + public readonly string UserName; + + [OutputConstructor] + private GetUsersUserResult( + string createdTime, + + string description, + + string displayName, + + string email, + + string id, + + string identityType, + + string phone, + + string source, + + string updatedTime, + + string userId, + + string userName) + { + CreatedTime = createdTime; + Description = description; + DisplayName = displayName; + Email = email; + Id = id; + IdentityType = identityType; + Phone = phone; + Source = source; + UpdatedTime = updatedTime; + UserId = userId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Cloud_identity/PermissionSetAssignments.cs b/sdk/dotnet/Cloud_identity/PermissionSetAssignments.cs index 439d0171..e9b5cd9b 100644 --- a/sdk/dotnet/Cloud_identity/PermissionSetAssignments.cs +++ b/sdk/dotnet/Cloud_identity/PermissionSetAssignments.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments")] public static class PermissionSetAssignments { /// @@ -66,7 +67,7 @@ public static class PermissionSetAssignments /// PrincipalId = fooUser.Id, /// }); /// - /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.PermissionSetAssignments.Invoke(new() + /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new() /// { /// PermissionSetId = fooPermissionSetAssignment.PermissionSetId, /// }); @@ -132,7 +133,7 @@ public static Task InvokeAsync(PermissionSetAssi /// PrincipalId = fooUser.Id, /// }); /// - /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.PermissionSetAssignments.Invoke(new() + /// var fooPermissionSetAssignments = Volcengine.Cloud_identity.GetPermissionSetAssignments.Invoke(new() /// { /// PermissionSetId = fooPermissionSetAssignment.PermissionSetId, /// }); diff --git a/sdk/dotnet/Cloud_identity/PermissionSetProvisionings.cs b/sdk/dotnet/Cloud_identity/PermissionSetProvisionings.cs index feb30706..61ab6c6d 100644 --- a/sdk/dotnet/Cloud_identity/PermissionSetProvisionings.cs +++ b/sdk/dotnet/Cloud_identity/PermissionSetProvisionings.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings")] public static class PermissionSetProvisionings { /// @@ -23,7 +24,7 @@ public static class PermissionSetProvisionings /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cloud_identity.PermissionSetProvisionings.Invoke(new() + /// var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new() /// { /// TargetId = "210026****", /// }); @@ -46,7 +47,7 @@ public static Task InvokeAsync(PermissionSetPr /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cloud_identity.PermissionSetProvisionings.Invoke(new() + /// var foo = Volcengine.Cloud_identity.GetPermissionSetProvisionings.Invoke(new() /// { /// TargetId = "210026****", /// }); diff --git a/sdk/dotnet/Cloud_identity/PermissionSets.cs b/sdk/dotnet/Cloud_identity/PermissionSets.cs index 724f76a3..5481e0ab 100644 --- a/sdk/dotnet/Cloud_identity/PermissionSets.cs +++ b/sdk/dotnet/Cloud_identity/PermissionSets.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets")] public static class PermissionSets { /// @@ -53,7 +54,7 @@ public static class PermissionSets /// }, /// })); /// } - /// var fooPermissionSets = Volcengine.Cloud_identity.PermissionSets.Invoke(new() + /// var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new() /// { /// Ids = fooPermissionSet.Select(__item => __item.Id).ToList(), /// }); @@ -106,7 +107,7 @@ public static Task InvokeAsync(PermissionSetsArgs? args = /// }, /// })); /// } - /// var fooPermissionSets = Volcengine.Cloud_identity.PermissionSets.Invoke(new() + /// var fooPermissionSets = Volcengine.Cloud_identity.GetPermissionSets.Invoke(new() /// { /// Ids = fooPermissionSet.Select(__item => __item.Id).ToList(), /// }); diff --git a/sdk/dotnet/Cloud_identity/UserProvisionings.cs b/sdk/dotnet/Cloud_identity/UserProvisionings.cs index fc37380d..f9e5eb00 100644 --- a/sdk/dotnet/Cloud_identity/UserProvisionings.cs +++ b/sdk/dotnet/Cloud_identity/UserProvisionings.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings")] public static class UserProvisionings { /// @@ -23,7 +24,7 @@ public static class UserProvisionings /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cloud_identity.UserProvisionings.Invoke(new() + /// var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new() /// { /// AccountId = "210026****", /// }); @@ -46,7 +47,7 @@ public static Task InvokeAsync(UserProvisioningsArgs? a /// /// return await Deployment.RunAsync(() => /// { - /// var foo = Volcengine.Cloud_identity.UserProvisionings.Invoke(new() + /// var foo = Volcengine.Cloud_identity.GetUserProvisionings.Invoke(new() /// { /// AccountId = "210026****", /// }); diff --git a/sdk/dotnet/Cloud_identity/Users.cs b/sdk/dotnet/Cloud_identity/Users.cs index d3e49285..e033c4a0 100644 --- a/sdk/dotnet/Cloud_identity/Users.cs +++ b/sdk/dotnet/Cloud_identity/Users.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Cloud_identity { + [Obsolete(@"volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers")] public static class Users { /// @@ -36,7 +37,7 @@ public static class Users /// UserName = $"acc-test-user-{range.Value}", /// })); /// } - /// var fooUsers = Volcengine.Cloud_identity.Users.Invoke(new() + /// var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new() /// { /// Source = "Manual", /// UserName = "acc-test-user", @@ -73,7 +74,7 @@ public static Task InvokeAsync(UsersArgs? args = null, InvokeOption /// UserName = $"acc-test-user-{range.Value}", /// })); /// } - /// var fooUsers = Volcengine.Cloud_identity.Users.Invoke(new() + /// var fooUsers = Volcengine.Cloud_identity.GetUsers.Invoke(new() /// { /// Source = "Manual", /// UserName = "acc-test-user", diff --git a/sdk/dotnet/Escloud/GetInstances.cs b/sdk/dotnet/Escloud/GetInstances.cs new file mode 100644 index 00000000..b747a8af --- /dev/null +++ b/sdk/dotnet/Escloud/GetInstances.cs @@ -0,0 +1,420 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + public static class GetInstances + { + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooZones = Volcengine.Ecs.Zones.Invoke(); + /// + /// var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new() + /// { + /// VpcName = "acc-test-vpc", + /// CidrBlock = "172.16.0.0/16", + /// }); + /// + /// var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new() + /// { + /// SubnetName = "acc-test-subnet_new", + /// Description = "tfdesc", + /// CidrBlock = "172.16.0.0/24", + /// ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// VpcId = fooVpc.Id, + /// }); + /// + /// var fooInstance = new Volcengine.Escloud.Instance("fooInstance", new() + /// { + /// InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs + /// { + /// Version = "V6_7", + /// ZoneNumber = 1, + /// EnableHttps = true, + /// AdminUserName = "admin", + /// AdminPassword = "Password@@", + /// ChargeType = "PostPaid", + /// ConfigurationCode = "es.standard", + /// EnablePureMaster = true, + /// InstanceName = "acc-test-0", + /// NodeSpecsAssigns = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Master", + /// Number = 3, + /// ResourceSpecName = "es.x4.medium", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 100, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Hot", + /// Number = 2, + /// ResourceSpecName = "es.x4.large", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 100, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Kibana", + /// Number = 1, + /// ResourceSpecName = "kibana.x2.small", + /// }, + /// }, + /// SubnetId = fooSubnet.Id, + /// ProjectName = "default", + /// ForceRestartAfterScale = false, + /// }, + /// }); + /// + /// var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new() + /// { + /// Ids = new[] + /// { + /// fooInstance.Id, + /// }, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetInstancesArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/getInstances:getInstances", args ?? new GetInstancesArgs(), options.WithDefaults()); + + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooZones = Volcengine.Ecs.Zones.Invoke(); + /// + /// var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new() + /// { + /// VpcName = "acc-test-vpc", + /// CidrBlock = "172.16.0.0/16", + /// }); + /// + /// var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new() + /// { + /// SubnetName = "acc-test-subnet_new", + /// Description = "tfdesc", + /// CidrBlock = "172.16.0.0/24", + /// ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// VpcId = fooVpc.Id, + /// }); + /// + /// var fooInstance = new Volcengine.Escloud.Instance("fooInstance", new() + /// { + /// InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs + /// { + /// Version = "V6_7", + /// ZoneNumber = 1, + /// EnableHttps = true, + /// AdminUserName = "admin", + /// AdminPassword = "Password@@", + /// ChargeType = "PostPaid", + /// ConfigurationCode = "es.standard", + /// EnablePureMaster = true, + /// InstanceName = "acc-test-0", + /// NodeSpecsAssigns = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Master", + /// Number = 3, + /// ResourceSpecName = "es.x4.medium", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 100, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Hot", + /// Number = 2, + /// ResourceSpecName = "es.x4.large", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 100, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs + /// { + /// Type = "Kibana", + /// Number = 1, + /// ResourceSpecName = "kibana.x2.small", + /// }, + /// }, + /// SubnetId = fooSubnet.Id, + /// ProjectName = "default", + /// ForceRestartAfterScale = false, + /// }, + /// }); + /// + /// var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new() + /// { + /// Ids = new[] + /// { + /// fooInstance.Id, + /// }, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetInstancesInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:escloud/getInstances:getInstances", args ?? new GetInstancesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetInstancesArgs : global::Pulumi.InvokeArgs + { + [Input("chargeTypes")] + private List? _chargeTypes; + + /// + /// The charge types of instance. + /// + public List ChargeTypes + { + get => _chargeTypes ?? (_chargeTypes = new List()); + set => _chargeTypes = value; + } + + [Input("ids")] + private List? _ids; + + /// + /// A list of instance IDs. + /// + public List Ids + { + get => _ids ?? (_ids = new List()); + set => _ids = value; + } + + [Input("names")] + private List? _names; + + /// + /// The names of instance. + /// + public List Names + { + get => _names ?? (_names = new List()); + set => _names = value; + } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + [Input("statuses")] + private List? _statuses; + + /// + /// The list status of instance. + /// + public List Statuses + { + get => _statuses ?? (_statuses = new List()); + set => _statuses = value; + } + + [Input("versions")] + private List? _versions; + + /// + /// The versions of instance. + /// + public List Versions + { + get => _versions ?? (_versions = new List()); + set => _versions = value; + } + + [Input("zoneIds")] + private List? _zoneIds; + + /// + /// The available zone IDs of instance. + /// + public List ZoneIds + { + get => _zoneIds ?? (_zoneIds = new List()); + set => _zoneIds = value; + } + + public GetInstancesArgs() + { + } + public static new GetInstancesArgs Empty => new GetInstancesArgs(); + } + + public sealed class GetInstancesInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("chargeTypes")] + private InputList? _chargeTypes; + + /// + /// The charge types of instance. + /// + public InputList ChargeTypes + { + get => _chargeTypes ?? (_chargeTypes = new InputList()); + set => _chargeTypes = value; + } + + [Input("ids")] + private InputList? _ids; + + /// + /// A list of instance IDs. + /// + public InputList Ids + { + get => _ids ?? (_ids = new InputList()); + set => _ids = value; + } + + [Input("names")] + private InputList? _names; + + /// + /// The names of instance. + /// + public InputList Names + { + get => _names ?? (_names = new InputList()); + set => _names = value; + } + + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + [Input("statuses")] + private InputList? _statuses; + + /// + /// The list status of instance. + /// + public InputList Statuses + { + get => _statuses ?? (_statuses = new InputList()); + set => _statuses = value; + } + + [Input("versions")] + private InputList? _versions; + + /// + /// The versions of instance. + /// + public InputList Versions + { + get => _versions ?? (_versions = new InputList()); + set => _versions = value; + } + + [Input("zoneIds")] + private InputList? _zoneIds; + + /// + /// The available zone IDs of instance. + /// + public InputList ZoneIds + { + get => _zoneIds ?? (_zoneIds = new InputList()); + set => _zoneIds = value; + } + + public GetInstancesInvokeArgs() + { + } + public static new GetInstancesInvokeArgs Empty => new GetInstancesInvokeArgs(); + } + + + [OutputType] + public sealed class GetInstancesResult + { + public readonly ImmutableArray ChargeTypes; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly ImmutableArray Ids; + /// + /// The collection of instance query. + /// + public readonly ImmutableArray Instances; + public readonly ImmutableArray Names; + public readonly string? OutputFile; + public readonly ImmutableArray Statuses; + /// + /// The total count of instance query. + /// + public readonly int TotalCount; + public readonly ImmutableArray Versions; + public readonly ImmutableArray ZoneIds; + + [OutputConstructor] + private GetInstancesResult( + ImmutableArray chargeTypes, + + string id, + + ImmutableArray ids, + + ImmutableArray instances, + + ImmutableArray names, + + string? outputFile, + + ImmutableArray statuses, + + int totalCount, + + ImmutableArray versions, + + ImmutableArray zoneIds) + { + ChargeTypes = chargeTypes; + Id = id; + Ids = ids; + Instances = instances; + Names = names; + OutputFile = outputFile; + Statuses = statuses; + TotalCount = totalCount; + Versions = versions; + ZoneIds = zoneIds; + } + } +} diff --git a/sdk/dotnet/Escloud/GetInstancesV2.cs b/sdk/dotnet/Escloud/GetInstancesV2.cs new file mode 100644 index 00000000..d53992ad --- /dev/null +++ b/sdk/dotnet/Escloud/GetInstancesV2.cs @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + public static class GetInstancesV2 + { + public static Task InvokeAsync(GetInstancesV2Args? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/getInstancesV2:getInstancesV2", args ?? new GetInstancesV2Args(), options.WithDefaults()); + + public static Output Invoke(GetInstancesV2InvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:escloud/getInstancesV2:getInstancesV2", args ?? new GetInstancesV2InvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetInstancesV2Args : global::Pulumi.InvokeArgs + { + [Input("chargeTypes")] + private List? _chargeTypes; + public List ChargeTypes + { + get => _chargeTypes ?? (_chargeTypes = new List()); + set => _chargeTypes = value; + } + + [Input("ids")] + private List? _ids; + public List Ids + { + get => _ids ?? (_ids = new List()); + set => _ids = value; + } + + [Input("instanceNames")] + private List? _instanceNames; + public List InstanceNames + { + get => _instanceNames ?? (_instanceNames = new List()); + set => _instanceNames = value; + } + + [Input("outputFile")] + public string? OutputFile { get; set; } + + [Input("projectName")] + public string? ProjectName { get; set; } + + [Input("statuses")] + private List? _statuses; + public List Statuses + { + get => _statuses ?? (_statuses = new List()); + set => _statuses = value; + } + + [Input("tags")] + private List? _tags; + public List Tags + { + get => _tags ?? (_tags = new List()); + set => _tags = value; + } + + [Input("versions")] + private List? _versions; + public List Versions + { + get => _versions ?? (_versions = new List()); + set => _versions = value; + } + + [Input("zoneIds")] + private List? _zoneIds; + public List ZoneIds + { + get => _zoneIds ?? (_zoneIds = new List()); + set => _zoneIds = value; + } + + public GetInstancesV2Args() + { + } + public static new GetInstancesV2Args Empty => new GetInstancesV2Args(); + } + + public sealed class GetInstancesV2InvokeArgs : global::Pulumi.InvokeArgs + { + [Input("chargeTypes")] + private InputList? _chargeTypes; + public InputList ChargeTypes + { + get => _chargeTypes ?? (_chargeTypes = new InputList()); + set => _chargeTypes = value; + } + + [Input("ids")] + private InputList? _ids; + public InputList Ids + { + get => _ids ?? (_ids = new InputList()); + set => _ids = value; + } + + [Input("instanceNames")] + private InputList? _instanceNames; + public InputList InstanceNames + { + get => _instanceNames ?? (_instanceNames = new InputList()); + set => _instanceNames = value; + } + + [Input("outputFile")] + public Input? OutputFile { get; set; } + + [Input("projectName")] + public Input? ProjectName { get; set; } + + [Input("statuses")] + private InputList? _statuses; + public InputList Statuses + { + get => _statuses ?? (_statuses = new InputList()); + set => _statuses = value; + } + + [Input("tags")] + private InputList? _tags; + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + [Input("versions")] + private InputList? _versions; + public InputList Versions + { + get => _versions ?? (_versions = new InputList()); + set => _versions = value; + } + + [Input("zoneIds")] + private InputList? _zoneIds; + public InputList ZoneIds + { + get => _zoneIds ?? (_zoneIds = new InputList()); + set => _zoneIds = value; + } + + public GetInstancesV2InvokeArgs() + { + } + public static new GetInstancesV2InvokeArgs Empty => new GetInstancesV2InvokeArgs(); + } + + + [OutputType] + public sealed class GetInstancesV2Result + { + public readonly ImmutableArray ChargeTypes; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly ImmutableArray Ids; + public readonly ImmutableArray InstanceNames; + public readonly ImmutableArray Instances; + public readonly string? OutputFile; + public readonly string? ProjectName; + public readonly ImmutableArray Statuses; + public readonly ImmutableArray Tags; + public readonly int TotalCount; + public readonly ImmutableArray Versions; + public readonly ImmutableArray ZoneIds; + + [OutputConstructor] + private GetInstancesV2Result( + ImmutableArray chargeTypes, + + string id, + + ImmutableArray ids, + + ImmutableArray instanceNames, + + ImmutableArray instances, + + string? outputFile, + + string? projectName, + + ImmutableArray statuses, + + ImmutableArray tags, + + int totalCount, + + ImmutableArray versions, + + ImmutableArray zoneIds) + { + ChargeTypes = chargeTypes; + Id = id; + Ids = ids; + InstanceNames = instanceNames; + Instances = instances; + OutputFile = outputFile; + ProjectName = projectName; + Statuses = statuses; + Tags = tags; + TotalCount = totalCount; + Versions = versions; + ZoneIds = zoneIds; + } + } +} diff --git a/sdk/dotnet/Escloud/GetRegions.cs b/sdk/dotnet/Escloud/GetRegions.cs new file mode 100644 index 00000000..f51e9c48 --- /dev/null +++ b/sdk/dotnet/Escloud/GetRegions.cs @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + public static class GetRegions + { + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Volcengine.Escloud.GetRegions.Invoke(); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetRegionsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/getRegions:getRegions", args ?? new GetRegionsArgs(), options.WithDefaults()); + + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Volcengine.Escloud.GetRegions.Invoke(); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRegionsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:escloud/getRegions:getRegions", args ?? new GetRegionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRegionsArgs : global::Pulumi.InvokeArgs + { + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + public GetRegionsArgs() + { + } + public static new GetRegionsArgs Empty => new GetRegionsArgs(); + } + + public sealed class GetRegionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + public GetRegionsInvokeArgs() + { + } + public static new GetRegionsInvokeArgs Empty => new GetRegionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetRegionsResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OutputFile; + /// + /// The collection of region query. + /// + public readonly ImmutableArray Regions; + /// + /// The total count of region query. + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetRegionsResult( + string id, + + string? outputFile, + + ImmutableArray regions, + + int totalCount) + { + Id = id; + OutputFile = outputFile; + Regions = regions; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/Escloud/GetZones.cs b/sdk/dotnet/Escloud/GetZones.cs new file mode 100644 index 00000000..123a37d7 --- /dev/null +++ b/sdk/dotnet/Escloud/GetZones.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + public static class GetZones + { + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Volcengine.Escloud.GetZones.Invoke(new() + /// { + /// RegionId = "xxx", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetZonesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/getZones:getZones", args ?? new GetZonesArgs(), options.WithDefaults()); + + /// + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Volcengine.Escloud.GetZones.Invoke(new() + /// { + /// RegionId = "xxx", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetZonesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("volcengine:escloud/getZones:getZones", args ?? new GetZonesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetZonesArgs : global::Pulumi.InvokeArgs + { + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public string? OutputFile { get; set; } + + /// + /// The Id of Region. + /// + [Input("regionId", required: true)] + public string RegionId { get; set; } = null!; + + public GetZonesArgs() + { + } + public static new GetZonesArgs Empty => new GetZonesArgs(); + } + + public sealed class GetZonesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// File name where to save data source results. + /// + [Input("outputFile")] + public Input? OutputFile { get; set; } + + /// + /// The Id of Region. + /// + [Input("regionId", required: true)] + public Input RegionId { get; set; } = null!; + + public GetZonesInvokeArgs() + { + } + public static new GetZonesInvokeArgs Empty => new GetZonesInvokeArgs(); + } + + + [OutputType] + public sealed class GetZonesResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OutputFile; + public readonly string RegionId; + /// + /// The total count of zone query. + /// + public readonly int TotalCount; + /// + /// The collection of zone query. + /// + public readonly ImmutableArray Zones; + + [OutputConstructor] + private GetZonesResult( + string id, + + string? outputFile, + + string regionId, + + int totalCount, + + ImmutableArray zones) + { + Id = id; + OutputFile = outputFile; + RegionId = regionId; + TotalCount = totalCount; + Zones = zones; + } + } +} diff --git a/sdk/dotnet/Escloud/Inputs/GetInstancesV2Tag.cs b/sdk/dotnet/Escloud/Inputs/GetInstancesV2Tag.cs new file mode 100644 index 00000000..cc097eac --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/GetInstancesV2Tag.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class GetInstancesV2TagArgs : global::Pulumi.InvokeArgs + { + /// + /// The Key of Tags. + /// + [Input("key", required: true)] + public string Key { get; set; } = null!; + + [Input("values", required: true)] + private List? _values; + + /// + /// The Value of Tags. + /// + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetInstancesV2TagArgs() + { + } + public static new GetInstancesV2TagArgs Empty => new GetInstancesV2TagArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/GetInstancesV2TagArgs.cs b/sdk/dotnet/Escloud/Inputs/GetInstancesV2TagArgs.cs new file mode 100644 index 00000000..512779c8 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/GetInstancesV2TagArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class GetInstancesV2TagInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The Key of Tags. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("values", required: true)] + private InputList? _values; + + /// + /// The Value of Tags. + /// + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetInstancesV2TagInputArgs() + { + } + public static new GetInstancesV2TagInputArgs Empty => new GetInstancesV2TagInputArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecArgs.cs new file mode 100644 index 00000000..042d8b68 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NetworkSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// The bandwidth of the eip. Unit: Mbps. + /// + [Input("bandwidth", required: true)] + public Input Bandwidth { get; set; } = null!; + + /// + /// Whether the eip is opened. + /// + [Input("isOpen", required: true)] + public Input IsOpen { get; set; } = null!; + + /// + /// The spec name of public network. + /// + [Input("specName", required: true)] + public Input SpecName { get; set; } = null!; + + /// + /// The type of public network, valid values: `Elasticsearch`, `Kibana`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public InstanceV2NetworkSpecArgs() + { + } + public static new InstanceV2NetworkSpecArgs Empty => new InstanceV2NetworkSpecArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecGetArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecGetArgs.cs new file mode 100644 index 00000000..8c302ab4 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NetworkSpecGetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NetworkSpecGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The bandwidth of the eip. Unit: Mbps. + /// + [Input("bandwidth", required: true)] + public Input Bandwidth { get; set; } = null!; + + /// + /// Whether the eip is opened. + /// + [Input("isOpen", required: true)] + public Input IsOpen { get; set; } = null!; + + /// + /// The spec name of public network. + /// + [Input("specName", required: true)] + public Input SpecName { get; set; } = null!; + + /// + /// The type of public network, valid values: `Elasticsearch`, `Kibana`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public InstanceV2NetworkSpecGetArgs() + { + } + public static new InstanceV2NetworkSpecGetArgs Empty => new InstanceV2NetworkSpecGetArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignArgs.cs new file mode 100644 index 00000000..c6536791 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NodeSpecsAssignArgs : global::Pulumi.ResourceArgs + { + /// + /// The extra performance of FlexPL storage spec. + /// + [Input("extraPerformance")] + public Input? ExtraPerformance { get; set; } + + /// + /// The number of node. + /// + [Input("number", required: true)] + public Input Number { get; set; } = null!; + + /// + /// The name of compute resource spec. + /// + [Input("resourceSpecName", required: true)] + public Input ResourceSpecName { get; set; } = null!; + + /// + /// The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + /// + [Input("storageSize", required: true)] + public Input StorageSize { get; set; } = null!; + + /// + /// The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + /// + [Input("storageSpecName", required: true)] + public Input StorageSpecName { get; set; } = null!; + + /// + /// The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public InstanceV2NodeSpecsAssignArgs() + { + } + public static new InstanceV2NodeSpecsAssignArgs Empty => new InstanceV2NodeSpecsAssignArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceArgs.cs new file mode 100644 index 00000000..ad811a83 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceArgs.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NodeSpecsAssignExtraPerformanceArgs : global::Pulumi.ResourceArgs + { + /// + /// When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + /// The unit is MiB, and the adjustment step size is 10MiB. + /// + [Input("throughput", required: true)] + public Input Throughput { get; set; } = null!; + + public InstanceV2NodeSpecsAssignExtraPerformanceArgs() + { + } + public static new InstanceV2NodeSpecsAssignExtraPerformanceArgs Empty => new InstanceV2NodeSpecsAssignExtraPerformanceArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceGetArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceGetArgs.cs new file mode 100644 index 00000000..5d392815 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignExtraPerformanceGetArgs.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NodeSpecsAssignExtraPerformanceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + /// The unit is MiB, and the adjustment step size is 10MiB. + /// + [Input("throughput", required: true)] + public Input Throughput { get; set; } = null!; + + public InstanceV2NodeSpecsAssignExtraPerformanceGetArgs() + { + } + public static new InstanceV2NodeSpecsAssignExtraPerformanceGetArgs Empty => new InstanceV2NodeSpecsAssignExtraPerformanceGetArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignGetArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignGetArgs.cs new file mode 100644 index 00000000..53dceacb --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2NodeSpecsAssignGetArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2NodeSpecsAssignGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The extra performance of FlexPL storage spec. + /// + [Input("extraPerformance")] + public Input? ExtraPerformance { get; set; } + + /// + /// The number of node. + /// + [Input("number", required: true)] + public Input Number { get; set; } = null!; + + /// + /// The name of compute resource spec. + /// + [Input("resourceSpecName", required: true)] + public Input ResourceSpecName { get; set; } = null!; + + /// + /// The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + /// + [Input("storageSize", required: true)] + public Input StorageSize { get; set; } = null!; + + /// + /// The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + /// + [Input("storageSpecName", required: true)] + public Input StorageSpecName { get; set; } = null!; + + /// + /// The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public InstanceV2NodeSpecsAssignGetArgs() + { + } + public static new InstanceV2NodeSpecsAssignGetArgs Empty => new InstanceV2NodeSpecsAssignGetArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2TagArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2TagArgs.cs new file mode 100644 index 00000000..9e8f7446 --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2TagArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2TagArgs : global::Pulumi.ResourceArgs + { + /// + /// The Key of Tags. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The Value of Tags. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public InstanceV2TagArgs() + { + } + public static new InstanceV2TagArgs Empty => new InstanceV2TagArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Inputs/InstanceV2TagGetArgs.cs b/sdk/dotnet/Escloud/Inputs/InstanceV2TagGetArgs.cs new file mode 100644 index 00000000..c13e50fd --- /dev/null +++ b/sdk/dotnet/Escloud/Inputs/InstanceV2TagGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Inputs +{ + + public sealed class InstanceV2TagGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Key of Tags. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The Value of Tags. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public InstanceV2TagGetArgs() + { + } + public static new InstanceV2TagGetArgs Empty => new InstanceV2TagGetArgs(); + } +} diff --git a/sdk/dotnet/Escloud/Instance.cs b/sdk/dotnet/Escloud/Instance.cs index fbd0dde1..3b9f96e4 100644 --- a/sdk/dotnet/Escloud/Instance.cs +++ b/sdk/dotnet/Escloud/Instance.cs @@ -10,7 +10,7 @@ namespace Pulumi.Volcengine.Escloud { /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Provides a resource to manage escloud instance /// ## Example Usage /// /// ```csharp diff --git a/sdk/dotnet/Escloud/InstanceV2.cs b/sdk/dotnet/Escloud/InstanceV2.cs new file mode 100644 index 00000000..1737eed3 --- /dev/null +++ b/sdk/dotnet/Escloud/InstanceV2.cs @@ -0,0 +1,825 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooZones = Volcengine.Ecs.Zones.Invoke(); + /// + /// var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new() + /// { + /// VpcName = "acc-test-vpc", + /// CidrBlock = "172.16.0.0/16", + /// }); + /// + /// var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new() + /// { + /// SubnetName = "acc-test-subnet", + /// Description = "tfdesc", + /// CidrBlock = "172.16.0.0/24", + /// ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// VpcId = fooVpc.Id, + /// }); + /// + /// var fooInstanceV2 = new Volcengine.Escloud.InstanceV2("fooInstanceV2", new() + /// { + /// InstanceName = "acc-test-escloud-instance", + /// Version = "V7_10", + /// ZoneIds = new[] + /// { + /// fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// fooZones.Apply(zonesResult => zonesResult.Zones[1]?.Id), + /// fooZones.Apply(zonesResult => zonesResult.Zones[2]?.Id), + /// }, + /// SubnetId = fooSubnet.Id, + /// EnableHttps = false, + /// AdminPassword = "Password@@123", + /// ChargeType = "PostPaid", + /// AutoRenew = false, + /// Period = 1, + /// ConfigurationCode = "es.standard", + /// EnablePureMaster = true, + /// DeletionProtection = false, + /// ProjectName = "default", + /// NodeSpecsAssigns = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Master", + /// Number = 3, + /// ResourceSpecName = "es.x2.medium", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 20, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Hot", + /// Number = 6, + /// ResourceSpecName = "es.x2.medium", + /// StorageSpecName = "es.volume.essd.flexpl-standard", + /// StorageSize = 500, + /// ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs + /// { + /// Throughput = 65, + /// }, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Kibana", + /// Number = 1, + /// ResourceSpecName = "kibana.x2.small", + /// StorageSpecName = "", + /// StorageSize = 0, + /// }, + /// }, + /// NetworkSpecs = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs + /// { + /// Type = "Elasticsearch", + /// Bandwidth = 1, + /// IsOpen = true, + /// SpecName = "es.eip.bgp_fixed_bandwidth", + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs + /// { + /// Type = "Kibana", + /// Bandwidth = 1, + /// IsOpen = true, + /// SpecName = "es.eip.bgp_fixed_bandwidth", + /// }, + /// }, + /// Tags = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2TagArgs + /// { + /// Key = "k1", + /// Value = "v1", + /// }, + /// }, + /// }); + /// + /// // maintenance_time = "02:00-08:00" + /// // maintenance_day = ["FRIDAY", "MONDAY"] + /// }); + /// ``` + /// + /// ## Import + /// + /// EscloudInstanceV2 can be imported using the id, e.g. + /// + /// ```sh + /// $ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id + /// ``` + /// + [VolcengineResourceType("volcengine:escloud/instanceV2:InstanceV2")] + public partial class InstanceV2 : global::Pulumi.CustomResource + { + /// + /// The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + /// + [Output("adminPassword")] + public Output AdminPassword { get; private set; } = null!; + + /// + /// Whether to automatically renew in prepaid scenarios. Default is false. + /// + [Output("autoRenew")] + public Output AutoRenew { get; private set; } = null!; + + /// + /// The cerebro private domain of instance. + /// + [Output("cerebroPrivateDomain")] + public Output CerebroPrivateDomain { get; private set; } = null!; + + /// + /// The cerebro public domain of instance. + /// + [Output("cerebroPublicDomain")] + public Output CerebroPublicDomain { get; private set; } = null!; + + /// + /// The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + /// + [Output("chargeType")] + public Output ChargeType { get; private set; } = null!; + + /// + /// Configuration code used for billing. + /// + [Output("configurationCode")] + public Output ConfigurationCode { get; private set; } = null!; + + /// + /// Whether enable deletion protection for ESCloud instance. Default is false. + /// + [Output("deletionProtection")] + public Output DeletionProtection { get; private set; } = null!; + + /// + /// Whether Https access is enabled. + /// + [Output("enableHttps")] + public Output EnableHttps { get; private set; } = null!; + + /// + /// Whether the Master node is independent. + /// + [Output("enablePureMaster")] + public Output EnablePureMaster { get; private set; } = null!; + + /// + /// The eip address of instance. + /// + [Output("esEip")] + public Output EsEip { get; private set; } = null!; + + /// + /// The eip id associated with the instance. + /// + [Output("esEipId")] + public Output EsEipId { get; private set; } = null!; + + /// + /// The es private domain of instance. + /// + [Output("esPrivateDomain")] + public Output EsPrivateDomain { get; private set; } = null!; + + /// + /// The es private endpoint of instance. + /// + [Output("esPrivateEndpoint")] + public Output EsPrivateEndpoint { get; private set; } = null!; + + /// + /// The whitelist of es private ip. + /// + [Output("esPrivateIpWhitelist")] + public Output EsPrivateIpWhitelist { get; private set; } = null!; + + /// + /// The es public domain of instance. + /// + [Output("esPublicDomain")] + public Output EsPublicDomain { get; private set; } = null!; + + /// + /// The es public endpoint of instance. + /// + [Output("esPublicEndpoint")] + public Output EsPublicEndpoint { get; private set; } = null!; + + /// + /// The whitelist of es public ip. + /// + [Output("esPublicIpWhitelist")] + public Output EsPublicIpWhitelist { get; private set; } = null!; + + /// + /// The name of ESCloud instance. + /// + [Output("instanceName")] + public Output InstanceName { get; private set; } = null!; + + /// + /// The eip address of kibana. + /// + [Output("kibanaEip")] + public Output KibanaEip { get; private set; } = null!; + + /// + /// The eip id associated with kibana. + /// + [Output("kibanaEipId")] + public Output KibanaEipId { get; private set; } = null!; + + /// + /// The kibana private domain of instance. + /// + [Output("kibanaPrivateDomain")] + public Output KibanaPrivateDomain { get; private set; } = null!; + + /// + /// The whitelist of kibana private ip. + /// + [Output("kibanaPrivateIpWhitelist")] + public Output KibanaPrivateIpWhitelist { get; private set; } = null!; + + /// + /// The kibana public domain of instance. + /// + [Output("kibanaPublicDomain")] + public Output KibanaPublicDomain { get; private set; } = null!; + + /// + /// The whitelist of kibana public ip. + /// + [Output("kibanaPublicIpWhitelist")] + public Output KibanaPublicIpWhitelist { get; private set; } = null!; + + /// + /// The main zone id of instance. + /// + [Output("mainZoneId")] + public Output MainZoneId { get; private set; } = null!; + + /// + /// The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + /// + [Output("maintenanceDays")] + public Output> MaintenanceDays { get; private set; } = null!; + + /// + /// The maintainable time period for the instance. Works only on modified scenes. + /// + [Output("maintenanceTime")] + public Output MaintenanceTime { get; private set; } = null!; + + /// + /// The public network config of the ESCloud instance. + /// + [Output("networkSpecs")] + public Output> NetworkSpecs { get; private set; } = null!; + + /// + /// The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + /// + [Output("nodeSpecsAssigns")] + public Output> NodeSpecsAssigns { get; private set; } = null!; + + /// + /// Purchase duration in prepaid scenarios. Unit: Monthly. + /// + [Output("period")] + public Output Period { get; private set; } = null!; + + /// + /// The project name to which the ESCloud instance belongs. + /// + [Output("projectName")] + public Output ProjectName { get; private set; } = null!; + + /// + /// The status of instance. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The id of subnet, the subnet must belong to the AZ selected. + /// + [Output("subnetId")] + public Output SubnetId { get; private set; } = null!; + + /// + /// Tags. + /// + [Output("tags")] + public Output> Tags { get; private set; } = null!; + + /// + /// The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + /// + /// The zone id of the ESCloud instance. Support specifying multiple availability zones. + /// The first zone id is the primary availability zone, while the rest are backup availability zones. + /// + [Output("zoneIds")] + public Output> ZoneIds { get; private set; } = null!; + + + /// + /// Create a InstanceV2 resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public InstanceV2(string name, InstanceV2Args args, CustomResourceOptions? options = null) + : base("volcengine:escloud/instanceV2:InstanceV2", name, args ?? new InstanceV2Args(), MakeResourceOptions(options, "")) + { + } + + private InstanceV2(string name, Input id, InstanceV2State? state = null, CustomResourceOptions? options = null) + : base("volcengine:escloud/instanceV2:InstanceV2", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/volcengine", + Aliases = + { + new global::Pulumi.Alias { Type = "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2" }, + }, + AdditionalSecretOutputs = + { + "adminPassword", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing InstanceV2 resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static InstanceV2 Get(string name, Input id, InstanceV2State? state = null, CustomResourceOptions? options = null) + { + return new InstanceV2(name, id, state, options); + } + } + + public sealed class InstanceV2Args : global::Pulumi.ResourceArgs + { + [Input("adminPassword", required: true)] + private Input? _adminPassword; + + /// + /// The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + /// + public Input? AdminPassword + { + get => _adminPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Whether to automatically renew in prepaid scenarios. Default is false. + /// + [Input("autoRenew")] + public Input? AutoRenew { get; set; } + + /// + /// The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + /// + [Input("chargeType", required: true)] + public Input ChargeType { get; set; } = null!; + + /// + /// Configuration code used for billing. + /// + [Input("configurationCode", required: true)] + public Input ConfigurationCode { get; set; } = null!; + + /// + /// Whether enable deletion protection for ESCloud instance. Default is false. + /// + [Input("deletionProtection")] + public Input? DeletionProtection { get; set; } + + /// + /// Whether Https access is enabled. + /// + [Input("enableHttps", required: true)] + public Input EnableHttps { get; set; } = null!; + + /// + /// Whether the Master node is independent. + /// + [Input("enablePureMaster")] + public Input? EnablePureMaster { get; set; } + + /// + /// The name of ESCloud instance. + /// + [Input("instanceName", required: true)] + public Input InstanceName { get; set; } = null!; + + [Input("maintenanceDays")] + private InputList? _maintenanceDays; + + /// + /// The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + /// + public InputList MaintenanceDays + { + get => _maintenanceDays ?? (_maintenanceDays = new InputList()); + set => _maintenanceDays = value; + } + + /// + /// The maintainable time period for the instance. Works only on modified scenes. + /// + [Input("maintenanceTime")] + public Input? MaintenanceTime { get; set; } + + [Input("networkSpecs")] + private InputList? _networkSpecs; + + /// + /// The public network config of the ESCloud instance. + /// + public InputList NetworkSpecs + { + get => _networkSpecs ?? (_networkSpecs = new InputList()); + set => _networkSpecs = value; + } + + [Input("nodeSpecsAssigns", required: true)] + private InputList? _nodeSpecsAssigns; + + /// + /// The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + /// + public InputList NodeSpecsAssigns + { + get => _nodeSpecsAssigns ?? (_nodeSpecsAssigns = new InputList()); + set => _nodeSpecsAssigns = value; + } + + /// + /// Purchase duration in prepaid scenarios. Unit: Monthly. + /// + [Input("period")] + public Input? Period { get; set; } + + /// + /// The project name to which the ESCloud instance belongs. + /// + [Input("projectName")] + public Input? ProjectName { get; set; } + + /// + /// The id of subnet, the subnet must belong to the AZ selected. + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + [Input("tags")] + private InputList? _tags; + + /// + /// Tags. + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + /// + /// The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + [Input("zoneIds", required: true)] + private InputList? _zoneIds; + + /// + /// The zone id of the ESCloud instance. Support specifying multiple availability zones. + /// The first zone id is the primary availability zone, while the rest are backup availability zones. + /// + public InputList ZoneIds + { + get => _zoneIds ?? (_zoneIds = new InputList()); + set => _zoneIds = value; + } + + public InstanceV2Args() + { + } + public static new InstanceV2Args Empty => new InstanceV2Args(); + } + + public sealed class InstanceV2State : global::Pulumi.ResourceArgs + { + [Input("adminPassword")] + private Input? _adminPassword; + + /// + /// The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + /// + public Input? AdminPassword + { + get => _adminPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Whether to automatically renew in prepaid scenarios. Default is false. + /// + [Input("autoRenew")] + public Input? AutoRenew { get; set; } + + /// + /// The cerebro private domain of instance. + /// + [Input("cerebroPrivateDomain")] + public Input? CerebroPrivateDomain { get; set; } + + /// + /// The cerebro public domain of instance. + /// + [Input("cerebroPublicDomain")] + public Input? CerebroPublicDomain { get; set; } + + /// + /// The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + /// + [Input("chargeType")] + public Input? ChargeType { get; set; } + + /// + /// Configuration code used for billing. + /// + [Input("configurationCode")] + public Input? ConfigurationCode { get; set; } + + /// + /// Whether enable deletion protection for ESCloud instance. Default is false. + /// + [Input("deletionProtection")] + public Input? DeletionProtection { get; set; } + + /// + /// Whether Https access is enabled. + /// + [Input("enableHttps")] + public Input? EnableHttps { get; set; } + + /// + /// Whether the Master node is independent. + /// + [Input("enablePureMaster")] + public Input? EnablePureMaster { get; set; } + + /// + /// The eip address of instance. + /// + [Input("esEip")] + public Input? EsEip { get; set; } + + /// + /// The eip id associated with the instance. + /// + [Input("esEipId")] + public Input? EsEipId { get; set; } + + /// + /// The es private domain of instance. + /// + [Input("esPrivateDomain")] + public Input? EsPrivateDomain { get; set; } + + /// + /// The es private endpoint of instance. + /// + [Input("esPrivateEndpoint")] + public Input? EsPrivateEndpoint { get; set; } + + /// + /// The whitelist of es private ip. + /// + [Input("esPrivateIpWhitelist")] + public Input? EsPrivateIpWhitelist { get; set; } + + /// + /// The es public domain of instance. + /// + [Input("esPublicDomain")] + public Input? EsPublicDomain { get; set; } + + /// + /// The es public endpoint of instance. + /// + [Input("esPublicEndpoint")] + public Input? EsPublicEndpoint { get; set; } + + /// + /// The whitelist of es public ip. + /// + [Input("esPublicIpWhitelist")] + public Input? EsPublicIpWhitelist { get; set; } + + /// + /// The name of ESCloud instance. + /// + [Input("instanceName")] + public Input? InstanceName { get; set; } + + /// + /// The eip address of kibana. + /// + [Input("kibanaEip")] + public Input? KibanaEip { get; set; } + + /// + /// The eip id associated with kibana. + /// + [Input("kibanaEipId")] + public Input? KibanaEipId { get; set; } + + /// + /// The kibana private domain of instance. + /// + [Input("kibanaPrivateDomain")] + public Input? KibanaPrivateDomain { get; set; } + + /// + /// The whitelist of kibana private ip. + /// + [Input("kibanaPrivateIpWhitelist")] + public Input? KibanaPrivateIpWhitelist { get; set; } + + /// + /// The kibana public domain of instance. + /// + [Input("kibanaPublicDomain")] + public Input? KibanaPublicDomain { get; set; } + + /// + /// The whitelist of kibana public ip. + /// + [Input("kibanaPublicIpWhitelist")] + public Input? KibanaPublicIpWhitelist { get; set; } + + /// + /// The main zone id of instance. + /// + [Input("mainZoneId")] + public Input? MainZoneId { get; set; } + + [Input("maintenanceDays")] + private InputList? _maintenanceDays; + + /// + /// The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + /// + public InputList MaintenanceDays + { + get => _maintenanceDays ?? (_maintenanceDays = new InputList()); + set => _maintenanceDays = value; + } + + /// + /// The maintainable time period for the instance. Works only on modified scenes. + /// + [Input("maintenanceTime")] + public Input? MaintenanceTime { get; set; } + + [Input("networkSpecs")] + private InputList? _networkSpecs; + + /// + /// The public network config of the ESCloud instance. + /// + public InputList NetworkSpecs + { + get => _networkSpecs ?? (_networkSpecs = new InputList()); + set => _networkSpecs = value; + } + + [Input("nodeSpecsAssigns")] + private InputList? _nodeSpecsAssigns; + + /// + /// The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + /// + public InputList NodeSpecsAssigns + { + get => _nodeSpecsAssigns ?? (_nodeSpecsAssigns = new InputList()); + set => _nodeSpecsAssigns = value; + } + + /// + /// Purchase duration in prepaid scenarios. Unit: Monthly. + /// + [Input("period")] + public Input? Period { get; set; } + + /// + /// The project name to which the ESCloud instance belongs. + /// + [Input("projectName")] + public Input? ProjectName { get; set; } + + /// + /// The status of instance. + /// + [Input("status")] + public Input? Status { get; set; } + + /// + /// The id of subnet, the subnet must belong to the AZ selected. + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + [Input("tags")] + private InputList? _tags; + + /// + /// Tags. + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + /// + /// The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + /// + [Input("version")] + public Input? Version { get; set; } + + [Input("zoneIds")] + private InputList? _zoneIds; + + /// + /// The zone id of the ESCloud instance. Support specifying multiple availability zones. + /// The first zone id is the primary availability zone, while the rest are backup availability zones. + /// + public InputList ZoneIds + { + get => _zoneIds ?? (_zoneIds = new InputList()); + set => _zoneIds = value; + } + + public InstanceV2State() + { + } + public static new InstanceV2State Empty => new InstanceV2State(); + } +} diff --git a/sdk/dotnet/Escloud/Instances.cs b/sdk/dotnet/Escloud/Instances.cs index 10576654..b3c8a684 100644 --- a/sdk/dotnet/Escloud/Instances.cs +++ b/sdk/dotnet/Escloud/Instances.cs @@ -9,10 +9,11 @@ namespace Pulumi.Volcengine.Escloud { + [Obsolete(@"volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances")] public static class Instances { /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances /// ## Example Usage /// /// ```csharp @@ -84,7 +85,7 @@ public static class Instances /// }, /// }); /// - /// var fooInstances = Volcengine.Escloud.Instances.Invoke(new() + /// var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new() /// { /// Ids = new[] /// { @@ -99,7 +100,7 @@ public static Task InvokeAsync(InstancesArgs? args = null, Invo => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/instances:Instances", args ?? new InstancesArgs(), options.WithDefaults()); /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances /// ## Example Usage /// /// ```csharp @@ -171,7 +172,7 @@ public static Task InvokeAsync(InstancesArgs? args = null, Invo /// }, /// }); /// - /// var fooInstances = Volcengine.Escloud.Instances.Invoke(new() + /// var fooInstances = Volcengine.Escloud.GetInstances.Invoke(new() /// { /// Ids = new[] /// { diff --git a/sdk/dotnet/Escloud/IpWhiteList.cs b/sdk/dotnet/Escloud/IpWhiteList.cs new file mode 100644 index 00000000..99136a28 --- /dev/null +++ b/sdk/dotnet/Escloud/IpWhiteList.cs @@ -0,0 +1,294 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud +{ + /// + /// Provides a resource to manage escloud ip white list + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Volcengine = Pulumi.Volcengine; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var fooZones = Volcengine.Ecs.Zones.Invoke(); + /// + /// var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new() + /// { + /// VpcName = "acc-test-vpc", + /// CidrBlock = "172.16.0.0/16", + /// }); + /// + /// var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new() + /// { + /// SubnetName = "acc-test-subnet", + /// Description = "tfdesc", + /// CidrBlock = "172.16.0.0/24", + /// ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// VpcId = fooVpc.Id, + /// }); + /// + /// var fooInstanceV2 = new Volcengine.Escloud.InstanceV2("fooInstanceV2", new() + /// { + /// InstanceName = "acc-test-escloud-instance", + /// Version = "V7_10", + /// ZoneIds = new[] + /// { + /// fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id), + /// fooZones.Apply(zonesResult => zonesResult.Zones[1]?.Id), + /// fooZones.Apply(zonesResult => zonesResult.Zones[2]?.Id), + /// }, + /// SubnetId = fooSubnet.Id, + /// EnableHttps = false, + /// AdminPassword = "Password@@123", + /// ChargeType = "PostPaid", + /// AutoRenew = false, + /// Period = 1, + /// ConfigurationCode = "es.standard", + /// EnablePureMaster = true, + /// DeletionProtection = false, + /// ProjectName = "default", + /// NodeSpecsAssigns = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Master", + /// Number = 3, + /// ResourceSpecName = "es.x2.medium", + /// StorageSpecName = "es.volume.essd.pl0", + /// StorageSize = 20, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Hot", + /// Number = 6, + /// ResourceSpecName = "es.x2.medium", + /// StorageSpecName = "es.volume.essd.flexpl-standard", + /// StorageSize = 500, + /// ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs + /// { + /// Throughput = 65, + /// }, + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs + /// { + /// Type = "Kibana", + /// Number = 1, + /// ResourceSpecName = "kibana.x2.small", + /// StorageSpecName = "", + /// StorageSize = 0, + /// }, + /// }, + /// NetworkSpecs = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs + /// { + /// Type = "Elasticsearch", + /// Bandwidth = 1, + /// IsOpen = true, + /// SpecName = "es.eip.bgp_fixed_bandwidth", + /// }, + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs + /// { + /// Type = "Kibana", + /// Bandwidth = 1, + /// IsOpen = true, + /// SpecName = "es.eip.bgp_fixed_bandwidth", + /// }, + /// }, + /// Tags = new[] + /// { + /// new Volcengine.Escloud.Inputs.InstanceV2TagArgs + /// { + /// Key = "k1", + /// Value = "v1", + /// }, + /// }, + /// }); + /// + /// var fooIpWhiteList = new Volcengine.Escloud.IpWhiteList("fooIpWhiteList", new() + /// { + /// InstanceId = fooInstanceV2.Id, + /// Type = "public", + /// Component = "es", + /// IpLists = new[] + /// { + /// "172.16.0.10", + /// "172.16.0.11", + /// "172.16.0.12", + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// EscloudIpWhiteList can be imported using the instance_id:type:component, e.g. + /// + /// ```sh + /// $ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id + /// ``` + /// + [VolcengineResourceType("volcengine:escloud/ipWhiteList:IpWhiteList")] + public partial class IpWhiteList : global::Pulumi.CustomResource + { + /// + /// The component of the ip white list. Valid values: `es`, `kibana`. + /// + [Output("component")] + public Output Component { get; private set; } = null!; + + /// + /// The id of the EsCloud instance. + /// + [Output("instanceId")] + public Output InstanceId { get; private set; } = null!; + + /// + /// The ip list of the ip white list. + /// + [Output("ipLists")] + public Output> IpLists { get; private set; } = null!; + + /// + /// The type of the ip white list. Valid values: `private`, `public`. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IpWhiteList resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IpWhiteList(string name, IpWhiteListArgs args, CustomResourceOptions? options = null) + : base("volcengine:escloud/ipWhiteList:IpWhiteList", name, args ?? new IpWhiteListArgs(), MakeResourceOptions(options, "")) + { + } + + private IpWhiteList(string name, Input id, IpWhiteListState? state = null, CustomResourceOptions? options = null) + : base("volcengine:escloud/ipWhiteList:IpWhiteList", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/volcengine", + Aliases = + { + new global::Pulumi.Alias { Type = "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IpWhiteList resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static IpWhiteList Get(string name, Input id, IpWhiteListState? state = null, CustomResourceOptions? options = null) + { + return new IpWhiteList(name, id, state, options); + } + } + + public sealed class IpWhiteListArgs : global::Pulumi.ResourceArgs + { + /// + /// The component of the ip white list. Valid values: `es`, `kibana`. + /// + [Input("component", required: true)] + public Input Component { get; set; } = null!; + + /// + /// The id of the EsCloud instance. + /// + [Input("instanceId", required: true)] + public Input InstanceId { get; set; } = null!; + + [Input("ipLists", required: true)] + private InputList? _ipLists; + + /// + /// The ip list of the ip white list. + /// + public InputList IpLists + { + get => _ipLists ?? (_ipLists = new InputList()); + set => _ipLists = value; + } + + /// + /// The type of the ip white list. Valid values: `private`, `public`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public IpWhiteListArgs() + { + } + public static new IpWhiteListArgs Empty => new IpWhiteListArgs(); + } + + public sealed class IpWhiteListState : global::Pulumi.ResourceArgs + { + /// + /// The component of the ip white list. Valid values: `es`, `kibana`. + /// + [Input("component")] + public Input? Component { get; set; } + + /// + /// The id of the EsCloud instance. + /// + [Input("instanceId")] + public Input? InstanceId { get; set; } + + [Input("ipLists")] + private InputList? _ipLists; + + /// + /// The ip list of the ip white list. + /// + public InputList IpLists + { + get => _ipLists ?? (_ipLists = new InputList()); + set => _ipLists = value; + } + + /// + /// The type of the ip white list. Valid values: `private`, `public`. + /// + [Input("type")] + public Input? Type { get; set; } + + public IpWhiteListState() + { + } + public static new IpWhiteListState Empty => new IpWhiteListState(); + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult.cs new file mode 100644 index 00000000..47c8a63e --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of storage spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult.cs new file mode 100644 index 00000000..710c4ed9 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + /// + /// The type of storage spec. + /// + public readonly string Type; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size, + + string type) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs new file mode 100644 index 00000000..456d8a13 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of storage spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs new file mode 100644 index 00000000..ba448e0a --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + /// + /// The type of storage spec. + /// + public readonly string Type; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size, + + string type) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult.cs new file mode 100644 index 00000000..7b7d151e --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of storage spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult.cs new file mode 100644 index 00000000..22f75304 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + /// + /// The type of storage spec. + /// + public readonly string Type; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size, + + string type) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationResult.cs new file mode 100644 index 00000000..11c1bd19 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationResult.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationResult + { + /// + /// The user name of instance. + /// + public readonly string AdminUserName; + /// + /// The charge type of instance. + /// + public readonly string ChargeType; + /// + /// whether enable https. + /// + public readonly bool EnableHttps; + /// + /// Whether enable pure master. + /// + public readonly bool EnablePureMaster; + /// + /// The node number of host. + /// + public readonly int HotNodeNumber; + /// + /// The node resource spec of host. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult HotNodeResourceSpec; + /// + /// The node storage spec of host. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult HotNodeStorageSpec; + /// + /// The name of instance. + /// + public readonly string InstanceName; + /// + /// The node number of kibana. + /// + public readonly int KibanaNodeNumber; + /// + /// The node resource spec of kibana. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult KibanaNodeResourceSpec; + /// + /// The node storage spec of kibana. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult KibanaNodeStorageSpec; + /// + /// The node number of master. + /// + public readonly int MasterNodeNumber; + /// + /// The node resource spec of master. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult MasterNodeResourceSpec; + /// + /// The node storage spec of master. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult MasterNodeStorageSpec; + /// + /// The period of project. + /// + public readonly int Period; + /// + /// The name of project. + /// + public readonly string ProjectName; + /// + /// The region info of instance. + /// + public readonly string RegionId; + /// + /// The subnet info. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationSubnetResult Subnet; + /// + /// The version of plugin. + /// + public readonly string Version; + /// + /// The vpc info. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationVpcResult Vpc; + /// + /// The zoneId of instance. + /// + public readonly string ZoneId; + /// + /// The zone number of instance. + /// + public readonly int ZoneNumber; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationResult( + string adminUserName, + + string chargeType, + + bool enableHttps, + + bool enablePureMaster, + + int hotNodeNumber, + + Outputs.GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult hotNodeResourceSpec, + + Outputs.GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult hotNodeStorageSpec, + + string instanceName, + + int kibanaNodeNumber, + + Outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult kibanaNodeResourceSpec, + + Outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult kibanaNodeStorageSpec, + + int masterNodeNumber, + + Outputs.GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult masterNodeResourceSpec, + + Outputs.GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult masterNodeStorageSpec, + + int period, + + string projectName, + + string regionId, + + Outputs.GetInstancesInstanceInstanceConfigurationSubnetResult subnet, + + string version, + + Outputs.GetInstancesInstanceInstanceConfigurationVpcResult vpc, + + string zoneId, + + int zoneNumber) + { + AdminUserName = adminUserName; + ChargeType = chargeType; + EnableHttps = enableHttps; + EnablePureMaster = enablePureMaster; + HotNodeNumber = hotNodeNumber; + HotNodeResourceSpec = hotNodeResourceSpec; + HotNodeStorageSpec = hotNodeStorageSpec; + InstanceName = instanceName; + KibanaNodeNumber = kibanaNodeNumber; + KibanaNodeResourceSpec = kibanaNodeResourceSpec; + KibanaNodeStorageSpec = kibanaNodeStorageSpec; + MasterNodeNumber = masterNodeNumber; + MasterNodeResourceSpec = masterNodeResourceSpec; + MasterNodeStorageSpec = masterNodeStorageSpec; + Period = period; + ProjectName = projectName; + RegionId = regionId; + Subnet = subnet; + Version = version; + Vpc = vpc; + ZoneId = zoneId; + ZoneNumber = zoneNumber; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationSubnetResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationSubnetResult.cs new file mode 100644 index 00000000..96a68c73 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationSubnetResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationSubnetResult + { + /// + /// The id of subnet. + /// + public readonly string SubnetId; + /// + /// The name of subnet. + /// + public readonly string SubnetName; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationSubnetResult( + string subnetId, + + string subnetName) + { + SubnetId = subnetId; + SubnetName = subnetName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationVpcResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationVpcResult.cs new file mode 100644 index 00000000..5898d0e7 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceInstanceConfigurationVpcResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceInstanceConfigurationVpcResult + { + /// + /// The id of vpc. + /// + public readonly string VpcId; + /// + /// The name of vpc. + /// + public readonly string VpcName; + + [OutputConstructor] + private GetInstancesInstanceInstanceConfigurationVpcResult( + string vpcId, + + string vpcName) + { + VpcId = vpcId; + VpcName = vpcName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResourceSpecResult.cs new file mode 100644 index 00000000..e72c9ec4 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of storage spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesInstanceNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResult.cs new file mode 100644 index 00000000..630917e2 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeResult.cs @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceNodeResult + { + /// + /// Is cold node. + /// + public readonly bool IsCold; + /// + /// Is hot node. + /// + public readonly bool IsHot; + /// + /// Is kibana node. + /// + public readonly bool IsKibana; + /// + /// Is master node. + /// + public readonly bool IsMaster; + /// + /// Is warm node. + /// + public readonly bool IsWarm; + /// + /// The show name of node. + /// + public readonly string NodeDisplayName; + /// + /// The name of node. + /// + public readonly string NodeName; + /// + /// The node resource spec of master. + /// + public readonly Outputs.GetInstancesInstanceNodeResourceSpecResult ResourceSpec; + /// + /// The restart times of node. + /// + public readonly int RestartNumber; + /// + /// The start time of node. + /// + public readonly string StartTime; + /// + /// The status of instance. + /// + public readonly string Status; + /// + /// The node storage spec of master. + /// + public readonly Outputs.GetInstancesInstanceNodeStorageSpecResult StorageSpec; + + [OutputConstructor] + private GetInstancesInstanceNodeResult( + bool isCold, + + bool isHot, + + bool isKibana, + + bool isMaster, + + bool isWarm, + + string nodeDisplayName, + + string nodeName, + + Outputs.GetInstancesInstanceNodeResourceSpecResult resourceSpec, + + int restartNumber, + + string startTime, + + string status, + + Outputs.GetInstancesInstanceNodeStorageSpecResult storageSpec) + { + IsCold = isCold; + IsHot = isHot; + IsKibana = isKibana; + IsMaster = isMaster; + IsWarm = isWarm; + NodeDisplayName = nodeDisplayName; + NodeName = nodeName; + ResourceSpec = resourceSpec; + RestartNumber = restartNumber; + StartTime = startTime; + Status = status; + StorageSpec = storageSpec; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeStorageSpecResult.cs new file mode 100644 index 00000000..9e5b66c8 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceNodeStorageSpecResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceNodeStorageSpecResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + /// + /// The type of storage spec. + /// + public readonly string Type; + + [OutputConstructor] + private GetInstancesInstanceNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size, + + string type) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstancePluginResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstancePluginResult.cs new file mode 100644 index 00000000..a098294f --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstancePluginResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstancePluginResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The name of plugin. + /// + public readonly string PluginName; + /// + /// The version of plugin. + /// + public readonly string Version; + + [OutputConstructor] + private GetInstancesInstancePluginResult( + string description, + + string pluginName, + + string version) + { + Description = description; + PluginName = pluginName; + Version = version; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceResult.cs new file mode 100644 index 00000000..f984155f --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesInstanceResult.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesInstanceResult + { + /// + /// The charge status of instance. + /// + public readonly bool ChargeEnabled; + /// + /// The create time of instance. + /// + public readonly string CreateTime; + /// + /// whether enable es private network. + /// + public readonly bool EnableEsPrivateNetwork; + /// + /// whether enable es public network. + /// + public readonly bool EnableEsPublicNetwork; + /// + /// whether enable kibana private network. + /// + public readonly bool EnableKibanaPrivateNetwork; + /// + /// whether enable kibana public network. + /// + public readonly bool EnableKibanaPublicNetwork; + /// + /// The es inner endpoint of instance. + /// + public readonly string EsInnerEndpoint; + /// + /// The es private domain of instance. + /// + public readonly string EsPrivateDomain; + /// + /// The es private endpoint of instance. + /// + public readonly string EsPrivateEndpoint; + /// + /// The es public domain of instance. + /// + public readonly string EsPublicDomain; + /// + /// The es public endpoint of instance. + /// + public readonly string EsPublicEndpoint; + /// + /// The expire time of instance. + /// + public readonly string ExpireDate; + /// + /// The Id of instance. + /// + public readonly string Id; + /// + /// The configuration of instance. + /// + public readonly Outputs.GetInstancesInstanceInstanceConfigurationResult InstanceConfiguration; + /// + /// The Id of instance. + /// + public readonly string InstanceId; + /// + /// The kibana private domain of instance. + /// + public readonly string KibanaPrivateDomain; + /// + /// The kibana public domain of instance. + /// + public readonly string KibanaPublicDomain; + /// + /// The maintenance day of instance. + /// + public readonly ImmutableArray MaintenanceDays; + /// + /// The maintenance time of instance. + /// + public readonly string MaintenanceTime; + /// + /// The namespace of instance. + /// + public readonly string Namespace; + /// + /// The nodes info of instance. + /// + public readonly ImmutableArray Nodes; + /// + /// The plugin info of instance. + /// + public readonly ImmutableArray Plugins; + /// + /// The status of instance. + /// + public readonly string Status; + /// + /// The total nodes of instance. + /// + public readonly int TotalNodes; + /// + /// The user id of instance. + /// + public readonly string UserId; + + [OutputConstructor] + private GetInstancesInstanceResult( + bool chargeEnabled, + + string createTime, + + bool enableEsPrivateNetwork, + + bool enableEsPublicNetwork, + + bool enableKibanaPrivateNetwork, + + bool enableKibanaPublicNetwork, + + string esInnerEndpoint, + + string esPrivateDomain, + + string esPrivateEndpoint, + + string esPublicDomain, + + string esPublicEndpoint, + + string expireDate, + + string id, + + Outputs.GetInstancesInstanceInstanceConfigurationResult instanceConfiguration, + + string instanceId, + + string kibanaPrivateDomain, + + string kibanaPublicDomain, + + ImmutableArray maintenanceDays, + + string maintenanceTime, + + string @namespace, + + ImmutableArray nodes, + + ImmutableArray plugins, + + string status, + + int totalNodes, + + string userId) + { + ChargeEnabled = chargeEnabled; + CreateTime = createTime; + EnableEsPrivateNetwork = enableEsPrivateNetwork; + EnableEsPublicNetwork = enableEsPublicNetwork; + EnableKibanaPrivateNetwork = enableKibanaPrivateNetwork; + EnableKibanaPublicNetwork = enableKibanaPublicNetwork; + EsInnerEndpoint = esInnerEndpoint; + EsPrivateDomain = esPrivateDomain; + EsPrivateEndpoint = esPrivateEndpoint; + EsPublicDomain = esPublicDomain; + EsPublicEndpoint = esPublicEndpoint; + ExpireDate = expireDate; + Id = id; + InstanceConfiguration = instanceConfiguration; + InstanceId = instanceId; + KibanaPrivateDomain = kibanaPrivateDomain; + KibanaPublicDomain = kibanaPublicDomain; + MaintenanceDays = maintenanceDays; + MaintenanceTime = maintenanceTime; + Namespace = @namespace; + Nodes = nodes; + Plugins = plugins; + Status = status; + TotalNodes = totalNodes; + UserId = userId; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult.cs new file mode 100644 index 00000000..3ed68bed --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult.cs new file mode 100644 index 00000000..ce00083c --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult.cs new file mode 100644 index 00000000..4b814444 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult.cs new file mode 100644 index 00000000..fd31f1c6 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult.cs new file mode 100644 index 00000000..f70b4a41 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult.cs new file mode 100644 index 00000000..82e193dc --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs new file mode 100644 index 00000000..320c0c29 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs new file mode 100644 index 00000000..138d28a1 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult.cs new file mode 100644 index 00000000..55e7bea5 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult.cs new file mode 100644 index 00000000..67a86fb2 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationResult.cs new file mode 100644 index 00000000..ce4f4a41 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationResult.cs @@ -0,0 +1,238 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationResult + { + /// + /// The user name of instance. + /// + public readonly string AdminUserName; + /// + /// The charge type of instance. + /// + public readonly string ChargeType; + /// + /// The node number of cold. + /// + public readonly int ColdNodeNumber; + /// + /// The node resource spec of cold. + /// + public readonly ImmutableArray ColdNodeResourceSpecs; + /// + /// The node storage spec of cold. + /// + public readonly ImmutableArray ColdNodeStorageSpecs; + /// + /// The node number of coordinator. + /// + public readonly int CoordinatorNodeNumber; + /// + /// The node resource spec of coordinator. + /// + public readonly ImmutableArray CoordinatorNodeResourceSpecs; + /// + /// The node storage spec of coordinator. + /// + public readonly ImmutableArray CoordinatorNodeStorageSpecs; + /// + /// whether enable https. + /// + public readonly bool EnableHttps; + /// + /// Whether enable pure master. + /// + public readonly bool EnablePureMaster; + /// + /// The node number of hot. + /// + public readonly int HotNodeNumber; + /// + /// The node resource spec of hot. + /// + public readonly ImmutableArray HotNodeResourceSpecs; + /// + /// The node storage spec of hot. + /// + public readonly ImmutableArray HotNodeStorageSpecs; + /// + /// The name of instance. + /// + public readonly string InstanceName; + /// + /// The node number of kibana. + /// + public readonly int KibanaNodeNumber; + /// + /// The node resource spec of kibana. + /// + public readonly ImmutableArray KibanaNodeResourceSpecs; + /// + /// The node storage spec of kibana. + /// + public readonly ImmutableArray KibanaNodeStorageSpecs; + /// + /// The node number of master. + /// + public readonly int MasterNodeNumber; + /// + /// The node resource spec of master. + /// + public readonly ImmutableArray MasterNodeResourceSpecs; + /// + /// The node storage spec of master. + /// + public readonly ImmutableArray MasterNodeStorageSpecs; + /// + /// The period of project. + /// + public readonly int Period; + /// + /// The name of project. + /// + public readonly string ProjectName; + /// + /// The region info of instance. + /// + public readonly string RegionId; + /// + /// The subnet info. + /// + public readonly ImmutableArray Subnets; + /// + /// The version of instance. + /// + public readonly string Version; + /// + /// The vpc info. + /// + public readonly ImmutableArray Vpcs; + /// + /// The node number of warm. + /// + public readonly int WarmNodeNumber; + /// + /// The node resource spec of warm. + /// + public readonly ImmutableArray WarmNodeResourceSpecs; + /// + /// The node storage spec of warm. + /// + public readonly ImmutableArray WarmNodeStorageSpecs; + /// + /// The zoneId of instance. + /// + public readonly string ZoneId; + /// + /// The zone number of instance. + /// + public readonly int ZoneNumber; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationResult( + string adminUserName, + + string chargeType, + + int coldNodeNumber, + + ImmutableArray coldNodeResourceSpecs, + + ImmutableArray coldNodeStorageSpecs, + + int coordinatorNodeNumber, + + ImmutableArray coordinatorNodeResourceSpecs, + + ImmutableArray coordinatorNodeStorageSpecs, + + bool enableHttps, + + bool enablePureMaster, + + int hotNodeNumber, + + ImmutableArray hotNodeResourceSpecs, + + ImmutableArray hotNodeStorageSpecs, + + string instanceName, + + int kibanaNodeNumber, + + ImmutableArray kibanaNodeResourceSpecs, + + ImmutableArray kibanaNodeStorageSpecs, + + int masterNodeNumber, + + ImmutableArray masterNodeResourceSpecs, + + ImmutableArray masterNodeStorageSpecs, + + int period, + + string projectName, + + string regionId, + + ImmutableArray subnets, + + string version, + + ImmutableArray vpcs, + + int warmNodeNumber, + + ImmutableArray warmNodeResourceSpecs, + + ImmutableArray warmNodeStorageSpecs, + + string zoneId, + + int zoneNumber) + { + AdminUserName = adminUserName; + ChargeType = chargeType; + ColdNodeNumber = coldNodeNumber; + ColdNodeResourceSpecs = coldNodeResourceSpecs; + ColdNodeStorageSpecs = coldNodeStorageSpecs; + CoordinatorNodeNumber = coordinatorNodeNumber; + CoordinatorNodeResourceSpecs = coordinatorNodeResourceSpecs; + CoordinatorNodeStorageSpecs = coordinatorNodeStorageSpecs; + EnableHttps = enableHttps; + EnablePureMaster = enablePureMaster; + HotNodeNumber = hotNodeNumber; + HotNodeResourceSpecs = hotNodeResourceSpecs; + HotNodeStorageSpecs = hotNodeStorageSpecs; + InstanceName = instanceName; + KibanaNodeNumber = kibanaNodeNumber; + KibanaNodeResourceSpecs = kibanaNodeResourceSpecs; + KibanaNodeStorageSpecs = kibanaNodeStorageSpecs; + MasterNodeNumber = masterNodeNumber; + MasterNodeResourceSpecs = masterNodeResourceSpecs; + MasterNodeStorageSpecs = masterNodeStorageSpecs; + Period = period; + ProjectName = projectName; + RegionId = regionId; + Subnets = subnets; + Version = version; + Vpcs = vpcs; + WarmNodeNumber = warmNodeNumber; + WarmNodeResourceSpecs = warmNodeResourceSpecs; + WarmNodeStorageSpecs = warmNodeStorageSpecs; + ZoneId = zoneId; + ZoneNumber = zoneNumber; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationSubnetResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationSubnetResult.cs new file mode 100644 index 00000000..bebcf8dd --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationSubnetResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationSubnetResult + { + /// + /// The id of subnet. + /// + public readonly string SubnetId; + /// + /// The name of subnet. + /// + public readonly string SubnetName; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationSubnetResult( + string subnetId, + + string subnetName) + { + SubnetId = subnetId; + SubnetName = subnetName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationVpcResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationVpcResult.cs new file mode 100644 index 00000000..d8a2c84b --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationVpcResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationVpcResult + { + /// + /// The id of vpc. + /// + public readonly string VpcId; + /// + /// The name of vpc. + /// + public readonly string VpcName; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationVpcResult( + string vpcId, + + string vpcName) + { + VpcId = vpcId; + VpcName = vpcName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult.cs new file mode 100644 index 00000000..9a45f224 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + /// + /// The name of resource spec. + /// + public readonly string Name; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory, + + string name) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + Name = name; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult.cs new file mode 100644 index 00000000..2a6b2cfa --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + /// + /// The name of storage spec. + /// + public readonly string Name; + /// + /// The size of storage spec. + /// + public readonly int Size; + + [OutputConstructor] + private GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize, + + string name, + + int size) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + Name = name; + Size = size; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResourceSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResourceSpecResult.cs new file mode 100644 index 00000000..6aa973fe --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResourceSpecResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceNodeResourceSpecResult + { + /// + /// The cpu info of resource spec. + /// + public readonly int Cpu; + /// + /// The description of resource spec. + /// + public readonly string Description; + /// + /// The show name of resource spec. + /// + public readonly string DisplayName; + /// + /// The memory info of resource spec. + /// + public readonly int Memory; + + [OutputConstructor] + private GetInstancesV2InstanceNodeResourceSpecResult( + int cpu, + + string description, + + string displayName, + + int memory) + { + Cpu = cpu; + Description = description; + DisplayName = displayName; + Memory = memory; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResult.cs new file mode 100644 index 00000000..af014a8b --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeResult.cs @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceNodeResult + { + /// + /// Is cold node. + /// + public readonly bool IsCold; + /// + /// Is coordinator node. + /// + public readonly bool IsCoordinator; + /// + /// Is hot node. + /// + public readonly bool IsHot; + /// + /// Is kibana node. + /// + public readonly bool IsKibana; + /// + /// Is master node. + /// + public readonly bool IsMaster; + /// + /// Is warm node. + /// + public readonly bool IsWarm; + /// + /// The show name of node. + /// + public readonly string NodeDisplayName; + /// + /// The name of node. + /// + public readonly string NodeName; + /// + /// The node resource spec of master. + /// + public readonly ImmutableArray ResourceSpecs; + /// + /// The restart times of node. + /// + public readonly int RestartNumber; + /// + /// The start time of node. + /// + public readonly string StartTime; + /// + /// The status of node. + /// + public readonly string Status; + /// + /// The node storage spec of master. + /// + public readonly ImmutableArray StorageSpecs; + + [OutputConstructor] + private GetInstancesV2InstanceNodeResult( + bool isCold, + + bool isCoordinator, + + bool isHot, + + bool isKibana, + + bool isMaster, + + bool isWarm, + + string nodeDisplayName, + + string nodeName, + + ImmutableArray resourceSpecs, + + int restartNumber, + + string startTime, + + string status, + + ImmutableArray storageSpecs) + { + IsCold = isCold; + IsCoordinator = isCoordinator; + IsHot = isHot; + IsKibana = isKibana; + IsMaster = isMaster; + IsWarm = isWarm; + NodeDisplayName = nodeDisplayName; + NodeName = nodeName; + ResourceSpecs = resourceSpecs; + RestartNumber = restartNumber; + StartTime = startTime; + Status = status; + StorageSpecs = storageSpecs; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeStorageSpecResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeStorageSpecResult.cs new file mode 100644 index 00000000..cbeca258 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceNodeStorageSpecResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceNodeStorageSpecResult + { + /// + /// The description of storage spec. + /// + public readonly string Description; + /// + /// The show name of storage spec. + /// + public readonly string DisplayName; + /// + /// The max size of storage spec. + /// + public readonly int MaxSize; + /// + /// The min size of storage spec. + /// + public readonly int MinSize; + + [OutputConstructor] + private GetInstancesV2InstanceNodeStorageSpecResult( + string description, + + string displayName, + + int maxSize, + + int minSize) + { + Description = description; + DisplayName = displayName; + MaxSize = maxSize; + MinSize = minSize; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstancePluginResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstancePluginResult.cs new file mode 100644 index 00000000..4ae18e78 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstancePluginResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstancePluginResult + { + /// + /// The description of plugin. + /// + public readonly string Description; + /// + /// The name of plugin. + /// + public readonly string PluginName; + /// + /// The status of plugin. + /// + public readonly string Status; + /// + /// The version of plugin. + /// + public readonly string Version; + + [OutputConstructor] + private GetInstancesV2InstancePluginResult( + string description, + + string pluginName, + + string status, + + string version) + { + Description = description; + PluginName = pluginName; + Status = status; + Version = version; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceResult.cs new file mode 100644 index 00000000..474eb601 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceResult.cs @@ -0,0 +1,315 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceResult + { + /// + /// Whether to enable cerebro. + /// + public readonly bool CerebroEnabled; + /// + /// The cerebro private domain of instance. + /// + public readonly string CerebroPrivateDomain; + /// + /// The cerebro public domain of instance. + /// + public readonly string CerebroPublicDomain; + /// + /// The charge status of instance. + /// + public readonly bool ChargeEnabled; + /// + /// The cluster id of instance. + /// + public readonly string ClusterId; + /// + /// The create time of instance. + /// + public readonly string CreateTime; + /// + /// Whether enable deletion protection for ESCloud instance. + /// + public readonly bool DeletionProtection; + /// + /// whether enable es private domain public. + /// + public readonly bool EnableEsPrivateDomainPublic; + /// + /// whether enable es private network. + /// + public readonly bool EnableEsPrivateNetwork; + /// + /// whether enable es public network. + /// + public readonly bool EnableEsPublicNetwork; + /// + /// whether enable kibana private domain public. + /// + public readonly bool EnableKibanaPrivateDomainPublic; + /// + /// whether enable kibana private network. + /// + public readonly bool EnableKibanaPrivateNetwork; + /// + /// whether enable kibana public network. + /// + public readonly bool EnableKibanaPublicNetwork; + /// + /// The eip address of instance. + /// + public readonly string EsEip; + /// + /// The eip id associated with the instance. + /// + public readonly string EsEipId; + /// + /// The es inner endpoint of instance. + /// + public readonly string EsInnerEndpoint; + /// + /// The es private domain of instance. + /// + public readonly string EsPrivateDomain; + /// + /// The es private endpoint of instance. + /// + public readonly string EsPrivateEndpoint; + /// + /// The whitelist of es private ip. + /// + public readonly string EsPrivateIpWhitelist; + /// + /// The es public domain of instance. + /// + public readonly string EsPublicDomain; + /// + /// The es public endpoint of instance. + /// + public readonly string EsPublicEndpoint; + /// + /// The whitelist of es public ip. + /// + public readonly string EsPublicIpWhitelist; + /// + /// The expire time of instance. + /// + public readonly string ExpireDate; + /// + /// The id of instance. + /// + public readonly string Id; + /// + /// The configuration of instance. + /// + public readonly ImmutableArray InstanceConfigurations; + /// + /// The id of instance. + /// + public readonly string InstanceId; + /// + /// The eip address of kibana. + /// + public readonly string KibanaEip; + /// + /// The eip id associated with kibana. + /// + public readonly string KibanaEipId; + /// + /// The kibana private domain of instance. + /// + public readonly string KibanaPrivateDomain; + /// + /// The whitelist of kibana private ip. + /// + public readonly string KibanaPrivateIpWhitelist; + /// + /// The kibana public domain of instance. + /// + public readonly string KibanaPublicDomain; + /// + /// The whitelist of kibana public ip. + /// + public readonly string KibanaPublicIpWhitelist; + /// + /// The main zone id of instance. + /// + public readonly string MainZoneId; + /// + /// The maintenance day of instance. + /// + public readonly ImmutableArray MaintenanceDays; + /// + /// The maintenance time of instance. + /// + public readonly string MaintenanceTime; + /// + /// The nodes info of instance. + /// + public readonly ImmutableArray Nodes; + /// + /// The plugin info of instance. + /// + public readonly ImmutableArray Plugins; + /// + /// The status of instance. + /// + public readonly string Status; + /// + /// Whether support code node. + /// + public readonly bool SupportCodeNode; + /// + /// Tags. + /// + public readonly ImmutableArray Tags; + /// + /// The total nodes of instance. + /// + public readonly int TotalNodes; + /// + /// The user id of instance. + /// + public readonly string UserId; + + [OutputConstructor] + private GetInstancesV2InstanceResult( + bool cerebroEnabled, + + string cerebroPrivateDomain, + + string cerebroPublicDomain, + + bool chargeEnabled, + + string clusterId, + + string createTime, + + bool deletionProtection, + + bool enableEsPrivateDomainPublic, + + bool enableEsPrivateNetwork, + + bool enableEsPublicNetwork, + + bool enableKibanaPrivateDomainPublic, + + bool enableKibanaPrivateNetwork, + + bool enableKibanaPublicNetwork, + + string esEip, + + string esEipId, + + string esInnerEndpoint, + + string esPrivateDomain, + + string esPrivateEndpoint, + + string esPrivateIpWhitelist, + + string esPublicDomain, + + string esPublicEndpoint, + + string esPublicIpWhitelist, + + string expireDate, + + string id, + + ImmutableArray instanceConfigurations, + + string instanceId, + + string kibanaEip, + + string kibanaEipId, + + string kibanaPrivateDomain, + + string kibanaPrivateIpWhitelist, + + string kibanaPublicDomain, + + string kibanaPublicIpWhitelist, + + string mainZoneId, + + ImmutableArray maintenanceDays, + + string maintenanceTime, + + ImmutableArray nodes, + + ImmutableArray plugins, + + string status, + + bool supportCodeNode, + + ImmutableArray tags, + + int totalNodes, + + string userId) + { + CerebroEnabled = cerebroEnabled; + CerebroPrivateDomain = cerebroPrivateDomain; + CerebroPublicDomain = cerebroPublicDomain; + ChargeEnabled = chargeEnabled; + ClusterId = clusterId; + CreateTime = createTime; + DeletionProtection = deletionProtection; + EnableEsPrivateDomainPublic = enableEsPrivateDomainPublic; + EnableEsPrivateNetwork = enableEsPrivateNetwork; + EnableEsPublicNetwork = enableEsPublicNetwork; + EnableKibanaPrivateDomainPublic = enableKibanaPrivateDomainPublic; + EnableKibanaPrivateNetwork = enableKibanaPrivateNetwork; + EnableKibanaPublicNetwork = enableKibanaPublicNetwork; + EsEip = esEip; + EsEipId = esEipId; + EsInnerEndpoint = esInnerEndpoint; + EsPrivateDomain = esPrivateDomain; + EsPrivateEndpoint = esPrivateEndpoint; + EsPrivateIpWhitelist = esPrivateIpWhitelist; + EsPublicDomain = esPublicDomain; + EsPublicEndpoint = esPublicEndpoint; + EsPublicIpWhitelist = esPublicIpWhitelist; + ExpireDate = expireDate; + Id = id; + InstanceConfigurations = instanceConfigurations; + InstanceId = instanceId; + KibanaEip = kibanaEip; + KibanaEipId = kibanaEipId; + KibanaPrivateDomain = kibanaPrivateDomain; + KibanaPrivateIpWhitelist = kibanaPrivateIpWhitelist; + KibanaPublicDomain = kibanaPublicDomain; + KibanaPublicIpWhitelist = kibanaPublicIpWhitelist; + MainZoneId = mainZoneId; + MaintenanceDays = maintenanceDays; + MaintenanceTime = maintenanceTime; + Nodes = nodes; + Plugins = plugins; + Status = status; + SupportCodeNode = supportCodeNode; + Tags = tags; + TotalNodes = totalNodes; + UserId = userId; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceTagResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceTagResult.cs new file mode 100644 index 00000000..4b363c2b --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2InstanceTagResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2InstanceTagResult + { + /// + /// The Key of Tags. + /// + public readonly string Key; + /// + /// The Value of Tags. + /// + public readonly string Value; + + [OutputConstructor] + private GetInstancesV2InstanceTagResult( + string key, + + string value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetInstancesV2TagResult.cs b/sdk/dotnet/Escloud/Outputs/GetInstancesV2TagResult.cs new file mode 100644 index 00000000..674de0db --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetInstancesV2TagResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetInstancesV2TagResult + { + /// + /// The Key of Tags. + /// + public readonly string Key; + /// + /// The Value of Tags. + /// + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetInstancesV2TagResult( + string key, + + ImmutableArray values) + { + Key = key; + Values = values; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetRegionsRegionResult.cs b/sdk/dotnet/Escloud/Outputs/GetRegionsRegionResult.cs new file mode 100644 index 00000000..e2ebfd38 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetRegionsRegionResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetRegionsRegionResult + { + /// + /// The id of the region. + /// + public readonly string RegionId; + /// + /// The name of region. + /// + public readonly string RegionName; + + [OutputConstructor] + private GetRegionsRegionResult( + string regionId, + + string regionName) + { + RegionId = regionId; + RegionName = regionName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/GetZonesZoneResult.cs b/sdk/dotnet/Escloud/Outputs/GetZonesZoneResult.cs new file mode 100644 index 00000000..ef83cc93 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/GetZonesZoneResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class GetZonesZoneResult + { + /// + /// The id of the zone. + /// + public readonly string Id; + /// + /// The id of the zone. + /// + public readonly string ZoneId; + /// + /// The name of the zone. + /// + public readonly string ZoneName; + + [OutputConstructor] + private GetZonesZoneResult( + string id, + + string zoneId, + + string zoneName) + { + Id = id; + ZoneId = zoneId; + ZoneName = zoneName; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/InstanceV2NetworkSpec.cs b/sdk/dotnet/Escloud/Outputs/InstanceV2NetworkSpec.cs new file mode 100644 index 00000000..db75e485 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/InstanceV2NetworkSpec.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class InstanceV2NetworkSpec + { + /// + /// The bandwidth of the eip. Unit: Mbps. + /// + public readonly int Bandwidth; + /// + /// Whether the eip is opened. + /// + public readonly bool IsOpen; + /// + /// The spec name of public network. + /// + public readonly string SpecName; + /// + /// The type of public network, valid values: `Elasticsearch`, `Kibana`. + /// + public readonly string Type; + + [OutputConstructor] + private InstanceV2NetworkSpec( + int bandwidth, + + bool isOpen, + + string specName, + + string type) + { + Bandwidth = bandwidth; + IsOpen = isOpen; + SpecName = specName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssign.cs b/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssign.cs new file mode 100644 index 00000000..88ba7e66 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssign.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class InstanceV2NodeSpecsAssign + { + /// + /// The extra performance of FlexPL storage spec. + /// + public readonly Outputs.InstanceV2NodeSpecsAssignExtraPerformance? ExtraPerformance; + /// + /// The number of node. + /// + public readonly int Number; + /// + /// The name of compute resource spec. + /// + public readonly string ResourceSpecName; + /// + /// The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + /// + public readonly int StorageSize; + /// + /// The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + /// + public readonly string StorageSpecName; + /// + /// The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + /// + public readonly string Type; + + [OutputConstructor] + private InstanceV2NodeSpecsAssign( + Outputs.InstanceV2NodeSpecsAssignExtraPerformance? extraPerformance, + + int number, + + string resourceSpecName, + + int storageSize, + + string storageSpecName, + + string type) + { + ExtraPerformance = extraPerformance; + Number = number; + ResourceSpecName = resourceSpecName; + StorageSize = storageSize; + StorageSpecName = storageSpecName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssignExtraPerformance.cs b/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssignExtraPerformance.cs new file mode 100644 index 00000000..5e4f0909 --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/InstanceV2NodeSpecsAssignExtraPerformance.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class InstanceV2NodeSpecsAssignExtraPerformance + { + /// + /// When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + /// The unit is MiB, and the adjustment step size is 10MiB. + /// + public readonly int Throughput; + + [OutputConstructor] + private InstanceV2NodeSpecsAssignExtraPerformance(int throughput) + { + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/Escloud/Outputs/InstanceV2Tag.cs b/sdk/dotnet/Escloud/Outputs/InstanceV2Tag.cs new file mode 100644 index 00000000..c06fe98b --- /dev/null +++ b/sdk/dotnet/Escloud/Outputs/InstanceV2Tag.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Volcengine.Escloud.Outputs +{ + + [OutputType] + public sealed class InstanceV2Tag + { + /// + /// The Key of Tags. + /// + public readonly string Key; + /// + /// The Value of Tags. + /// + public readonly string Value; + + [OutputConstructor] + private InstanceV2Tag( + string key, + + string value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Escloud/Regions.cs b/sdk/dotnet/Escloud/Regions.cs index b7a7c54d..e45ad3d6 100644 --- a/sdk/dotnet/Escloud/Regions.cs +++ b/sdk/dotnet/Escloud/Regions.cs @@ -9,10 +9,11 @@ namespace Pulumi.Volcengine.Escloud { + [Obsolete(@"volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions")] public static class Regions { /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions /// ## Example Usage /// /// ```csharp @@ -23,7 +24,7 @@ public static class Regions /// /// return await Deployment.RunAsync(() => /// { - /// var @default = Volcengine.Escloud.Regions.Invoke(); + /// var @default = Volcengine.Escloud.GetRegions.Invoke(); /// /// }); /// ``` @@ -32,7 +33,7 @@ public static Task InvokeAsync(RegionsArgs? args = null, InvokeOp => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/regions:Regions", args ?? new RegionsArgs(), options.WithDefaults()); /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions /// ## Example Usage /// /// ```csharp @@ -43,7 +44,7 @@ public static Task InvokeAsync(RegionsArgs? args = null, InvokeOp /// /// return await Deployment.RunAsync(() => /// { - /// var @default = Volcengine.Escloud.Regions.Invoke(); + /// var @default = Volcengine.Escloud.GetRegions.Invoke(); /// /// }); /// ``` diff --git a/sdk/dotnet/Escloud/Zones.cs b/sdk/dotnet/Escloud/Zones.cs index 7f6ba553..7f6690d3 100644 --- a/sdk/dotnet/Escloud/Zones.cs +++ b/sdk/dotnet/Escloud/Zones.cs @@ -9,10 +9,11 @@ namespace Pulumi.Volcengine.Escloud { + [Obsolete(@"volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones")] public static class Zones { /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones /// ## Example Usage /// /// ```csharp @@ -23,7 +24,7 @@ public static class Zones /// /// return await Deployment.RunAsync(() => /// { - /// var @default = Volcengine.Escloud.Zones.Invoke(new() + /// var @default = Volcengine.Escloud.GetZones.Invoke(new() /// { /// RegionId = "xxx", /// }); @@ -35,7 +36,7 @@ public static Task InvokeAsync(ZonesArgs args, InvokeOptions? optio => global::Pulumi.Deployment.Instance.InvokeAsync("volcengine:escloud/zones:Zones", args ?? new ZonesArgs(), options.WithDefaults()); /// - /// (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + /// (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones /// ## Example Usage /// /// ```csharp @@ -46,7 +47,7 @@ public static Task InvokeAsync(ZonesArgs args, InvokeOptions? optio /// /// return await Deployment.RunAsync(() => /// { - /// var @default = Volcengine.Escloud.Zones.Invoke(new() + /// var @default = Volcengine.Escloud.GetZones.Invoke(new() /// { /// RegionId = "xxx", /// }); diff --git a/sdk/dotnet/Escloud_v2/EscloudInstanceV2.cs b/sdk/dotnet/Escloud_v2/EscloudInstanceV2.cs index 4930fbe2..61d9e0f9 100644 --- a/sdk/dotnet/Escloud_v2/EscloudInstanceV2.cs +++ b/sdk/dotnet/Escloud_v2/EscloudInstanceV2.cs @@ -37,7 +37,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// VpcId = fooVpc.Id, /// }); /// - /// var fooEscloudInstanceV2 = new Volcengine.Escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", new() + /// var fooInstanceV2 = new Volcengine.Escloud.InstanceV2("fooInstanceV2", new() /// { /// InstanceName = "acc-test-escloud-instance", /// Version = "V7_10", @@ -59,7 +59,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// ProjectName = "default", /// NodeSpecsAssigns = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Master", /// Number = 3, @@ -67,19 +67,19 @@ namespace Pulumi.Volcengine.Escloud_v2 /// StorageSpecName = "es.volume.essd.pl0", /// StorageSize = 20, /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Hot", /// Number = 6, /// ResourceSpecName = "es.x2.medium", /// StorageSpecName = "es.volume.essd.flexpl-standard", /// StorageSize = 500, - /// ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs + /// ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs /// { /// Throughput = 65, /// }, /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Kibana", /// Number = 1, @@ -90,14 +90,14 @@ namespace Pulumi.Volcengine.Escloud_v2 /// }, /// NetworkSpecs = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs /// { /// Type = "Elasticsearch", /// Bandwidth = 1, /// IsOpen = true, /// SpecName = "es.eip.bgp_fixed_bandwidth", /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs /// { /// Type = "Kibana", /// Bandwidth = 1, @@ -107,7 +107,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// }, /// Tags = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs + /// new Volcengine.Escloud.Inputs.InstanceV2TagArgs /// { /// Key = "k1", /// Value = "v1", @@ -128,6 +128,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// $ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id /// ``` /// + [Obsolete(@"volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2")] [VolcengineResourceType("volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2")] public partial class EscloudInstanceV2 : global::Pulumi.CustomResource { diff --git a/sdk/dotnet/Escloud_v2/EscloudInstancesV2.cs b/sdk/dotnet/Escloud_v2/EscloudInstancesV2.cs index d6d5d0b5..4ec00f0d 100644 --- a/sdk/dotnet/Escloud_v2/EscloudInstancesV2.cs +++ b/sdk/dotnet/Escloud_v2/EscloudInstancesV2.cs @@ -9,6 +9,7 @@ namespace Pulumi.Volcengine.Escloud_v2 { + [Obsolete(@"volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2")] public static class EscloudInstancesV2 { public static Task InvokeAsync(EscloudInstancesV2Args? args = null, InvokeOptions? options = null) diff --git a/sdk/dotnet/Escloud_v2/EscloudIpWhiteList.cs b/sdk/dotnet/Escloud_v2/EscloudIpWhiteList.cs index f646c624..801bad16 100644 --- a/sdk/dotnet/Escloud_v2/EscloudIpWhiteList.cs +++ b/sdk/dotnet/Escloud_v2/EscloudIpWhiteList.cs @@ -38,7 +38,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// VpcId = fooVpc.Id, /// }); /// - /// var fooEscloudInstanceV2 = new Volcengine.Escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", new() + /// var fooInstanceV2 = new Volcengine.Escloud.InstanceV2("fooInstanceV2", new() /// { /// InstanceName = "acc-test-escloud-instance", /// Version = "V7_10", @@ -60,7 +60,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// ProjectName = "default", /// NodeSpecsAssigns = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Master", /// Number = 3, @@ -68,19 +68,19 @@ namespace Pulumi.Volcengine.Escloud_v2 /// StorageSpecName = "es.volume.essd.pl0", /// StorageSize = 20, /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Hot", /// Number = 6, /// ResourceSpecName = "es.x2.medium", /// StorageSpecName = "es.volume.essd.flexpl-standard", /// StorageSize = 500, - /// ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs + /// ExtraPerformance = new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignExtraPerformanceArgs /// { /// Throughput = 65, /// }, /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NodeSpecsAssignArgs /// { /// Type = "Kibana", /// Number = 1, @@ -91,14 +91,14 @@ namespace Pulumi.Volcengine.Escloud_v2 /// }, /// NetworkSpecs = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs /// { /// Type = "Elasticsearch", /// Bandwidth = 1, /// IsOpen = true, /// SpecName = "es.eip.bgp_fixed_bandwidth", /// }, - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs + /// new Volcengine.Escloud.Inputs.InstanceV2NetworkSpecArgs /// { /// Type = "Kibana", /// Bandwidth = 1, @@ -108,7 +108,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// }, /// Tags = new[] /// { - /// new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs + /// new Volcengine.Escloud.Inputs.InstanceV2TagArgs /// { /// Key = "k1", /// Value = "v1", @@ -116,9 +116,9 @@ namespace Pulumi.Volcengine.Escloud_v2 /// }, /// }); /// - /// var fooEscloudIpWhiteList = new Volcengine.Escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", new() + /// var fooIpWhiteList = new Volcengine.Escloud.IpWhiteList("fooIpWhiteList", new() /// { - /// InstanceId = fooEscloudInstanceV2.Id, + /// InstanceId = fooInstanceV2.Id, /// Type = "public", /// Component = "es", /// IpLists = new[] @@ -140,6 +140,7 @@ namespace Pulumi.Volcengine.Escloud_v2 /// $ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList default resource_id /// ``` /// + [Obsolete(@"volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList")] [VolcengineResourceType("volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList")] public partial class EscloudIpWhiteList : global::Pulumi.CustomResource { diff --git a/sdk/go/volcengine/cdn/certificates.go b/sdk/go/volcengine/cdn/certificates.go index a87b149e..cfd3a725 100644 --- a/sdk/go/volcengine/cdn/certificates.go +++ b/sdk/go/volcengine/cdn/certificates.go @@ -35,7 +35,7 @@ import ( // if err != nil { // return err // } -// _ = cdn.CertificatesOutput(ctx, cdn.CertificatesOutputArgs{ +// _ = cdn.GetCertificatesOutput(ctx, cdn.GetCertificatesOutputArgs{ // Source: fooCdnCertificate.Source, // }, nil) // return nil @@ -43,6 +43,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates func Certificates(ctx *pulumi.Context, args *CertificatesArgs, opts ...pulumi.InvokeOption) (*CertificatesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv CertificatesResult diff --git a/sdk/go/volcengine/cdn/configs.go b/sdk/go/volcengine/cdn/configs.go index 445acd2e..cda38b21 100644 --- a/sdk/go/volcengine/cdn/configs.go +++ b/sdk/go/volcengine/cdn/configs.go @@ -95,7 +95,7 @@ import ( // if err != nil { // return err // } -// _ = cdn.ConfigsOutput(ctx, cdn.ConfigsOutputArgs{ +// _ = cdn.GetConfigsOutput(ctx, cdn.GetConfigsOutputArgs{ // Domain: fooCdnDomain.ID(), // }, nil) // return nil @@ -103,6 +103,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs func Configs(ctx *pulumi.Context, args *ConfigsArgs, opts ...pulumi.InvokeOption) (*ConfigsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv ConfigsResult diff --git a/sdk/go/volcengine/cdn/domains.go b/sdk/go/volcengine/cdn/domains.go index 7e845f57..c09eb55e 100644 --- a/sdk/go/volcengine/cdn/domains.go +++ b/sdk/go/volcengine/cdn/domains.go @@ -95,7 +95,7 @@ import ( // if err != nil { // return err // } -// _ = cdn.DomainsOutput(ctx, cdn.DomainsOutputArgs{ +// _ = cdn.GetDomainsOutput(ctx, cdn.GetDomainsOutputArgs{ // Domain: fooCdnDomain.ID(), // }, nil) // return nil @@ -103,6 +103,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains func Domains(ctx *pulumi.Context, args *DomainsArgs, opts ...pulumi.InvokeOption) (*DomainsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv DomainsResult diff --git a/sdk/go/volcengine/cdn/getCertificates.go b/sdk/go/volcengine/cdn/getCertificates.go new file mode 100644 index 00000000..4c0d6e81 --- /dev/null +++ b/sdk/go/volcengine/cdn/getCertificates.go @@ -0,0 +1,163 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cdn + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cdn certificates +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooCdnCertificate, err := cdn.NewCdnCertificate(ctx, "fooCdnCertificate", &cdn.CdnCertificateArgs{ +// Certificate: pulumi.String(""), +// PrivateKey: pulumi.String(""), +// Desc: pulumi.String("tftest"), +// Source: pulumi.String("cdn_cert_hosting"), +// }) +// if err != nil { +// return err +// } +// _ = cdn.GetCertificatesOutput(ctx, cdn.GetCertificatesOutputArgs{ +// Source: fooCdnCertificate.Source, +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCertificatesResult + err := ctx.Invoke("volcengine:cdn/getCertificates:getCertificates", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCertificates. +type GetCertificatesArgs struct { + // Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + Name *string `pulumi:"name"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + Source string `pulumi:"source"` + // Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + Status *string `pulumi:"status"` +} + +// A collection of values returned by getCertificates. +type GetCertificatesResult struct { + // The collection of query. + CertInfos []GetCertificatesCertInfo `pulumi:"certInfos"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Name *string `pulumi:"name"` + OutputFile *string `pulumi:"outputFile"` + // Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + Source string `pulumi:"source"` + // Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + Status *string `pulumi:"status"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetCertificatesOutput(ctx *pulumi.Context, args GetCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCertificatesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCertificatesResult, error) { + args := v.(GetCertificatesArgs) + r, err := GetCertificates(ctx, &args, opts...) + var s GetCertificatesResult + if r != nil { + s = *r + } + return s, err + }).(GetCertificatesResultOutput) +} + +// A collection of arguments for invoking getCertificates. +type GetCertificatesOutputArgs struct { + // Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + Name pulumi.StringPtrInput `pulumi:"name"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + Source pulumi.StringInput `pulumi:"source"` + // Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetCertificatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCertificatesArgs)(nil)).Elem() +} + +// A collection of values returned by getCertificates. +type GetCertificatesResultOutput struct{ *pulumi.OutputState } + +func (GetCertificatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCertificatesResult)(nil)).Elem() +} + +func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput { + return o +} + +func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput { + return o +} + +// The collection of query. +func (o GetCertificatesResultOutput) CertInfos() GetCertificatesCertInfoArrayOutput { + return o.ApplyT(func(v GetCertificatesResult) []GetCertificatesCertInfo { return v.CertInfos }).(GetCertificatesCertInfoArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCertificatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCertificatesResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCertificatesResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o GetCertificatesResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCertificatesResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. +func (o GetCertificatesResultOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesResult) string { return v.Source }).(pulumi.StringOutput) +} + +// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. +func (o GetCertificatesResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCertificatesResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetCertificatesResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetCertificatesResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCertificatesResultOutput{}) +} diff --git a/sdk/go/volcengine/cdn/getConfigs.go b/sdk/go/volcengine/cdn/getConfigs.go new file mode 100644 index 00000000..f35182c5 --- /dev/null +++ b/sdk/go/volcengine/cdn/getConfigs.go @@ -0,0 +1,203 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cdn + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cdn configs +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "encoding/json" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooCdnCertificate, err := cdn.NewCdnCertificate(ctx, "fooCdnCertificate", &cdn.CdnCertificateArgs{ +// Certificate: pulumi.String(""), +// PrivateKey: pulumi.String(""), +// Desc: pulumi.String("tftest"), +// Source: pulumi.String("cdn_cert_hosting"), +// }) +// if err != nil { +// return err +// } +// fooCdnDomain, err := cdn.NewCdnDomain(ctx, "fooCdnDomain", &cdn.CdnDomainArgs{ +// Domain: pulumi.String("tftest.byte-test.com"), +// ServiceType: pulumi.String("web"), +// Tags: cdn.CdnDomainTagArray{ +// &cdn.CdnDomainTagArgs{ +// Key: pulumi.String("tfkey1"), +// Value: pulumi.String("tfvalue1"), +// }, +// &cdn.CdnDomainTagArgs{ +// Key: pulumi.String("tfkey2"), +// Value: pulumi.String("tfvalue2"), +// }, +// }, +// DomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) { +// var _zero pulumi.String +// tmpJSON0, err := json.Marshal(map[string]interface{}{ +// "OriginProtocol": "https", +// "Origin": []map[string]interface{}{ +// map[string]interface{}{ +// "OriginAction": map[string]interface{}{ +// "OriginLines": []map[string]interface{}{ +// map[string]interface{}{ +// "Address": "1.1.1.1", +// "HttpPort": "80", +// "HttpsPort": "443", +// "InstanceType": "ip", +// "OriginType": "primary", +// "PrivateBucketAccess": false, +// "Weight": "2", +// }, +// }, +// }, +// }, +// }, +// "HTTPS": map[string]interface{}{ +// "CertInfo": map[string]interface{}{ +// "CertId": id, +// }, +// "DisableHttp": false, +// "HTTP2": true, +// "Switch": true, +// "Ocsp": false, +// "TlsVersion": []string{ +// "tlsv1.1", +// "tlsv1.2", +// }, +// }, +// }) +// if err != nil { +// return _zero, err +// } +// json0 := string(tmpJSON0) +// return pulumi.String(json0), nil +// }).(pulumi.StringOutput), +// }) +// if err != nil { +// return err +// } +// _ = cdn.GetConfigsOutput(ctx, cdn.GetConfigsOutputArgs{ +// Domain: fooCdnDomain.ID(), +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetConfigs(ctx *pulumi.Context, args *GetConfigsArgs, opts ...pulumi.InvokeOption) (*GetConfigsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetConfigsResult + err := ctx.Invoke("volcengine:cdn/getConfigs:getConfigs", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getConfigs. +type GetConfigsArgs struct { + // The domain name. + Domain string `pulumi:"domain"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` +} + +// A collection of values returned by getConfigs. +type GetConfigsResult struct { + // The domain name. + Domain string `pulumi:"domain"` + // The collection of query. + DomainConfigs []GetConfigsDomainConfig `pulumi:"domainConfigs"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OutputFile *string `pulumi:"outputFile"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetConfigsOutput(ctx *pulumi.Context, args GetConfigsOutputArgs, opts ...pulumi.InvokeOption) GetConfigsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetConfigsResult, error) { + args := v.(GetConfigsArgs) + r, err := GetConfigs(ctx, &args, opts...) + var s GetConfigsResult + if r != nil { + s = *r + } + return s, err + }).(GetConfigsResultOutput) +} + +// A collection of arguments for invoking getConfigs. +type GetConfigsOutputArgs struct { + // The domain name. + Domain pulumi.StringInput `pulumi:"domain"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` +} + +func (GetConfigsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigsArgs)(nil)).Elem() +} + +// A collection of values returned by getConfigs. +type GetConfigsResultOutput struct{ *pulumi.OutputState } + +func (GetConfigsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigsResult)(nil)).Elem() +} + +func (o GetConfigsResultOutput) ToGetConfigsResultOutput() GetConfigsResultOutput { + return o +} + +func (o GetConfigsResultOutput) ToGetConfigsResultOutputWithContext(ctx context.Context) GetConfigsResultOutput { + return o +} + +// The domain name. +func (o GetConfigsResultOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsResult) string { return v.Domain }).(pulumi.StringOutput) +} + +// The collection of query. +func (o GetConfigsResultOutput) DomainConfigs() GetConfigsDomainConfigArrayOutput { + return o.ApplyT(func(v GetConfigsResult) []GetConfigsDomainConfig { return v.DomainConfigs }).(GetConfigsDomainConfigArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetConfigsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetConfigsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetConfigsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetConfigsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetConfigsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetConfigsResultOutput{}) +} diff --git a/sdk/go/volcengine/cdn/getDomains.go b/sdk/go/volcengine/cdn/getDomains.go new file mode 100644 index 00000000..b2028dd7 --- /dev/null +++ b/sdk/go/volcengine/cdn/getDomains.go @@ -0,0 +1,291 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cdn + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cdn domains +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "encoding/json" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooCdnCertificate, err := cdn.NewCdnCertificate(ctx, "fooCdnCertificate", &cdn.CdnCertificateArgs{ +// Certificate: pulumi.String(""), +// PrivateKey: pulumi.String(""), +// Desc: pulumi.String("tftest"), +// Source: pulumi.String("cdn_cert_hosting"), +// }) +// if err != nil { +// return err +// } +// fooCdnDomain, err := cdn.NewCdnDomain(ctx, "fooCdnDomain", &cdn.CdnDomainArgs{ +// Domain: pulumi.String("tftest.byte-test.com"), +// ServiceType: pulumi.String("web"), +// Tags: cdn.CdnDomainTagArray{ +// &cdn.CdnDomainTagArgs{ +// Key: pulumi.String("tfkey1"), +// Value: pulumi.String("tfvalue1"), +// }, +// &cdn.CdnDomainTagArgs{ +// Key: pulumi.String("tfkey2"), +// Value: pulumi.String("tfvalue2"), +// }, +// }, +// DomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) { +// var _zero pulumi.String +// tmpJSON0, err := json.Marshal(map[string]interface{}{ +// "OriginProtocol": "https", +// "Origin": []map[string]interface{}{ +// map[string]interface{}{ +// "OriginAction": map[string]interface{}{ +// "OriginLines": []map[string]interface{}{ +// map[string]interface{}{ +// "Address": "1.1.1.1", +// "HttpPort": "80", +// "HttpsPort": "443", +// "InstanceType": "ip", +// "OriginType": "primary", +// "PrivateBucketAccess": false, +// "Weight": "2", +// }, +// }, +// }, +// }, +// }, +// "HTTPS": map[string]interface{}{ +// "CertInfo": map[string]interface{}{ +// "CertId": id, +// }, +// "DisableHttp": false, +// "HTTP2": true, +// "Switch": true, +// "Ocsp": false, +// "TlsVersion": []string{ +// "tlsv1.1", +// "tlsv1.2", +// }, +// }, +// }) +// if err != nil { +// return _zero, err +// } +// json0 := string(tmpJSON0) +// return pulumi.String(json0), nil +// }).(pulumi.StringOutput), +// }) +// if err != nil { +// return err +// } +// _ = cdn.GetDomainsOutput(ctx, cdn.GetDomainsOutputArgs{ +// Domain: fooCdnDomain.ID(), +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDomainsResult + err := ctx.Invoke("volcengine:cdn/getDomains:getDomains", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomains. +type GetDomainsArgs struct { + // Search by specifying domain name keywords, with fuzzy matching. + Domain *string `pulumi:"domain"` + // Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + Https *bool `pulumi:"https"` + // Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + Ipv6 *bool `pulumi:"ipv6"` + // Configure the origin protocol for the accelerated domain. + OriginProtocol *string `pulumi:"originProtocol"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // Specify a primary origin server for filtering accelerated domains. + PrimaryOrigin *string `pulumi:"primaryOrigin"` + // The project name of the domain. + Project *string `pulumi:"project"` + // The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + ServiceType *string `pulumi:"serviceType"` + // The status of the domain. + Status *string `pulumi:"status"` + // Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + Tags []string `pulumi:"tags"` +} + +// A collection of values returned by getDomains. +type GetDomainsResult struct { + // Search by specifying domain name keywords, with fuzzy matching. + Domain *string `pulumi:"domain"` + // The collection of query. + Domains []GetDomainsDomain `pulumi:"domains"` + // Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + Https *bool `pulumi:"https"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + Ipv6 *bool `pulumi:"ipv6"` + // Configure the origin protocol for the accelerated domain. + OriginProtocol *string `pulumi:"originProtocol"` + OutputFile *string `pulumi:"outputFile"` + // List of primary source servers to accelerate the domain name. + PrimaryOrigin *string `pulumi:"primaryOrigin"` + // The project name of the domain. + Project *string `pulumi:"project"` + // The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + ServiceType *string `pulumi:"serviceType"` + // The status of the domain. + Status *string `pulumi:"status"` + // Indicate the tags you have set for this domain name. You can set up to 10 tags. + Tags []string `pulumi:"tags"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetDomainsOutput(ctx *pulumi.Context, args GetDomainsOutputArgs, opts ...pulumi.InvokeOption) GetDomainsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDomainsResult, error) { + args := v.(GetDomainsArgs) + r, err := GetDomains(ctx, &args, opts...) + var s GetDomainsResult + if r != nil { + s = *r + } + return s, err + }).(GetDomainsResultOutput) +} + +// A collection of arguments for invoking getDomains. +type GetDomainsOutputArgs struct { + // Search by specifying domain name keywords, with fuzzy matching. + Domain pulumi.StringPtrInput `pulumi:"domain"` + // Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + Https pulumi.BoolPtrInput `pulumi:"https"` + // Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + Ipv6 pulumi.BoolPtrInput `pulumi:"ipv6"` + // Configure the origin protocol for the accelerated domain. + OriginProtocol pulumi.StringPtrInput `pulumi:"originProtocol"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // Specify a primary origin server for filtering accelerated domains. + PrimaryOrigin pulumi.StringPtrInput `pulumi:"primaryOrigin"` + // The project name of the domain. + Project pulumi.StringPtrInput `pulumi:"project"` + // The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + ServiceType pulumi.StringPtrInput `pulumi:"serviceType"` + // The status of the domain. + Status pulumi.StringPtrInput `pulumi:"status"` + // Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + Tags pulumi.StringArrayInput `pulumi:"tags"` +} + +func (GetDomainsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsArgs)(nil)).Elem() +} + +// A collection of values returned by getDomains. +type GetDomainsResultOutput struct{ *pulumi.OutputState } + +func (GetDomainsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsResult)(nil)).Elem() +} + +func (o GetDomainsResultOutput) ToGetDomainsResultOutput() GetDomainsResultOutput { + return o +} + +func (o GetDomainsResultOutput) ToGetDomainsResultOutputWithContext(ctx context.Context) GetDomainsResultOutput { + return o +} + +// Search by specifying domain name keywords, with fuzzy matching. +func (o GetDomainsResultOutput) Domain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.Domain }).(pulumi.StringPtrOutput) +} + +// The collection of query. +func (o GetDomainsResultOutput) Domains() GetDomainsDomainArrayOutput { + return o.ApplyT(func(v GetDomainsResult) []GetDomainsDomain { return v.Domains }).(GetDomainsDomainArrayOutput) +} + +// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. +func (o GetDomainsResultOutput) Https() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *bool { return v.Https }).(pulumi.BoolPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDomainsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. +func (o GetDomainsResultOutput) Ipv6() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *bool { return v.Ipv6 }).(pulumi.BoolPtrOutput) +} + +// Configure the origin protocol for the accelerated domain. +func (o GetDomainsResultOutput) OriginProtocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.OriginProtocol }).(pulumi.StringPtrOutput) +} + +func (o GetDomainsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// List of primary source servers to accelerate the domain name. +func (o GetDomainsResultOutput) PrimaryOrigin() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.PrimaryOrigin }).(pulumi.StringPtrOutput) +} + +// The project name of the domain. +func (o GetDomainsResultOutput) Project() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.Project }).(pulumi.StringPtrOutput) +} + +// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. +func (o GetDomainsResultOutput) ServiceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.ServiceType }).(pulumi.StringPtrOutput) +} + +// The status of the domain. +func (o GetDomainsResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +// Indicate the tags you have set for this domain name. You can set up to 10 tags. +func (o GetDomainsResultOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDomainsResult) []string { return v.Tags }).(pulumi.StringArrayOutput) +} + +// The total count of query. +func (o GetDomainsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDomainsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDomainsResultOutput{}) +} diff --git a/sdk/go/volcengine/cdn/getSharedConfigs.go b/sdk/go/volcengine/cdn/getSharedConfigs.go new file mode 100644 index 00000000..01bfb0fb --- /dev/null +++ b/sdk/go/volcengine/cdn/getSharedConfigs.go @@ -0,0 +1,170 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cdn + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cdn shared configs +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := cdn.GetSharedConfigs(ctx, &cdn.GetSharedConfigsArgs{ +// ConfigName: pulumi.StringRef("tf-test"), +// ConfigType: pulumi.StringRef("allow_ip_access_rule"), +// ProjectName: pulumi.StringRef("default"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSharedConfigs(ctx *pulumi.Context, args *GetSharedConfigsArgs, opts ...pulumi.InvokeOption) (*GetSharedConfigsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSharedConfigsResult + err := ctx.Invoke("volcengine:cdn/getSharedConfigs:getSharedConfigs", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSharedConfigs. +type GetSharedConfigsArgs struct { + // The name of the shared config. + ConfigName *string `pulumi:"configName"` + // The type of the shared config. + ConfigType *string `pulumi:"configType"` + // The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + ConfigTypeLists []string `pulumi:"configTypeLists"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The name of the project. + ProjectName *string `pulumi:"projectName"` +} + +// A collection of values returned by getSharedConfigs. +type GetSharedConfigsResult struct { + // The collection of query. + ConfigDatas []GetSharedConfigsConfigData `pulumi:"configDatas"` + // The name of the config. + ConfigName *string `pulumi:"configName"` + // The type of the config. + ConfigType *string `pulumi:"configType"` + ConfigTypeLists []string `pulumi:"configTypeLists"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OutputFile *string `pulumi:"outputFile"` + // The name of the project. + ProjectName *string `pulumi:"projectName"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetSharedConfigsOutput(ctx *pulumi.Context, args GetSharedConfigsOutputArgs, opts ...pulumi.InvokeOption) GetSharedConfigsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetSharedConfigsResult, error) { + args := v.(GetSharedConfigsArgs) + r, err := GetSharedConfigs(ctx, &args, opts...) + var s GetSharedConfigsResult + if r != nil { + s = *r + } + return s, err + }).(GetSharedConfigsResultOutput) +} + +// A collection of arguments for invoking getSharedConfigs. +type GetSharedConfigsOutputArgs struct { + // The name of the shared config. + ConfigName pulumi.StringPtrInput `pulumi:"configName"` + // The type of the shared config. + ConfigType pulumi.StringPtrInput `pulumi:"configType"` + // The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + ConfigTypeLists pulumi.StringArrayInput `pulumi:"configTypeLists"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The name of the project. + ProjectName pulumi.StringPtrInput `pulumi:"projectName"` +} + +func (GetSharedConfigsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsArgs)(nil)).Elem() +} + +// A collection of values returned by getSharedConfigs. +type GetSharedConfigsResultOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsResult)(nil)).Elem() +} + +func (o GetSharedConfigsResultOutput) ToGetSharedConfigsResultOutput() GetSharedConfigsResultOutput { + return o +} + +func (o GetSharedConfigsResultOutput) ToGetSharedConfigsResultOutputWithContext(ctx context.Context) GetSharedConfigsResultOutput { + return o +} + +// The collection of query. +func (o GetSharedConfigsResultOutput) ConfigDatas() GetSharedConfigsConfigDataArrayOutput { + return o.ApplyT(func(v GetSharedConfigsResult) []GetSharedConfigsConfigData { return v.ConfigDatas }).(GetSharedConfigsConfigDataArrayOutput) +} + +// The name of the config. +func (o GetSharedConfigsResultOutput) ConfigName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSharedConfigsResult) *string { return v.ConfigName }).(pulumi.StringPtrOutput) +} + +// The type of the config. +func (o GetSharedConfigsResultOutput) ConfigType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSharedConfigsResult) *string { return v.ConfigType }).(pulumi.StringPtrOutput) +} + +func (o GetSharedConfigsResultOutput) ConfigTypeLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsResult) []string { return v.ConfigTypeLists }).(pulumi.StringArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSharedConfigsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSharedConfigsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetSharedConfigsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSharedConfigsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The name of the project. +func (o GetSharedConfigsResultOutput) ProjectName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSharedConfigsResult) *string { return v.ProjectName }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetSharedConfigsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetSharedConfigsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSharedConfigsResultOutput{}) +} diff --git a/sdk/go/volcengine/cdn/pulumiTypes.go b/sdk/go/volcengine/cdn/pulumiTypes.go index 78124adc..04ba83c3 100644 --- a/sdk/go/volcengine/cdn/pulumiTypes.go +++ b/sdk/go/volcengine/cdn/pulumiTypes.go @@ -3281,6 +3281,1821 @@ func (o SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) Index }).(SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) } +type GetCertificatesCertInfo struct { + // ID indicating the certificate. + CertId string `pulumi:"certId"` + // The domain name to which the certificate is issued. + CertName string `pulumi:"certName"` + // The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. + ConfiguredDomain string `pulumi:"configuredDomain"` + // The remark of the cert. + Desc string `pulumi:"desc"` + // The domain names included in the SAN field of the certificate. + DnsName string `pulumi:"dnsName"` + // The issuance time of the certificate is indicated. The unit is Unix timestamp. + EffectiveTime int `pulumi:"effectiveTime"` + // The expiration time of the certificate is indicated. The unit is Unix timestamp. + ExpireTime int `pulumi:"expireTime"` + // Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + Source string `pulumi:"source"` + // Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + Status string `pulumi:"status"` +} + +// GetCertificatesCertInfoInput is an input type that accepts GetCertificatesCertInfoArgs and GetCertificatesCertInfoOutput values. +// You can construct a concrete instance of `GetCertificatesCertInfoInput` via: +// +// GetCertificatesCertInfoArgs{...} +type GetCertificatesCertInfoInput interface { + pulumi.Input + + ToGetCertificatesCertInfoOutput() GetCertificatesCertInfoOutput + ToGetCertificatesCertInfoOutputWithContext(context.Context) GetCertificatesCertInfoOutput +} + +type GetCertificatesCertInfoArgs struct { + // ID indicating the certificate. + CertId pulumi.StringInput `pulumi:"certId"` + // The domain name to which the certificate is issued. + CertName pulumi.StringInput `pulumi:"certName"` + // The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. + ConfiguredDomain pulumi.StringInput `pulumi:"configuredDomain"` + // The remark of the cert. + Desc pulumi.StringInput `pulumi:"desc"` + // The domain names included in the SAN field of the certificate. + DnsName pulumi.StringInput `pulumi:"dnsName"` + // The issuance time of the certificate is indicated. The unit is Unix timestamp. + EffectiveTime pulumi.IntInput `pulumi:"effectiveTime"` + // The expiration time of the certificate is indicated. The unit is Unix timestamp. + ExpireTime pulumi.IntInput `pulumi:"expireTime"` + // Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + Source pulumi.StringInput `pulumi:"source"` + // Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + Status pulumi.StringInput `pulumi:"status"` +} + +func (GetCertificatesCertInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCertificatesCertInfo)(nil)).Elem() +} + +func (i GetCertificatesCertInfoArgs) ToGetCertificatesCertInfoOutput() GetCertificatesCertInfoOutput { + return i.ToGetCertificatesCertInfoOutputWithContext(context.Background()) +} + +func (i GetCertificatesCertInfoArgs) ToGetCertificatesCertInfoOutputWithContext(ctx context.Context) GetCertificatesCertInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCertificatesCertInfoOutput) +} + +// GetCertificatesCertInfoArrayInput is an input type that accepts GetCertificatesCertInfoArray and GetCertificatesCertInfoArrayOutput values. +// You can construct a concrete instance of `GetCertificatesCertInfoArrayInput` via: +// +// GetCertificatesCertInfoArray{ GetCertificatesCertInfoArgs{...} } +type GetCertificatesCertInfoArrayInput interface { + pulumi.Input + + ToGetCertificatesCertInfoArrayOutput() GetCertificatesCertInfoArrayOutput + ToGetCertificatesCertInfoArrayOutputWithContext(context.Context) GetCertificatesCertInfoArrayOutput +} + +type GetCertificatesCertInfoArray []GetCertificatesCertInfoInput + +func (GetCertificatesCertInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCertificatesCertInfo)(nil)).Elem() +} + +func (i GetCertificatesCertInfoArray) ToGetCertificatesCertInfoArrayOutput() GetCertificatesCertInfoArrayOutput { + return i.ToGetCertificatesCertInfoArrayOutputWithContext(context.Background()) +} + +func (i GetCertificatesCertInfoArray) ToGetCertificatesCertInfoArrayOutputWithContext(ctx context.Context) GetCertificatesCertInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCertificatesCertInfoArrayOutput) +} + +type GetCertificatesCertInfoOutput struct{ *pulumi.OutputState } + +func (GetCertificatesCertInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCertificatesCertInfo)(nil)).Elem() +} + +func (o GetCertificatesCertInfoOutput) ToGetCertificatesCertInfoOutput() GetCertificatesCertInfoOutput { + return o +} + +func (o GetCertificatesCertInfoOutput) ToGetCertificatesCertInfoOutputWithContext(ctx context.Context) GetCertificatesCertInfoOutput { + return o +} + +// ID indicating the certificate. +func (o GetCertificatesCertInfoOutput) CertId() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.CertId }).(pulumi.StringOutput) +} + +// The domain name to which the certificate is issued. +func (o GetCertificatesCertInfoOutput) CertName() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.CertName }).(pulumi.StringOutput) +} + +// The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. +func (o GetCertificatesCertInfoOutput) ConfiguredDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.ConfiguredDomain }).(pulumi.StringOutput) +} + +// The remark of the cert. +func (o GetCertificatesCertInfoOutput) Desc() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.Desc }).(pulumi.StringOutput) +} + +// The domain names included in the SAN field of the certificate. +func (o GetCertificatesCertInfoOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.DnsName }).(pulumi.StringOutput) +} + +// The issuance time of the certificate is indicated. The unit is Unix timestamp. +func (o GetCertificatesCertInfoOutput) EffectiveTime() pulumi.IntOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) int { return v.EffectiveTime }).(pulumi.IntOutput) +} + +// The expiration time of the certificate is indicated. The unit is Unix timestamp. +func (o GetCertificatesCertInfoOutput) ExpireTime() pulumi.IntOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) int { return v.ExpireTime }).(pulumi.IntOutput) +} + +// Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. +func (o GetCertificatesCertInfoOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.Source }).(pulumi.StringOutput) +} + +// Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. +func (o GetCertificatesCertInfoOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCertificatesCertInfo) string { return v.Status }).(pulumi.StringOutput) +} + +type GetCertificatesCertInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetCertificatesCertInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCertificatesCertInfo)(nil)).Elem() +} + +func (o GetCertificatesCertInfoArrayOutput) ToGetCertificatesCertInfoArrayOutput() GetCertificatesCertInfoArrayOutput { + return o +} + +func (o GetCertificatesCertInfoArrayOutput) ToGetCertificatesCertInfoArrayOutputWithContext(ctx context.Context) GetCertificatesCertInfoArrayOutput { + return o +} + +func (o GetCertificatesCertInfoArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCertificatesCertInfo { + return vs[0].([]GetCertificatesCertInfo)[vs[1].(int)] + }).(GetCertificatesCertInfoOutput) +} + +type GetConfigsDomainConfig struct { + // The cname of the domain. + Cname string `pulumi:"cname"` + // The create time of the domain. + CreateTime int `pulumi:"createTime"` + // The domain name. + Domain string `pulumi:"domain"` + // Indicates whether the configuration of this domain name is allowed to be changed. + LockStatus string `pulumi:"lockStatus"` + // The project name. + Project string `pulumi:"project"` + // The service region of the domain. + ServiceRegion string `pulumi:"serviceRegion"` + // The service type of the domain. + ServiceType string `pulumi:"serviceType"` + // The status of the domain. + Status string `pulumi:"status"` + // The update time of the domain. + UpdateTime int `pulumi:"updateTime"` +} + +// GetConfigsDomainConfigInput is an input type that accepts GetConfigsDomainConfigArgs and GetConfigsDomainConfigOutput values. +// You can construct a concrete instance of `GetConfigsDomainConfigInput` via: +// +// GetConfigsDomainConfigArgs{...} +type GetConfigsDomainConfigInput interface { + pulumi.Input + + ToGetConfigsDomainConfigOutput() GetConfigsDomainConfigOutput + ToGetConfigsDomainConfigOutputWithContext(context.Context) GetConfigsDomainConfigOutput +} + +type GetConfigsDomainConfigArgs struct { + // The cname of the domain. + Cname pulumi.StringInput `pulumi:"cname"` + // The create time of the domain. + CreateTime pulumi.IntInput `pulumi:"createTime"` + // The domain name. + Domain pulumi.StringInput `pulumi:"domain"` + // Indicates whether the configuration of this domain name is allowed to be changed. + LockStatus pulumi.StringInput `pulumi:"lockStatus"` + // The project name. + Project pulumi.StringInput `pulumi:"project"` + // The service region of the domain. + ServiceRegion pulumi.StringInput `pulumi:"serviceRegion"` + // The service type of the domain. + ServiceType pulumi.StringInput `pulumi:"serviceType"` + // The status of the domain. + Status pulumi.StringInput `pulumi:"status"` + // The update time of the domain. + UpdateTime pulumi.IntInput `pulumi:"updateTime"` +} + +func (GetConfigsDomainConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigsDomainConfig)(nil)).Elem() +} + +func (i GetConfigsDomainConfigArgs) ToGetConfigsDomainConfigOutput() GetConfigsDomainConfigOutput { + return i.ToGetConfigsDomainConfigOutputWithContext(context.Background()) +} + +func (i GetConfigsDomainConfigArgs) ToGetConfigsDomainConfigOutputWithContext(ctx context.Context) GetConfigsDomainConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigsDomainConfigOutput) +} + +// GetConfigsDomainConfigArrayInput is an input type that accepts GetConfigsDomainConfigArray and GetConfigsDomainConfigArrayOutput values. +// You can construct a concrete instance of `GetConfigsDomainConfigArrayInput` via: +// +// GetConfigsDomainConfigArray{ GetConfigsDomainConfigArgs{...} } +type GetConfigsDomainConfigArrayInput interface { + pulumi.Input + + ToGetConfigsDomainConfigArrayOutput() GetConfigsDomainConfigArrayOutput + ToGetConfigsDomainConfigArrayOutputWithContext(context.Context) GetConfigsDomainConfigArrayOutput +} + +type GetConfigsDomainConfigArray []GetConfigsDomainConfigInput + +func (GetConfigsDomainConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConfigsDomainConfig)(nil)).Elem() +} + +func (i GetConfigsDomainConfigArray) ToGetConfigsDomainConfigArrayOutput() GetConfigsDomainConfigArrayOutput { + return i.ToGetConfigsDomainConfigArrayOutputWithContext(context.Background()) +} + +func (i GetConfigsDomainConfigArray) ToGetConfigsDomainConfigArrayOutputWithContext(ctx context.Context) GetConfigsDomainConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigsDomainConfigArrayOutput) +} + +type GetConfigsDomainConfigOutput struct{ *pulumi.OutputState } + +func (GetConfigsDomainConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigsDomainConfig)(nil)).Elem() +} + +func (o GetConfigsDomainConfigOutput) ToGetConfigsDomainConfigOutput() GetConfigsDomainConfigOutput { + return o +} + +func (o GetConfigsDomainConfigOutput) ToGetConfigsDomainConfigOutputWithContext(ctx context.Context) GetConfigsDomainConfigOutput { + return o +} + +// The cname of the domain. +func (o GetConfigsDomainConfigOutput) Cname() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.Cname }).(pulumi.StringOutput) +} + +// The create time of the domain. +func (o GetConfigsDomainConfigOutput) CreateTime() pulumi.IntOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) int { return v.CreateTime }).(pulumi.IntOutput) +} + +// The domain name. +func (o GetConfigsDomainConfigOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.Domain }).(pulumi.StringOutput) +} + +// Indicates whether the configuration of this domain name is allowed to be changed. +func (o GetConfigsDomainConfigOutput) LockStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.LockStatus }).(pulumi.StringOutput) +} + +// The project name. +func (o GetConfigsDomainConfigOutput) Project() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.Project }).(pulumi.StringOutput) +} + +// The service region of the domain. +func (o GetConfigsDomainConfigOutput) ServiceRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.ServiceRegion }).(pulumi.StringOutput) +} + +// The service type of the domain. +func (o GetConfigsDomainConfigOutput) ServiceType() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.ServiceType }).(pulumi.StringOutput) +} + +// The status of the domain. +func (o GetConfigsDomainConfigOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) string { return v.Status }).(pulumi.StringOutput) +} + +// The update time of the domain. +func (o GetConfigsDomainConfigOutput) UpdateTime() pulumi.IntOutput { + return o.ApplyT(func(v GetConfigsDomainConfig) int { return v.UpdateTime }).(pulumi.IntOutput) +} + +type GetConfigsDomainConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetConfigsDomainConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConfigsDomainConfig)(nil)).Elem() +} + +func (o GetConfigsDomainConfigArrayOutput) ToGetConfigsDomainConfigArrayOutput() GetConfigsDomainConfigArrayOutput { + return o +} + +func (o GetConfigsDomainConfigArrayOutput) ToGetConfigsDomainConfigArrayOutputWithContext(ctx context.Context) GetConfigsDomainConfigArrayOutput { + return o +} + +func (o GetConfigsDomainConfigArrayOutput) Index(i pulumi.IntInput) GetConfigsDomainConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConfigsDomainConfig { + return vs[0].([]GetConfigsDomainConfig)[vs[1].(int)] + }).(GetConfigsDomainConfigOutput) +} + +type GetDomainsDomain struct { + // The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. + BackupOrigins []string `pulumi:"backupOrigins"` + // Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `targetHost`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cacheSharedOn`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + CacheShared string `pulumi:"cacheShared"` + // If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is targetHost or an empty value, the parameter value is empty. + CacheSharedTargetHost string `pulumi:"cacheSharedTargetHost"` + // The CNAME address of the domain is automatically assigned when adding the domain. + Cname string `pulumi:"cname"` + // The creation time of the domain. + CreateTime int `pulumi:"createTime"` + // Search by specifying domain name keywords, with fuzzy matching. + Domain string `pulumi:"domain"` + // Indicates the locked status of the accelerated domain. + DomainLocks []GetDomainsDomainDomainLock `pulumi:"domainLocks"` + // Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + Https bool `pulumi:"https"` + // Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + Ipv6 bool `pulumi:"ipv6"` + // Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + IsConflictDomain bool `pulumi:"isConflictDomain"` + // Configure the origin protocol for the accelerated domain. + OriginProtocol string `pulumi:"originProtocol"` + // Specify a primary origin server for filtering accelerated domains. + PrimaryOrigins []string `pulumi:"primaryOrigins"` + // The project name of the domain. + Project string `pulumi:"project"` + // Indicates the acceleration area. The parameter can take the following values: `chineseMainland`: Indicates mainland China. `global`: Indicates global. `outsideChineseMainland`: Indicates global (excluding mainland China). + ServiceRegion string `pulumi:"serviceRegion"` + // The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + ServiceType string `pulumi:"serviceType"` + // The status of the domain. + Status string `pulumi:"status"` + // Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + Tags []GetDomainsDomainTag `pulumi:"tags"` + // The update time of the domain. + UpdateTime int `pulumi:"updateTime"` +} + +// GetDomainsDomainInput is an input type that accepts GetDomainsDomainArgs and GetDomainsDomainOutput values. +// You can construct a concrete instance of `GetDomainsDomainInput` via: +// +// GetDomainsDomainArgs{...} +type GetDomainsDomainInput interface { + pulumi.Input + + ToGetDomainsDomainOutput() GetDomainsDomainOutput + ToGetDomainsDomainOutputWithContext(context.Context) GetDomainsDomainOutput +} + +type GetDomainsDomainArgs struct { + // The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. + BackupOrigins pulumi.StringArrayInput `pulumi:"backupOrigins"` + // Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `targetHost`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cacheSharedOn`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + CacheShared pulumi.StringInput `pulumi:"cacheShared"` + // If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is targetHost or an empty value, the parameter value is empty. + CacheSharedTargetHost pulumi.StringInput `pulumi:"cacheSharedTargetHost"` + // The CNAME address of the domain is automatically assigned when adding the domain. + Cname pulumi.StringInput `pulumi:"cname"` + // The creation time of the domain. + CreateTime pulumi.IntInput `pulumi:"createTime"` + // Search by specifying domain name keywords, with fuzzy matching. + Domain pulumi.StringInput `pulumi:"domain"` + // Indicates the locked status of the accelerated domain. + DomainLocks GetDomainsDomainDomainLockArrayInput `pulumi:"domainLocks"` + // Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + Https pulumi.BoolInput `pulumi:"https"` + // Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + Ipv6 pulumi.BoolInput `pulumi:"ipv6"` + // Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + IsConflictDomain pulumi.BoolInput `pulumi:"isConflictDomain"` + // Configure the origin protocol for the accelerated domain. + OriginProtocol pulumi.StringInput `pulumi:"originProtocol"` + // Specify a primary origin server for filtering accelerated domains. + PrimaryOrigins pulumi.StringArrayInput `pulumi:"primaryOrigins"` + // The project name of the domain. + Project pulumi.StringInput `pulumi:"project"` + // Indicates the acceleration area. The parameter can take the following values: `chineseMainland`: Indicates mainland China. `global`: Indicates global. `outsideChineseMainland`: Indicates global (excluding mainland China). + ServiceRegion pulumi.StringInput `pulumi:"serviceRegion"` + // The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + ServiceType pulumi.StringInput `pulumi:"serviceType"` + // The status of the domain. + Status pulumi.StringInput `pulumi:"status"` + // Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + Tags GetDomainsDomainTagArrayInput `pulumi:"tags"` + // The update time of the domain. + UpdateTime pulumi.IntInput `pulumi:"updateTime"` +} + +func (GetDomainsDomainArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomain)(nil)).Elem() +} + +func (i GetDomainsDomainArgs) ToGetDomainsDomainOutput() GetDomainsDomainOutput { + return i.ToGetDomainsDomainOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainOutput) +} + +// GetDomainsDomainArrayInput is an input type that accepts GetDomainsDomainArray and GetDomainsDomainArrayOutput values. +// You can construct a concrete instance of `GetDomainsDomainArrayInput` via: +// +// GetDomainsDomainArray{ GetDomainsDomainArgs{...} } +type GetDomainsDomainArrayInput interface { + pulumi.Input + + ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput + ToGetDomainsDomainArrayOutputWithContext(context.Context) GetDomainsDomainArrayOutput +} + +type GetDomainsDomainArray []GetDomainsDomainInput + +func (GetDomainsDomainArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomain)(nil)).Elem() +} + +func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput { + return i.ToGetDomainsDomainArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainArrayOutput) +} + +type GetDomainsDomainOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomain)(nil)).Elem() +} + +func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput { + return o +} + +func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput { + return o +} + +// The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. +func (o GetDomainsDomainOutput) BackupOrigins() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDomainsDomain) []string { return v.BackupOrigins }).(pulumi.StringArrayOutput) +} + +// Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `targetHost`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cacheSharedOn`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. +func (o GetDomainsDomainOutput) CacheShared() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.CacheShared }).(pulumi.StringOutput) +} + +// If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is targetHost or an empty value, the parameter value is empty. +func (o GetDomainsDomainOutput) CacheSharedTargetHost() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.CacheSharedTargetHost }).(pulumi.StringOutput) +} + +// The CNAME address of the domain is automatically assigned when adding the domain. +func (o GetDomainsDomainOutput) Cname() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.Cname }).(pulumi.StringOutput) +} + +// The creation time of the domain. +func (o GetDomainsDomainOutput) CreateTime() pulumi.IntOutput { + return o.ApplyT(func(v GetDomainsDomain) int { return v.CreateTime }).(pulumi.IntOutput) +} + +// Search by specifying domain name keywords, with fuzzy matching. +func (o GetDomainsDomainOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.Domain }).(pulumi.StringOutput) +} + +// Indicates the locked status of the accelerated domain. +func (o GetDomainsDomainOutput) DomainLocks() GetDomainsDomainDomainLockArrayOutput { + return o.ApplyT(func(v GetDomainsDomain) []GetDomainsDomainDomainLock { return v.DomainLocks }).(GetDomainsDomainDomainLockArrayOutput) +} + +// Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. +func (o GetDomainsDomainOutput) Https() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsDomain) bool { return v.Https }).(pulumi.BoolOutput) +} + +// Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. +func (o GetDomainsDomainOutput) Ipv6() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsDomain) bool { return v.Ipv6 }).(pulumi.BoolOutput) +} + +// Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. +func (o GetDomainsDomainOutput) IsConflictDomain() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsDomain) bool { return v.IsConflictDomain }).(pulumi.BoolOutput) +} + +// Configure the origin protocol for the accelerated domain. +func (o GetDomainsDomainOutput) OriginProtocol() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.OriginProtocol }).(pulumi.StringOutput) +} + +// Specify a primary origin server for filtering accelerated domains. +func (o GetDomainsDomainOutput) PrimaryOrigins() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDomainsDomain) []string { return v.PrimaryOrigins }).(pulumi.StringArrayOutput) +} + +// The project name of the domain. +func (o GetDomainsDomainOutput) Project() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.Project }).(pulumi.StringOutput) +} + +// Indicates the acceleration area. The parameter can take the following values: `chineseMainland`: Indicates mainland China. `global`: Indicates global. `outsideChineseMainland`: Indicates global (excluding mainland China). +func (o GetDomainsDomainOutput) ServiceRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.ServiceRegion }).(pulumi.StringOutput) +} + +// The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. +func (o GetDomainsDomainOutput) ServiceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.ServiceType }).(pulumi.StringOutput) +} + +// The status of the domain. +func (o GetDomainsDomainOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomain) string { return v.Status }).(pulumi.StringOutput) +} + +// Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. +func (o GetDomainsDomainOutput) Tags() GetDomainsDomainTagArrayOutput { + return o.ApplyT(func(v GetDomainsDomain) []GetDomainsDomainTag { return v.Tags }).(GetDomainsDomainTagArrayOutput) +} + +// The update time of the domain. +func (o GetDomainsDomainOutput) UpdateTime() pulumi.IntOutput { + return o.ApplyT(func(v GetDomainsDomain) int { return v.UpdateTime }).(pulumi.IntOutput) +} + +type GetDomainsDomainArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomain)(nil)).Elem() +} + +func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput { + return o +} + +func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput { + return o +} + +func (o GetDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsDomain { + return vs[0].([]GetDomainsDomain)[vs[1].(int)] + }).(GetDomainsDomainOutput) +} + +type GetDomainsDomainDomainLock struct { + // If the Status is on, this parameter value records the reason for the lock. + Remark string `pulumi:"remark"` + // The status of the domain. + Status string `pulumi:"status"` +} + +// GetDomainsDomainDomainLockInput is an input type that accepts GetDomainsDomainDomainLockArgs and GetDomainsDomainDomainLockOutput values. +// You can construct a concrete instance of `GetDomainsDomainDomainLockInput` via: +// +// GetDomainsDomainDomainLockArgs{...} +type GetDomainsDomainDomainLockInput interface { + pulumi.Input + + ToGetDomainsDomainDomainLockOutput() GetDomainsDomainDomainLockOutput + ToGetDomainsDomainDomainLockOutputWithContext(context.Context) GetDomainsDomainDomainLockOutput +} + +type GetDomainsDomainDomainLockArgs struct { + // If the Status is on, this parameter value records the reason for the lock. + Remark pulumi.StringInput `pulumi:"remark"` + // The status of the domain. + Status pulumi.StringInput `pulumi:"status"` +} + +func (GetDomainsDomainDomainLockArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainDomainLock)(nil)).Elem() +} + +func (i GetDomainsDomainDomainLockArgs) ToGetDomainsDomainDomainLockOutput() GetDomainsDomainDomainLockOutput { + return i.ToGetDomainsDomainDomainLockOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainDomainLockArgs) ToGetDomainsDomainDomainLockOutputWithContext(ctx context.Context) GetDomainsDomainDomainLockOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainDomainLockOutput) +} + +// GetDomainsDomainDomainLockArrayInput is an input type that accepts GetDomainsDomainDomainLockArray and GetDomainsDomainDomainLockArrayOutput values. +// You can construct a concrete instance of `GetDomainsDomainDomainLockArrayInput` via: +// +// GetDomainsDomainDomainLockArray{ GetDomainsDomainDomainLockArgs{...} } +type GetDomainsDomainDomainLockArrayInput interface { + pulumi.Input + + ToGetDomainsDomainDomainLockArrayOutput() GetDomainsDomainDomainLockArrayOutput + ToGetDomainsDomainDomainLockArrayOutputWithContext(context.Context) GetDomainsDomainDomainLockArrayOutput +} + +type GetDomainsDomainDomainLockArray []GetDomainsDomainDomainLockInput + +func (GetDomainsDomainDomainLockArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainDomainLock)(nil)).Elem() +} + +func (i GetDomainsDomainDomainLockArray) ToGetDomainsDomainDomainLockArrayOutput() GetDomainsDomainDomainLockArrayOutput { + return i.ToGetDomainsDomainDomainLockArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainDomainLockArray) ToGetDomainsDomainDomainLockArrayOutputWithContext(ctx context.Context) GetDomainsDomainDomainLockArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainDomainLockArrayOutput) +} + +type GetDomainsDomainDomainLockOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainDomainLockOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainDomainLock)(nil)).Elem() +} + +func (o GetDomainsDomainDomainLockOutput) ToGetDomainsDomainDomainLockOutput() GetDomainsDomainDomainLockOutput { + return o +} + +func (o GetDomainsDomainDomainLockOutput) ToGetDomainsDomainDomainLockOutputWithContext(ctx context.Context) GetDomainsDomainDomainLockOutput { + return o +} + +// If the Status is on, this parameter value records the reason for the lock. +func (o GetDomainsDomainDomainLockOutput) Remark() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainDomainLock) string { return v.Remark }).(pulumi.StringOutput) +} + +// The status of the domain. +func (o GetDomainsDomainDomainLockOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainDomainLock) string { return v.Status }).(pulumi.StringOutput) +} + +type GetDomainsDomainDomainLockArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainDomainLockArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainDomainLock)(nil)).Elem() +} + +func (o GetDomainsDomainDomainLockArrayOutput) ToGetDomainsDomainDomainLockArrayOutput() GetDomainsDomainDomainLockArrayOutput { + return o +} + +func (o GetDomainsDomainDomainLockArrayOutput) ToGetDomainsDomainDomainLockArrayOutputWithContext(ctx context.Context) GetDomainsDomainDomainLockArrayOutput { + return o +} + +func (o GetDomainsDomainDomainLockArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainDomainLockOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsDomainDomainLock { + return vs[0].([]GetDomainsDomainDomainLock)[vs[1].(int)] + }).(GetDomainsDomainDomainLockOutput) +} + +type GetDomainsDomainTag struct { + // The key of the tag. + Key string `pulumi:"key"` + // The value of the tag. + Value string `pulumi:"value"` +} + +// GetDomainsDomainTagInput is an input type that accepts GetDomainsDomainTagArgs and GetDomainsDomainTagOutput values. +// You can construct a concrete instance of `GetDomainsDomainTagInput` via: +// +// GetDomainsDomainTagArgs{...} +type GetDomainsDomainTagInput interface { + pulumi.Input + + ToGetDomainsDomainTagOutput() GetDomainsDomainTagOutput + ToGetDomainsDomainTagOutputWithContext(context.Context) GetDomainsDomainTagOutput +} + +type GetDomainsDomainTagArgs struct { + // The key of the tag. + Key pulumi.StringInput `pulumi:"key"` + // The value of the tag. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetDomainsDomainTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainTag)(nil)).Elem() +} + +func (i GetDomainsDomainTagArgs) ToGetDomainsDomainTagOutput() GetDomainsDomainTagOutput { + return i.ToGetDomainsDomainTagOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainTagArgs) ToGetDomainsDomainTagOutputWithContext(ctx context.Context) GetDomainsDomainTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainTagOutput) +} + +// GetDomainsDomainTagArrayInput is an input type that accepts GetDomainsDomainTagArray and GetDomainsDomainTagArrayOutput values. +// You can construct a concrete instance of `GetDomainsDomainTagArrayInput` via: +// +// GetDomainsDomainTagArray{ GetDomainsDomainTagArgs{...} } +type GetDomainsDomainTagArrayInput interface { + pulumi.Input + + ToGetDomainsDomainTagArrayOutput() GetDomainsDomainTagArrayOutput + ToGetDomainsDomainTagArrayOutputWithContext(context.Context) GetDomainsDomainTagArrayOutput +} + +type GetDomainsDomainTagArray []GetDomainsDomainTagInput + +func (GetDomainsDomainTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainTag)(nil)).Elem() +} + +func (i GetDomainsDomainTagArray) ToGetDomainsDomainTagArrayOutput() GetDomainsDomainTagArrayOutput { + return i.ToGetDomainsDomainTagArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainTagArray) ToGetDomainsDomainTagArrayOutputWithContext(ctx context.Context) GetDomainsDomainTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainTagArrayOutput) +} + +type GetDomainsDomainTagOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainTag)(nil)).Elem() +} + +func (o GetDomainsDomainTagOutput) ToGetDomainsDomainTagOutput() GetDomainsDomainTagOutput { + return o +} + +func (o GetDomainsDomainTagOutput) ToGetDomainsDomainTagOutputWithContext(ctx context.Context) GetDomainsDomainTagOutput { + return o +} + +// The key of the tag. +func (o GetDomainsDomainTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainTag) string { return v.Key }).(pulumi.StringOutput) +} + +// The value of the tag. +func (o GetDomainsDomainTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainTag) string { return v.Value }).(pulumi.StringOutput) +} + +type GetDomainsDomainTagArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainTag)(nil)).Elem() +} + +func (o GetDomainsDomainTagArrayOutput) ToGetDomainsDomainTagArrayOutput() GetDomainsDomainTagArrayOutput { + return o +} + +func (o GetDomainsDomainTagArrayOutput) ToGetDomainsDomainTagArrayOutputWithContext(ctx context.Context) GetDomainsDomainTagArrayOutput { + return o +} + +func (o GetDomainsDomainTagArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsDomainTag { + return vs[0].([]GetDomainsDomainTag)[vs[1].(int)] + }).(GetDomainsDomainTagOutput) +} + +type GetSharedConfigsConfigData struct { + // The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + AllowIpAccessRules []GetSharedConfigsConfigDataAllowIpAccessRule `pulumi:"allowIpAccessRules"` + // The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + AllowRefererAccessRules []GetSharedConfigsConfigDataAllowRefererAccessRule `pulumi:"allowRefererAccessRules"` + // The configuration for a common list is represented by ConfigType common_match_list. + CommonMatchLists []GetSharedConfigsConfigDataCommonMatchList `pulumi:"commonMatchLists"` + // The name of the shared config. + ConfigName string `pulumi:"configName"` + // The type of the shared config. + ConfigType string `pulumi:"configType"` + // The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + DenyIpAccessRules []GetSharedConfigsConfigDataDenyIpAccessRule `pulumi:"denyIpAccessRules"` + // The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + DenyRefererAccessRules []GetSharedConfigsConfigDataDenyRefererAccessRule `pulumi:"denyRefererAccessRules"` + // The number of domains. + DomainCount int `pulumi:"domainCount"` + // The name of the project. + ProjectName string `pulumi:"projectName"` + // The update time of the shared config. + UpdateTime int `pulumi:"updateTime"` +} + +// GetSharedConfigsConfigDataInput is an input type that accepts GetSharedConfigsConfigDataArgs and GetSharedConfigsConfigDataOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataInput` via: +// +// GetSharedConfigsConfigDataArgs{...} +type GetSharedConfigsConfigDataInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataOutput() GetSharedConfigsConfigDataOutput + ToGetSharedConfigsConfigDataOutputWithContext(context.Context) GetSharedConfigsConfigDataOutput +} + +type GetSharedConfigsConfigDataArgs struct { + // The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + AllowIpAccessRules GetSharedConfigsConfigDataAllowIpAccessRuleArrayInput `pulumi:"allowIpAccessRules"` + // The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + AllowRefererAccessRules GetSharedConfigsConfigDataAllowRefererAccessRuleArrayInput `pulumi:"allowRefererAccessRules"` + // The configuration for a common list is represented by ConfigType common_match_list. + CommonMatchLists GetSharedConfigsConfigDataCommonMatchListArrayInput `pulumi:"commonMatchLists"` + // The name of the shared config. + ConfigName pulumi.StringInput `pulumi:"configName"` + // The type of the shared config. + ConfigType pulumi.StringInput `pulumi:"configType"` + // The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + DenyIpAccessRules GetSharedConfigsConfigDataDenyIpAccessRuleArrayInput `pulumi:"denyIpAccessRules"` + // The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + DenyRefererAccessRules GetSharedConfigsConfigDataDenyRefererAccessRuleArrayInput `pulumi:"denyRefererAccessRules"` + // The number of domains. + DomainCount pulumi.IntInput `pulumi:"domainCount"` + // The name of the project. + ProjectName pulumi.StringInput `pulumi:"projectName"` + // The update time of the shared config. + UpdateTime pulumi.IntInput `pulumi:"updateTime"` +} + +func (GetSharedConfigsConfigDataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigData)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataArgs) ToGetSharedConfigsConfigDataOutput() GetSharedConfigsConfigDataOutput { + return i.ToGetSharedConfigsConfigDataOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataArgs) ToGetSharedConfigsConfigDataOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataOutput) +} + +// GetSharedConfigsConfigDataArrayInput is an input type that accepts GetSharedConfigsConfigDataArray and GetSharedConfigsConfigDataArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataArrayInput` via: +// +// GetSharedConfigsConfigDataArray{ GetSharedConfigsConfigDataArgs{...} } +type GetSharedConfigsConfigDataArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataArrayOutput() GetSharedConfigsConfigDataArrayOutput + ToGetSharedConfigsConfigDataArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataArrayOutput +} + +type GetSharedConfigsConfigDataArray []GetSharedConfigsConfigDataInput + +func (GetSharedConfigsConfigDataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigData)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataArray) ToGetSharedConfigsConfigDataArrayOutput() GetSharedConfigsConfigDataArrayOutput { + return i.ToGetSharedConfigsConfigDataArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataArray) ToGetSharedConfigsConfigDataArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataArrayOutput) +} + +type GetSharedConfigsConfigDataOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigData)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataOutput) ToGetSharedConfigsConfigDataOutput() GetSharedConfigsConfigDataOutput { + return o +} + +func (o GetSharedConfigsConfigDataOutput) ToGetSharedConfigsConfigDataOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataOutput { + return o +} + +// The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. +func (o GetSharedConfigsConfigDataOutput) AllowIpAccessRules() GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) []GetSharedConfigsConfigDataAllowIpAccessRule { + return v.AllowIpAccessRules + }).(GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) +} + +// The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. +func (o GetSharedConfigsConfigDataOutput) AllowRefererAccessRules() GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) []GetSharedConfigsConfigDataAllowRefererAccessRule { + return v.AllowRefererAccessRules + }).(GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) +} + +// The configuration for a common list is represented by ConfigType common_match_list. +func (o GetSharedConfigsConfigDataOutput) CommonMatchLists() GetSharedConfigsConfigDataCommonMatchListArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) []GetSharedConfigsConfigDataCommonMatchList { + return v.CommonMatchLists + }).(GetSharedConfigsConfigDataCommonMatchListArrayOutput) +} + +// The name of the shared config. +func (o GetSharedConfigsConfigDataOutput) ConfigName() pulumi.StringOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) string { return v.ConfigName }).(pulumi.StringOutput) +} + +// The type of the shared config. +func (o GetSharedConfigsConfigDataOutput) ConfigType() pulumi.StringOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) string { return v.ConfigType }).(pulumi.StringOutput) +} + +// The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. +func (o GetSharedConfigsConfigDataOutput) DenyIpAccessRules() GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) []GetSharedConfigsConfigDataDenyIpAccessRule { + return v.DenyIpAccessRules + }).(GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) +} + +// The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. +func (o GetSharedConfigsConfigDataOutput) DenyRefererAccessRules() GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) []GetSharedConfigsConfigDataDenyRefererAccessRule { + return v.DenyRefererAccessRules + }).(GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) +} + +// The number of domains. +func (o GetSharedConfigsConfigDataOutput) DomainCount() pulumi.IntOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) int { return v.DomainCount }).(pulumi.IntOutput) +} + +// The name of the project. +func (o GetSharedConfigsConfigDataOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) string { return v.ProjectName }).(pulumi.StringOutput) +} + +// The update time of the shared config. +func (o GetSharedConfigsConfigDataOutput) UpdateTime() pulumi.IntOutput { + return o.ApplyT(func(v GetSharedConfigsConfigData) int { return v.UpdateTime }).(pulumi.IntOutput) +} + +type GetSharedConfigsConfigDataArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigData)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataArrayOutput) ToGetSharedConfigsConfigDataArrayOutput() GetSharedConfigsConfigDataArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataArrayOutput) ToGetSharedConfigsConfigDataArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigData { + return vs[0].([]GetSharedConfigsConfigData)[vs[1].(int)] + }).(GetSharedConfigsConfigDataOutput) +} + +type GetSharedConfigsConfigDataAllowIpAccessRule struct { + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules []string `pulumi:"rules"` +} + +// GetSharedConfigsConfigDataAllowIpAccessRuleInput is an input type that accepts GetSharedConfigsConfigDataAllowIpAccessRuleArgs and GetSharedConfigsConfigDataAllowIpAccessRuleOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowIpAccessRuleInput` via: +// +// GetSharedConfigsConfigDataAllowIpAccessRuleArgs{...} +type GetSharedConfigsConfigDataAllowIpAccessRuleInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowIpAccessRuleOutput() GetSharedConfigsConfigDataAllowIpAccessRuleOutput + ToGetSharedConfigsConfigDataAllowIpAccessRuleOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleOutput +} + +type GetSharedConfigsConfigDataAllowIpAccessRuleArgs struct { + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules pulumi.StringArrayInput `pulumi:"rules"` +} + +func (GetSharedConfigsConfigDataAllowIpAccessRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowIpAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowIpAccessRuleArgs) ToGetSharedConfigsConfigDataAllowIpAccessRuleOutput() GetSharedConfigsConfigDataAllowIpAccessRuleOutput { + return i.ToGetSharedConfigsConfigDataAllowIpAccessRuleOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowIpAccessRuleArgs) ToGetSharedConfigsConfigDataAllowIpAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowIpAccessRuleOutput) +} + +// GetSharedConfigsConfigDataAllowIpAccessRuleArrayInput is an input type that accepts GetSharedConfigsConfigDataAllowIpAccessRuleArray and GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowIpAccessRuleArrayInput` via: +// +// GetSharedConfigsConfigDataAllowIpAccessRuleArray{ GetSharedConfigsConfigDataAllowIpAccessRuleArgs{...} } +type GetSharedConfigsConfigDataAllowIpAccessRuleArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput + ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput +} + +type GetSharedConfigsConfigDataAllowIpAccessRuleArray []GetSharedConfigsConfigDataAllowIpAccessRuleInput + +func (GetSharedConfigsConfigDataAllowIpAccessRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowIpAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowIpAccessRuleArray) ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput { + return i.ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowIpAccessRuleArray) ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) +} + +type GetSharedConfigsConfigDataAllowIpAccessRuleOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowIpAccessRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowIpAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowIpAccessRuleOutput) ToGetSharedConfigsConfigDataAllowIpAccessRuleOutput() GetSharedConfigsConfigDataAllowIpAccessRuleOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowIpAccessRuleOutput) ToGetSharedConfigsConfigDataAllowIpAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleOutput { + return o +} + +// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. +func (o GetSharedConfigsConfigDataAllowIpAccessRuleOutput) Rules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataAllowIpAccessRule) []string { return v.Rules }).(pulumi.StringArrayOutput) +} + +type GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowIpAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) ToGetSharedConfigsConfigDataAllowIpAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataAllowIpAccessRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataAllowIpAccessRule { + return vs[0].([]GetSharedConfigsConfigDataAllowIpAccessRule)[vs[1].(int)] + }).(GetSharedConfigsConfigDataAllowIpAccessRuleOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRule struct { + // Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + AllowEmpty bool `pulumi:"allowEmpty"` + // The content indicating the Referer blacklist. + CommonTypes []GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType `pulumi:"commonTypes"` +} + +// GetSharedConfigsConfigDataAllowRefererAccessRuleInput is an input type that accepts GetSharedConfigsConfigDataAllowRefererAccessRuleArgs and GetSharedConfigsConfigDataAllowRefererAccessRuleOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowRefererAccessRuleInput` via: +// +// GetSharedConfigsConfigDataAllowRefererAccessRuleArgs{...} +type GetSharedConfigsConfigDataAllowRefererAccessRuleInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleOutput + ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleOutput +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleArgs struct { + // Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + AllowEmpty pulumi.BoolInput `pulumi:"allowEmpty"` + // The content indicating the Referer blacklist. + CommonTypes GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayInput `pulumi:"commonTypes"` +} + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleArgs) ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleOutput { + return i.ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleArgs) ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) +} + +// GetSharedConfigsConfigDataAllowRefererAccessRuleArrayInput is an input type that accepts GetSharedConfigsConfigDataAllowRefererAccessRuleArray and GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowRefererAccessRuleArrayInput` via: +// +// GetSharedConfigsConfigDataAllowRefererAccessRuleArray{ GetSharedConfigsConfigDataAllowRefererAccessRuleArgs{...} } +type GetSharedConfigsConfigDataAllowRefererAccessRuleArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput + ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleArray []GetSharedConfigsConfigDataAllowRefererAccessRuleInput + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowRefererAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleArray) ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput { + return i.ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleArray) ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleOutput { + return o +} + +// Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) AllowEmpty() pulumi.BoolOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataAllowRefererAccessRule) bool { return v.AllowEmpty }).(pulumi.BoolOutput) +} + +// The content indicating the Referer blacklist. +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) CommonTypes() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataAllowRefererAccessRule) []GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType { + return v.CommonTypes + }).(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowRefererAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataAllowRefererAccessRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataAllowRefererAccessRule { + return vs[0].([]GetSharedConfigsConfigDataAllowRefererAccessRule)[vs[1].(int)] + }).(GetSharedConfigsConfigDataAllowRefererAccessRuleOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase bool `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules []string `pulumi:"rules"` +} + +// GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeInput is an input type that accepts GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs and GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeInput` via: +// +// GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs{...} +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput + ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase pulumi.BoolInput `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules pulumi.StringArrayInput `pulumi:"rules"` +} + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput { + return i.ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) +} + +// GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayInput is an input type that accepts GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray and GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayInput` via: +// +// GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray{ GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs{...} } +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput + ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray []GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeInput + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput { + return i.ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput { + return o +} + +// This list is case-sensitive when matching requests. Default is true. +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) IgnoreCase() pulumi.BoolOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType) bool { return v.IgnoreCase }).(pulumi.BoolOutput) +} + +// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) Rules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType) []string { return v.Rules }).(pulumi.StringArrayOutput) +} + +type GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) ToGetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType { + return vs[0].([]GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType)[vs[1].(int)] + }).(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput) +} + +type GetSharedConfigsConfigDataCommonMatchList struct { + // The content indicating the Referer blacklist. + CommonTypes []GetSharedConfigsConfigDataCommonMatchListCommonType `pulumi:"commonTypes"` +} + +// GetSharedConfigsConfigDataCommonMatchListInput is an input type that accepts GetSharedConfigsConfigDataCommonMatchListArgs and GetSharedConfigsConfigDataCommonMatchListOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataCommonMatchListInput` via: +// +// GetSharedConfigsConfigDataCommonMatchListArgs{...} +type GetSharedConfigsConfigDataCommonMatchListInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataCommonMatchListOutput() GetSharedConfigsConfigDataCommonMatchListOutput + ToGetSharedConfigsConfigDataCommonMatchListOutputWithContext(context.Context) GetSharedConfigsConfigDataCommonMatchListOutput +} + +type GetSharedConfigsConfigDataCommonMatchListArgs struct { + // The content indicating the Referer blacklist. + CommonTypes GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayInput `pulumi:"commonTypes"` +} + +func (GetSharedConfigsConfigDataCommonMatchListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchList)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataCommonMatchListArgs) ToGetSharedConfigsConfigDataCommonMatchListOutput() GetSharedConfigsConfigDataCommonMatchListOutput { + return i.ToGetSharedConfigsConfigDataCommonMatchListOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataCommonMatchListArgs) ToGetSharedConfigsConfigDataCommonMatchListOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataCommonMatchListOutput) +} + +// GetSharedConfigsConfigDataCommonMatchListArrayInput is an input type that accepts GetSharedConfigsConfigDataCommonMatchListArray and GetSharedConfigsConfigDataCommonMatchListArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataCommonMatchListArrayInput` via: +// +// GetSharedConfigsConfigDataCommonMatchListArray{ GetSharedConfigsConfigDataCommonMatchListArgs{...} } +type GetSharedConfigsConfigDataCommonMatchListArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataCommonMatchListArrayOutput() GetSharedConfigsConfigDataCommonMatchListArrayOutput + ToGetSharedConfigsConfigDataCommonMatchListArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataCommonMatchListArrayOutput +} + +type GetSharedConfigsConfigDataCommonMatchListArray []GetSharedConfigsConfigDataCommonMatchListInput + +func (GetSharedConfigsConfigDataCommonMatchListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataCommonMatchList)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataCommonMatchListArray) ToGetSharedConfigsConfigDataCommonMatchListArrayOutput() GetSharedConfigsConfigDataCommonMatchListArrayOutput { + return i.ToGetSharedConfigsConfigDataCommonMatchListArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataCommonMatchListArray) ToGetSharedConfigsConfigDataCommonMatchListArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataCommonMatchListArrayOutput) +} + +type GetSharedConfigsConfigDataCommonMatchListOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataCommonMatchListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchList)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataCommonMatchListOutput) ToGetSharedConfigsConfigDataCommonMatchListOutput() GetSharedConfigsConfigDataCommonMatchListOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListOutput) ToGetSharedConfigsConfigDataCommonMatchListOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListOutput { + return o +} + +// The content indicating the Referer blacklist. +func (o GetSharedConfigsConfigDataCommonMatchListOutput) CommonTypes() GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataCommonMatchList) []GetSharedConfigsConfigDataCommonMatchListCommonType { + return v.CommonTypes + }).(GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataCommonMatchListArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataCommonMatchListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataCommonMatchList)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataCommonMatchListArrayOutput) ToGetSharedConfigsConfigDataCommonMatchListArrayOutput() GetSharedConfigsConfigDataCommonMatchListArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListArrayOutput) ToGetSharedConfigsConfigDataCommonMatchListArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataCommonMatchListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataCommonMatchList { + return vs[0].([]GetSharedConfigsConfigDataCommonMatchList)[vs[1].(int)] + }).(GetSharedConfigsConfigDataCommonMatchListOutput) +} + +type GetSharedConfigsConfigDataCommonMatchListCommonType struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase bool `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules []string `pulumi:"rules"` +} + +// GetSharedConfigsConfigDataCommonMatchListCommonTypeInput is an input type that accepts GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs and GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataCommonMatchListCommonTypeInput` via: +// +// GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs{...} +type GetSharedConfigsConfigDataCommonMatchListCommonTypeInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput + ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutputWithContext(context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput +} + +type GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase pulumi.BoolInput `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules pulumi.StringArrayInput `pulumi:"rules"` +} + +func (GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput { + return i.ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) +} + +// GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayInput is an input type that accepts GetSharedConfigsConfigDataCommonMatchListCommonTypeArray and GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayInput` via: +// +// GetSharedConfigsConfigDataCommonMatchListCommonTypeArray{ GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs{...} } +type GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput + ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput +} + +type GetSharedConfigsConfigDataCommonMatchListCommonTypeArray []GetSharedConfigsConfigDataCommonMatchListCommonTypeInput + +func (GetSharedConfigsConfigDataCommonMatchListCommonTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataCommonMatchListCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataCommonMatchListCommonTypeArray) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput { + return i.ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataCommonMatchListCommonTypeArray) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput { + return o +} + +// This list is case-sensitive when matching requests. Default is true. +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) IgnoreCase() pulumi.BoolOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataCommonMatchListCommonType) bool { return v.IgnoreCase }).(pulumi.BoolOutput) +} + +// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) Rules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataCommonMatchListCommonType) []string { return v.Rules }).(pulumi.StringArrayOutput) +} + +type GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataCommonMatchListCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput() GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) ToGetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataCommonMatchListCommonType { + return vs[0].([]GetSharedConfigsConfigDataCommonMatchListCommonType)[vs[1].(int)] + }).(GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput) +} + +type GetSharedConfigsConfigDataDenyIpAccessRule struct { + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules []string `pulumi:"rules"` +} + +// GetSharedConfigsConfigDataDenyIpAccessRuleInput is an input type that accepts GetSharedConfigsConfigDataDenyIpAccessRuleArgs and GetSharedConfigsConfigDataDenyIpAccessRuleOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyIpAccessRuleInput` via: +// +// GetSharedConfigsConfigDataDenyIpAccessRuleArgs{...} +type GetSharedConfigsConfigDataDenyIpAccessRuleInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyIpAccessRuleOutput() GetSharedConfigsConfigDataDenyIpAccessRuleOutput + ToGetSharedConfigsConfigDataDenyIpAccessRuleOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleOutput +} + +type GetSharedConfigsConfigDataDenyIpAccessRuleArgs struct { + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules pulumi.StringArrayInput `pulumi:"rules"` +} + +func (GetSharedConfigsConfigDataDenyIpAccessRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyIpAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyIpAccessRuleArgs) ToGetSharedConfigsConfigDataDenyIpAccessRuleOutput() GetSharedConfigsConfigDataDenyIpAccessRuleOutput { + return i.ToGetSharedConfigsConfigDataDenyIpAccessRuleOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyIpAccessRuleArgs) ToGetSharedConfigsConfigDataDenyIpAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyIpAccessRuleOutput) +} + +// GetSharedConfigsConfigDataDenyIpAccessRuleArrayInput is an input type that accepts GetSharedConfigsConfigDataDenyIpAccessRuleArray and GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyIpAccessRuleArrayInput` via: +// +// GetSharedConfigsConfigDataDenyIpAccessRuleArray{ GetSharedConfigsConfigDataDenyIpAccessRuleArgs{...} } +type GetSharedConfigsConfigDataDenyIpAccessRuleArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput + ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput +} + +type GetSharedConfigsConfigDataDenyIpAccessRuleArray []GetSharedConfigsConfigDataDenyIpAccessRuleInput + +func (GetSharedConfigsConfigDataDenyIpAccessRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyIpAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyIpAccessRuleArray) ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput { + return i.ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyIpAccessRuleArray) ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) +} + +type GetSharedConfigsConfigDataDenyIpAccessRuleOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyIpAccessRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyIpAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyIpAccessRuleOutput) ToGetSharedConfigsConfigDataDenyIpAccessRuleOutput() GetSharedConfigsConfigDataDenyIpAccessRuleOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyIpAccessRuleOutput) ToGetSharedConfigsConfigDataDenyIpAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleOutput { + return o +} + +// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. +func (o GetSharedConfigsConfigDataDenyIpAccessRuleOutput) Rules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataDenyIpAccessRule) []string { return v.Rules }).(pulumi.StringArrayOutput) +} + +type GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyIpAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) ToGetSharedConfigsConfigDataDenyIpAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataDenyIpAccessRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataDenyIpAccessRule { + return vs[0].([]GetSharedConfigsConfigDataDenyIpAccessRule)[vs[1].(int)] + }).(GetSharedConfigsConfigDataDenyIpAccessRuleOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRule struct { + // Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + AllowEmpty bool `pulumi:"allowEmpty"` + // The content indicating the Referer blacklist. + CommonTypes []GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType `pulumi:"commonTypes"` +} + +// GetSharedConfigsConfigDataDenyRefererAccessRuleInput is an input type that accepts GetSharedConfigsConfigDataDenyRefererAccessRuleArgs and GetSharedConfigsConfigDataDenyRefererAccessRuleOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyRefererAccessRuleInput` via: +// +// GetSharedConfigsConfigDataDenyRefererAccessRuleArgs{...} +type GetSharedConfigsConfigDataDenyRefererAccessRuleInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleOutput + ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleOutput +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleArgs struct { + // Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + AllowEmpty pulumi.BoolInput `pulumi:"allowEmpty"` + // The content indicating the Referer blacklist. + CommonTypes GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput `pulumi:"commonTypes"` +} + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleArgs) ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleOutput { + return i.ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleArgs) ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) +} + +// GetSharedConfigsConfigDataDenyRefererAccessRuleArrayInput is an input type that accepts GetSharedConfigsConfigDataDenyRefererAccessRuleArray and GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyRefererAccessRuleArrayInput` via: +// +// GetSharedConfigsConfigDataDenyRefererAccessRuleArray{ GetSharedConfigsConfigDataDenyRefererAccessRuleArgs{...} } +type GetSharedConfigsConfigDataDenyRefererAccessRuleArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput + ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleArray []GetSharedConfigsConfigDataDenyRefererAccessRuleInput + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyRefererAccessRule)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleArray) ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput { + return i.ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleArray) ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleOutput { + return o +} + +// Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) AllowEmpty() pulumi.BoolOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataDenyRefererAccessRule) bool { return v.AllowEmpty }).(pulumi.BoolOutput) +} + +// The content indicating the Referer blacklist. +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) CommonTypes() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataDenyRefererAccessRule) []GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType { + return v.CommonTypes + }).(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyRefererAccessRule)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataDenyRefererAccessRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataDenyRefererAccessRule { + return vs[0].([]GetSharedConfigsConfigDataDenyRefererAccessRule)[vs[1].(int)] + }).(GetSharedConfigsConfigDataDenyRefererAccessRuleOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase bool `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules []string `pulumi:"rules"` +} + +// GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput is an input type that accepts GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs and GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput` via: +// +// GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs{...} +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput + ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs struct { + // This list is case-sensitive when matching requests. Default is true. + IgnoreCase pulumi.BoolInput `pulumi:"ignoreCase"` + // The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + Rules pulumi.StringArrayInput `pulumi:"rules"` +} + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput { + return i.ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) +} + +// GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput is an input type that accepts GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray and GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput values. +// You can construct a concrete instance of `GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput` via: +// +// GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray{ GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs{...} } +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput interface { + pulumi.Input + + ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput + ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutputWithContext(context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray []GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType)(nil)).Elem() +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput { + return i.ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutputWithContext(context.Background()) +} + +func (i GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput { + return o +} + +// This list is case-sensitive when matching requests. Default is true. +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) IgnoreCase() pulumi.BoolOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType) bool { return v.IgnoreCase }).(pulumi.BoolOutput) +} + +// The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) Rules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType) []string { return v.Rules }).(pulumi.StringArrayOutput) +} + +type GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType)(nil)).Elem() +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput() GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) ToGetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutputWithContext(ctx context.Context) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput { + return o +} + +func (o GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput) Index(i pulumi.IntInput) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType { + return vs[0].([]GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType)[vs[1].(int)] + }).(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CdnDomainSharedCnameInput)(nil)).Elem(), CdnDomainSharedCnameArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDomainSharedCnamePtrInput)(nil)).Elem(), CdnDomainSharedCnameArgs{}) @@ -3330,6 +5145,34 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SharedConfigsConfigDataDenyRefererAccessRuleArrayInput)(nil)).Elem(), SharedConfigsConfigDataDenyRefererAccessRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput)(nil)).Elem(), SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput)(nil)).Elem(), SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCertificatesCertInfoInput)(nil)).Elem(), GetCertificatesCertInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCertificatesCertInfoArrayInput)(nil)).Elem(), GetCertificatesCertInfoArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsDomainConfigInput)(nil)).Elem(), GetConfigsDomainConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsDomainConfigArrayInput)(nil)).Elem(), GetConfigsDomainConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainInput)(nil)).Elem(), GetDomainsDomainArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainArrayInput)(nil)).Elem(), GetDomainsDomainArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainDomainLockInput)(nil)).Elem(), GetDomainsDomainDomainLockArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainDomainLockArrayInput)(nil)).Elem(), GetDomainsDomainDomainLockArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainTagInput)(nil)).Elem(), GetDomainsDomainTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainTagArrayInput)(nil)).Elem(), GetDomainsDomainTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataInput)(nil)).Elem(), GetSharedConfigsConfigDataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowIpAccessRuleInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowIpAccessRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowIpAccessRuleArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowIpAccessRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowRefererAccessRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowRefererAccessRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListInput)(nil)).Elem(), GetSharedConfigsConfigDataCommonMatchListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataCommonMatchListArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListCommonTypeInput)(nil)).Elem(), GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataCommonMatchListCommonTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyIpAccessRuleInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyIpAccessRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyIpAccessRuleArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyIpAccessRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyRefererAccessRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyRefererAccessRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayInput)(nil)).Elem(), GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArray{}) pulumi.RegisterOutputType(CdnDomainSharedCnameOutput{}) pulumi.RegisterOutputType(CdnDomainSharedCnamePtrOutput{}) pulumi.RegisterOutputType(CdnDomainTagOutput{}) @@ -3378,4 +5221,32 @@ func init() { pulumi.RegisterOutputType(SharedConfigsConfigDataDenyRefererAccessRuleArrayOutput{}) pulumi.RegisterOutputType(SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput{}) pulumi.RegisterOutputType(SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput{}) + pulumi.RegisterOutputType(GetCertificatesCertInfoOutput{}) + pulumi.RegisterOutputType(GetCertificatesCertInfoArrayOutput{}) + pulumi.RegisterOutputType(GetConfigsDomainConfigOutput{}) + pulumi.RegisterOutputType(GetConfigsDomainConfigArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainDomainLockOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainDomainLockArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainTagOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainTagArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowIpAccessRuleOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowIpAccessRuleArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowRefererAccessRuleOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowRefererAccessRuleArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataCommonMatchListOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataCommonMatchListArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataCommonMatchListCommonTypeOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataCommonMatchListCommonTypeArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyIpAccessRuleOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyIpAccessRuleArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyRefererAccessRuleOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyRefererAccessRuleArrayOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeOutput{}) + pulumi.RegisterOutputType(GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArrayOutput{}) } diff --git a/sdk/go/volcengine/cdn/sharedConfigs.go b/sdk/go/volcengine/cdn/sharedConfigs.go index d64d3672..f443079c 100644 --- a/sdk/go/volcengine/cdn/sharedConfigs.go +++ b/sdk/go/volcengine/cdn/sharedConfigs.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := cdn.SharedConfigs(ctx, &cdn.SharedConfigsArgs{ +// _, err := cdn.GetSharedConfigs(ctx, &cdn.GetSharedConfigsArgs{ // ConfigName: pulumi.StringRef("tf-test"), // ConfigType: pulumi.StringRef("allow_ip_access_rule"), // ProjectName: pulumi.StringRef("default"), @@ -39,6 +39,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs func SharedConfigs(ctx *pulumi.Context, args *SharedConfigsArgs, opts ...pulumi.InvokeOption) (*SharedConfigsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv SharedConfigsResult diff --git a/sdk/go/volcengine/cloud_identity/getGroups.go b/sdk/go/volcengine/cloud_identity/getGroups.go new file mode 100644 index 00000000..c54d0a69 --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getGroups.go @@ -0,0 +1,186 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity groups +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// var fooGroup []*cloud_identity.Group +// for index := 0; index < 2; index++ { +// key0 := index +// val0 := index +// __res, err := cloud_identity.NewGroup(ctx, fmt.Sprintf("fooGroup-%v", key0), &cloud_identity.GroupArgs{ +// Description: pulumi.String("tf"), +// DisplayName: pulumi.String(fmt.Sprintf("tf-test-group-%v", val0)), +// GroupName: pulumi.String(fmt.Sprintf("acc-test-group-%v", val0)), +// JoinType: pulumi.String("Manual"), +// }) +// if err != nil { +// return err +// } +// fooGroup = append(fooGroup, __res) +// } +// _, err = cloud_identity.GetGroups(ctx, &cloud_identity.GetGroupsArgs{ +// GroupName: pulumi.StringRef("acc-test-group"), +// JoinType: pulumi.StringRef("Manual"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGroupsResult + err := ctx.Invoke("volcengine:cloud_identity/getGroups:getGroups", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getGroups. +type GetGroupsArgs struct { + // The display name of cloud identity group. + DisplayName *string `pulumi:"displayName"` + // The name of cloud identity group. + GroupName *string `pulumi:"groupName"` + // The join type of cloud identity group. Valid values: `Auto`, `Manual`. + JoinType *string `pulumi:"joinType"` + // A Name Regex of Resource. + NameRegex *string `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` +} + +// A collection of values returned by getGroups. +type GetGroupsResult struct { + // The display name of the cloud identity group. + DisplayName *string `pulumi:"displayName"` + // The name of the cloud identity group. + GroupName *string `pulumi:"groupName"` + // The collection of query. + Groups []GetGroupsGroup `pulumi:"groups"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The email of the cloud identity group. + JoinType *string `pulumi:"joinType"` + NameRegex *string `pulumi:"nameRegex"` + OutputFile *string `pulumi:"outputFile"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetGroupsOutput(ctx *pulumi.Context, args GetGroupsOutputArgs, opts ...pulumi.InvokeOption) GetGroupsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetGroupsResult, error) { + args := v.(GetGroupsArgs) + r, err := GetGroups(ctx, &args, opts...) + var s GetGroupsResult + if r != nil { + s = *r + } + return s, err + }).(GetGroupsResultOutput) +} + +// A collection of arguments for invoking getGroups. +type GetGroupsOutputArgs struct { + // The display name of cloud identity group. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // The name of cloud identity group. + GroupName pulumi.StringPtrInput `pulumi:"groupName"` + // The join type of cloud identity group. Valid values: `Auto`, `Manual`. + JoinType pulumi.StringPtrInput `pulumi:"joinType"` + // A Name Regex of Resource. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` +} + +func (GetGroupsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsArgs)(nil)).Elem() +} + +// A collection of values returned by getGroups. +type GetGroupsResultOutput struct{ *pulumi.OutputState } + +func (GetGroupsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsResult)(nil)).Elem() +} + +func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput { + return o +} + +func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput { + return o +} + +// The display name of the cloud identity group. +func (o GetGroupsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// The name of the cloud identity group. +func (o GetGroupsResultOutput) GroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *string { return v.GroupName }).(pulumi.StringPtrOutput) +} + +// The collection of query. +func (o GetGroupsResultOutput) Groups() GetGroupsGroupArrayOutput { + return o.ApplyT(func(v GetGroupsResult) []GetGroupsGroup { return v.Groups }).(GetGroupsGroupArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetGroupsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The email of the cloud identity group. +func (o GetGroupsResultOutput) JoinType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *string { return v.JoinType }).(pulumi.StringPtrOutput) +} + +func (o GetGroupsResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +func (o GetGroupsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetGroupsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetGroupsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetGroupsResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/getPermissionSetAssignments.go b/sdk/go/volcengine/cloud_identity/getPermissionSetAssignments.go new file mode 100644 index 00000000..38603ccb --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getPermissionSetAssignments.go @@ -0,0 +1,220 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity permission set assignments +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooPermissionSet, err := cloud_identity.NewPermissionSet(ctx, "fooPermissionSet", &cloud_identity.PermissionSetArgs{ +// Description: pulumi.String("tf"), +// SessionDuration: pulumi.Int(5000), +// PermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{ +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("System"), +// PermissionPolicyName: pulumi.String("AdministratorAccess"), +// InlinePolicyDocument: pulumi.String(""), +// }, +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("System"), +// PermissionPolicyName: pulumi.String("ReadOnlyAccess"), +// InlinePolicyDocument: pulumi.String(""), +// }, +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("Inline"), +// InlinePolicyDocument: pulumi.String("{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// fooUser, err := cloud_identity.NewUser(ctx, "fooUser", &cloud_identity.UserArgs{ +// UserName: pulumi.String("acc-test-user"), +// DisplayName: pulumi.String("tf-test-user"), +// Description: pulumi.String("tf"), +// Email: pulumi.String("88@qq.com"), +// Phone: pulumi.String("181"), +// }) +// if err != nil { +// return err +// } +// fooPermissionSetAssignment, err := cloud_identity.NewPermissionSetAssignment(ctx, "fooPermissionSetAssignment", &cloud_identity.PermissionSetAssignmentArgs{ +// PermissionSetId: fooPermissionSet.ID(), +// TargetId: pulumi.String("210026****"), +// PrincipalType: pulumi.String("User"), +// PrincipalId: fooUser.ID(), +// }) +// if err != nil { +// return err +// } +// _ = cloud_identity.GetPermissionSetAssignmentsOutput(ctx, cloud_identity.GetPermissionSetAssignmentsOutputArgs{ +// PermissionSetId: fooPermissionSetAssignment.PermissionSetId, +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetPermissionSetAssignments(ctx *pulumi.Context, args *GetPermissionSetAssignmentsArgs, opts ...pulumi.InvokeOption) (*GetPermissionSetAssignmentsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPermissionSetAssignmentsResult + err := ctx.Invoke("volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPermissionSetAssignments. +type GetPermissionSetAssignmentsArgs struct { + // A Name Regex of Resource. + NameRegex *string `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The id of cloud identity permission set. + PermissionSetId *string `pulumi:"permissionSetId"` + // The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + PrincipalId *string `pulumi:"principalId"` + // The principal type of cloud identity permission set. Valid values: `User`, `Group`. + PrincipalType *string `pulumi:"principalType"` + // The target account id of cloud identity permission set assignment. + TargetId *string `pulumi:"targetId"` +} + +// A collection of values returned by getPermissionSetAssignments. +type GetPermissionSetAssignmentsResult struct { + // The collection of query. + Assignments []GetPermissionSetAssignmentsAssignment `pulumi:"assignments"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + NameRegex *string `pulumi:"nameRegex"` + OutputFile *string `pulumi:"outputFile"` + // The id of the cloud identity permission set. + PermissionSetId *string `pulumi:"permissionSetId"` + // The principal id of the cloud identity permission set assignment. + PrincipalId *string `pulumi:"principalId"` + // The principal type of the cloud identity permission set assignment. + PrincipalType *string `pulumi:"principalType"` + // The target account id of the cloud identity permission set assignment. + TargetId *string `pulumi:"targetId"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetPermissionSetAssignmentsOutput(ctx *pulumi.Context, args GetPermissionSetAssignmentsOutputArgs, opts ...pulumi.InvokeOption) GetPermissionSetAssignmentsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetPermissionSetAssignmentsResult, error) { + args := v.(GetPermissionSetAssignmentsArgs) + r, err := GetPermissionSetAssignments(ctx, &args, opts...) + var s GetPermissionSetAssignmentsResult + if r != nil { + s = *r + } + return s, err + }).(GetPermissionSetAssignmentsResultOutput) +} + +// A collection of arguments for invoking getPermissionSetAssignments. +type GetPermissionSetAssignmentsOutputArgs struct { + // A Name Regex of Resource. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The id of cloud identity permission set. + PermissionSetId pulumi.StringPtrInput `pulumi:"permissionSetId"` + // The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` + // The principal type of cloud identity permission set. Valid values: `User`, `Group`. + PrincipalType pulumi.StringPtrInput `pulumi:"principalType"` + // The target account id of cloud identity permission set assignment. + TargetId pulumi.StringPtrInput `pulumi:"targetId"` +} + +func (GetPermissionSetAssignmentsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetAssignmentsArgs)(nil)).Elem() +} + +// A collection of values returned by getPermissionSetAssignments. +type GetPermissionSetAssignmentsResultOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetAssignmentsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetAssignmentsResult)(nil)).Elem() +} + +func (o GetPermissionSetAssignmentsResultOutput) ToGetPermissionSetAssignmentsResultOutput() GetPermissionSetAssignmentsResultOutput { + return o +} + +func (o GetPermissionSetAssignmentsResultOutput) ToGetPermissionSetAssignmentsResultOutputWithContext(ctx context.Context) GetPermissionSetAssignmentsResultOutput { + return o +} + +// The collection of query. +func (o GetPermissionSetAssignmentsResultOutput) Assignments() GetPermissionSetAssignmentsAssignmentArrayOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) []GetPermissionSetAssignmentsAssignment { + return v.Assignments + }).(GetPermissionSetAssignmentsAssignmentArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPermissionSetAssignmentsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetPermissionSetAssignmentsResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +func (o GetPermissionSetAssignmentsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetAssignmentsResultOutput) PermissionSetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.PermissionSetId }).(pulumi.StringPtrOutput) +} + +// The principal id of the cloud identity permission set assignment. +func (o GetPermissionSetAssignmentsResultOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.PrincipalId }).(pulumi.StringPtrOutput) +} + +// The principal type of the cloud identity permission set assignment. +func (o GetPermissionSetAssignmentsResultOutput) PrincipalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.PrincipalType }).(pulumi.StringPtrOutput) +} + +// The target account id of the cloud identity permission set assignment. +func (o GetPermissionSetAssignmentsResultOutput) TargetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) *string { return v.TargetId }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetPermissionSetAssignmentsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPermissionSetAssignmentsResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/getPermissionSetProvisionings.go b/sdk/go/volcengine/cloud_identity/getPermissionSetProvisionings.go new file mode 100644 index 00000000..b12fedc6 --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getPermissionSetProvisionings.go @@ -0,0 +1,159 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity permission set provisionings +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := cloud_identity.GetPermissionSetProvisionings(ctx, &cloud_identity.GetPermissionSetProvisioningsArgs{ +// TargetId: pulumi.StringRef("210026****"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetPermissionSetProvisionings(ctx *pulumi.Context, args *GetPermissionSetProvisioningsArgs, opts ...pulumi.InvokeOption) (*GetPermissionSetProvisioningsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPermissionSetProvisioningsResult + err := ctx.Invoke("volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPermissionSetProvisionings. +type GetPermissionSetProvisioningsArgs struct { + // A Name Regex of Resource. + NameRegex *string `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The id of cloud identity permission set. + PermissionSetId *string `pulumi:"permissionSetId"` + // The target account id of cloud identity permission set. + TargetId *string `pulumi:"targetId"` +} + +// A collection of values returned by getPermissionSetProvisionings. +type GetPermissionSetProvisioningsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + NameRegex *string `pulumi:"nameRegex"` + OutputFile *string `pulumi:"outputFile"` + // The collection of query. + PermissionProvisionings []GetPermissionSetProvisioningsPermissionProvisioning `pulumi:"permissionProvisionings"` + // The id of the cloud identity permission set. + PermissionSetId *string `pulumi:"permissionSetId"` + // The target account id of the cloud identity permission set provisioning. + TargetId *string `pulumi:"targetId"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetPermissionSetProvisioningsOutput(ctx *pulumi.Context, args GetPermissionSetProvisioningsOutputArgs, opts ...pulumi.InvokeOption) GetPermissionSetProvisioningsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetPermissionSetProvisioningsResult, error) { + args := v.(GetPermissionSetProvisioningsArgs) + r, err := GetPermissionSetProvisionings(ctx, &args, opts...) + var s GetPermissionSetProvisioningsResult + if r != nil { + s = *r + } + return s, err + }).(GetPermissionSetProvisioningsResultOutput) +} + +// A collection of arguments for invoking getPermissionSetProvisionings. +type GetPermissionSetProvisioningsOutputArgs struct { + // A Name Regex of Resource. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The id of cloud identity permission set. + PermissionSetId pulumi.StringPtrInput `pulumi:"permissionSetId"` + // The target account id of cloud identity permission set. + TargetId pulumi.StringPtrInput `pulumi:"targetId"` +} + +func (GetPermissionSetProvisioningsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetProvisioningsArgs)(nil)).Elem() +} + +// A collection of values returned by getPermissionSetProvisionings. +type GetPermissionSetProvisioningsResultOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetProvisioningsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetProvisioningsResult)(nil)).Elem() +} + +func (o GetPermissionSetProvisioningsResultOutput) ToGetPermissionSetProvisioningsResultOutput() GetPermissionSetProvisioningsResultOutput { + return o +} + +func (o GetPermissionSetProvisioningsResultOutput) ToGetPermissionSetProvisioningsResultOutputWithContext(ctx context.Context) GetPermissionSetProvisioningsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPermissionSetProvisioningsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetPermissionSetProvisioningsResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +func (o GetPermissionSetProvisioningsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The collection of query. +func (o GetPermissionSetProvisioningsResultOutput) PermissionProvisionings() GetPermissionSetProvisioningsPermissionProvisioningArrayOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) []GetPermissionSetProvisioningsPermissionProvisioning { + return v.PermissionProvisionings + }).(GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetProvisioningsResultOutput) PermissionSetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) *string { return v.PermissionSetId }).(pulumi.StringPtrOutput) +} + +// The target account id of the cloud identity permission set provisioning. +func (o GetPermissionSetProvisioningsResultOutput) TargetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) *string { return v.TargetId }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetPermissionSetProvisioningsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPermissionSetProvisioningsResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/getPermissionSets.go b/sdk/go/volcengine/cloud_identity/getPermissionSets.go new file mode 100644 index 00000000..1876956a --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getPermissionSets.go @@ -0,0 +1,170 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity permission sets +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// var fooPermissionSet []*cloud_identity.PermissionSet +// +// for index := 0; index < 2; index++ { +// key0 := index +// _ := index +// +// __res, err := cloud_identity.NewPermissionSet(ctx, fmt.Sprintf("fooPermissionSet-%v", key0), &cloud_identity.PermissionSetArgs{ +// Description: pulumi.String("tf"), +// SessionDuration: pulumi.Int(5000), +// PermissionPolicies: cloud_identity.PermissionSetPermissionPolicyArray{ +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("System"), +// PermissionPolicyName: pulumi.String("AdministratorAccess"), +// InlinePolicyDocument: pulumi.String(""), +// }, +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("System"), +// PermissionPolicyName: pulumi.String("ReadOnlyAccess"), +// InlinePolicyDocument: pulumi.String(""), +// }, +// &cloud_identity.PermissionSetPermissionPolicyArgs{ +// PermissionPolicyType: pulumi.String("Inline"), +// InlinePolicyDocument: pulumi.String("{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// fooPermissionSet = append(fooPermissionSet, __res) +// } +// _ = cloud_identity.GetPermissionSetsOutput(ctx, cloud_identity.GetPermissionSetsOutputArgs{ +// Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:cloud_identity-getPermissionSets:getPermissionSets.pp:23,9-31), +// }, nil); +// return nil +// }) +// } +// ``` +func GetPermissionSets(ctx *pulumi.Context, args *GetPermissionSetsArgs, opts ...pulumi.InvokeOption) (*GetPermissionSetsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPermissionSetsResult + err := ctx.Invoke("volcengine:cloud_identity/getPermissionSets:getPermissionSets", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPermissionSets. +type GetPermissionSetsArgs struct { + // A list of cloud identity permission set IDs. + Ids []string `pulumi:"ids"` + // A Name Regex of cloud identity permission set. + NameRegex *string `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` +} + +// A collection of values returned by getPermissionSets. +type GetPermissionSetsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ids []string `pulumi:"ids"` + NameRegex *string `pulumi:"nameRegex"` + OutputFile *string `pulumi:"outputFile"` + // The collection of query. + PermissionSets []GetPermissionSetsPermissionSet `pulumi:"permissionSets"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` +} + +func GetPermissionSetsOutput(ctx *pulumi.Context, args GetPermissionSetsOutputArgs, opts ...pulumi.InvokeOption) GetPermissionSetsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetPermissionSetsResult, error) { + args := v.(GetPermissionSetsArgs) + r, err := GetPermissionSets(ctx, &args, opts...) + var s GetPermissionSetsResult + if r != nil { + s = *r + } + return s, err + }).(GetPermissionSetsResultOutput) +} + +// A collection of arguments for invoking getPermissionSets. +type GetPermissionSetsOutputArgs struct { + // A list of cloud identity permission set IDs. + Ids pulumi.StringArrayInput `pulumi:"ids"` + // A Name Regex of cloud identity permission set. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` +} + +func (GetPermissionSetsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsArgs)(nil)).Elem() +} + +// A collection of values returned by getPermissionSets. +type GetPermissionSetsResultOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsResult)(nil)).Elem() +} + +func (o GetPermissionSetsResultOutput) ToGetPermissionSetsResultOutput() GetPermissionSetsResultOutput { + return o +} + +func (o GetPermissionSetsResultOutput) ToGetPermissionSetsResultOutputWithContext(ctx context.Context) GetPermissionSetsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPermissionSetsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetPermissionSetsResultOutput) Ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPermissionSetsResult) []string { return v.Ids }).(pulumi.StringArrayOutput) +} + +func (o GetPermissionSetsResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetsResult) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +func (o GetPermissionSetsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPermissionSetsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The collection of query. +func (o GetPermissionSetsResultOutput) PermissionSets() GetPermissionSetsPermissionSetArrayOutput { + return o.ApplyT(func(v GetPermissionSetsResult) []GetPermissionSetsPermissionSet { return v.PermissionSets }).(GetPermissionSetsPermissionSetArrayOutput) +} + +// The total count of query. +func (o GetPermissionSetsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPermissionSetsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPermissionSetsResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/getUserProvisionings.go b/sdk/go/volcengine/cloud_identity/getUserProvisionings.go new file mode 100644 index 00000000..84d625ea --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getUserProvisionings.go @@ -0,0 +1,135 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity user provisionings +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := cloud_identity.GetUserProvisionings(ctx, &cloud_identity.GetUserProvisioningsArgs{ +// AccountId: pulumi.StringRef("210026****"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetUserProvisionings(ctx *pulumi.Context, args *GetUserProvisioningsArgs, opts ...pulumi.InvokeOption) (*GetUserProvisioningsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUserProvisioningsResult + err := ctx.Invoke("volcengine:cloud_identity/getUserProvisionings:getUserProvisionings", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getUserProvisionings. +type GetUserProvisioningsArgs struct { + // The account id. + AccountId *string `pulumi:"accountId"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` +} + +// A collection of values returned by getUserProvisionings. +type GetUserProvisioningsResult struct { + AccountId *string `pulumi:"accountId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OutputFile *string `pulumi:"outputFile"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` + // The collection of query. + UserProvisionings []GetUserProvisioningsUserProvisioning `pulumi:"userProvisionings"` +} + +func GetUserProvisioningsOutput(ctx *pulumi.Context, args GetUserProvisioningsOutputArgs, opts ...pulumi.InvokeOption) GetUserProvisioningsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetUserProvisioningsResult, error) { + args := v.(GetUserProvisioningsArgs) + r, err := GetUserProvisionings(ctx, &args, opts...) + var s GetUserProvisioningsResult + if r != nil { + s = *r + } + return s, err + }).(GetUserProvisioningsResultOutput) +} + +// A collection of arguments for invoking getUserProvisionings. +type GetUserProvisioningsOutputArgs struct { + // The account id. + AccountId pulumi.StringPtrInput `pulumi:"accountId"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` +} + +func (GetUserProvisioningsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserProvisioningsArgs)(nil)).Elem() +} + +// A collection of values returned by getUserProvisionings. +type GetUserProvisioningsResultOutput struct{ *pulumi.OutputState } + +func (GetUserProvisioningsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserProvisioningsResult)(nil)).Elem() +} + +func (o GetUserProvisioningsResultOutput) ToGetUserProvisioningsResultOutput() GetUserProvisioningsResultOutput { + return o +} + +func (o GetUserProvisioningsResultOutput) ToGetUserProvisioningsResultOutputWithContext(ctx context.Context) GetUserProvisioningsResultOutput { + return o +} + +func (o GetUserProvisioningsResultOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUserProvisioningsResult) *string { return v.AccountId }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetUserProvisioningsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetUserProvisioningsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUserProvisioningsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetUserProvisioningsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetUserProvisioningsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +// The collection of query. +func (o GetUserProvisioningsResultOutput) UserProvisionings() GetUserProvisioningsUserProvisioningArrayOutput { + return o.ApplyT(func(v GetUserProvisioningsResult) []GetUserProvisioningsUserProvisioning { return v.UserProvisionings }).(GetUserProvisioningsUserProvisioningArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetUserProvisioningsResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/getUsers.go b/sdk/go/volcengine/cloud_identity/getUsers.go new file mode 100644 index 00000000..f93e6e68 --- /dev/null +++ b/sdk/go/volcengine/cloud_identity/getUsers.go @@ -0,0 +1,196 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cloud_identity + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Use this data source to query detailed information of cloud identity users +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_identity" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// var fooUser []*cloud_identity.User +// for index := 0; index < 2; index++ { +// key0 := index +// val0 := index +// __res, err := cloud_identity.NewUser(ctx, fmt.Sprintf("fooUser-%v", key0), &cloud_identity.UserArgs{ +// Description: pulumi.String("tf"), +// DisplayName: pulumi.String(fmt.Sprintf("tf-test-user-%v", val0)), +// Email: pulumi.String("88@qq.com"), +// Phone: pulumi.String("181"), +// UserName: pulumi.String(fmt.Sprintf("acc-test-user-%v", val0)), +// }) +// if err != nil { +// return err +// } +// fooUser = append(fooUser, __res) +// } +// _, err = cloud_identity.GetUsers(ctx, &cloud_identity.GetUsersArgs{ +// Source: pulumi.StringRef("Manual"), +// UserName: pulumi.StringRef("acc-test-user"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUsersResult + err := ctx.Invoke("volcengine:cloud_identity/getUsers:getUsers", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getUsers. +type GetUsersArgs struct { + // The department id. + DepartmentId *string `pulumi:"departmentId"` + // The display name of cloud identity user. + DisplayName *string `pulumi:"displayName"` + // A Name Regex of Resource. + NameRegex *string `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The source of cloud identity user. Valid values: `Sync`, `Manual`. + Source *string `pulumi:"source"` + // The name of cloud identity user. + UserName *string `pulumi:"userName"` +} + +// A collection of values returned by getUsers. +type GetUsersResult struct { + DepartmentId *string `pulumi:"departmentId"` + // The display name of the cloud identity user. + DisplayName *string `pulumi:"displayName"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + NameRegex *string `pulumi:"nameRegex"` + OutputFile *string `pulumi:"outputFile"` + // The source of the cloud identity user. + Source *string `pulumi:"source"` + // The total count of query. + TotalCount int `pulumi:"totalCount"` + // The name of the cloud identity user. + UserName *string `pulumi:"userName"` + // The collection of query. + Users []GetUsersUser `pulumi:"users"` +} + +func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetUsersResult, error) { + args := v.(GetUsersArgs) + r, err := GetUsers(ctx, &args, opts...) + var s GetUsersResult + if r != nil { + s = *r + } + return s, err + }).(GetUsersResultOutput) +} + +// A collection of arguments for invoking getUsers. +type GetUsersOutputArgs struct { + // The department id. + DepartmentId pulumi.StringPtrInput `pulumi:"departmentId"` + // The display name of cloud identity user. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // A Name Regex of Resource. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The source of cloud identity user. Valid values: `Sync`, `Manual`. + Source pulumi.StringPtrInput `pulumi:"source"` + // The name of cloud identity user. + UserName pulumi.StringPtrInput `pulumi:"userName"` +} + +func (GetUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getUsers. +type GetUsersResultOutput struct{ *pulumi.OutputState } + +func (GetUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersResult)(nil)).Elem() +} + +func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput { + return o +} + +func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput { + return o +} + +func (o GetUsersResultOutput) DepartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.DepartmentId }).(pulumi.StringPtrOutput) +} + +// The display name of the cloud identity user. +func (o GetUsersResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetUsersResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +func (o GetUsersResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The source of the cloud identity user. +func (o GetUsersResultOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +// The total count of query. +func (o GetUsersResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetUsersResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +// The name of the cloud identity user. +func (o GetUsersResultOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.UserName }).(pulumi.StringPtrOutput) +} + +// The collection of query. +func (o GetUsersResultOutput) Users() GetUsersUserArrayOutput { + return o.ApplyT(func(v GetUsersResult) []GetUsersUser { return v.Users }).(GetUsersUserArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetUsersResultOutput{}) +} diff --git a/sdk/go/volcengine/cloud_identity/groups.go b/sdk/go/volcengine/cloud_identity/groups.go index 92f7ac48..df5eee73 100644 --- a/sdk/go/volcengine/cloud_identity/groups.go +++ b/sdk/go/volcengine/cloud_identity/groups.go @@ -43,7 +43,7 @@ import ( // } // fooGroup = append(fooGroup, __res) // } -// _, err = cloud_identity.Groups(ctx, &cloud_identity.GroupsArgs{ +// _, err = cloud_identity.GetGroups(ctx, &cloud_identity.GetGroupsArgs{ // GroupName: pulumi.StringRef("acc-test-group"), // JoinType: pulumi.StringRef("Manual"), // }, nil) @@ -55,6 +55,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups func Groups(ctx *pulumi.Context, args *GroupsArgs, opts ...pulumi.InvokeOption) (*GroupsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GroupsResult diff --git a/sdk/go/volcengine/cloud_identity/permissionSetAssignments.go b/sdk/go/volcengine/cloud_identity/permissionSetAssignments.go index f26e3dee..36d805cb 100644 --- a/sdk/go/volcengine/cloud_identity/permissionSetAssignments.go +++ b/sdk/go/volcengine/cloud_identity/permissionSetAssignments.go @@ -68,7 +68,7 @@ import ( // if err != nil { // return err // } -// _ = cloud_identity.PermissionSetAssignmentsOutput(ctx, cloud_identity.PermissionSetAssignmentsOutputArgs{ +// _ = cloud_identity.GetPermissionSetAssignmentsOutput(ctx, cloud_identity.GetPermissionSetAssignmentsOutputArgs{ // PermissionSetId: fooPermissionSetAssignment.PermissionSetId, // }, nil) // return nil @@ -76,6 +76,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments func PermissionSetAssignments(ctx *pulumi.Context, args *PermissionSetAssignmentsArgs, opts ...pulumi.InvokeOption) (*PermissionSetAssignmentsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv PermissionSetAssignmentsResult diff --git a/sdk/go/volcengine/cloud_identity/permissionSetProvisionings.go b/sdk/go/volcengine/cloud_identity/permissionSetProvisionings.go index 8995d912..6685b701 100644 --- a/sdk/go/volcengine/cloud_identity/permissionSetProvisionings.go +++ b/sdk/go/volcengine/cloud_identity/permissionSetProvisionings.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := cloud_identity.PermissionSetProvisionings(ctx, &cloud_identity.PermissionSetProvisioningsArgs{ +// _, err := cloud_identity.GetPermissionSetProvisionings(ctx, &cloud_identity.GetPermissionSetProvisioningsArgs{ // TargetId: pulumi.StringRef("210026****"), // }, nil) // if err != nil { @@ -37,6 +37,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings func PermissionSetProvisionings(ctx *pulumi.Context, args *PermissionSetProvisioningsArgs, opts ...pulumi.InvokeOption) (*PermissionSetProvisioningsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv PermissionSetProvisioningsResult diff --git a/sdk/go/volcengine/cloud_identity/permissionSets.go b/sdk/go/volcengine/cloud_identity/permissionSets.go index fd7ec9ed..a6447208 100644 --- a/sdk/go/volcengine/cloud_identity/permissionSets.go +++ b/sdk/go/volcengine/cloud_identity/permissionSets.go @@ -56,13 +56,15 @@ import ( // } // fooPermissionSet = append(fooPermissionSet, __res) // } -// _ = cloud_identity.PermissionSetsOutput(ctx, cloud_identity.PermissionSetsOutputArgs{ +// _ = cloud_identity.GetPermissionSetsOutput(ctx, cloud_identity.GetPermissionSetsOutputArgs{ // Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:cloud_identity-permissionSets:PermissionSets.pp:23,9-31), // }, nil); // return nil // }) // } // ``` +// +// Deprecated: volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets func PermissionSets(ctx *pulumi.Context, args *PermissionSetsArgs, opts ...pulumi.InvokeOption) (*PermissionSetsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv PermissionSetsResult diff --git a/sdk/go/volcengine/cloud_identity/pulumiTypes.go b/sdk/go/volcengine/cloud_identity/pulumiTypes.go index a6d111f3..5e3e091f 100644 --- a/sdk/go/volcengine/cloud_identity/pulumiTypes.go +++ b/sdk/go/volcengine/cloud_identity/pulumiTypes.go @@ -1464,6 +1464,1173 @@ func (o UsersUserArrayOutput) Index(i pulumi.IntInput) UsersUserOutput { }).(UsersUserOutput) } +type GetGroupsGroup struct { + // The created time of the cloud identity group. + CreatedTime string `pulumi:"createdTime"` + // The description of the cloud identity group. + Description string `pulumi:"description"` + // The display name of cloud identity group. + DisplayName string `pulumi:"displayName"` + // The id of the cloud identity group. + GroupId string `pulumi:"groupId"` + // The name of cloud identity group. + GroupName string `pulumi:"groupName"` + // The id of the cloud identity group. + Id string `pulumi:"id"` + // The join type of cloud identity group. Valid values: `Auto`, `Manual`. + JoinType string `pulumi:"joinType"` + // The source of the cloud identity group. + Source string `pulumi:"source"` + // The updated time of the cloud identity group. + UpdatedTime string `pulumi:"updatedTime"` +} + +// GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. +// You can construct a concrete instance of `GetGroupsGroupInput` via: +// +// GetGroupsGroupArgs{...} +type GetGroupsGroupInput interface { + pulumi.Input + + ToGetGroupsGroupOutput() GetGroupsGroupOutput + ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput +} + +type GetGroupsGroupArgs struct { + // The created time of the cloud identity group. + CreatedTime pulumi.StringInput `pulumi:"createdTime"` + // The description of the cloud identity group. + Description pulumi.StringInput `pulumi:"description"` + // The display name of cloud identity group. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The id of the cloud identity group. + GroupId pulumi.StringInput `pulumi:"groupId"` + // The name of cloud identity group. + GroupName pulumi.StringInput `pulumi:"groupName"` + // The id of the cloud identity group. + Id pulumi.StringInput `pulumi:"id"` + // The join type of cloud identity group. Valid values: `Auto`, `Manual`. + JoinType pulumi.StringInput `pulumi:"joinType"` + // The source of the cloud identity group. + Source pulumi.StringInput `pulumi:"source"` + // The updated time of the cloud identity group. + UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` +} + +func (GetGroupsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsGroup)(nil)).Elem() +} + +func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput { + return i.ToGetGroupsGroupOutputWithContext(context.Background()) +} + +func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGroupsGroupOutput) +} + +// GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. +// You can construct a concrete instance of `GetGroupsGroupArrayInput` via: +// +// GetGroupsGroupArray{ GetGroupsGroupArgs{...} } +type GetGroupsGroupArrayInput interface { + pulumi.Input + + ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput + ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput +} + +type GetGroupsGroupArray []GetGroupsGroupInput + +func (GetGroupsGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGroupsGroup)(nil)).Elem() +} + +func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput { + return i.ToGetGroupsGroupArrayOutputWithContext(context.Background()) +} + +func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGroupsGroupArrayOutput) +} + +type GetGroupsGroupOutput struct{ *pulumi.OutputState } + +func (GetGroupsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsGroup)(nil)).Elem() +} + +func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput { + return o +} + +func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput { + return o +} + +// The created time of the cloud identity group. +func (o GetGroupsGroupOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +// The description of the cloud identity group. +func (o GetGroupsGroupOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.Description }).(pulumi.StringOutput) +} + +// The display name of cloud identity group. +func (o GetGroupsGroupOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The id of the cloud identity group. +func (o GetGroupsGroupOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.GroupId }).(pulumi.StringOutput) +} + +// The name of cloud identity group. +func (o GetGroupsGroupOutput) GroupName() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.GroupName }).(pulumi.StringOutput) +} + +// The id of the cloud identity group. +func (o GetGroupsGroupOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.Id }).(pulumi.StringOutput) +} + +// The join type of cloud identity group. Valid values: `Auto`, `Manual`. +func (o GetGroupsGroupOutput) JoinType() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.JoinType }).(pulumi.StringOutput) +} + +// The source of the cloud identity group. +func (o GetGroupsGroupOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.Source }).(pulumi.StringOutput) +} + +// The updated time of the cloud identity group. +func (o GetGroupsGroupOutput) UpdatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroup) string { return v.UpdatedTime }).(pulumi.StringOutput) +} + +type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState } + +func (GetGroupsGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGroupsGroup)(nil)).Elem() +} + +func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput { + return o +} + +func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput { + return o +} + +func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetGroupsGroup { + return vs[0].([]GetGroupsGroup)[vs[1].(int)] + }).(GetGroupsGroupOutput) +} + +type GetPermissionSetAssignmentsAssignment struct { + // The create time of the cloud identity permission set assignment. + CreateTime string `pulumi:"createTime"` + // The id of the cloud identity permission set. + Id string `pulumi:"id"` + // The id of cloud identity permission set. + PermissionSetId string `pulumi:"permissionSetId"` + // The name of the cloud identity permission set. + PermissionSetName string `pulumi:"permissionSetName"` + // The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + PrincipalId string `pulumi:"principalId"` + // The principal type of cloud identity permission set. Valid values: `User`, `Group`. + PrincipalType string `pulumi:"principalType"` + // The target account id of cloud identity permission set assignment. + TargetId string `pulumi:"targetId"` +} + +// GetPermissionSetAssignmentsAssignmentInput is an input type that accepts GetPermissionSetAssignmentsAssignmentArgs and GetPermissionSetAssignmentsAssignmentOutput values. +// You can construct a concrete instance of `GetPermissionSetAssignmentsAssignmentInput` via: +// +// GetPermissionSetAssignmentsAssignmentArgs{...} +type GetPermissionSetAssignmentsAssignmentInput interface { + pulumi.Input + + ToGetPermissionSetAssignmentsAssignmentOutput() GetPermissionSetAssignmentsAssignmentOutput + ToGetPermissionSetAssignmentsAssignmentOutputWithContext(context.Context) GetPermissionSetAssignmentsAssignmentOutput +} + +type GetPermissionSetAssignmentsAssignmentArgs struct { + // The create time of the cloud identity permission set assignment. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The id of the cloud identity permission set. + Id pulumi.StringInput `pulumi:"id"` + // The id of cloud identity permission set. + PermissionSetId pulumi.StringInput `pulumi:"permissionSetId"` + // The name of the cloud identity permission set. + PermissionSetName pulumi.StringInput `pulumi:"permissionSetName"` + // The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + PrincipalId pulumi.StringInput `pulumi:"principalId"` + // The principal type of cloud identity permission set. Valid values: `User`, `Group`. + PrincipalType pulumi.StringInput `pulumi:"principalType"` + // The target account id of cloud identity permission set assignment. + TargetId pulumi.StringInput `pulumi:"targetId"` +} + +func (GetPermissionSetAssignmentsAssignmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetAssignmentsAssignment)(nil)).Elem() +} + +func (i GetPermissionSetAssignmentsAssignmentArgs) ToGetPermissionSetAssignmentsAssignmentOutput() GetPermissionSetAssignmentsAssignmentOutput { + return i.ToGetPermissionSetAssignmentsAssignmentOutputWithContext(context.Background()) +} + +func (i GetPermissionSetAssignmentsAssignmentArgs) ToGetPermissionSetAssignmentsAssignmentOutputWithContext(ctx context.Context) GetPermissionSetAssignmentsAssignmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetAssignmentsAssignmentOutput) +} + +// GetPermissionSetAssignmentsAssignmentArrayInput is an input type that accepts GetPermissionSetAssignmentsAssignmentArray and GetPermissionSetAssignmentsAssignmentArrayOutput values. +// You can construct a concrete instance of `GetPermissionSetAssignmentsAssignmentArrayInput` via: +// +// GetPermissionSetAssignmentsAssignmentArray{ GetPermissionSetAssignmentsAssignmentArgs{...} } +type GetPermissionSetAssignmentsAssignmentArrayInput interface { + pulumi.Input + + ToGetPermissionSetAssignmentsAssignmentArrayOutput() GetPermissionSetAssignmentsAssignmentArrayOutput + ToGetPermissionSetAssignmentsAssignmentArrayOutputWithContext(context.Context) GetPermissionSetAssignmentsAssignmentArrayOutput +} + +type GetPermissionSetAssignmentsAssignmentArray []GetPermissionSetAssignmentsAssignmentInput + +func (GetPermissionSetAssignmentsAssignmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetAssignmentsAssignment)(nil)).Elem() +} + +func (i GetPermissionSetAssignmentsAssignmentArray) ToGetPermissionSetAssignmentsAssignmentArrayOutput() GetPermissionSetAssignmentsAssignmentArrayOutput { + return i.ToGetPermissionSetAssignmentsAssignmentArrayOutputWithContext(context.Background()) +} + +func (i GetPermissionSetAssignmentsAssignmentArray) ToGetPermissionSetAssignmentsAssignmentArrayOutputWithContext(ctx context.Context) GetPermissionSetAssignmentsAssignmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetAssignmentsAssignmentArrayOutput) +} + +type GetPermissionSetAssignmentsAssignmentOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetAssignmentsAssignmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetAssignmentsAssignment)(nil)).Elem() +} + +func (o GetPermissionSetAssignmentsAssignmentOutput) ToGetPermissionSetAssignmentsAssignmentOutput() GetPermissionSetAssignmentsAssignmentOutput { + return o +} + +func (o GetPermissionSetAssignmentsAssignmentOutput) ToGetPermissionSetAssignmentsAssignmentOutputWithContext(ctx context.Context) GetPermissionSetAssignmentsAssignmentOutput { + return o +} + +// The create time of the cloud identity permission set assignment. +func (o GetPermissionSetAssignmentsAssignmentOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.CreateTime }).(pulumi.StringOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetAssignmentsAssignmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.Id }).(pulumi.StringOutput) +} + +// The id of cloud identity permission set. +func (o GetPermissionSetAssignmentsAssignmentOutput) PermissionSetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.PermissionSetId }).(pulumi.StringOutput) +} + +// The name of the cloud identity permission set. +func (o GetPermissionSetAssignmentsAssignmentOutput) PermissionSetName() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.PermissionSetName }).(pulumi.StringOutput) +} + +// The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. +func (o GetPermissionSetAssignmentsAssignmentOutput) PrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.PrincipalId }).(pulumi.StringOutput) +} + +// The principal type of cloud identity permission set. Valid values: `User`, `Group`. +func (o GetPermissionSetAssignmentsAssignmentOutput) PrincipalType() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.PrincipalType }).(pulumi.StringOutput) +} + +// The target account id of cloud identity permission set assignment. +func (o GetPermissionSetAssignmentsAssignmentOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetAssignmentsAssignment) string { return v.TargetId }).(pulumi.StringOutput) +} + +type GetPermissionSetAssignmentsAssignmentArrayOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetAssignmentsAssignmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetAssignmentsAssignment)(nil)).Elem() +} + +func (o GetPermissionSetAssignmentsAssignmentArrayOutput) ToGetPermissionSetAssignmentsAssignmentArrayOutput() GetPermissionSetAssignmentsAssignmentArrayOutput { + return o +} + +func (o GetPermissionSetAssignmentsAssignmentArrayOutput) ToGetPermissionSetAssignmentsAssignmentArrayOutputWithContext(ctx context.Context) GetPermissionSetAssignmentsAssignmentArrayOutput { + return o +} + +func (o GetPermissionSetAssignmentsAssignmentArrayOutput) Index(i pulumi.IntInput) GetPermissionSetAssignmentsAssignmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPermissionSetAssignmentsAssignment { + return vs[0].([]GetPermissionSetAssignmentsAssignment)[vs[1].(int)] + }).(GetPermissionSetAssignmentsAssignmentOutput) +} + +type GetPermissionSetProvisioningsPermissionProvisioning struct { + // The create time of the cloud identity permission set provisioning. + CreateTime string `pulumi:"createTime"` + // The id of the cloud identity permission set. + Id string `pulumi:"id"` + // The id of cloud identity permission set. + PermissionSetId string `pulumi:"permissionSetId"` + // The name of the cloud identity permission set. + PermissionSetName string `pulumi:"permissionSetName"` + // The target account id of cloud identity permission set. + TargetId string `pulumi:"targetId"` + // The update time of the cloud identity permission set provisioning. + UpdateTime string `pulumi:"updateTime"` +} + +// GetPermissionSetProvisioningsPermissionProvisioningInput is an input type that accepts GetPermissionSetProvisioningsPermissionProvisioningArgs and GetPermissionSetProvisioningsPermissionProvisioningOutput values. +// You can construct a concrete instance of `GetPermissionSetProvisioningsPermissionProvisioningInput` via: +// +// GetPermissionSetProvisioningsPermissionProvisioningArgs{...} +type GetPermissionSetProvisioningsPermissionProvisioningInput interface { + pulumi.Input + + ToGetPermissionSetProvisioningsPermissionProvisioningOutput() GetPermissionSetProvisioningsPermissionProvisioningOutput + ToGetPermissionSetProvisioningsPermissionProvisioningOutputWithContext(context.Context) GetPermissionSetProvisioningsPermissionProvisioningOutput +} + +type GetPermissionSetProvisioningsPermissionProvisioningArgs struct { + // The create time of the cloud identity permission set provisioning. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The id of the cloud identity permission set. + Id pulumi.StringInput `pulumi:"id"` + // The id of cloud identity permission set. + PermissionSetId pulumi.StringInput `pulumi:"permissionSetId"` + // The name of the cloud identity permission set. + PermissionSetName pulumi.StringInput `pulumi:"permissionSetName"` + // The target account id of cloud identity permission set. + TargetId pulumi.StringInput `pulumi:"targetId"` + // The update time of the cloud identity permission set provisioning. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` +} + +func (GetPermissionSetProvisioningsPermissionProvisioningArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetProvisioningsPermissionProvisioning)(nil)).Elem() +} + +func (i GetPermissionSetProvisioningsPermissionProvisioningArgs) ToGetPermissionSetProvisioningsPermissionProvisioningOutput() GetPermissionSetProvisioningsPermissionProvisioningOutput { + return i.ToGetPermissionSetProvisioningsPermissionProvisioningOutputWithContext(context.Background()) +} + +func (i GetPermissionSetProvisioningsPermissionProvisioningArgs) ToGetPermissionSetProvisioningsPermissionProvisioningOutputWithContext(ctx context.Context) GetPermissionSetProvisioningsPermissionProvisioningOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetProvisioningsPermissionProvisioningOutput) +} + +// GetPermissionSetProvisioningsPermissionProvisioningArrayInput is an input type that accepts GetPermissionSetProvisioningsPermissionProvisioningArray and GetPermissionSetProvisioningsPermissionProvisioningArrayOutput values. +// You can construct a concrete instance of `GetPermissionSetProvisioningsPermissionProvisioningArrayInput` via: +// +// GetPermissionSetProvisioningsPermissionProvisioningArray{ GetPermissionSetProvisioningsPermissionProvisioningArgs{...} } +type GetPermissionSetProvisioningsPermissionProvisioningArrayInput interface { + pulumi.Input + + ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutput() GetPermissionSetProvisioningsPermissionProvisioningArrayOutput + ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutputWithContext(context.Context) GetPermissionSetProvisioningsPermissionProvisioningArrayOutput +} + +type GetPermissionSetProvisioningsPermissionProvisioningArray []GetPermissionSetProvisioningsPermissionProvisioningInput + +func (GetPermissionSetProvisioningsPermissionProvisioningArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetProvisioningsPermissionProvisioning)(nil)).Elem() +} + +func (i GetPermissionSetProvisioningsPermissionProvisioningArray) ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutput() GetPermissionSetProvisioningsPermissionProvisioningArrayOutput { + return i.ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutputWithContext(context.Background()) +} + +func (i GetPermissionSetProvisioningsPermissionProvisioningArray) ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutputWithContext(ctx context.Context) GetPermissionSetProvisioningsPermissionProvisioningArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) +} + +type GetPermissionSetProvisioningsPermissionProvisioningOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetProvisioningsPermissionProvisioningOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetProvisioningsPermissionProvisioning)(nil)).Elem() +} + +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) ToGetPermissionSetProvisioningsPermissionProvisioningOutput() GetPermissionSetProvisioningsPermissionProvisioningOutput { + return o +} + +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) ToGetPermissionSetProvisioningsPermissionProvisioningOutputWithContext(ctx context.Context) GetPermissionSetProvisioningsPermissionProvisioningOutput { + return o +} + +// The create time of the cloud identity permission set provisioning. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.CreateTime }).(pulumi.StringOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.Id }).(pulumi.StringOutput) +} + +// The id of cloud identity permission set. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) PermissionSetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.PermissionSetId }).(pulumi.StringOutput) +} + +// The name of the cloud identity permission set. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) PermissionSetName() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.PermissionSetName }).(pulumi.StringOutput) +} + +// The target account id of cloud identity permission set. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.TargetId }).(pulumi.StringOutput) +} + +// The update time of the cloud identity permission set provisioning. +func (o GetPermissionSetProvisioningsPermissionProvisioningOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetProvisioningsPermissionProvisioning) string { return v.UpdateTime }).(pulumi.StringOutput) +} + +type GetPermissionSetProvisioningsPermissionProvisioningArrayOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetProvisioningsPermissionProvisioning)(nil)).Elem() +} + +func (o GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutput() GetPermissionSetProvisioningsPermissionProvisioningArrayOutput { + return o +} + +func (o GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) ToGetPermissionSetProvisioningsPermissionProvisioningArrayOutputWithContext(ctx context.Context) GetPermissionSetProvisioningsPermissionProvisioningArrayOutput { + return o +} + +func (o GetPermissionSetProvisioningsPermissionProvisioningArrayOutput) Index(i pulumi.IntInput) GetPermissionSetProvisioningsPermissionProvisioningOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPermissionSetProvisioningsPermissionProvisioning { + return vs[0].([]GetPermissionSetProvisioningsPermissionProvisioning)[vs[1].(int)] + }).(GetPermissionSetProvisioningsPermissionProvisioningOutput) +} + +type GetPermissionSetsPermissionSet struct { + // The create time of the cloud identity permission set. + CreatedTime string `pulumi:"createdTime"` + // The description of the cloud identity permission set. + Description string `pulumi:"description"` + // The id of the cloud identity permission set. + Id string `pulumi:"id"` + // The name of the cloud identity permission set. + Name string `pulumi:"name"` + // The policies of the cloud identity permission set. + PermissionPolicies []GetPermissionSetsPermissionSetPermissionPolicy `pulumi:"permissionPolicies"` + // The id of the cloud identity permission set. + PermissionSetId string `pulumi:"permissionSetId"` + // The relay state of the cloud identity permission set. + RelayState string `pulumi:"relayState"` + // The session duration of the cloud identity permission set. + SessionDuration int `pulumi:"sessionDuration"` + // The updated time of the cloud identity permission set. + UpdatedTime string `pulumi:"updatedTime"` +} + +// GetPermissionSetsPermissionSetInput is an input type that accepts GetPermissionSetsPermissionSetArgs and GetPermissionSetsPermissionSetOutput values. +// You can construct a concrete instance of `GetPermissionSetsPermissionSetInput` via: +// +// GetPermissionSetsPermissionSetArgs{...} +type GetPermissionSetsPermissionSetInput interface { + pulumi.Input + + ToGetPermissionSetsPermissionSetOutput() GetPermissionSetsPermissionSetOutput + ToGetPermissionSetsPermissionSetOutputWithContext(context.Context) GetPermissionSetsPermissionSetOutput +} + +type GetPermissionSetsPermissionSetArgs struct { + // The create time of the cloud identity permission set. + CreatedTime pulumi.StringInput `pulumi:"createdTime"` + // The description of the cloud identity permission set. + Description pulumi.StringInput `pulumi:"description"` + // The id of the cloud identity permission set. + Id pulumi.StringInput `pulumi:"id"` + // The name of the cloud identity permission set. + Name pulumi.StringInput `pulumi:"name"` + // The policies of the cloud identity permission set. + PermissionPolicies GetPermissionSetsPermissionSetPermissionPolicyArrayInput `pulumi:"permissionPolicies"` + // The id of the cloud identity permission set. + PermissionSetId pulumi.StringInput `pulumi:"permissionSetId"` + // The relay state of the cloud identity permission set. + RelayState pulumi.StringInput `pulumi:"relayState"` + // The session duration of the cloud identity permission set. + SessionDuration pulumi.IntInput `pulumi:"sessionDuration"` + // The updated time of the cloud identity permission set. + UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` +} + +func (GetPermissionSetsPermissionSetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsPermissionSet)(nil)).Elem() +} + +func (i GetPermissionSetsPermissionSetArgs) ToGetPermissionSetsPermissionSetOutput() GetPermissionSetsPermissionSetOutput { + return i.ToGetPermissionSetsPermissionSetOutputWithContext(context.Background()) +} + +func (i GetPermissionSetsPermissionSetArgs) ToGetPermissionSetsPermissionSetOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetsPermissionSetOutput) +} + +// GetPermissionSetsPermissionSetArrayInput is an input type that accepts GetPermissionSetsPermissionSetArray and GetPermissionSetsPermissionSetArrayOutput values. +// You can construct a concrete instance of `GetPermissionSetsPermissionSetArrayInput` via: +// +// GetPermissionSetsPermissionSetArray{ GetPermissionSetsPermissionSetArgs{...} } +type GetPermissionSetsPermissionSetArrayInput interface { + pulumi.Input + + ToGetPermissionSetsPermissionSetArrayOutput() GetPermissionSetsPermissionSetArrayOutput + ToGetPermissionSetsPermissionSetArrayOutputWithContext(context.Context) GetPermissionSetsPermissionSetArrayOutput +} + +type GetPermissionSetsPermissionSetArray []GetPermissionSetsPermissionSetInput + +func (GetPermissionSetsPermissionSetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetsPermissionSet)(nil)).Elem() +} + +func (i GetPermissionSetsPermissionSetArray) ToGetPermissionSetsPermissionSetArrayOutput() GetPermissionSetsPermissionSetArrayOutput { + return i.ToGetPermissionSetsPermissionSetArrayOutputWithContext(context.Background()) +} + +func (i GetPermissionSetsPermissionSetArray) ToGetPermissionSetsPermissionSetArrayOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetsPermissionSetArrayOutput) +} + +type GetPermissionSetsPermissionSetOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetsPermissionSetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsPermissionSet)(nil)).Elem() +} + +func (o GetPermissionSetsPermissionSetOutput) ToGetPermissionSetsPermissionSetOutput() GetPermissionSetsPermissionSetOutput { + return o +} + +func (o GetPermissionSetsPermissionSetOutput) ToGetPermissionSetsPermissionSetOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetOutput { + return o +} + +// The create time of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +// The description of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.Description }).(pulumi.StringOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.Name }).(pulumi.StringOutput) +} + +// The policies of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) PermissionPolicies() GetPermissionSetsPermissionSetPermissionPolicyArrayOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) []GetPermissionSetsPermissionSetPermissionPolicy { + return v.PermissionPolicies + }).(GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) +} + +// The id of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) PermissionSetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.PermissionSetId }).(pulumi.StringOutput) +} + +// The relay state of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) RelayState() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.RelayState }).(pulumi.StringOutput) +} + +// The session duration of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) SessionDuration() pulumi.IntOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) int { return v.SessionDuration }).(pulumi.IntOutput) +} + +// The updated time of the cloud identity permission set. +func (o GetPermissionSetsPermissionSetOutput) UpdatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSet) string { return v.UpdatedTime }).(pulumi.StringOutput) +} + +type GetPermissionSetsPermissionSetArrayOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetsPermissionSetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetsPermissionSet)(nil)).Elem() +} + +func (o GetPermissionSetsPermissionSetArrayOutput) ToGetPermissionSetsPermissionSetArrayOutput() GetPermissionSetsPermissionSetArrayOutput { + return o +} + +func (o GetPermissionSetsPermissionSetArrayOutput) ToGetPermissionSetsPermissionSetArrayOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetArrayOutput { + return o +} + +func (o GetPermissionSetsPermissionSetArrayOutput) Index(i pulumi.IntInput) GetPermissionSetsPermissionSetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPermissionSetsPermissionSet { + return vs[0].([]GetPermissionSetsPermissionSet)[vs[1].(int)] + }).(GetPermissionSetsPermissionSetOutput) +} + +type GetPermissionSetsPermissionSetPermissionPolicy struct { + // The create time of the cloud identity permission set policy. + CreateTime string `pulumi:"createTime"` + // The document of the cloud identity permission set policy. + PermissionPolicyDocument string `pulumi:"permissionPolicyDocument"` + // The name of the cloud identity permission set policy. + PermissionPolicyName string `pulumi:"permissionPolicyName"` + // The type of the cloud identity permission set policy. + PermissionPolicyType string `pulumi:"permissionPolicyType"` +} + +// GetPermissionSetsPermissionSetPermissionPolicyInput is an input type that accepts GetPermissionSetsPermissionSetPermissionPolicyArgs and GetPermissionSetsPermissionSetPermissionPolicyOutput values. +// You can construct a concrete instance of `GetPermissionSetsPermissionSetPermissionPolicyInput` via: +// +// GetPermissionSetsPermissionSetPermissionPolicyArgs{...} +type GetPermissionSetsPermissionSetPermissionPolicyInput interface { + pulumi.Input + + ToGetPermissionSetsPermissionSetPermissionPolicyOutput() GetPermissionSetsPermissionSetPermissionPolicyOutput + ToGetPermissionSetsPermissionSetPermissionPolicyOutputWithContext(context.Context) GetPermissionSetsPermissionSetPermissionPolicyOutput +} + +type GetPermissionSetsPermissionSetPermissionPolicyArgs struct { + // The create time of the cloud identity permission set policy. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The document of the cloud identity permission set policy. + PermissionPolicyDocument pulumi.StringInput `pulumi:"permissionPolicyDocument"` + // The name of the cloud identity permission set policy. + PermissionPolicyName pulumi.StringInput `pulumi:"permissionPolicyName"` + // The type of the cloud identity permission set policy. + PermissionPolicyType pulumi.StringInput `pulumi:"permissionPolicyType"` +} + +func (GetPermissionSetsPermissionSetPermissionPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsPermissionSetPermissionPolicy)(nil)).Elem() +} + +func (i GetPermissionSetsPermissionSetPermissionPolicyArgs) ToGetPermissionSetsPermissionSetPermissionPolicyOutput() GetPermissionSetsPermissionSetPermissionPolicyOutput { + return i.ToGetPermissionSetsPermissionSetPermissionPolicyOutputWithContext(context.Background()) +} + +func (i GetPermissionSetsPermissionSetPermissionPolicyArgs) ToGetPermissionSetsPermissionSetPermissionPolicyOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetPermissionPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetsPermissionSetPermissionPolicyOutput) +} + +// GetPermissionSetsPermissionSetPermissionPolicyArrayInput is an input type that accepts GetPermissionSetsPermissionSetPermissionPolicyArray and GetPermissionSetsPermissionSetPermissionPolicyArrayOutput values. +// You can construct a concrete instance of `GetPermissionSetsPermissionSetPermissionPolicyArrayInput` via: +// +// GetPermissionSetsPermissionSetPermissionPolicyArray{ GetPermissionSetsPermissionSetPermissionPolicyArgs{...} } +type GetPermissionSetsPermissionSetPermissionPolicyArrayInput interface { + pulumi.Input + + ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutput() GetPermissionSetsPermissionSetPermissionPolicyArrayOutput + ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutputWithContext(context.Context) GetPermissionSetsPermissionSetPermissionPolicyArrayOutput +} + +type GetPermissionSetsPermissionSetPermissionPolicyArray []GetPermissionSetsPermissionSetPermissionPolicyInput + +func (GetPermissionSetsPermissionSetPermissionPolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetsPermissionSetPermissionPolicy)(nil)).Elem() +} + +func (i GetPermissionSetsPermissionSetPermissionPolicyArray) ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutput() GetPermissionSetsPermissionSetPermissionPolicyArrayOutput { + return i.ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutputWithContext(context.Background()) +} + +func (i GetPermissionSetsPermissionSetPermissionPolicyArray) ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetPermissionPolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) +} + +type GetPermissionSetsPermissionSetPermissionPolicyOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetsPermissionSetPermissionPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPermissionSetsPermissionSetPermissionPolicy)(nil)).Elem() +} + +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) ToGetPermissionSetsPermissionSetPermissionPolicyOutput() GetPermissionSetsPermissionSetPermissionPolicyOutput { + return o +} + +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) ToGetPermissionSetsPermissionSetPermissionPolicyOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetPermissionPolicyOutput { + return o +} + +// The create time of the cloud identity permission set policy. +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSetPermissionPolicy) string { return v.CreateTime }).(pulumi.StringOutput) +} + +// The document of the cloud identity permission set policy. +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) PermissionPolicyDocument() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSetPermissionPolicy) string { return v.PermissionPolicyDocument }).(pulumi.StringOutput) +} + +// The name of the cloud identity permission set policy. +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) PermissionPolicyName() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSetPermissionPolicy) string { return v.PermissionPolicyName }).(pulumi.StringOutput) +} + +// The type of the cloud identity permission set policy. +func (o GetPermissionSetsPermissionSetPermissionPolicyOutput) PermissionPolicyType() pulumi.StringOutput { + return o.ApplyT(func(v GetPermissionSetsPermissionSetPermissionPolicy) string { return v.PermissionPolicyType }).(pulumi.StringOutput) +} + +type GetPermissionSetsPermissionSetPermissionPolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPermissionSetsPermissionSetPermissionPolicy)(nil)).Elem() +} + +func (o GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutput() GetPermissionSetsPermissionSetPermissionPolicyArrayOutput { + return o +} + +func (o GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) ToGetPermissionSetsPermissionSetPermissionPolicyArrayOutputWithContext(ctx context.Context) GetPermissionSetsPermissionSetPermissionPolicyArrayOutput { + return o +} + +func (o GetPermissionSetsPermissionSetPermissionPolicyArrayOutput) Index(i pulumi.IntInput) GetPermissionSetsPermissionSetPermissionPolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPermissionSetsPermissionSetPermissionPolicy { + return vs[0].([]GetPermissionSetsPermissionSetPermissionPolicy)[vs[1].(int)] + }).(GetPermissionSetsPermissionSetPermissionPolicyOutput) +} + +type GetUserProvisioningsUserProvisioning struct { + // The created time of the cloud identity user provisioning. + CreatedTime string `pulumi:"createdTime"` + // The deletion strategy of the cloud identity user provisioning. + DeletionStrategy string `pulumi:"deletionStrategy"` + // The department names of the cloud identity user provisioning. + DepartmentNames []string `pulumi:"departmentNames"` + // The description of the cloud identity user provisioning. + Description string `pulumi:"description"` + // The duplication strategy of the cloud identity user provisioning. + DuplicationStrategy string `pulumi:"duplicationStrategy"` + // The duplication suffix of the cloud identity user provisioning. + DuplicationSuffix string `pulumi:"duplicationSuffix"` + // The id of the cloud identity user provisioning. + Id string `pulumi:"id"` + // The identity source strategy of the cloud identity user provisioning. + IdentitySourceStrategy string `pulumi:"identitySourceStrategy"` + // The principal id of the cloud identity user provisioning. + PrincipalId string `pulumi:"principalId"` + // The principal name of the cloud identity user provisioning. + PrincipalName string `pulumi:"principalName"` + // The principal type of the cloud identity user provisioning. + PrincipalType string `pulumi:"principalType"` + // The status of the cloud identity user provisioning. + ProvisionStatus string `pulumi:"provisionStatus"` + // The target account id of the cloud identity user provisioning. + TargetId string `pulumi:"targetId"` + // The updated time of the cloud identity user provisioning. + UpdatedTime string `pulumi:"updatedTime"` + // The id of the cloud identity user provisioning. + UserProvisioningId string `pulumi:"userProvisioningId"` +} + +// GetUserProvisioningsUserProvisioningInput is an input type that accepts GetUserProvisioningsUserProvisioningArgs and GetUserProvisioningsUserProvisioningOutput values. +// You can construct a concrete instance of `GetUserProvisioningsUserProvisioningInput` via: +// +// GetUserProvisioningsUserProvisioningArgs{...} +type GetUserProvisioningsUserProvisioningInput interface { + pulumi.Input + + ToGetUserProvisioningsUserProvisioningOutput() GetUserProvisioningsUserProvisioningOutput + ToGetUserProvisioningsUserProvisioningOutputWithContext(context.Context) GetUserProvisioningsUserProvisioningOutput +} + +type GetUserProvisioningsUserProvisioningArgs struct { + // The created time of the cloud identity user provisioning. + CreatedTime pulumi.StringInput `pulumi:"createdTime"` + // The deletion strategy of the cloud identity user provisioning. + DeletionStrategy pulumi.StringInput `pulumi:"deletionStrategy"` + // The department names of the cloud identity user provisioning. + DepartmentNames pulumi.StringArrayInput `pulumi:"departmentNames"` + // The description of the cloud identity user provisioning. + Description pulumi.StringInput `pulumi:"description"` + // The duplication strategy of the cloud identity user provisioning. + DuplicationStrategy pulumi.StringInput `pulumi:"duplicationStrategy"` + // The duplication suffix of the cloud identity user provisioning. + DuplicationSuffix pulumi.StringInput `pulumi:"duplicationSuffix"` + // The id of the cloud identity user provisioning. + Id pulumi.StringInput `pulumi:"id"` + // The identity source strategy of the cloud identity user provisioning. + IdentitySourceStrategy pulumi.StringInput `pulumi:"identitySourceStrategy"` + // The principal id of the cloud identity user provisioning. + PrincipalId pulumi.StringInput `pulumi:"principalId"` + // The principal name of the cloud identity user provisioning. + PrincipalName pulumi.StringInput `pulumi:"principalName"` + // The principal type of the cloud identity user provisioning. + PrincipalType pulumi.StringInput `pulumi:"principalType"` + // The status of the cloud identity user provisioning. + ProvisionStatus pulumi.StringInput `pulumi:"provisionStatus"` + // The target account id of the cloud identity user provisioning. + TargetId pulumi.StringInput `pulumi:"targetId"` + // The updated time of the cloud identity user provisioning. + UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` + // The id of the cloud identity user provisioning. + UserProvisioningId pulumi.StringInput `pulumi:"userProvisioningId"` +} + +func (GetUserProvisioningsUserProvisioningArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserProvisioningsUserProvisioning)(nil)).Elem() +} + +func (i GetUserProvisioningsUserProvisioningArgs) ToGetUserProvisioningsUserProvisioningOutput() GetUserProvisioningsUserProvisioningOutput { + return i.ToGetUserProvisioningsUserProvisioningOutputWithContext(context.Background()) +} + +func (i GetUserProvisioningsUserProvisioningArgs) ToGetUserProvisioningsUserProvisioningOutputWithContext(ctx context.Context) GetUserProvisioningsUserProvisioningOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserProvisioningsUserProvisioningOutput) +} + +// GetUserProvisioningsUserProvisioningArrayInput is an input type that accepts GetUserProvisioningsUserProvisioningArray and GetUserProvisioningsUserProvisioningArrayOutput values. +// You can construct a concrete instance of `GetUserProvisioningsUserProvisioningArrayInput` via: +// +// GetUserProvisioningsUserProvisioningArray{ GetUserProvisioningsUserProvisioningArgs{...} } +type GetUserProvisioningsUserProvisioningArrayInput interface { + pulumi.Input + + ToGetUserProvisioningsUserProvisioningArrayOutput() GetUserProvisioningsUserProvisioningArrayOutput + ToGetUserProvisioningsUserProvisioningArrayOutputWithContext(context.Context) GetUserProvisioningsUserProvisioningArrayOutput +} + +type GetUserProvisioningsUserProvisioningArray []GetUserProvisioningsUserProvisioningInput + +func (GetUserProvisioningsUserProvisioningArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserProvisioningsUserProvisioning)(nil)).Elem() +} + +func (i GetUserProvisioningsUserProvisioningArray) ToGetUserProvisioningsUserProvisioningArrayOutput() GetUserProvisioningsUserProvisioningArrayOutput { + return i.ToGetUserProvisioningsUserProvisioningArrayOutputWithContext(context.Background()) +} + +func (i GetUserProvisioningsUserProvisioningArray) ToGetUserProvisioningsUserProvisioningArrayOutputWithContext(ctx context.Context) GetUserProvisioningsUserProvisioningArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserProvisioningsUserProvisioningArrayOutput) +} + +type GetUserProvisioningsUserProvisioningOutput struct{ *pulumi.OutputState } + +func (GetUserProvisioningsUserProvisioningOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserProvisioningsUserProvisioning)(nil)).Elem() +} + +func (o GetUserProvisioningsUserProvisioningOutput) ToGetUserProvisioningsUserProvisioningOutput() GetUserProvisioningsUserProvisioningOutput { + return o +} + +func (o GetUserProvisioningsUserProvisioningOutput) ToGetUserProvisioningsUserProvisioningOutputWithContext(ctx context.Context) GetUserProvisioningsUserProvisioningOutput { + return o +} + +// The created time of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +// The deletion strategy of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) DeletionStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.DeletionStrategy }).(pulumi.StringOutput) +} + +// The department names of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) DepartmentNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) []string { return v.DepartmentNames }).(pulumi.StringArrayOutput) +} + +// The description of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.Description }).(pulumi.StringOutput) +} + +// The duplication strategy of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) DuplicationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.DuplicationStrategy }).(pulumi.StringOutput) +} + +// The duplication suffix of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) DuplicationSuffix() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.DuplicationSuffix }).(pulumi.StringOutput) +} + +// The id of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.Id }).(pulumi.StringOutput) +} + +// The identity source strategy of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) IdentitySourceStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.IdentitySourceStrategy }).(pulumi.StringOutput) +} + +// The principal id of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) PrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.PrincipalId }).(pulumi.StringOutput) +} + +// The principal name of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) PrincipalName() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.PrincipalName }).(pulumi.StringOutput) +} + +// The principal type of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) PrincipalType() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.PrincipalType }).(pulumi.StringOutput) +} + +// The status of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) ProvisionStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.ProvisionStatus }).(pulumi.StringOutput) +} + +// The target account id of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.TargetId }).(pulumi.StringOutput) +} + +// The updated time of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) UpdatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.UpdatedTime }).(pulumi.StringOutput) +} + +// The id of the cloud identity user provisioning. +func (o GetUserProvisioningsUserProvisioningOutput) UserProvisioningId() pulumi.StringOutput { + return o.ApplyT(func(v GetUserProvisioningsUserProvisioning) string { return v.UserProvisioningId }).(pulumi.StringOutput) +} + +type GetUserProvisioningsUserProvisioningArrayOutput struct{ *pulumi.OutputState } + +func (GetUserProvisioningsUserProvisioningArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserProvisioningsUserProvisioning)(nil)).Elem() +} + +func (o GetUserProvisioningsUserProvisioningArrayOutput) ToGetUserProvisioningsUserProvisioningArrayOutput() GetUserProvisioningsUserProvisioningArrayOutput { + return o +} + +func (o GetUserProvisioningsUserProvisioningArrayOutput) ToGetUserProvisioningsUserProvisioningArrayOutputWithContext(ctx context.Context) GetUserProvisioningsUserProvisioningArrayOutput { + return o +} + +func (o GetUserProvisioningsUserProvisioningArrayOutput) Index(i pulumi.IntInput) GetUserProvisioningsUserProvisioningOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUserProvisioningsUserProvisioning { + return vs[0].([]GetUserProvisioningsUserProvisioning)[vs[1].(int)] + }).(GetUserProvisioningsUserProvisioningOutput) +} + +type GetUsersUser struct { + // The created time of the cloud identity user. + CreatedTime string `pulumi:"createdTime"` + // The description of the cloud identity user. + Description string `pulumi:"description"` + // The display name of cloud identity user. + DisplayName string `pulumi:"displayName"` + // The email of the cloud identity user. + Email string `pulumi:"email"` + // The id of the cloud identity user. + Id string `pulumi:"id"` + // The identity type of the cloud identity user. + IdentityType string `pulumi:"identityType"` + // The phone of the cloud identity user. + Phone string `pulumi:"phone"` + // The source of cloud identity user. Valid values: `Sync`, `Manual`. + Source string `pulumi:"source"` + // The updated time of the cloud identity user. + UpdatedTime string `pulumi:"updatedTime"` + // The id of the cloud identity user. + UserId string `pulumi:"userId"` + // The name of cloud identity user. + UserName string `pulumi:"userName"` +} + +// GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. +// You can construct a concrete instance of `GetUsersUserInput` via: +// +// GetUsersUserArgs{...} +type GetUsersUserInput interface { + pulumi.Input + + ToGetUsersUserOutput() GetUsersUserOutput + ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput +} + +type GetUsersUserArgs struct { + // The created time of the cloud identity user. + CreatedTime pulumi.StringInput `pulumi:"createdTime"` + // The description of the cloud identity user. + Description pulumi.StringInput `pulumi:"description"` + // The display name of cloud identity user. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the cloud identity user. + Email pulumi.StringInput `pulumi:"email"` + // The id of the cloud identity user. + Id pulumi.StringInput `pulumi:"id"` + // The identity type of the cloud identity user. + IdentityType pulumi.StringInput `pulumi:"identityType"` + // The phone of the cloud identity user. + Phone pulumi.StringInput `pulumi:"phone"` + // The source of cloud identity user. Valid values: `Sync`, `Manual`. + Source pulumi.StringInput `pulumi:"source"` + // The updated time of the cloud identity user. + UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` + // The id of the cloud identity user. + UserId pulumi.StringInput `pulumi:"userId"` + // The name of cloud identity user. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetUsersUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUser)(nil)).Elem() +} + +func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput { + return i.ToGetUsersUserOutputWithContext(context.Background()) +} + +func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserOutput) +} + +// GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. +// You can construct a concrete instance of `GetUsersUserArrayInput` via: +// +// GetUsersUserArray{ GetUsersUserArgs{...} } +type GetUsersUserArrayInput interface { + pulumi.Input + + ToGetUsersUserArrayOutput() GetUsersUserArrayOutput + ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput +} + +type GetUsersUserArray []GetUsersUserInput + +func (GetUsersUserArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUser)(nil)).Elem() +} + +func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput { + return i.ToGetUsersUserArrayOutputWithContext(context.Background()) +} + +func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserArrayOutput) +} + +type GetUsersUserOutput struct{ *pulumi.OutputState } + +func (GetUsersUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUser)(nil)).Elem() +} + +func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput { + return o +} + +func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput { + return o +} + +// The created time of the cloud identity user. +func (o GetUsersUserOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +// The description of the cloud identity user. +func (o GetUsersUserOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Description }).(pulumi.StringOutput) +} + +// The display name of cloud identity user. +func (o GetUsersUserOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The email of the cloud identity user. +func (o GetUsersUserOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Email }).(pulumi.StringOutput) +} + +// The id of the cloud identity user. +func (o GetUsersUserOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Id }).(pulumi.StringOutput) +} + +// The identity type of the cloud identity user. +func (o GetUsersUserOutput) IdentityType() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.IdentityType }).(pulumi.StringOutput) +} + +// The phone of the cloud identity user. +func (o GetUsersUserOutput) Phone() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Phone }).(pulumi.StringOutput) +} + +// The source of cloud identity user. Valid values: `Sync`, `Manual`. +func (o GetUsersUserOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Source }).(pulumi.StringOutput) +} + +// The updated time of the cloud identity user. +func (o GetUsersUserOutput) UpdatedTime() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.UpdatedTime }).(pulumi.StringOutput) +} + +// The id of the cloud identity user. +func (o GetUsersUserOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.UserId }).(pulumi.StringOutput) +} + +// The name of cloud identity user. +func (o GetUsersUserOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.UserName }).(pulumi.StringOutput) +} + +type GetUsersUserArrayOutput struct{ *pulumi.OutputState } + +func (GetUsersUserArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUser)(nil)).Elem() +} + +func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput { + return o +} + +func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput { + return o +} + +func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUsersUser { + return vs[0].([]GetUsersUser)[vs[1].(int)] + }).(GetUsersUserOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GroupMemberInput)(nil)).Elem(), GroupMemberArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GroupMemberArrayInput)(nil)).Elem(), GroupMemberArray{}) @@ -1483,6 +2650,20 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*UserProvisioningsUserProvisioningArrayInput)(nil)).Elem(), UserProvisioningsUserProvisioningArray{}) pulumi.RegisterInputType(reflect.TypeOf((*UsersUserInput)(nil)).Elem(), UsersUserArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*UsersUserArrayInput)(nil)).Elem(), UsersUserArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupInput)(nil)).Elem(), GetGroupsGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupArrayInput)(nil)).Elem(), GetGroupsGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetAssignmentsAssignmentInput)(nil)).Elem(), GetPermissionSetAssignmentsAssignmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetAssignmentsAssignmentArrayInput)(nil)).Elem(), GetPermissionSetAssignmentsAssignmentArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetProvisioningsPermissionProvisioningInput)(nil)).Elem(), GetPermissionSetProvisioningsPermissionProvisioningArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetProvisioningsPermissionProvisioningArrayInput)(nil)).Elem(), GetPermissionSetProvisioningsPermissionProvisioningArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetsPermissionSetInput)(nil)).Elem(), GetPermissionSetsPermissionSetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetsPermissionSetArrayInput)(nil)).Elem(), GetPermissionSetsPermissionSetArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetsPermissionSetPermissionPolicyInput)(nil)).Elem(), GetPermissionSetsPermissionSetPermissionPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPermissionSetsPermissionSetPermissionPolicyArrayInput)(nil)).Elem(), GetPermissionSetsPermissionSetPermissionPolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserProvisioningsUserProvisioningInput)(nil)).Elem(), GetUserProvisioningsUserProvisioningArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserProvisioningsUserProvisioningArrayInput)(nil)).Elem(), GetUserProvisioningsUserProvisioningArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserInput)(nil)).Elem(), GetUsersUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserArrayInput)(nil)).Elem(), GetUsersUserArray{}) pulumi.RegisterOutputType(GroupMemberOutput{}) pulumi.RegisterOutputType(GroupMemberArrayOutput{}) pulumi.RegisterOutputType(GroupsGroupOutput{}) @@ -1501,4 +2682,18 @@ func init() { pulumi.RegisterOutputType(UserProvisioningsUserProvisioningArrayOutput{}) pulumi.RegisterOutputType(UsersUserOutput{}) pulumi.RegisterOutputType(UsersUserArrayOutput{}) + pulumi.RegisterOutputType(GetGroupsGroupOutput{}) + pulumi.RegisterOutputType(GetGroupsGroupArrayOutput{}) + pulumi.RegisterOutputType(GetPermissionSetAssignmentsAssignmentOutput{}) + pulumi.RegisterOutputType(GetPermissionSetAssignmentsAssignmentArrayOutput{}) + pulumi.RegisterOutputType(GetPermissionSetProvisioningsPermissionProvisioningOutput{}) + pulumi.RegisterOutputType(GetPermissionSetProvisioningsPermissionProvisioningArrayOutput{}) + pulumi.RegisterOutputType(GetPermissionSetsPermissionSetOutput{}) + pulumi.RegisterOutputType(GetPermissionSetsPermissionSetArrayOutput{}) + pulumi.RegisterOutputType(GetPermissionSetsPermissionSetPermissionPolicyOutput{}) + pulumi.RegisterOutputType(GetPermissionSetsPermissionSetPermissionPolicyArrayOutput{}) + pulumi.RegisterOutputType(GetUserProvisioningsUserProvisioningOutput{}) + pulumi.RegisterOutputType(GetUserProvisioningsUserProvisioningArrayOutput{}) + pulumi.RegisterOutputType(GetUsersUserOutput{}) + pulumi.RegisterOutputType(GetUsersUserArrayOutput{}) } diff --git a/sdk/go/volcengine/cloud_identity/userProvisionings.go b/sdk/go/volcengine/cloud_identity/userProvisionings.go index fe4d87ba..703f7b08 100644 --- a/sdk/go/volcengine/cloud_identity/userProvisionings.go +++ b/sdk/go/volcengine/cloud_identity/userProvisionings.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := cloud_identity.UserProvisionings(ctx, &cloud_identity.UserProvisioningsArgs{ +// _, err := cloud_identity.GetUserProvisionings(ctx, &cloud_identity.GetUserProvisioningsArgs{ // AccountId: pulumi.StringRef("210026****"), // }, nil) // if err != nil { @@ -37,6 +37,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings func UserProvisionings(ctx *pulumi.Context, args *UserProvisioningsArgs, opts ...pulumi.InvokeOption) (*UserProvisioningsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv UserProvisioningsResult diff --git a/sdk/go/volcengine/cloud_identity/users.go b/sdk/go/volcengine/cloud_identity/users.go index 5cc1c3c5..a681676f 100644 --- a/sdk/go/volcengine/cloud_identity/users.go +++ b/sdk/go/volcengine/cloud_identity/users.go @@ -44,7 +44,7 @@ import ( // } // fooUser = append(fooUser, __res) // } -// _, err = cloud_identity.Users(ctx, &cloud_identity.UsersArgs{ +// _, err = cloud_identity.GetUsers(ctx, &cloud_identity.GetUsersArgs{ // Source: pulumi.StringRef("Manual"), // UserName: pulumi.StringRef("acc-test-user"), // }, nil) @@ -56,6 +56,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers func Users(ctx *pulumi.Context, args *UsersArgs, opts ...pulumi.InvokeOption) (*UsersResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv UsersResult diff --git a/sdk/go/volcengine/escloud/getInstances.go b/sdk/go/volcengine/escloud/getInstances.go new file mode 100644 index 00000000..cd3e5b2e --- /dev/null +++ b/sdk/go/volcengine/escloud/getInstances.go @@ -0,0 +1,242 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooZones, err := ecs.Zones(ctx, nil, nil) +// if err != nil { +// return err +// } +// fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ +// VpcName: pulumi.String("acc-test-vpc"), +// CidrBlock: pulumi.String("172.16.0.0/16"), +// }) +// if err != nil { +// return err +// } +// fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ +// SubnetName: pulumi.String("acc-test-subnet_new"), +// Description: pulumi.String("tfdesc"), +// CidrBlock: pulumi.String("172.16.0.0/24"), +// ZoneId: pulumi.String(fooZones.Zones[0].Id), +// VpcId: fooVpc.ID(), +// }) +// if err != nil { +// return err +// } +// fooInstance, err := escloud.NewInstance(ctx, "fooInstance", &escloud.InstanceArgs{ +// InstanceConfiguration: &escloud.InstanceInstanceConfigurationArgs{ +// Version: pulumi.String("V6_7"), +// ZoneNumber: pulumi.Int(1), +// EnableHttps: pulumi.Bool(true), +// AdminUserName: pulumi.String("admin"), +// AdminPassword: pulumi.String("Password@@"), +// ChargeType: pulumi.String("PostPaid"), +// ConfigurationCode: pulumi.String("es.standard"), +// EnablePureMaster: pulumi.Bool(true), +// InstanceName: pulumi.String("acc-test-0"), +// NodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{ +// &escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{ +// Type: pulumi.String("Master"), +// Number: pulumi.Int(3), +// ResourceSpecName: pulumi.String("es.x4.medium"), +// StorageSpecName: pulumi.String("es.volume.essd.pl0"), +// StorageSize: pulumi.Int(100), +// }, +// &escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{ +// Type: pulumi.String("Hot"), +// Number: pulumi.Int(2), +// ResourceSpecName: pulumi.String("es.x4.large"), +// StorageSpecName: pulumi.String("es.volume.essd.pl0"), +// StorageSize: pulumi.Int(100), +// }, +// &escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{ +// Type: pulumi.String("Kibana"), +// Number: pulumi.Int(1), +// ResourceSpecName: pulumi.String("kibana.x2.small"), +// }, +// }, +// SubnetId: fooSubnet.ID(), +// ProjectName: pulumi.String("default"), +// ForceRestartAfterScale: pulumi.Bool(false), +// }, +// }) +// if err != nil { +// return err +// } +// _ = escloud.GetInstancesOutput(ctx, escloud.GetInstancesOutputArgs{ +// Ids: pulumi.StringArray{ +// fooInstance.ID(), +// }, +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstancesResult + err := ctx.Invoke("volcengine:escloud/getInstances:getInstances", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getInstances. +type GetInstancesArgs struct { + // The charge types of instance. + ChargeTypes []string `pulumi:"chargeTypes"` + // A list of instance IDs. + Ids []string `pulumi:"ids"` + // The names of instance. + Names []string `pulumi:"names"` + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The list status of instance. + Statuses []string `pulumi:"statuses"` + // The versions of instance. + Versions []string `pulumi:"versions"` + // The available zone IDs of instance. + ZoneIds []string `pulumi:"zoneIds"` +} + +// A collection of values returned by getInstances. +type GetInstancesResult struct { + ChargeTypes []string `pulumi:"chargeTypes"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ids []string `pulumi:"ids"` + // The collection of instance query. + Instances []GetInstancesInstance `pulumi:"instances"` + Names []string `pulumi:"names"` + OutputFile *string `pulumi:"outputFile"` + Statuses []string `pulumi:"statuses"` + // The total count of instance query. + TotalCount int `pulumi:"totalCount"` + Versions []string `pulumi:"versions"` + ZoneIds []string `pulumi:"zoneIds"` +} + +func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetInstancesResult, error) { + args := v.(GetInstancesArgs) + r, err := GetInstances(ctx, &args, opts...) + var s GetInstancesResult + if r != nil { + s = *r + } + return s, err + }).(GetInstancesResultOutput) +} + +// A collection of arguments for invoking getInstances. +type GetInstancesOutputArgs struct { + // The charge types of instance. + ChargeTypes pulumi.StringArrayInput `pulumi:"chargeTypes"` + // A list of instance IDs. + Ids pulumi.StringArrayInput `pulumi:"ids"` + // The names of instance. + Names pulumi.StringArrayInput `pulumi:"names"` + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The list status of instance. + Statuses pulumi.StringArrayInput `pulumi:"statuses"` + // The versions of instance. + Versions pulumi.StringArrayInput `pulumi:"versions"` + // The available zone IDs of instance. + ZoneIds pulumi.StringArrayInput `pulumi:"zoneIds"` +} + +func (GetInstancesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesArgs)(nil)).Elem() +} + +// A collection of values returned by getInstances. +type GetInstancesResultOutput struct{ *pulumi.OutputState } + +func (GetInstancesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesResult)(nil)).Elem() +} + +func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput { + return o +} + +func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput { + return o +} + +func (o GetInstancesResultOutput) ChargeTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.ChargeTypes }).(pulumi.StringArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetInstancesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.Ids }).(pulumi.StringArrayOutput) +} + +// The collection of instance query. +func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []GetInstancesInstance { return v.Instances }).(GetInstancesInstanceArrayOutput) +} + +func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.Names }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancesResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +func (o GetInstancesResultOutput) Statuses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.Statuses }).(pulumi.StringArrayOutput) +} + +// The total count of instance query. +func (o GetInstancesResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func (o GetInstancesResultOutput) Versions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.Versions }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesResultOutput) ZoneIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesResult) []string { return v.ZoneIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetInstancesResultOutput{}) +} diff --git a/sdk/go/volcengine/escloud/getInstancesV2.go b/sdk/go/volcengine/escloud/getInstancesV2.go new file mode 100644 index 00000000..3c5ebd7c --- /dev/null +++ b/sdk/go/volcengine/escloud/getInstancesV2.go @@ -0,0 +1,150 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +func GetInstancesV2(ctx *pulumi.Context, args *GetInstancesV2Args, opts ...pulumi.InvokeOption) (*GetInstancesV2Result, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstancesV2Result + err := ctx.Invoke("volcengine:escloud/getInstancesV2:getInstancesV2", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getInstancesV2. +type GetInstancesV2Args struct { + ChargeTypes []string `pulumi:"chargeTypes"` + Ids []string `pulumi:"ids"` + InstanceNames []string `pulumi:"instanceNames"` + OutputFile *string `pulumi:"outputFile"` + ProjectName *string `pulumi:"projectName"` + Statuses []string `pulumi:"statuses"` + Tags []GetInstancesV2Tag `pulumi:"tags"` + Versions []string `pulumi:"versions"` + ZoneIds []string `pulumi:"zoneIds"` +} + +// A collection of values returned by getInstancesV2. +type GetInstancesV2Result struct { + ChargeTypes []string `pulumi:"chargeTypes"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ids []string `pulumi:"ids"` + InstanceNames []string `pulumi:"instanceNames"` + Instances []GetInstancesV2Instance `pulumi:"instances"` + OutputFile *string `pulumi:"outputFile"` + ProjectName *string `pulumi:"projectName"` + Statuses []string `pulumi:"statuses"` + Tags []GetInstancesV2Tag `pulumi:"tags"` + TotalCount int `pulumi:"totalCount"` + Versions []string `pulumi:"versions"` + ZoneIds []string `pulumi:"zoneIds"` +} + +func GetInstancesV2Output(ctx *pulumi.Context, args GetInstancesV2OutputArgs, opts ...pulumi.InvokeOption) GetInstancesV2ResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetInstancesV2Result, error) { + args := v.(GetInstancesV2Args) + r, err := GetInstancesV2(ctx, &args, opts...) + var s GetInstancesV2Result + if r != nil { + s = *r + } + return s, err + }).(GetInstancesV2ResultOutput) +} + +// A collection of arguments for invoking getInstancesV2. +type GetInstancesV2OutputArgs struct { + ChargeTypes pulumi.StringArrayInput `pulumi:"chargeTypes"` + Ids pulumi.StringArrayInput `pulumi:"ids"` + InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"` + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + ProjectName pulumi.StringPtrInput `pulumi:"projectName"` + Statuses pulumi.StringArrayInput `pulumi:"statuses"` + Tags GetInstancesV2TagArrayInput `pulumi:"tags"` + Versions pulumi.StringArrayInput `pulumi:"versions"` + ZoneIds pulumi.StringArrayInput `pulumi:"zoneIds"` +} + +func (GetInstancesV2OutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Args)(nil)).Elem() +} + +// A collection of values returned by getInstancesV2. +type GetInstancesV2ResultOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2ResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Result)(nil)).Elem() +} + +func (o GetInstancesV2ResultOutput) ToGetInstancesV2ResultOutput() GetInstancesV2ResultOutput { + return o +} + +func (o GetInstancesV2ResultOutput) ToGetInstancesV2ResultOutputWithContext(ctx context.Context) GetInstancesV2ResultOutput { + return o +} + +func (o GetInstancesV2ResultOutput) ChargeTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.ChargeTypes }).(pulumi.StringArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetInstancesV2ResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Result) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetInstancesV2ResultOutput) Ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.Ids }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesV2ResultOutput) InstanceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.InstanceNames }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesV2ResultOutput) Instances() GetInstancesV2InstanceArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []GetInstancesV2Instance { return v.Instances }).(GetInstancesV2InstanceArrayOutput) +} + +func (o GetInstancesV2ResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancesV2Result) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +func (o GetInstancesV2ResultOutput) ProjectName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancesV2Result) *string { return v.ProjectName }).(pulumi.StringPtrOutput) +} + +func (o GetInstancesV2ResultOutput) Statuses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.Statuses }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesV2ResultOutput) Tags() GetInstancesV2TagArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []GetInstancesV2Tag { return v.Tags }).(GetInstancesV2TagArrayOutput) +} + +func (o GetInstancesV2ResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2Result) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func (o GetInstancesV2ResultOutput) Versions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.Versions }).(pulumi.StringArrayOutput) +} + +func (o GetInstancesV2ResultOutput) ZoneIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Result) []string { return v.ZoneIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetInstancesV2ResultOutput{}) +} diff --git a/sdk/go/volcengine/escloud/getRegions.go b/sdk/go/volcengine/escloud/getRegions.go new file mode 100644 index 00000000..b85660a4 --- /dev/null +++ b/sdk/go/volcengine/escloud/getRegions.go @@ -0,0 +1,124 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := escloud.GetRegions(ctx, nil, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetRegions(ctx *pulumi.Context, args *GetRegionsArgs, opts ...pulumi.InvokeOption) (*GetRegionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRegionsResult + err := ctx.Invoke("volcengine:escloud/getRegions:getRegions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRegions. +type GetRegionsArgs struct { + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` +} + +// A collection of values returned by getRegions. +type GetRegionsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OutputFile *string `pulumi:"outputFile"` + // The collection of region query. + Regions []GetRegionsRegion `pulumi:"regions"` + // The total count of region query. + TotalCount int `pulumi:"totalCount"` +} + +func GetRegionsOutput(ctx *pulumi.Context, args GetRegionsOutputArgs, opts ...pulumi.InvokeOption) GetRegionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetRegionsResult, error) { + args := v.(GetRegionsArgs) + r, err := GetRegions(ctx, &args, opts...) + var s GetRegionsResult + if r != nil { + s = *r + } + return s, err + }).(GetRegionsResultOutput) +} + +// A collection of arguments for invoking getRegions. +type GetRegionsOutputArgs struct { + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` +} + +func (GetRegionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegionsArgs)(nil)).Elem() +} + +// A collection of values returned by getRegions. +type GetRegionsResultOutput struct{ *pulumi.OutputState } + +func (GetRegionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegionsResult)(nil)).Elem() +} + +func (o GetRegionsResultOutput) ToGetRegionsResultOutput() GetRegionsResultOutput { + return o +} + +func (o GetRegionsResultOutput) ToGetRegionsResultOutputWithContext(ctx context.Context) GetRegionsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetRegionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRegionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetRegionsResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegionsResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +// The collection of region query. +func (o GetRegionsResultOutput) Regions() GetRegionsRegionArrayOutput { + return o.ApplyT(func(v GetRegionsResult) []GetRegionsRegion { return v.Regions }).(GetRegionsRegionArrayOutput) +} + +// The total count of region query. +func (o GetRegionsResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetRegionsResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRegionsResultOutput{}) +} diff --git a/sdk/go/volcengine/escloud/getZones.go b/sdk/go/volcengine/escloud/getZones.go new file mode 100644 index 00000000..fe0dbcd8 --- /dev/null +++ b/sdk/go/volcengine/escloud/getZones.go @@ -0,0 +1,135 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := escloud.GetZones(ctx, &escloud.GetZonesArgs{ +// RegionId: "xxx", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetZonesResult + err := ctx.Invoke("volcengine:escloud/getZones:getZones", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getZones. +type GetZonesArgs struct { + // File name where to save data source results. + OutputFile *string `pulumi:"outputFile"` + // The Id of Region. + RegionId string `pulumi:"regionId"` +} + +// A collection of values returned by getZones. +type GetZonesResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OutputFile *string `pulumi:"outputFile"` + RegionId string `pulumi:"regionId"` + // The total count of zone query. + TotalCount int `pulumi:"totalCount"` + // The collection of zone query. + Zones []GetZonesZone `pulumi:"zones"` +} + +func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetZonesResult, error) { + args := v.(GetZonesArgs) + r, err := GetZones(ctx, &args, opts...) + var s GetZonesResult + if r != nil { + s = *r + } + return s, err + }).(GetZonesResultOutput) +} + +// A collection of arguments for invoking getZones. +type GetZonesOutputArgs struct { + // File name where to save data source results. + OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` + // The Id of Region. + RegionId pulumi.StringInput `pulumi:"regionId"` +} + +func (GetZonesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetZonesArgs)(nil)).Elem() +} + +// A collection of values returned by getZones. +type GetZonesResultOutput struct{ *pulumi.OutputState } + +func (GetZonesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetZonesResult)(nil)).Elem() +} + +func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput { + return o +} + +func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetZonesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetZonesResult) *string { return v.OutputFile }).(pulumi.StringPtrOutput) +} + +func (o GetZonesResultOutput) RegionId() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesResult) string { return v.RegionId }).(pulumi.StringOutput) +} + +// The total count of zone query. +func (o GetZonesResultOutput) TotalCount() pulumi.IntOutput { + return o.ApplyT(func(v GetZonesResult) int { return v.TotalCount }).(pulumi.IntOutput) +} + +// The collection of zone query. +func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput { + return o.ApplyT(func(v GetZonesResult) []GetZonesZone { return v.Zones }).(GetZonesZoneArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetZonesResultOutput{}) +} diff --git a/sdk/go/volcengine/escloud/init.go b/sdk/go/volcengine/escloud/init.go index 95900521..b4eefde7 100644 --- a/sdk/go/volcengine/escloud/init.go +++ b/sdk/go/volcengine/escloud/init.go @@ -23,6 +23,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi switch typ { case "volcengine:escloud/instance:Instance": r = &Instance{} + case "volcengine:escloud/instanceV2:InstanceV2": + r = &InstanceV2{} + case "volcengine:escloud/ipWhiteList:IpWhiteList": + r = &IpWhiteList{} default: return nil, fmt.Errorf("unknown resource type: %s", typ) } @@ -41,4 +45,14 @@ func init() { "escloud/instance", &module{version}, ) + pulumi.RegisterResourceModule( + "volcengine", + "escloud/instanceV2", + &module{version}, + ) + pulumi.RegisterResourceModule( + "volcengine", + "escloud/ipWhiteList", + &module{version}, + ) } diff --git a/sdk/go/volcengine/escloud/instance.go b/sdk/go/volcengine/escloud/instance.go index 3104135c..684059f0 100644 --- a/sdk/go/volcengine/escloud/instance.go +++ b/sdk/go/volcengine/escloud/instance.go @@ -12,7 +12,7 @@ import ( "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" ) -// (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance +// (Deprecated! Recommend use escloud.InstanceV2 replace) Provides a resource to manage escloud instance // ## Example Usage // // ```go diff --git a/sdk/go/volcengine/escloud/instanceV2.go b/sdk/go/volcengine/escloud/instanceV2.go new file mode 100644 index 00000000..5bbb0bd4 --- /dev/null +++ b/sdk/go/volcengine/escloud/instanceV2.go @@ -0,0 +1,832 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooZones, err := ecs.Zones(ctx, nil, nil) +// if err != nil { +// return err +// } +// fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ +// VpcName: pulumi.String("acc-test-vpc"), +// CidrBlock: pulumi.String("172.16.0.0/16"), +// }) +// if err != nil { +// return err +// } +// fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ +// SubnetName: pulumi.String("acc-test-subnet"), +// Description: pulumi.String("tfdesc"), +// CidrBlock: pulumi.String("172.16.0.0/24"), +// ZoneId: pulumi.String(fooZones.Zones[0].Id), +// VpcId: fooVpc.ID(), +// }) +// if err != nil { +// return err +// } +// _, err = escloud.NewInstanceV2(ctx, "fooInstanceV2", &escloud.InstanceV2Args{ +// InstanceName: pulumi.String("acc-test-escloud-instance"), +// Version: pulumi.String("V7_10"), +// ZoneIds: pulumi.StringArray{ +// pulumi.String(fooZones.Zones[0].Id), +// pulumi.String(fooZones.Zones[1].Id), +// pulumi.String(fooZones.Zones[2].Id), +// }, +// SubnetId: fooSubnet.ID(), +// EnableHttps: pulumi.Bool(false), +// AdminPassword: pulumi.String("Password@@123"), +// ChargeType: pulumi.String("PostPaid"), +// AutoRenew: pulumi.Bool(false), +// Period: pulumi.Int(1), +// ConfigurationCode: pulumi.String("es.standard"), +// EnablePureMaster: pulumi.Bool(true), +// DeletionProtection: pulumi.Bool(false), +// ProjectName: pulumi.String("default"), +// NodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Master"), +// Number: pulumi.Int(3), +// ResourceSpecName: pulumi.String("es.x2.medium"), +// StorageSpecName: pulumi.String("es.volume.essd.pl0"), +// StorageSize: pulumi.Int(20), +// }, +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Hot"), +// Number: pulumi.Int(6), +// ResourceSpecName: pulumi.String("es.x2.medium"), +// StorageSpecName: pulumi.String("es.volume.essd.flexpl-standard"), +// StorageSize: pulumi.Int(500), +// ExtraPerformance: &escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{ +// Throughput: pulumi.Int(65), +// }, +// }, +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Kibana"), +// Number: pulumi.Int(1), +// ResourceSpecName: pulumi.String("kibana.x2.small"), +// StorageSpecName: pulumi.String(""), +// StorageSize: pulumi.Int(0), +// }, +// }, +// NetworkSpecs: escloud.InstanceV2NetworkSpecArray{ +// &escloud.InstanceV2NetworkSpecArgs{ +// Type: pulumi.String("Elasticsearch"), +// Bandwidth: pulumi.Int(1), +// IsOpen: pulumi.Bool(true), +// SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), +// }, +// &escloud.InstanceV2NetworkSpecArgs{ +// Type: pulumi.String("Kibana"), +// Bandwidth: pulumi.Int(1), +// IsOpen: pulumi.Bool(true), +// SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), +// }, +// }, +// Tags: escloud.InstanceV2TagArray{ +// &escloud.InstanceV2TagArgs{ +// Key: pulumi.String("k1"), +// Value: pulumi.String("v1"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// EscloudInstanceV2 can be imported using the id, e.g. +// +// ```sh +// $ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id +// ``` +type InstanceV2 struct { + pulumi.CustomResourceState + + // The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + AdminPassword pulumi.StringOutput `pulumi:"adminPassword"` + // Whether to automatically renew in prepaid scenarios. Default is false. + AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"` + // The cerebro private domain of instance. + CerebroPrivateDomain pulumi.StringOutput `pulumi:"cerebroPrivateDomain"` + // The cerebro public domain of instance. + CerebroPublicDomain pulumi.StringOutput `pulumi:"cerebroPublicDomain"` + // The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + ChargeType pulumi.StringOutput `pulumi:"chargeType"` + // Configuration code used for billing. + ConfigurationCode pulumi.StringOutput `pulumi:"configurationCode"` + // Whether enable deletion protection for ESCloud instance. Default is false. + DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` + // Whether Https access is enabled. + EnableHttps pulumi.BoolOutput `pulumi:"enableHttps"` + // Whether the Master node is independent. + EnablePureMaster pulumi.BoolOutput `pulumi:"enablePureMaster"` + // The eip address of instance. + EsEip pulumi.StringOutput `pulumi:"esEip"` + // The eip id associated with the instance. + EsEipId pulumi.StringOutput `pulumi:"esEipId"` + // The es private domain of instance. + EsPrivateDomain pulumi.StringOutput `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint pulumi.StringOutput `pulumi:"esPrivateEndpoint"` + // The whitelist of es private ip. + EsPrivateIpWhitelist pulumi.StringOutput `pulumi:"esPrivateIpWhitelist"` + // The es public domain of instance. + EsPublicDomain pulumi.StringOutput `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint pulumi.StringOutput `pulumi:"esPublicEndpoint"` + // The whitelist of es public ip. + EsPublicIpWhitelist pulumi.StringOutput `pulumi:"esPublicIpWhitelist"` + // The name of ESCloud instance. + InstanceName pulumi.StringOutput `pulumi:"instanceName"` + // The eip address of kibana. + KibanaEip pulumi.StringOutput `pulumi:"kibanaEip"` + // The eip id associated with kibana. + KibanaEipId pulumi.StringOutput `pulumi:"kibanaEipId"` + // The kibana private domain of instance. + KibanaPrivateDomain pulumi.StringOutput `pulumi:"kibanaPrivateDomain"` + // The whitelist of kibana private ip. + KibanaPrivateIpWhitelist pulumi.StringOutput `pulumi:"kibanaPrivateIpWhitelist"` + // The kibana public domain of instance. + KibanaPublicDomain pulumi.StringOutput `pulumi:"kibanaPublicDomain"` + // The whitelist of kibana public ip. + KibanaPublicIpWhitelist pulumi.StringOutput `pulumi:"kibanaPublicIpWhitelist"` + // The main zone id of instance. + MainZoneId pulumi.StringOutput `pulumi:"mainZoneId"` + // The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + MaintenanceDays pulumi.StringArrayOutput `pulumi:"maintenanceDays"` + // The maintainable time period for the instance. Works only on modified scenes. + MaintenanceTime pulumi.StringOutput `pulumi:"maintenanceTime"` + // The public network config of the ESCloud instance. + NetworkSpecs InstanceV2NetworkSpecArrayOutput `pulumi:"networkSpecs"` + // The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + NodeSpecsAssigns InstanceV2NodeSpecsAssignArrayOutput `pulumi:"nodeSpecsAssigns"` + // Purchase duration in prepaid scenarios. Unit: Monthly. + Period pulumi.IntPtrOutput `pulumi:"period"` + // The project name to which the ESCloud instance belongs. + ProjectName pulumi.StringOutput `pulumi:"projectName"` + // The status of instance. + Status pulumi.StringOutput `pulumi:"status"` + // The id of subnet, the subnet must belong to the AZ selected. + SubnetId pulumi.StringOutput `pulumi:"subnetId"` + // Tags. + Tags InstanceV2TagArrayOutput `pulumi:"tags"` + // The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + Version pulumi.StringOutput `pulumi:"version"` + // The zone id of the ESCloud instance. Support specifying multiple availability zones. + // The first zone id is the primary availability zone, while the rest are backup availability zones. + ZoneIds pulumi.StringArrayOutput `pulumi:"zoneIds"` +} + +// NewInstanceV2 registers a new resource with the given unique name, arguments, and options. +func NewInstanceV2(ctx *pulumi.Context, + name string, args *InstanceV2Args, opts ...pulumi.ResourceOption) (*InstanceV2, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AdminPassword == nil { + return nil, errors.New("invalid value for required argument 'AdminPassword'") + } + if args.ChargeType == nil { + return nil, errors.New("invalid value for required argument 'ChargeType'") + } + if args.ConfigurationCode == nil { + return nil, errors.New("invalid value for required argument 'ConfigurationCode'") + } + if args.EnableHttps == nil { + return nil, errors.New("invalid value for required argument 'EnableHttps'") + } + if args.InstanceName == nil { + return nil, errors.New("invalid value for required argument 'InstanceName'") + } + if args.NodeSpecsAssigns == nil { + return nil, errors.New("invalid value for required argument 'NodeSpecsAssigns'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + if args.Version == nil { + return nil, errors.New("invalid value for required argument 'Version'") + } + if args.ZoneIds == nil { + return nil, errors.New("invalid value for required argument 'ZoneIds'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2"), + }, + }) + opts = append(opts, aliases) + if args.AdminPassword != nil { + args.AdminPassword = pulumi.ToSecret(args.AdminPassword).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "adminPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource InstanceV2 + err := ctx.RegisterResource("volcengine:escloud/instanceV2:InstanceV2", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetInstanceV2 gets an existing InstanceV2 resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetInstanceV2(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *InstanceV2State, opts ...pulumi.ResourceOption) (*InstanceV2, error) { + var resource InstanceV2 + err := ctx.ReadResource("volcengine:escloud/instanceV2:InstanceV2", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering InstanceV2 resources. +type instanceV2State struct { + // The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + AdminPassword *string `pulumi:"adminPassword"` + // Whether to automatically renew in prepaid scenarios. Default is false. + AutoRenew *bool `pulumi:"autoRenew"` + // The cerebro private domain of instance. + CerebroPrivateDomain *string `pulumi:"cerebroPrivateDomain"` + // The cerebro public domain of instance. + CerebroPublicDomain *string `pulumi:"cerebroPublicDomain"` + // The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + ChargeType *string `pulumi:"chargeType"` + // Configuration code used for billing. + ConfigurationCode *string `pulumi:"configurationCode"` + // Whether enable deletion protection for ESCloud instance. Default is false. + DeletionProtection *bool `pulumi:"deletionProtection"` + // Whether Https access is enabled. + EnableHttps *bool `pulumi:"enableHttps"` + // Whether the Master node is independent. + EnablePureMaster *bool `pulumi:"enablePureMaster"` + // The eip address of instance. + EsEip *string `pulumi:"esEip"` + // The eip id associated with the instance. + EsEipId *string `pulumi:"esEipId"` + // The es private domain of instance. + EsPrivateDomain *string `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint *string `pulumi:"esPrivateEndpoint"` + // The whitelist of es private ip. + EsPrivateIpWhitelist *string `pulumi:"esPrivateIpWhitelist"` + // The es public domain of instance. + EsPublicDomain *string `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint *string `pulumi:"esPublicEndpoint"` + // The whitelist of es public ip. + EsPublicIpWhitelist *string `pulumi:"esPublicIpWhitelist"` + // The name of ESCloud instance. + InstanceName *string `pulumi:"instanceName"` + // The eip address of kibana. + KibanaEip *string `pulumi:"kibanaEip"` + // The eip id associated with kibana. + KibanaEipId *string `pulumi:"kibanaEipId"` + // The kibana private domain of instance. + KibanaPrivateDomain *string `pulumi:"kibanaPrivateDomain"` + // The whitelist of kibana private ip. + KibanaPrivateIpWhitelist *string `pulumi:"kibanaPrivateIpWhitelist"` + // The kibana public domain of instance. + KibanaPublicDomain *string `pulumi:"kibanaPublicDomain"` + // The whitelist of kibana public ip. + KibanaPublicIpWhitelist *string `pulumi:"kibanaPublicIpWhitelist"` + // The main zone id of instance. + MainZoneId *string `pulumi:"mainZoneId"` + // The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + MaintenanceDays []string `pulumi:"maintenanceDays"` + // The maintainable time period for the instance. Works only on modified scenes. + MaintenanceTime *string `pulumi:"maintenanceTime"` + // The public network config of the ESCloud instance. + NetworkSpecs []InstanceV2NetworkSpec `pulumi:"networkSpecs"` + // The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + NodeSpecsAssigns []InstanceV2NodeSpecsAssign `pulumi:"nodeSpecsAssigns"` + // Purchase duration in prepaid scenarios. Unit: Monthly. + Period *int `pulumi:"period"` + // The project name to which the ESCloud instance belongs. + ProjectName *string `pulumi:"projectName"` + // The status of instance. + Status *string `pulumi:"status"` + // The id of subnet, the subnet must belong to the AZ selected. + SubnetId *string `pulumi:"subnetId"` + // Tags. + Tags []InstanceV2Tag `pulumi:"tags"` + // The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + Version *string `pulumi:"version"` + // The zone id of the ESCloud instance. Support specifying multiple availability zones. + // The first zone id is the primary availability zone, while the rest are backup availability zones. + ZoneIds []string `pulumi:"zoneIds"` +} + +type InstanceV2State struct { + // The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + AdminPassword pulumi.StringPtrInput + // Whether to automatically renew in prepaid scenarios. Default is false. + AutoRenew pulumi.BoolPtrInput + // The cerebro private domain of instance. + CerebroPrivateDomain pulumi.StringPtrInput + // The cerebro public domain of instance. + CerebroPublicDomain pulumi.StringPtrInput + // The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + ChargeType pulumi.StringPtrInput + // Configuration code used for billing. + ConfigurationCode pulumi.StringPtrInput + // Whether enable deletion protection for ESCloud instance. Default is false. + DeletionProtection pulumi.BoolPtrInput + // Whether Https access is enabled. + EnableHttps pulumi.BoolPtrInput + // Whether the Master node is independent. + EnablePureMaster pulumi.BoolPtrInput + // The eip address of instance. + EsEip pulumi.StringPtrInput + // The eip id associated with the instance. + EsEipId pulumi.StringPtrInput + // The es private domain of instance. + EsPrivateDomain pulumi.StringPtrInput + // The es private endpoint of instance. + EsPrivateEndpoint pulumi.StringPtrInput + // The whitelist of es private ip. + EsPrivateIpWhitelist pulumi.StringPtrInput + // The es public domain of instance. + EsPublicDomain pulumi.StringPtrInput + // The es public endpoint of instance. + EsPublicEndpoint pulumi.StringPtrInput + // The whitelist of es public ip. + EsPublicIpWhitelist pulumi.StringPtrInput + // The name of ESCloud instance. + InstanceName pulumi.StringPtrInput + // The eip address of kibana. + KibanaEip pulumi.StringPtrInput + // The eip id associated with kibana. + KibanaEipId pulumi.StringPtrInput + // The kibana private domain of instance. + KibanaPrivateDomain pulumi.StringPtrInput + // The whitelist of kibana private ip. + KibanaPrivateIpWhitelist pulumi.StringPtrInput + // The kibana public domain of instance. + KibanaPublicDomain pulumi.StringPtrInput + // The whitelist of kibana public ip. + KibanaPublicIpWhitelist pulumi.StringPtrInput + // The main zone id of instance. + MainZoneId pulumi.StringPtrInput + // The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + MaintenanceDays pulumi.StringArrayInput + // The maintainable time period for the instance. Works only on modified scenes. + MaintenanceTime pulumi.StringPtrInput + // The public network config of the ESCloud instance. + NetworkSpecs InstanceV2NetworkSpecArrayInput + // The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + NodeSpecsAssigns InstanceV2NodeSpecsAssignArrayInput + // Purchase duration in prepaid scenarios. Unit: Monthly. + Period pulumi.IntPtrInput + // The project name to which the ESCloud instance belongs. + ProjectName pulumi.StringPtrInput + // The status of instance. + Status pulumi.StringPtrInput + // The id of subnet, the subnet must belong to the AZ selected. + SubnetId pulumi.StringPtrInput + // Tags. + Tags InstanceV2TagArrayInput + // The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + Version pulumi.StringPtrInput + // The zone id of the ESCloud instance. Support specifying multiple availability zones. + // The first zone id is the primary availability zone, while the rest are backup availability zones. + ZoneIds pulumi.StringArrayInput +} + +func (InstanceV2State) ElementType() reflect.Type { + return reflect.TypeOf((*instanceV2State)(nil)).Elem() +} + +type instanceV2Args struct { + // The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + AdminPassword string `pulumi:"adminPassword"` + // Whether to automatically renew in prepaid scenarios. Default is false. + AutoRenew *bool `pulumi:"autoRenew"` + // The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + ChargeType string `pulumi:"chargeType"` + // Configuration code used for billing. + ConfigurationCode string `pulumi:"configurationCode"` + // Whether enable deletion protection for ESCloud instance. Default is false. + DeletionProtection *bool `pulumi:"deletionProtection"` + // Whether Https access is enabled. + EnableHttps bool `pulumi:"enableHttps"` + // Whether the Master node is independent. + EnablePureMaster *bool `pulumi:"enablePureMaster"` + // The name of ESCloud instance. + InstanceName string `pulumi:"instanceName"` + // The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + MaintenanceDays []string `pulumi:"maintenanceDays"` + // The maintainable time period for the instance. Works only on modified scenes. + MaintenanceTime *string `pulumi:"maintenanceTime"` + // The public network config of the ESCloud instance. + NetworkSpecs []InstanceV2NetworkSpec `pulumi:"networkSpecs"` + // The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + NodeSpecsAssigns []InstanceV2NodeSpecsAssign `pulumi:"nodeSpecsAssigns"` + // Purchase duration in prepaid scenarios. Unit: Monthly. + Period *int `pulumi:"period"` + // The project name to which the ESCloud instance belongs. + ProjectName *string `pulumi:"projectName"` + // The id of subnet, the subnet must belong to the AZ selected. + SubnetId string `pulumi:"subnetId"` + // Tags. + Tags []InstanceV2Tag `pulumi:"tags"` + // The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + Version string `pulumi:"version"` + // The zone id of the ESCloud instance. Support specifying multiple availability zones. + // The first zone id is the primary availability zone, while the rest are backup availability zones. + ZoneIds []string `pulumi:"zoneIds"` +} + +// The set of arguments for constructing a InstanceV2 resource. +type InstanceV2Args struct { + // The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + AdminPassword pulumi.StringInput + // Whether to automatically renew in prepaid scenarios. Default is false. + AutoRenew pulumi.BoolPtrInput + // The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + ChargeType pulumi.StringInput + // Configuration code used for billing. + ConfigurationCode pulumi.StringInput + // Whether enable deletion protection for ESCloud instance. Default is false. + DeletionProtection pulumi.BoolPtrInput + // Whether Https access is enabled. + EnableHttps pulumi.BoolInput + // Whether the Master node is independent. + EnablePureMaster pulumi.BoolPtrInput + // The name of ESCloud instance. + InstanceName pulumi.StringInput + // The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + MaintenanceDays pulumi.StringArrayInput + // The maintainable time period for the instance. Works only on modified scenes. + MaintenanceTime pulumi.StringPtrInput + // The public network config of the ESCloud instance. + NetworkSpecs InstanceV2NetworkSpecArrayInput + // The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + NodeSpecsAssigns InstanceV2NodeSpecsAssignArrayInput + // Purchase duration in prepaid scenarios. Unit: Monthly. + Period pulumi.IntPtrInput + // The project name to which the ESCloud instance belongs. + ProjectName pulumi.StringPtrInput + // The id of subnet, the subnet must belong to the AZ selected. + SubnetId pulumi.StringInput + // Tags. + Tags InstanceV2TagArrayInput + // The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + Version pulumi.StringInput + // The zone id of the ESCloud instance. Support specifying multiple availability zones. + // The first zone id is the primary availability zone, while the rest are backup availability zones. + ZoneIds pulumi.StringArrayInput +} + +func (InstanceV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*instanceV2Args)(nil)).Elem() +} + +type InstanceV2Input interface { + pulumi.Input + + ToInstanceV2Output() InstanceV2Output + ToInstanceV2OutputWithContext(ctx context.Context) InstanceV2Output +} + +func (*InstanceV2) ElementType() reflect.Type { + return reflect.TypeOf((**InstanceV2)(nil)).Elem() +} + +func (i *InstanceV2) ToInstanceV2Output() InstanceV2Output { + return i.ToInstanceV2OutputWithContext(context.Background()) +} + +func (i *InstanceV2) ToInstanceV2OutputWithContext(ctx context.Context) InstanceV2Output { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2Output) +} + +// InstanceV2ArrayInput is an input type that accepts InstanceV2Array and InstanceV2ArrayOutput values. +// You can construct a concrete instance of `InstanceV2ArrayInput` via: +// +// InstanceV2Array{ InstanceV2Args{...} } +type InstanceV2ArrayInput interface { + pulumi.Input + + ToInstanceV2ArrayOutput() InstanceV2ArrayOutput + ToInstanceV2ArrayOutputWithContext(context.Context) InstanceV2ArrayOutput +} + +type InstanceV2Array []InstanceV2Input + +func (InstanceV2Array) ElementType() reflect.Type { + return reflect.TypeOf((*[]*InstanceV2)(nil)).Elem() +} + +func (i InstanceV2Array) ToInstanceV2ArrayOutput() InstanceV2ArrayOutput { + return i.ToInstanceV2ArrayOutputWithContext(context.Background()) +} + +func (i InstanceV2Array) ToInstanceV2ArrayOutputWithContext(ctx context.Context) InstanceV2ArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2ArrayOutput) +} + +// InstanceV2MapInput is an input type that accepts InstanceV2Map and InstanceV2MapOutput values. +// You can construct a concrete instance of `InstanceV2MapInput` via: +// +// InstanceV2Map{ "key": InstanceV2Args{...} } +type InstanceV2MapInput interface { + pulumi.Input + + ToInstanceV2MapOutput() InstanceV2MapOutput + ToInstanceV2MapOutputWithContext(context.Context) InstanceV2MapOutput +} + +type InstanceV2Map map[string]InstanceV2Input + +func (InstanceV2Map) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*InstanceV2)(nil)).Elem() +} + +func (i InstanceV2Map) ToInstanceV2MapOutput() InstanceV2MapOutput { + return i.ToInstanceV2MapOutputWithContext(context.Background()) +} + +func (i InstanceV2Map) ToInstanceV2MapOutputWithContext(ctx context.Context) InstanceV2MapOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2MapOutput) +} + +type InstanceV2Output struct{ *pulumi.OutputState } + +func (InstanceV2Output) ElementType() reflect.Type { + return reflect.TypeOf((**InstanceV2)(nil)).Elem() +} + +func (o InstanceV2Output) ToInstanceV2Output() InstanceV2Output { + return o +} + +func (o InstanceV2Output) ToInstanceV2OutputWithContext(ctx context.Context) InstanceV2Output { + return o +} + +// The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. +func (o InstanceV2Output) AdminPassword() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.AdminPassword }).(pulumi.StringOutput) +} + +// Whether to automatically renew in prepaid scenarios. Default is false. +func (o InstanceV2Output) AutoRenew() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.BoolPtrOutput { return v.AutoRenew }).(pulumi.BoolPtrOutput) +} + +// The cerebro private domain of instance. +func (o InstanceV2Output) CerebroPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.CerebroPrivateDomain }).(pulumi.StringOutput) +} + +// The cerebro public domain of instance. +func (o InstanceV2Output) CerebroPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.CerebroPublicDomain }).(pulumi.StringOutput) +} + +// The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. +func (o InstanceV2Output) ChargeType() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.ChargeType }).(pulumi.StringOutput) +} + +// Configuration code used for billing. +func (o InstanceV2Output) ConfigurationCode() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.ConfigurationCode }).(pulumi.StringOutput) +} + +// Whether enable deletion protection for ESCloud instance. Default is false. +func (o InstanceV2Output) DeletionProtection() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.BoolPtrOutput { return v.DeletionProtection }).(pulumi.BoolPtrOutput) +} + +// Whether Https access is enabled. +func (o InstanceV2Output) EnableHttps() pulumi.BoolOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.BoolOutput { return v.EnableHttps }).(pulumi.BoolOutput) +} + +// Whether the Master node is independent. +func (o InstanceV2Output) EnablePureMaster() pulumi.BoolOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.BoolOutput { return v.EnablePureMaster }).(pulumi.BoolOutput) +} + +// The eip address of instance. +func (o InstanceV2Output) EsEip() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsEip }).(pulumi.StringOutput) +} + +// The eip id associated with the instance. +func (o InstanceV2Output) EsEipId() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsEipId }).(pulumi.StringOutput) +} + +// The es private domain of instance. +func (o InstanceV2Output) EsPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPrivateDomain }).(pulumi.StringOutput) +} + +// The es private endpoint of instance. +func (o InstanceV2Output) EsPrivateEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPrivateEndpoint }).(pulumi.StringOutput) +} + +// The whitelist of es private ip. +func (o InstanceV2Output) EsPrivateIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPrivateIpWhitelist }).(pulumi.StringOutput) +} + +// The es public domain of instance. +func (o InstanceV2Output) EsPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPublicDomain }).(pulumi.StringOutput) +} + +// The es public endpoint of instance. +func (o InstanceV2Output) EsPublicEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPublicEndpoint }).(pulumi.StringOutput) +} + +// The whitelist of es public ip. +func (o InstanceV2Output) EsPublicIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.EsPublicIpWhitelist }).(pulumi.StringOutput) +} + +// The name of ESCloud instance. +func (o InstanceV2Output) InstanceName() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.InstanceName }).(pulumi.StringOutput) +} + +// The eip address of kibana. +func (o InstanceV2Output) KibanaEip() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaEip }).(pulumi.StringOutput) +} + +// The eip id associated with kibana. +func (o InstanceV2Output) KibanaEipId() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaEipId }).(pulumi.StringOutput) +} + +// The kibana private domain of instance. +func (o InstanceV2Output) KibanaPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaPrivateDomain }).(pulumi.StringOutput) +} + +// The whitelist of kibana private ip. +func (o InstanceV2Output) KibanaPrivateIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaPrivateIpWhitelist }).(pulumi.StringOutput) +} + +// The kibana public domain of instance. +func (o InstanceV2Output) KibanaPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaPublicDomain }).(pulumi.StringOutput) +} + +// The whitelist of kibana public ip. +func (o InstanceV2Output) KibanaPublicIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.KibanaPublicIpWhitelist }).(pulumi.StringOutput) +} + +// The main zone id of instance. +func (o InstanceV2Output) MainZoneId() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.MainZoneId }).(pulumi.StringOutput) +} + +// The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. +func (o InstanceV2Output) MaintenanceDays() pulumi.StringArrayOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringArrayOutput { return v.MaintenanceDays }).(pulumi.StringArrayOutput) +} + +// The maintainable time period for the instance. Works only on modified scenes. +func (o InstanceV2Output) MaintenanceTime() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.MaintenanceTime }).(pulumi.StringOutput) +} + +// The public network config of the ESCloud instance. +func (o InstanceV2Output) NetworkSpecs() InstanceV2NetworkSpecArrayOutput { + return o.ApplyT(func(v *InstanceV2) InstanceV2NetworkSpecArrayOutput { return v.NetworkSpecs }).(InstanceV2NetworkSpecArrayOutput) +} + +// The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. +func (o InstanceV2Output) NodeSpecsAssigns() InstanceV2NodeSpecsAssignArrayOutput { + return o.ApplyT(func(v *InstanceV2) InstanceV2NodeSpecsAssignArrayOutput { return v.NodeSpecsAssigns }).(InstanceV2NodeSpecsAssignArrayOutput) +} + +// Purchase duration in prepaid scenarios. Unit: Monthly. +func (o InstanceV2Output) Period() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.IntPtrOutput { return v.Period }).(pulumi.IntPtrOutput) +} + +// The project name to which the ESCloud instance belongs. +func (o InstanceV2Output) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.ProjectName }).(pulumi.StringOutput) +} + +// The status of instance. +func (o InstanceV2Output) Status() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// The id of subnet, the subnet must belong to the AZ selected. +func (o InstanceV2Output) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +// Tags. +func (o InstanceV2Output) Tags() InstanceV2TagArrayOutput { + return o.ApplyT(func(v *InstanceV2) InstanceV2TagArrayOutput { return v.Tags }).(InstanceV2TagArrayOutput) +} + +// The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. +func (o InstanceV2Output) Version() pulumi.StringOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + +// The zone id of the ESCloud instance. Support specifying multiple availability zones. +// The first zone id is the primary availability zone, while the rest are backup availability zones. +func (o InstanceV2Output) ZoneIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *InstanceV2) pulumi.StringArrayOutput { return v.ZoneIds }).(pulumi.StringArrayOutput) +} + +type InstanceV2ArrayOutput struct{ *pulumi.OutputState } + +func (InstanceV2ArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*InstanceV2)(nil)).Elem() +} + +func (o InstanceV2ArrayOutput) ToInstanceV2ArrayOutput() InstanceV2ArrayOutput { + return o +} + +func (o InstanceV2ArrayOutput) ToInstanceV2ArrayOutputWithContext(ctx context.Context) InstanceV2ArrayOutput { + return o +} + +func (o InstanceV2ArrayOutput) Index(i pulumi.IntInput) InstanceV2Output { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *InstanceV2 { + return vs[0].([]*InstanceV2)[vs[1].(int)] + }).(InstanceV2Output) +} + +type InstanceV2MapOutput struct{ *pulumi.OutputState } + +func (InstanceV2MapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*InstanceV2)(nil)).Elem() +} + +func (o InstanceV2MapOutput) ToInstanceV2MapOutput() InstanceV2MapOutput { + return o +} + +func (o InstanceV2MapOutput) ToInstanceV2MapOutputWithContext(ctx context.Context) InstanceV2MapOutput { + return o +} + +func (o InstanceV2MapOutput) MapIndex(k pulumi.StringInput) InstanceV2Output { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *InstanceV2 { + return vs[0].(map[string]*InstanceV2)[vs[1].(string)] + }).(InstanceV2Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2Input)(nil)).Elem(), &InstanceV2{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2ArrayInput)(nil)).Elem(), InstanceV2Array{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2MapInput)(nil)).Elem(), InstanceV2Map{}) + pulumi.RegisterOutputType(InstanceV2Output{}) + pulumi.RegisterOutputType(InstanceV2ArrayOutput{}) + pulumi.RegisterOutputType(InstanceV2MapOutput{}) +} diff --git a/sdk/go/volcengine/escloud/instances.go b/sdk/go/volcengine/escloud/instances.go index 5dd41eb2..16b6e62a 100644 --- a/sdk/go/volcengine/escloud/instances.go +++ b/sdk/go/volcengine/escloud/instances.go @@ -11,7 +11,7 @@ import ( "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" ) -// (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances // ## Example Usage // // ```go @@ -89,7 +89,7 @@ import ( // if err != nil { // return err // } -// _ = escloud.InstancesOutput(ctx, escloud.InstancesOutputArgs{ +// _ = escloud.GetInstancesOutput(ctx, escloud.GetInstancesOutputArgs{ // Ids: pulumi.StringArray{ // fooInstance.ID(), // }, @@ -99,6 +99,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances func Instances(ctx *pulumi.Context, args *InstancesArgs, opts ...pulumi.InvokeOption) (*InstancesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv InstancesResult diff --git a/sdk/go/volcengine/escloud/ipWhiteList.go b/sdk/go/volcengine/escloud/ipWhiteList.go new file mode 100644 index 00000000..0b793859 --- /dev/null +++ b/sdk/go/volcengine/escloud/ipWhiteList.go @@ -0,0 +1,410 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package escloud + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" +) + +// Provides a resource to manage escloud ip white list +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// fooZones, err := ecs.Zones(ctx, nil, nil) +// if err != nil { +// return err +// } +// fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ +// VpcName: pulumi.String("acc-test-vpc"), +// CidrBlock: pulumi.String("172.16.0.0/16"), +// }) +// if err != nil { +// return err +// } +// fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ +// SubnetName: pulumi.String("acc-test-subnet"), +// Description: pulumi.String("tfdesc"), +// CidrBlock: pulumi.String("172.16.0.0/24"), +// ZoneId: pulumi.String(fooZones.Zones[0].Id), +// VpcId: fooVpc.ID(), +// }) +// if err != nil { +// return err +// } +// fooInstanceV2, err := escloud.NewInstanceV2(ctx, "fooInstanceV2", &escloud.InstanceV2Args{ +// InstanceName: pulumi.String("acc-test-escloud-instance"), +// Version: pulumi.String("V7_10"), +// ZoneIds: pulumi.StringArray{ +// pulumi.String(fooZones.Zones[0].Id), +// pulumi.String(fooZones.Zones[1].Id), +// pulumi.String(fooZones.Zones[2].Id), +// }, +// SubnetId: fooSubnet.ID(), +// EnableHttps: pulumi.Bool(false), +// AdminPassword: pulumi.String("Password@@123"), +// ChargeType: pulumi.String("PostPaid"), +// AutoRenew: pulumi.Bool(false), +// Period: pulumi.Int(1), +// ConfigurationCode: pulumi.String("es.standard"), +// EnablePureMaster: pulumi.Bool(true), +// DeletionProtection: pulumi.Bool(false), +// ProjectName: pulumi.String("default"), +// NodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Master"), +// Number: pulumi.Int(3), +// ResourceSpecName: pulumi.String("es.x2.medium"), +// StorageSpecName: pulumi.String("es.volume.essd.pl0"), +// StorageSize: pulumi.Int(20), +// }, +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Hot"), +// Number: pulumi.Int(6), +// ResourceSpecName: pulumi.String("es.x2.medium"), +// StorageSpecName: pulumi.String("es.volume.essd.flexpl-standard"), +// StorageSize: pulumi.Int(500), +// ExtraPerformance: &escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{ +// Throughput: pulumi.Int(65), +// }, +// }, +// &escloud.InstanceV2NodeSpecsAssignArgs{ +// Type: pulumi.String("Kibana"), +// Number: pulumi.Int(1), +// ResourceSpecName: pulumi.String("kibana.x2.small"), +// StorageSpecName: pulumi.String(""), +// StorageSize: pulumi.Int(0), +// }, +// }, +// NetworkSpecs: escloud.InstanceV2NetworkSpecArray{ +// &escloud.InstanceV2NetworkSpecArgs{ +// Type: pulumi.String("Elasticsearch"), +// Bandwidth: pulumi.Int(1), +// IsOpen: pulumi.Bool(true), +// SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), +// }, +// &escloud.InstanceV2NetworkSpecArgs{ +// Type: pulumi.String("Kibana"), +// Bandwidth: pulumi.Int(1), +// IsOpen: pulumi.Bool(true), +// SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), +// }, +// }, +// Tags: escloud.InstanceV2TagArray{ +// &escloud.InstanceV2TagArgs{ +// Key: pulumi.String("k1"), +// Value: pulumi.String("v1"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// _, err = escloud.NewIpWhiteList(ctx, "fooIpWhiteList", &escloud.IpWhiteListArgs{ +// InstanceId: fooInstanceV2.ID(), +// Type: pulumi.String("public"), +// Component: pulumi.String("es"), +// IpLists: pulumi.StringArray{ +// pulumi.String("172.16.0.10"), +// pulumi.String("172.16.0.11"), +// pulumi.String("172.16.0.12"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// EscloudIpWhiteList can be imported using the instance_id:type:component, e.g. +// +// ```sh +// $ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id +// ``` +type IpWhiteList struct { + pulumi.CustomResourceState + + // The component of the ip white list. Valid values: `es`, `kibana`. + Component pulumi.StringOutput `pulumi:"component"` + // The id of the EsCloud instance. + InstanceId pulumi.StringOutput `pulumi:"instanceId"` + // The ip list of the ip white list. + IpLists pulumi.StringArrayOutput `pulumi:"ipLists"` + // The type of the ip white list. Valid values: `private`, `public`. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewIpWhiteList registers a new resource with the given unique name, arguments, and options. +func NewIpWhiteList(ctx *pulumi.Context, + name string, args *IpWhiteListArgs, opts ...pulumi.ResourceOption) (*IpWhiteList, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Component == nil { + return nil, errors.New("invalid value for required argument 'Component'") + } + if args.InstanceId == nil { + return nil, errors.New("invalid value for required argument 'InstanceId'") + } + if args.IpLists == nil { + return nil, errors.New("invalid value for required argument 'IpLists'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList"), + }, + }) + opts = append(opts, aliases) + opts = internal.PkgResourceDefaultOpts(opts) + var resource IpWhiteList + err := ctx.RegisterResource("volcengine:escloud/ipWhiteList:IpWhiteList", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpWhiteList gets an existing IpWhiteList resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpWhiteList(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpWhiteListState, opts ...pulumi.ResourceOption) (*IpWhiteList, error) { + var resource IpWhiteList + err := ctx.ReadResource("volcengine:escloud/ipWhiteList:IpWhiteList", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpWhiteList resources. +type ipWhiteListState struct { + // The component of the ip white list. Valid values: `es`, `kibana`. + Component *string `pulumi:"component"` + // The id of the EsCloud instance. + InstanceId *string `pulumi:"instanceId"` + // The ip list of the ip white list. + IpLists []string `pulumi:"ipLists"` + // The type of the ip white list. Valid values: `private`, `public`. + Type *string `pulumi:"type"` +} + +type IpWhiteListState struct { + // The component of the ip white list. Valid values: `es`, `kibana`. + Component pulumi.StringPtrInput + // The id of the EsCloud instance. + InstanceId pulumi.StringPtrInput + // The ip list of the ip white list. + IpLists pulumi.StringArrayInput + // The type of the ip white list. Valid values: `private`, `public`. + Type pulumi.StringPtrInput +} + +func (IpWhiteListState) ElementType() reflect.Type { + return reflect.TypeOf((*ipWhiteListState)(nil)).Elem() +} + +type ipWhiteListArgs struct { + // The component of the ip white list. Valid values: `es`, `kibana`. + Component string `pulumi:"component"` + // The id of the EsCloud instance. + InstanceId string `pulumi:"instanceId"` + // The ip list of the ip white list. + IpLists []string `pulumi:"ipLists"` + // The type of the ip white list. Valid values: `private`, `public`. + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a IpWhiteList resource. +type IpWhiteListArgs struct { + // The component of the ip white list. Valid values: `es`, `kibana`. + Component pulumi.StringInput + // The id of the EsCloud instance. + InstanceId pulumi.StringInput + // The ip list of the ip white list. + IpLists pulumi.StringArrayInput + // The type of the ip white list. Valid values: `private`, `public`. + Type pulumi.StringInput +} + +func (IpWhiteListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipWhiteListArgs)(nil)).Elem() +} + +type IpWhiteListInput interface { + pulumi.Input + + ToIpWhiteListOutput() IpWhiteListOutput + ToIpWhiteListOutputWithContext(ctx context.Context) IpWhiteListOutput +} + +func (*IpWhiteList) ElementType() reflect.Type { + return reflect.TypeOf((**IpWhiteList)(nil)).Elem() +} + +func (i *IpWhiteList) ToIpWhiteListOutput() IpWhiteListOutput { + return i.ToIpWhiteListOutputWithContext(context.Background()) +} + +func (i *IpWhiteList) ToIpWhiteListOutputWithContext(ctx context.Context) IpWhiteListOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpWhiteListOutput) +} + +// IpWhiteListArrayInput is an input type that accepts IpWhiteListArray and IpWhiteListArrayOutput values. +// You can construct a concrete instance of `IpWhiteListArrayInput` via: +// +// IpWhiteListArray{ IpWhiteListArgs{...} } +type IpWhiteListArrayInput interface { + pulumi.Input + + ToIpWhiteListArrayOutput() IpWhiteListArrayOutput + ToIpWhiteListArrayOutputWithContext(context.Context) IpWhiteListArrayOutput +} + +type IpWhiteListArray []IpWhiteListInput + +func (IpWhiteListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IpWhiteList)(nil)).Elem() +} + +func (i IpWhiteListArray) ToIpWhiteListArrayOutput() IpWhiteListArrayOutput { + return i.ToIpWhiteListArrayOutputWithContext(context.Background()) +} + +func (i IpWhiteListArray) ToIpWhiteListArrayOutputWithContext(ctx context.Context) IpWhiteListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpWhiteListArrayOutput) +} + +// IpWhiteListMapInput is an input type that accepts IpWhiteListMap and IpWhiteListMapOutput values. +// You can construct a concrete instance of `IpWhiteListMapInput` via: +// +// IpWhiteListMap{ "key": IpWhiteListArgs{...} } +type IpWhiteListMapInput interface { + pulumi.Input + + ToIpWhiteListMapOutput() IpWhiteListMapOutput + ToIpWhiteListMapOutputWithContext(context.Context) IpWhiteListMapOutput +} + +type IpWhiteListMap map[string]IpWhiteListInput + +func (IpWhiteListMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IpWhiteList)(nil)).Elem() +} + +func (i IpWhiteListMap) ToIpWhiteListMapOutput() IpWhiteListMapOutput { + return i.ToIpWhiteListMapOutputWithContext(context.Background()) +} + +func (i IpWhiteListMap) ToIpWhiteListMapOutputWithContext(ctx context.Context) IpWhiteListMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpWhiteListMapOutput) +} + +type IpWhiteListOutput struct{ *pulumi.OutputState } + +func (IpWhiteListOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpWhiteList)(nil)).Elem() +} + +func (o IpWhiteListOutput) ToIpWhiteListOutput() IpWhiteListOutput { + return o +} + +func (o IpWhiteListOutput) ToIpWhiteListOutputWithContext(ctx context.Context) IpWhiteListOutput { + return o +} + +// The component of the ip white list. Valid values: `es`, `kibana`. +func (o IpWhiteListOutput) Component() pulumi.StringOutput { + return o.ApplyT(func(v *IpWhiteList) pulumi.StringOutput { return v.Component }).(pulumi.StringOutput) +} + +// The id of the EsCloud instance. +func (o IpWhiteListOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v *IpWhiteList) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) +} + +// The ip list of the ip white list. +func (o IpWhiteListOutput) IpLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IpWhiteList) pulumi.StringArrayOutput { return v.IpLists }).(pulumi.StringArrayOutput) +} + +// The type of the ip white list. Valid values: `private`, `public`. +func (o IpWhiteListOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *IpWhiteList) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +type IpWhiteListArrayOutput struct{ *pulumi.OutputState } + +func (IpWhiteListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IpWhiteList)(nil)).Elem() +} + +func (o IpWhiteListArrayOutput) ToIpWhiteListArrayOutput() IpWhiteListArrayOutput { + return o +} + +func (o IpWhiteListArrayOutput) ToIpWhiteListArrayOutputWithContext(ctx context.Context) IpWhiteListArrayOutput { + return o +} + +func (o IpWhiteListArrayOutput) Index(i pulumi.IntInput) IpWhiteListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IpWhiteList { + return vs[0].([]*IpWhiteList)[vs[1].(int)] + }).(IpWhiteListOutput) +} + +type IpWhiteListMapOutput struct{ *pulumi.OutputState } + +func (IpWhiteListMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IpWhiteList)(nil)).Elem() +} + +func (o IpWhiteListMapOutput) ToIpWhiteListMapOutput() IpWhiteListMapOutput { + return o +} + +func (o IpWhiteListMapOutput) ToIpWhiteListMapOutputWithContext(ctx context.Context) IpWhiteListMapOutput { + return o +} + +func (o IpWhiteListMapOutput) MapIndex(k pulumi.StringInput) IpWhiteListOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IpWhiteList { + return vs[0].(map[string]*IpWhiteList)[vs[1].(string)] + }).(IpWhiteListOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpWhiteListInput)(nil)).Elem(), &IpWhiteList{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpWhiteListArrayInput)(nil)).Elem(), IpWhiteListArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpWhiteListMapInput)(nil)).Elem(), IpWhiteListMap{}) + pulumi.RegisterOutputType(IpWhiteListOutput{}) + pulumi.RegisterOutputType(IpWhiteListArrayOutput{}) + pulumi.RegisterOutputType(IpWhiteListMapOutput{}) +} diff --git a/sdk/go/volcengine/escloud/pulumiTypes.go b/sdk/go/volcengine/escloud/pulumiTypes.go index 22d8a06b..47d7fc06 100644 --- a/sdk/go/volcengine/escloud/pulumiTypes.go +++ b/sdk/go/volcengine/escloud/pulumiTypes.go @@ -589,6 +589,521 @@ func (o InstanceInstanceConfigurationNodeSpecsAssignArrayOutput) Index(i pulumi. }).(InstanceInstanceConfigurationNodeSpecsAssignOutput) } +type InstanceV2NetworkSpec struct { + // The bandwidth of the eip. Unit: Mbps. + Bandwidth int `pulumi:"bandwidth"` + // Whether the eip is opened. + IsOpen bool `pulumi:"isOpen"` + // The spec name of public network. + SpecName string `pulumi:"specName"` + // The type of public network, valid values: `Elasticsearch`, `Kibana`. + Type string `pulumi:"type"` +} + +// InstanceV2NetworkSpecInput is an input type that accepts InstanceV2NetworkSpecArgs and InstanceV2NetworkSpecOutput values. +// You can construct a concrete instance of `InstanceV2NetworkSpecInput` via: +// +// InstanceV2NetworkSpecArgs{...} +type InstanceV2NetworkSpecInput interface { + pulumi.Input + + ToInstanceV2NetworkSpecOutput() InstanceV2NetworkSpecOutput + ToInstanceV2NetworkSpecOutputWithContext(context.Context) InstanceV2NetworkSpecOutput +} + +type InstanceV2NetworkSpecArgs struct { + // The bandwidth of the eip. Unit: Mbps. + Bandwidth pulumi.IntInput `pulumi:"bandwidth"` + // Whether the eip is opened. + IsOpen pulumi.BoolInput `pulumi:"isOpen"` + // The spec name of public network. + SpecName pulumi.StringInput `pulumi:"specName"` + // The type of public network, valid values: `Elasticsearch`, `Kibana`. + Type pulumi.StringInput `pulumi:"type"` +} + +func (InstanceV2NetworkSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NetworkSpec)(nil)).Elem() +} + +func (i InstanceV2NetworkSpecArgs) ToInstanceV2NetworkSpecOutput() InstanceV2NetworkSpecOutput { + return i.ToInstanceV2NetworkSpecOutputWithContext(context.Background()) +} + +func (i InstanceV2NetworkSpecArgs) ToInstanceV2NetworkSpecOutputWithContext(ctx context.Context) InstanceV2NetworkSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NetworkSpecOutput) +} + +// InstanceV2NetworkSpecArrayInput is an input type that accepts InstanceV2NetworkSpecArray and InstanceV2NetworkSpecArrayOutput values. +// You can construct a concrete instance of `InstanceV2NetworkSpecArrayInput` via: +// +// InstanceV2NetworkSpecArray{ InstanceV2NetworkSpecArgs{...} } +type InstanceV2NetworkSpecArrayInput interface { + pulumi.Input + + ToInstanceV2NetworkSpecArrayOutput() InstanceV2NetworkSpecArrayOutput + ToInstanceV2NetworkSpecArrayOutputWithContext(context.Context) InstanceV2NetworkSpecArrayOutput +} + +type InstanceV2NetworkSpecArray []InstanceV2NetworkSpecInput + +func (InstanceV2NetworkSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2NetworkSpec)(nil)).Elem() +} + +func (i InstanceV2NetworkSpecArray) ToInstanceV2NetworkSpecArrayOutput() InstanceV2NetworkSpecArrayOutput { + return i.ToInstanceV2NetworkSpecArrayOutputWithContext(context.Background()) +} + +func (i InstanceV2NetworkSpecArray) ToInstanceV2NetworkSpecArrayOutputWithContext(ctx context.Context) InstanceV2NetworkSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NetworkSpecArrayOutput) +} + +type InstanceV2NetworkSpecOutput struct{ *pulumi.OutputState } + +func (InstanceV2NetworkSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NetworkSpec)(nil)).Elem() +} + +func (o InstanceV2NetworkSpecOutput) ToInstanceV2NetworkSpecOutput() InstanceV2NetworkSpecOutput { + return o +} + +func (o InstanceV2NetworkSpecOutput) ToInstanceV2NetworkSpecOutputWithContext(ctx context.Context) InstanceV2NetworkSpecOutput { + return o +} + +// The bandwidth of the eip. Unit: Mbps. +func (o InstanceV2NetworkSpecOutput) Bandwidth() pulumi.IntOutput { + return o.ApplyT(func(v InstanceV2NetworkSpec) int { return v.Bandwidth }).(pulumi.IntOutput) +} + +// Whether the eip is opened. +func (o InstanceV2NetworkSpecOutput) IsOpen() pulumi.BoolOutput { + return o.ApplyT(func(v InstanceV2NetworkSpec) bool { return v.IsOpen }).(pulumi.BoolOutput) +} + +// The spec name of public network. +func (o InstanceV2NetworkSpecOutput) SpecName() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2NetworkSpec) string { return v.SpecName }).(pulumi.StringOutput) +} + +// The type of public network, valid values: `Elasticsearch`, `Kibana`. +func (o InstanceV2NetworkSpecOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2NetworkSpec) string { return v.Type }).(pulumi.StringOutput) +} + +type InstanceV2NetworkSpecArrayOutput struct{ *pulumi.OutputState } + +func (InstanceV2NetworkSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2NetworkSpec)(nil)).Elem() +} + +func (o InstanceV2NetworkSpecArrayOutput) ToInstanceV2NetworkSpecArrayOutput() InstanceV2NetworkSpecArrayOutput { + return o +} + +func (o InstanceV2NetworkSpecArrayOutput) ToInstanceV2NetworkSpecArrayOutputWithContext(ctx context.Context) InstanceV2NetworkSpecArrayOutput { + return o +} + +func (o InstanceV2NetworkSpecArrayOutput) Index(i pulumi.IntInput) InstanceV2NetworkSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceV2NetworkSpec { + return vs[0].([]InstanceV2NetworkSpec)[vs[1].(int)] + }).(InstanceV2NetworkSpecOutput) +} + +type InstanceV2NodeSpecsAssign struct { + // The extra performance of FlexPL storage spec. + ExtraPerformance *InstanceV2NodeSpecsAssignExtraPerformance `pulumi:"extraPerformance"` + // The number of node. + Number int `pulumi:"number"` + // The name of compute resource spec. + ResourceSpecName string `pulumi:"resourceSpecName"` + // The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + StorageSize int `pulumi:"storageSize"` + // The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + StorageSpecName string `pulumi:"storageSpecName"` + // The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + Type string `pulumi:"type"` +} + +// InstanceV2NodeSpecsAssignInput is an input type that accepts InstanceV2NodeSpecsAssignArgs and InstanceV2NodeSpecsAssignOutput values. +// You can construct a concrete instance of `InstanceV2NodeSpecsAssignInput` via: +// +// InstanceV2NodeSpecsAssignArgs{...} +type InstanceV2NodeSpecsAssignInput interface { + pulumi.Input + + ToInstanceV2NodeSpecsAssignOutput() InstanceV2NodeSpecsAssignOutput + ToInstanceV2NodeSpecsAssignOutputWithContext(context.Context) InstanceV2NodeSpecsAssignOutput +} + +type InstanceV2NodeSpecsAssignArgs struct { + // The extra performance of FlexPL storage spec. + ExtraPerformance InstanceV2NodeSpecsAssignExtraPerformancePtrInput `pulumi:"extraPerformance"` + // The number of node. + Number pulumi.IntInput `pulumi:"number"` + // The name of compute resource spec. + ResourceSpecName pulumi.StringInput `pulumi:"resourceSpecName"` + // The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + StorageSize pulumi.IntInput `pulumi:"storageSize"` + // The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + StorageSpecName pulumi.StringInput `pulumi:"storageSpecName"` + // The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + Type pulumi.StringInput `pulumi:"type"` +} + +func (InstanceV2NodeSpecsAssignArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NodeSpecsAssign)(nil)).Elem() +} + +func (i InstanceV2NodeSpecsAssignArgs) ToInstanceV2NodeSpecsAssignOutput() InstanceV2NodeSpecsAssignOutput { + return i.ToInstanceV2NodeSpecsAssignOutputWithContext(context.Background()) +} + +func (i InstanceV2NodeSpecsAssignArgs) ToInstanceV2NodeSpecsAssignOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NodeSpecsAssignOutput) +} + +// InstanceV2NodeSpecsAssignArrayInput is an input type that accepts InstanceV2NodeSpecsAssignArray and InstanceV2NodeSpecsAssignArrayOutput values. +// You can construct a concrete instance of `InstanceV2NodeSpecsAssignArrayInput` via: +// +// InstanceV2NodeSpecsAssignArray{ InstanceV2NodeSpecsAssignArgs{...} } +type InstanceV2NodeSpecsAssignArrayInput interface { + pulumi.Input + + ToInstanceV2NodeSpecsAssignArrayOutput() InstanceV2NodeSpecsAssignArrayOutput + ToInstanceV2NodeSpecsAssignArrayOutputWithContext(context.Context) InstanceV2NodeSpecsAssignArrayOutput +} + +type InstanceV2NodeSpecsAssignArray []InstanceV2NodeSpecsAssignInput + +func (InstanceV2NodeSpecsAssignArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2NodeSpecsAssign)(nil)).Elem() +} + +func (i InstanceV2NodeSpecsAssignArray) ToInstanceV2NodeSpecsAssignArrayOutput() InstanceV2NodeSpecsAssignArrayOutput { + return i.ToInstanceV2NodeSpecsAssignArrayOutputWithContext(context.Background()) +} + +func (i InstanceV2NodeSpecsAssignArray) ToInstanceV2NodeSpecsAssignArrayOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NodeSpecsAssignArrayOutput) +} + +type InstanceV2NodeSpecsAssignOutput struct{ *pulumi.OutputState } + +func (InstanceV2NodeSpecsAssignOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NodeSpecsAssign)(nil)).Elem() +} + +func (o InstanceV2NodeSpecsAssignOutput) ToInstanceV2NodeSpecsAssignOutput() InstanceV2NodeSpecsAssignOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignOutput) ToInstanceV2NodeSpecsAssignOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignOutput { + return o +} + +// The extra performance of FlexPL storage spec. +func (o InstanceV2NodeSpecsAssignOutput) ExtraPerformance() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) *InstanceV2NodeSpecsAssignExtraPerformance { + return v.ExtraPerformance + }).(InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) +} + +// The number of node. +func (o InstanceV2NodeSpecsAssignOutput) Number() pulumi.IntOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) int { return v.Number }).(pulumi.IntOutput) +} + +// The name of compute resource spec. +func (o InstanceV2NodeSpecsAssignOutput) ResourceSpecName() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) string { return v.ResourceSpecName }).(pulumi.StringOutput) +} + +// The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. +func (o InstanceV2NodeSpecsAssignOutput) StorageSize() pulumi.IntOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) int { return v.StorageSize }).(pulumi.IntOutput) +} + +// The name of storage spec. Kibana NodeSpecsAssign should specify this field to “. +func (o InstanceV2NodeSpecsAssignOutput) StorageSpecName() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) string { return v.StorageSpecName }).(pulumi.StringOutput) +} + +// The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. +func (o InstanceV2NodeSpecsAssignOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssign) string { return v.Type }).(pulumi.StringOutput) +} + +type InstanceV2NodeSpecsAssignArrayOutput struct{ *pulumi.OutputState } + +func (InstanceV2NodeSpecsAssignArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2NodeSpecsAssign)(nil)).Elem() +} + +func (o InstanceV2NodeSpecsAssignArrayOutput) ToInstanceV2NodeSpecsAssignArrayOutput() InstanceV2NodeSpecsAssignArrayOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignArrayOutput) ToInstanceV2NodeSpecsAssignArrayOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignArrayOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignArrayOutput) Index(i pulumi.IntInput) InstanceV2NodeSpecsAssignOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceV2NodeSpecsAssign { + return vs[0].([]InstanceV2NodeSpecsAssign)[vs[1].(int)] + }).(InstanceV2NodeSpecsAssignOutput) +} + +type InstanceV2NodeSpecsAssignExtraPerformance struct { + // When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + // The unit is MiB, and the adjustment step size is 10MiB. + Throughput int `pulumi:"throughput"` +} + +// InstanceV2NodeSpecsAssignExtraPerformanceInput is an input type that accepts InstanceV2NodeSpecsAssignExtraPerformanceArgs and InstanceV2NodeSpecsAssignExtraPerformanceOutput values. +// You can construct a concrete instance of `InstanceV2NodeSpecsAssignExtraPerformanceInput` via: +// +// InstanceV2NodeSpecsAssignExtraPerformanceArgs{...} +type InstanceV2NodeSpecsAssignExtraPerformanceInput interface { + pulumi.Input + + ToInstanceV2NodeSpecsAssignExtraPerformanceOutput() InstanceV2NodeSpecsAssignExtraPerformanceOutput + ToInstanceV2NodeSpecsAssignExtraPerformanceOutputWithContext(context.Context) InstanceV2NodeSpecsAssignExtraPerformanceOutput +} + +type InstanceV2NodeSpecsAssignExtraPerformanceArgs struct { + // When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + // The unit is MiB, and the adjustment step size is 10MiB. + Throughput pulumi.IntInput `pulumi:"throughput"` +} + +func (InstanceV2NodeSpecsAssignExtraPerformanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NodeSpecsAssignExtraPerformance)(nil)).Elem() +} + +func (i InstanceV2NodeSpecsAssignExtraPerformanceArgs) ToInstanceV2NodeSpecsAssignExtraPerformanceOutput() InstanceV2NodeSpecsAssignExtraPerformanceOutput { + return i.ToInstanceV2NodeSpecsAssignExtraPerformanceOutputWithContext(context.Background()) +} + +func (i InstanceV2NodeSpecsAssignExtraPerformanceArgs) ToInstanceV2NodeSpecsAssignExtraPerformanceOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NodeSpecsAssignExtraPerformanceOutput) +} + +func (i InstanceV2NodeSpecsAssignExtraPerformanceArgs) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutput() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return i.ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(context.Background()) +} + +func (i InstanceV2NodeSpecsAssignExtraPerformanceArgs) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NodeSpecsAssignExtraPerformanceOutput).ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(ctx) +} + +// InstanceV2NodeSpecsAssignExtraPerformancePtrInput is an input type that accepts InstanceV2NodeSpecsAssignExtraPerformanceArgs, InstanceV2NodeSpecsAssignExtraPerformancePtr and InstanceV2NodeSpecsAssignExtraPerformancePtrOutput values. +// You can construct a concrete instance of `InstanceV2NodeSpecsAssignExtraPerformancePtrInput` via: +// +// InstanceV2NodeSpecsAssignExtraPerformanceArgs{...} +// +// or: +// +// nil +type InstanceV2NodeSpecsAssignExtraPerformancePtrInput interface { + pulumi.Input + + ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutput() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput + ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(context.Context) InstanceV2NodeSpecsAssignExtraPerformancePtrOutput +} + +type instanceV2NodeSpecsAssignExtraPerformancePtrType InstanceV2NodeSpecsAssignExtraPerformanceArgs + +func InstanceV2NodeSpecsAssignExtraPerformancePtr(v *InstanceV2NodeSpecsAssignExtraPerformanceArgs) InstanceV2NodeSpecsAssignExtraPerformancePtrInput { + return (*instanceV2NodeSpecsAssignExtraPerformancePtrType)(v) +} + +func (*instanceV2NodeSpecsAssignExtraPerformancePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstanceV2NodeSpecsAssignExtraPerformance)(nil)).Elem() +} + +func (i *instanceV2NodeSpecsAssignExtraPerformancePtrType) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutput() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return i.ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(context.Background()) +} + +func (i *instanceV2NodeSpecsAssignExtraPerformancePtrType) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) +} + +type InstanceV2NodeSpecsAssignExtraPerformanceOutput struct{ *pulumi.OutputState } + +func (InstanceV2NodeSpecsAssignExtraPerformanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2NodeSpecsAssignExtraPerformance)(nil)).Elem() +} + +func (o InstanceV2NodeSpecsAssignExtraPerformanceOutput) ToInstanceV2NodeSpecsAssignExtraPerformanceOutput() InstanceV2NodeSpecsAssignExtraPerformanceOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignExtraPerformanceOutput) ToInstanceV2NodeSpecsAssignExtraPerformanceOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformanceOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignExtraPerformanceOutput) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutput() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return o.ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(context.Background()) +} + +func (o InstanceV2NodeSpecsAssignExtraPerformanceOutput) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstanceV2NodeSpecsAssignExtraPerformance) *InstanceV2NodeSpecsAssignExtraPerformance { + return &v + }).(InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) +} + +// When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. +// The unit is MiB, and the adjustment step size is 10MiB. +func (o InstanceV2NodeSpecsAssignExtraPerformanceOutput) Throughput() pulumi.IntOutput { + return o.ApplyT(func(v InstanceV2NodeSpecsAssignExtraPerformance) int { return v.Throughput }).(pulumi.IntOutput) +} + +type InstanceV2NodeSpecsAssignExtraPerformancePtrOutput struct{ *pulumi.OutputState } + +func (InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstanceV2NodeSpecsAssignExtraPerformance)(nil)).Elem() +} + +func (o InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutput() InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) ToInstanceV2NodeSpecsAssignExtraPerformancePtrOutputWithContext(ctx context.Context) InstanceV2NodeSpecsAssignExtraPerformancePtrOutput { + return o +} + +func (o InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) Elem() InstanceV2NodeSpecsAssignExtraPerformanceOutput { + return o.ApplyT(func(v *InstanceV2NodeSpecsAssignExtraPerformance) InstanceV2NodeSpecsAssignExtraPerformance { + if v != nil { + return *v + } + var ret InstanceV2NodeSpecsAssignExtraPerformance + return ret + }).(InstanceV2NodeSpecsAssignExtraPerformanceOutput) +} + +// When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. +// The unit is MiB, and the adjustment step size is 10MiB. +func (o InstanceV2NodeSpecsAssignExtraPerformancePtrOutput) Throughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstanceV2NodeSpecsAssignExtraPerformance) *int { + if v == nil { + return nil + } + return &v.Throughput + }).(pulumi.IntPtrOutput) +} + +type InstanceV2Tag struct { + // The Key of Tags. + Key string `pulumi:"key"` + // The Value of Tags. + Value string `pulumi:"value"` +} + +// InstanceV2TagInput is an input type that accepts InstanceV2TagArgs and InstanceV2TagOutput values. +// You can construct a concrete instance of `InstanceV2TagInput` via: +// +// InstanceV2TagArgs{...} +type InstanceV2TagInput interface { + pulumi.Input + + ToInstanceV2TagOutput() InstanceV2TagOutput + ToInstanceV2TagOutputWithContext(context.Context) InstanceV2TagOutput +} + +type InstanceV2TagArgs struct { + // The Key of Tags. + Key pulumi.StringInput `pulumi:"key"` + // The Value of Tags. + Value pulumi.StringInput `pulumi:"value"` +} + +func (InstanceV2TagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2Tag)(nil)).Elem() +} + +func (i InstanceV2TagArgs) ToInstanceV2TagOutput() InstanceV2TagOutput { + return i.ToInstanceV2TagOutputWithContext(context.Background()) +} + +func (i InstanceV2TagArgs) ToInstanceV2TagOutputWithContext(ctx context.Context) InstanceV2TagOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2TagOutput) +} + +// InstanceV2TagArrayInput is an input type that accepts InstanceV2TagArray and InstanceV2TagArrayOutput values. +// You can construct a concrete instance of `InstanceV2TagArrayInput` via: +// +// InstanceV2TagArray{ InstanceV2TagArgs{...} } +type InstanceV2TagArrayInput interface { + pulumi.Input + + ToInstanceV2TagArrayOutput() InstanceV2TagArrayOutput + ToInstanceV2TagArrayOutputWithContext(context.Context) InstanceV2TagArrayOutput +} + +type InstanceV2TagArray []InstanceV2TagInput + +func (InstanceV2TagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2Tag)(nil)).Elem() +} + +func (i InstanceV2TagArray) ToInstanceV2TagArrayOutput() InstanceV2TagArrayOutput { + return i.ToInstanceV2TagArrayOutputWithContext(context.Background()) +} + +func (i InstanceV2TagArray) ToInstanceV2TagArrayOutputWithContext(ctx context.Context) InstanceV2TagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceV2TagArrayOutput) +} + +type InstanceV2TagOutput struct{ *pulumi.OutputState } + +func (InstanceV2TagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceV2Tag)(nil)).Elem() +} + +func (o InstanceV2TagOutput) ToInstanceV2TagOutput() InstanceV2TagOutput { + return o +} + +func (o InstanceV2TagOutput) ToInstanceV2TagOutputWithContext(ctx context.Context) InstanceV2TagOutput { + return o +} + +// The Key of Tags. +func (o InstanceV2TagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2Tag) string { return v.Key }).(pulumi.StringOutput) +} + +// The Value of Tags. +func (o InstanceV2TagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v InstanceV2Tag) string { return v.Value }).(pulumi.StringOutput) +} + +type InstanceV2TagArrayOutput struct{ *pulumi.OutputState } + +func (InstanceV2TagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceV2Tag)(nil)).Elem() +} + +func (o InstanceV2TagArrayOutput) ToInstanceV2TagArrayOutput() InstanceV2TagArrayOutput { + return o +} + +func (o InstanceV2TagArrayOutput) ToInstanceV2TagArrayOutputWithContext(ctx context.Context) InstanceV2TagArrayOutput { + return o +} + +func (o InstanceV2TagArrayOutput) Index(i pulumi.IntInput) InstanceV2TagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceV2Tag { + return vs[0].([]InstanceV2Tag)[vs[1].(int)] + }).(InstanceV2TagOutput) +} + type InstancesInstance struct { // The charge status of instance. ChargeEnabled bool `pulumi:"chargeEnabled"` @@ -2587,11 +3102,5541 @@ func (o ZonesZoneArrayOutput) Index(i pulumi.IntInput) ZonesZoneOutput { }).(ZonesZoneOutput) } +type GetInstancesInstance struct { + // The charge status of instance. + ChargeEnabled bool `pulumi:"chargeEnabled"` + // The create time of instance. + CreateTime string `pulumi:"createTime"` + // whether enable es private network. + EnableEsPrivateNetwork bool `pulumi:"enableEsPrivateNetwork"` + // whether enable es public network. + EnableEsPublicNetwork bool `pulumi:"enableEsPublicNetwork"` + // whether enable kibana private network. + EnableKibanaPrivateNetwork bool `pulumi:"enableKibanaPrivateNetwork"` + // whether enable kibana public network. + EnableKibanaPublicNetwork bool `pulumi:"enableKibanaPublicNetwork"` + // The es inner endpoint of instance. + EsInnerEndpoint string `pulumi:"esInnerEndpoint"` + // The es private domain of instance. + EsPrivateDomain string `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint string `pulumi:"esPrivateEndpoint"` + // The es public domain of instance. + EsPublicDomain string `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint string `pulumi:"esPublicEndpoint"` + // The expire time of instance. + ExpireDate string `pulumi:"expireDate"` + // The Id of instance. + Id string `pulumi:"id"` + // The configuration of instance. + InstanceConfiguration GetInstancesInstanceInstanceConfiguration `pulumi:"instanceConfiguration"` + // The Id of instance. + InstanceId string `pulumi:"instanceId"` + // The kibana private domain of instance. + KibanaPrivateDomain string `pulumi:"kibanaPrivateDomain"` + // The kibana public domain of instance. + KibanaPublicDomain string `pulumi:"kibanaPublicDomain"` + // The maintenance day of instance. + MaintenanceDays []string `pulumi:"maintenanceDays"` + // The maintenance time of instance. + MaintenanceTime string `pulumi:"maintenanceTime"` + // The namespace of instance. + Namespace string `pulumi:"namespace"` + // The nodes info of instance. + Nodes []GetInstancesInstanceNode `pulumi:"nodes"` + // The plugin info of instance. + Plugins []GetInstancesInstancePlugin `pulumi:"plugins"` + // The status of instance. + Status string `pulumi:"status"` + // The total nodes of instance. + TotalNodes int `pulumi:"totalNodes"` + // The user id of instance. + UserId string `pulumi:"userId"` +} + +// GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInput` via: +// +// GetInstancesInstanceArgs{...} +type GetInstancesInstanceInput interface { + pulumi.Input + + ToGetInstancesInstanceOutput() GetInstancesInstanceOutput + ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput +} + +type GetInstancesInstanceArgs struct { + // The charge status of instance. + ChargeEnabled pulumi.BoolInput `pulumi:"chargeEnabled"` + // The create time of instance. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // whether enable es private network. + EnableEsPrivateNetwork pulumi.BoolInput `pulumi:"enableEsPrivateNetwork"` + // whether enable es public network. + EnableEsPublicNetwork pulumi.BoolInput `pulumi:"enableEsPublicNetwork"` + // whether enable kibana private network. + EnableKibanaPrivateNetwork pulumi.BoolInput `pulumi:"enableKibanaPrivateNetwork"` + // whether enable kibana public network. + EnableKibanaPublicNetwork pulumi.BoolInput `pulumi:"enableKibanaPublicNetwork"` + // The es inner endpoint of instance. + EsInnerEndpoint pulumi.StringInput `pulumi:"esInnerEndpoint"` + // The es private domain of instance. + EsPrivateDomain pulumi.StringInput `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint pulumi.StringInput `pulumi:"esPrivateEndpoint"` + // The es public domain of instance. + EsPublicDomain pulumi.StringInput `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint pulumi.StringInput `pulumi:"esPublicEndpoint"` + // The expire time of instance. + ExpireDate pulumi.StringInput `pulumi:"expireDate"` + // The Id of instance. + Id pulumi.StringInput `pulumi:"id"` + // The configuration of instance. + InstanceConfiguration GetInstancesInstanceInstanceConfigurationInput `pulumi:"instanceConfiguration"` + // The Id of instance. + InstanceId pulumi.StringInput `pulumi:"instanceId"` + // The kibana private domain of instance. + KibanaPrivateDomain pulumi.StringInput `pulumi:"kibanaPrivateDomain"` + // The kibana public domain of instance. + KibanaPublicDomain pulumi.StringInput `pulumi:"kibanaPublicDomain"` + // The maintenance day of instance. + MaintenanceDays pulumi.StringArrayInput `pulumi:"maintenanceDays"` + // The maintenance time of instance. + MaintenanceTime pulumi.StringInput `pulumi:"maintenanceTime"` + // The namespace of instance. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The nodes info of instance. + Nodes GetInstancesInstanceNodeArrayInput `pulumi:"nodes"` + // The plugin info of instance. + Plugins GetInstancesInstancePluginArrayInput `pulumi:"plugins"` + // The status of instance. + Status pulumi.StringInput `pulumi:"status"` + // The total nodes of instance. + TotalNodes pulumi.IntInput `pulumi:"totalNodes"` + // The user id of instance. + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (GetInstancesInstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstance)(nil)).Elem() +} + +func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput { + return i.ToGetInstancesInstanceOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceOutput) +} + +// GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. +// You can construct a concrete instance of `GetInstancesInstanceArrayInput` via: +// +// GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} } +type GetInstancesInstanceArrayInput interface { + pulumi.Input + + ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput + ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput +} + +type GetInstancesInstanceArray []GetInstancesInstanceInput + +func (GetInstancesInstanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstance)(nil)).Elem() +} + +func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput { + return i.ToGetInstancesInstanceArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceArrayOutput) +} + +type GetInstancesInstanceOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstance)(nil)).Elem() +} + +func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput { + return o +} + +func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput { + return o +} + +// The charge status of instance. +func (o GetInstancesInstanceOutput) ChargeEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstance) bool { return v.ChargeEnabled }).(pulumi.BoolOutput) +} + +// The create time of instance. +func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.CreateTime }).(pulumi.StringOutput) +} + +// whether enable es private network. +func (o GetInstancesInstanceOutput) EnableEsPrivateNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstance) bool { return v.EnableEsPrivateNetwork }).(pulumi.BoolOutput) +} + +// whether enable es public network. +func (o GetInstancesInstanceOutput) EnableEsPublicNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstance) bool { return v.EnableEsPublicNetwork }).(pulumi.BoolOutput) +} + +// whether enable kibana private network. +func (o GetInstancesInstanceOutput) EnableKibanaPrivateNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstance) bool { return v.EnableKibanaPrivateNetwork }).(pulumi.BoolOutput) +} + +// whether enable kibana public network. +func (o GetInstancesInstanceOutput) EnableKibanaPublicNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstance) bool { return v.EnableKibanaPublicNetwork }).(pulumi.BoolOutput) +} + +// The es inner endpoint of instance. +func (o GetInstancesInstanceOutput) EsInnerEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.EsInnerEndpoint }).(pulumi.StringOutput) +} + +// The es private domain of instance. +func (o GetInstancesInstanceOutput) EsPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.EsPrivateDomain }).(pulumi.StringOutput) +} + +// The es private endpoint of instance. +func (o GetInstancesInstanceOutput) EsPrivateEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.EsPrivateEndpoint }).(pulumi.StringOutput) +} + +// The es public domain of instance. +func (o GetInstancesInstanceOutput) EsPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.EsPublicDomain }).(pulumi.StringOutput) +} + +// The es public endpoint of instance. +func (o GetInstancesInstanceOutput) EsPublicEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.EsPublicEndpoint }).(pulumi.StringOutput) +} + +// The expire time of instance. +func (o GetInstancesInstanceOutput) ExpireDate() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.ExpireDate }).(pulumi.StringOutput) +} + +// The Id of instance. +func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.Id }).(pulumi.StringOutput) +} + +// The configuration of instance. +func (o GetInstancesInstanceOutput) InstanceConfiguration() GetInstancesInstanceInstanceConfigurationOutput { + return o.ApplyT(func(v GetInstancesInstance) GetInstancesInstanceInstanceConfiguration { return v.InstanceConfiguration }).(GetInstancesInstanceInstanceConfigurationOutput) +} + +// The Id of instance. +func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.InstanceId }).(pulumi.StringOutput) +} + +// The kibana private domain of instance. +func (o GetInstancesInstanceOutput) KibanaPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.KibanaPrivateDomain }).(pulumi.StringOutput) +} + +// The kibana public domain of instance. +func (o GetInstancesInstanceOutput) KibanaPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.KibanaPublicDomain }).(pulumi.StringOutput) +} + +// The maintenance day of instance. +func (o GetInstancesInstanceOutput) MaintenanceDays() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesInstance) []string { return v.MaintenanceDays }).(pulumi.StringArrayOutput) +} + +// The maintenance time of instance. +func (o GetInstancesInstanceOutput) MaintenanceTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.MaintenanceTime }).(pulumi.StringOutput) +} + +// The namespace of instance. +func (o GetInstancesInstanceOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.Namespace }).(pulumi.StringOutput) +} + +// The nodes info of instance. +func (o GetInstancesInstanceOutput) Nodes() GetInstancesInstanceNodeArrayOutput { + return o.ApplyT(func(v GetInstancesInstance) []GetInstancesInstanceNode { return v.Nodes }).(GetInstancesInstanceNodeArrayOutput) +} + +// The plugin info of instance. +func (o GetInstancesInstanceOutput) Plugins() GetInstancesInstancePluginArrayOutput { + return o.ApplyT(func(v GetInstancesInstance) []GetInstancesInstancePlugin { return v.Plugins }).(GetInstancesInstancePluginArrayOutput) +} + +// The status of instance. +func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.Status }).(pulumi.StringOutput) +} + +// The total nodes of instance. +func (o GetInstancesInstanceOutput) TotalNodes() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstance) int { return v.TotalNodes }).(pulumi.IntOutput) +} + +// The user id of instance. +func (o GetInstancesInstanceOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstance) string { return v.UserId }).(pulumi.StringOutput) +} + +type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstance)(nil)).Elem() +} + +func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput { + return o +} + +func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput { + return o +} + +func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesInstance { + return vs[0].([]GetInstancesInstance)[vs[1].(int)] + }).(GetInstancesInstanceOutput) +} + +type GetInstancesInstanceInstanceConfiguration struct { + // The user name of instance. + AdminUserName string `pulumi:"adminUserName"` + // The charge type of instance. + ChargeType string `pulumi:"chargeType"` + // whether enable https. + EnableHttps bool `pulumi:"enableHttps"` + // Whether enable pure master. + EnablePureMaster bool `pulumi:"enablePureMaster"` + // The node number of host. + HotNodeNumber int `pulumi:"hotNodeNumber"` + // The node resource spec of host. + HotNodeResourceSpec GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec `pulumi:"hotNodeResourceSpec"` + // The node storage spec of host. + HotNodeStorageSpec GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec `pulumi:"hotNodeStorageSpec"` + // The name of instance. + InstanceName string `pulumi:"instanceName"` + // The node number of kibana. + KibanaNodeNumber int `pulumi:"kibanaNodeNumber"` + // The node resource spec of kibana. + KibanaNodeResourceSpec GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec `pulumi:"kibanaNodeResourceSpec"` + // The node storage spec of kibana. + KibanaNodeStorageSpec GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec `pulumi:"kibanaNodeStorageSpec"` + // The node number of master. + MasterNodeNumber int `pulumi:"masterNodeNumber"` + // The node resource spec of master. + MasterNodeResourceSpec GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec `pulumi:"masterNodeResourceSpec"` + // The node storage spec of master. + MasterNodeStorageSpec GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec `pulumi:"masterNodeStorageSpec"` + // The period of project. + Period int `pulumi:"period"` + // The name of project. + ProjectName string `pulumi:"projectName"` + // The region info of instance. + RegionId string `pulumi:"regionId"` + // The subnet info. + Subnet GetInstancesInstanceInstanceConfigurationSubnet `pulumi:"subnet"` + // The version of plugin. + Version string `pulumi:"version"` + // The vpc info. + Vpc GetInstancesInstanceInstanceConfigurationVpc `pulumi:"vpc"` + // The zoneId of instance. + ZoneId string `pulumi:"zoneId"` + // The zone number of instance. + ZoneNumber int `pulumi:"zoneNumber"` +} + +// GetInstancesInstanceInstanceConfigurationInput is an input type that accepts GetInstancesInstanceInstanceConfigurationArgs and GetInstancesInstanceInstanceConfigurationOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationInput` via: +// +// GetInstancesInstanceInstanceConfigurationArgs{...} +type GetInstancesInstanceInstanceConfigurationInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationOutput() GetInstancesInstanceInstanceConfigurationOutput + ToGetInstancesInstanceInstanceConfigurationOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationOutput +} + +type GetInstancesInstanceInstanceConfigurationArgs struct { + // The user name of instance. + AdminUserName pulumi.StringInput `pulumi:"adminUserName"` + // The charge type of instance. + ChargeType pulumi.StringInput `pulumi:"chargeType"` + // whether enable https. + EnableHttps pulumi.BoolInput `pulumi:"enableHttps"` + // Whether enable pure master. + EnablePureMaster pulumi.BoolInput `pulumi:"enablePureMaster"` + // The node number of host. + HotNodeNumber pulumi.IntInput `pulumi:"hotNodeNumber"` + // The node resource spec of host. + HotNodeResourceSpec GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecInput `pulumi:"hotNodeResourceSpec"` + // The node storage spec of host. + HotNodeStorageSpec GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecInput `pulumi:"hotNodeStorageSpec"` + // The name of instance. + InstanceName pulumi.StringInput `pulumi:"instanceName"` + // The node number of kibana. + KibanaNodeNumber pulumi.IntInput `pulumi:"kibanaNodeNumber"` + // The node resource spec of kibana. + KibanaNodeResourceSpec GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecInput `pulumi:"kibanaNodeResourceSpec"` + // The node storage spec of kibana. + KibanaNodeStorageSpec GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecInput `pulumi:"kibanaNodeStorageSpec"` + // The node number of master. + MasterNodeNumber pulumi.IntInput `pulumi:"masterNodeNumber"` + // The node resource spec of master. + MasterNodeResourceSpec GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecInput `pulumi:"masterNodeResourceSpec"` + // The node storage spec of master. + MasterNodeStorageSpec GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecInput `pulumi:"masterNodeStorageSpec"` + // The period of project. + Period pulumi.IntInput `pulumi:"period"` + // The name of project. + ProjectName pulumi.StringInput `pulumi:"projectName"` + // The region info of instance. + RegionId pulumi.StringInput `pulumi:"regionId"` + // The subnet info. + Subnet GetInstancesInstanceInstanceConfigurationSubnetInput `pulumi:"subnet"` + // The version of plugin. + Version pulumi.StringInput `pulumi:"version"` + // The vpc info. + Vpc GetInstancesInstanceInstanceConfigurationVpcInput `pulumi:"vpc"` + // The zoneId of instance. + ZoneId pulumi.StringInput `pulumi:"zoneId"` + // The zone number of instance. + ZoneNumber pulumi.IntInput `pulumi:"zoneNumber"` +} + +func (GetInstancesInstanceInstanceConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfiguration)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationArgs) ToGetInstancesInstanceInstanceConfigurationOutput() GetInstancesInstanceInstanceConfigurationOutput { + return i.ToGetInstancesInstanceInstanceConfigurationOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationArgs) ToGetInstancesInstanceInstanceConfigurationOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationOutput) +} + +type GetInstancesInstanceInstanceConfigurationOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfiguration)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationOutput) ToGetInstancesInstanceInstanceConfigurationOutput() GetInstancesInstanceInstanceConfigurationOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationOutput) ToGetInstancesInstanceInstanceConfigurationOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationOutput { + return o +} + +// The user name of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) AdminUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.AdminUserName }).(pulumi.StringOutput) +} + +// The charge type of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) ChargeType() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.ChargeType }).(pulumi.StringOutput) +} + +// whether enable https. +func (o GetInstancesInstanceInstanceConfigurationOutput) EnableHttps() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) bool { return v.EnableHttps }).(pulumi.BoolOutput) +} + +// Whether enable pure master. +func (o GetInstancesInstanceInstanceConfigurationOutput) EnablePureMaster() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) bool { return v.EnablePureMaster }).(pulumi.BoolOutput) +} + +// The node number of host. +func (o GetInstancesInstanceInstanceConfigurationOutput) HotNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) int { return v.HotNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of host. +func (o GetInstancesInstanceInstanceConfigurationOutput) HotNodeResourceSpec() GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec { + return v.HotNodeResourceSpec + }).(GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) +} + +// The node storage spec of host. +func (o GetInstancesInstanceInstanceConfigurationOutput) HotNodeStorageSpec() GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec { + return v.HotNodeStorageSpec + }).(GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) +} + +// The name of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) InstanceName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.InstanceName }).(pulumi.StringOutput) +} + +// The node number of kibana. +func (o GetInstancesInstanceInstanceConfigurationOutput) KibanaNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) int { return v.KibanaNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of kibana. +func (o GetInstancesInstanceInstanceConfigurationOutput) KibanaNodeResourceSpec() GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec { + return v.KibanaNodeResourceSpec + }).(GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) +} + +// The node storage spec of kibana. +func (o GetInstancesInstanceInstanceConfigurationOutput) KibanaNodeStorageSpec() GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec { + return v.KibanaNodeStorageSpec + }).(GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) +} + +// The node number of master. +func (o GetInstancesInstanceInstanceConfigurationOutput) MasterNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) int { return v.MasterNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of master. +func (o GetInstancesInstanceInstanceConfigurationOutput) MasterNodeResourceSpec() GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec { + return v.MasterNodeResourceSpec + }).(GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) +} + +// The node storage spec of master. +func (o GetInstancesInstanceInstanceConfigurationOutput) MasterNodeStorageSpec() GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec { + return v.MasterNodeStorageSpec + }).(GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) +} + +// The period of project. +func (o GetInstancesInstanceInstanceConfigurationOutput) Period() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) int { return v.Period }).(pulumi.IntOutput) +} + +// The name of project. +func (o GetInstancesInstanceInstanceConfigurationOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.ProjectName }).(pulumi.StringOutput) +} + +// The region info of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) RegionId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.RegionId }).(pulumi.StringOutput) +} + +// The subnet info. +func (o GetInstancesInstanceInstanceConfigurationOutput) Subnet() GetInstancesInstanceInstanceConfigurationSubnetOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationSubnet { + return v.Subnet + }).(GetInstancesInstanceInstanceConfigurationSubnetOutput) +} + +// The version of plugin. +func (o GetInstancesInstanceInstanceConfigurationOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.Version }).(pulumi.StringOutput) +} + +// The vpc info. +func (o GetInstancesInstanceInstanceConfigurationOutput) Vpc() GetInstancesInstanceInstanceConfigurationVpcOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) GetInstancesInstanceInstanceConfigurationVpc { + return v.Vpc + }).(GetInstancesInstanceInstanceConfigurationVpcOutput) +} + +// The zoneId of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) string { return v.ZoneId }).(pulumi.StringOutput) +} + +// The zone number of instance. +func (o GetInstancesInstanceInstanceConfigurationOutput) ZoneNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfiguration) int { return v.ZoneNumber }).(pulumi.IntOutput) +} + +type GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of storage spec. + Name string `pulumi:"name"` +} + +// GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs and GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput + ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec struct { + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` + // The type of storage spec. + Type string `pulumi:"type"` +} + +// GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs and GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput + ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` + // The type of storage spec. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput { + return o +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +// The type of storage spec. +func (o GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec) string { return v.Type }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of storage spec. + Name string `pulumi:"name"` +} + +// GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs and GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput + ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec struct { + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` + // The type of storage spec. + Type string `pulumi:"type"` +} + +// GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs and GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput + ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` + // The type of storage spec. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return o +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +// The type of storage spec. +func (o GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.Type }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of storage spec. + Name string `pulumi:"name"` +} + +// GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs and GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput + ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs) ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) ToGetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec struct { + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` + // The type of storage spec. + Type string `pulumi:"type"` +} + +// GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecInput is an input type that accepts GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs and GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecInput` via: +// +// GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs{...} +type GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput + ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` + // The type of storage spec. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return i.ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs) ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) +} + +type GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) ToGetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return o +} + +// The description of plugin. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +// The type of storage spec. +func (o GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.Type }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationSubnet struct { + // The id of subnet. + SubnetId string `pulumi:"subnetId"` + // The name of subnet. + SubnetName string `pulumi:"subnetName"` +} + +// GetInstancesInstanceInstanceConfigurationSubnetInput is an input type that accepts GetInstancesInstanceInstanceConfigurationSubnetArgs and GetInstancesInstanceInstanceConfigurationSubnetOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationSubnetInput` via: +// +// GetInstancesInstanceInstanceConfigurationSubnetArgs{...} +type GetInstancesInstanceInstanceConfigurationSubnetInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationSubnetOutput() GetInstancesInstanceInstanceConfigurationSubnetOutput + ToGetInstancesInstanceInstanceConfigurationSubnetOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationSubnetOutput +} + +type GetInstancesInstanceInstanceConfigurationSubnetArgs struct { + // The id of subnet. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The name of subnet. + SubnetName pulumi.StringInput `pulumi:"subnetName"` +} + +func (GetInstancesInstanceInstanceConfigurationSubnetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationSubnetArgs) ToGetInstancesInstanceInstanceConfigurationSubnetOutput() GetInstancesInstanceInstanceConfigurationSubnetOutput { + return i.ToGetInstancesInstanceInstanceConfigurationSubnetOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationSubnetArgs) ToGetInstancesInstanceInstanceConfigurationSubnetOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationSubnetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationSubnetOutput) +} + +type GetInstancesInstanceInstanceConfigurationSubnetOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationSubnetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationSubnetOutput) ToGetInstancesInstanceInstanceConfigurationSubnetOutput() GetInstancesInstanceInstanceConfigurationSubnetOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationSubnetOutput) ToGetInstancesInstanceInstanceConfigurationSubnetOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationSubnetOutput { + return o +} + +// The id of subnet. +func (o GetInstancesInstanceInstanceConfigurationSubnetOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationSubnet) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The name of subnet. +func (o GetInstancesInstanceInstanceConfigurationSubnetOutput) SubnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationSubnet) string { return v.SubnetName }).(pulumi.StringOutput) +} + +type GetInstancesInstanceInstanceConfigurationVpc struct { + // The id of vpc. + VpcId string `pulumi:"vpcId"` + // The name of vpc. + VpcName string `pulumi:"vpcName"` +} + +// GetInstancesInstanceInstanceConfigurationVpcInput is an input type that accepts GetInstancesInstanceInstanceConfigurationVpcArgs and GetInstancesInstanceInstanceConfigurationVpcOutput values. +// You can construct a concrete instance of `GetInstancesInstanceInstanceConfigurationVpcInput` via: +// +// GetInstancesInstanceInstanceConfigurationVpcArgs{...} +type GetInstancesInstanceInstanceConfigurationVpcInput interface { + pulumi.Input + + ToGetInstancesInstanceInstanceConfigurationVpcOutput() GetInstancesInstanceInstanceConfigurationVpcOutput + ToGetInstancesInstanceInstanceConfigurationVpcOutputWithContext(context.Context) GetInstancesInstanceInstanceConfigurationVpcOutput +} + +type GetInstancesInstanceInstanceConfigurationVpcArgs struct { + // The id of vpc. + VpcId pulumi.StringInput `pulumi:"vpcId"` + // The name of vpc. + VpcName pulumi.StringInput `pulumi:"vpcName"` +} + +func (GetInstancesInstanceInstanceConfigurationVpcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (i GetInstancesInstanceInstanceConfigurationVpcArgs) ToGetInstancesInstanceInstanceConfigurationVpcOutput() GetInstancesInstanceInstanceConfigurationVpcOutput { + return i.ToGetInstancesInstanceInstanceConfigurationVpcOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceInstanceConfigurationVpcArgs) ToGetInstancesInstanceInstanceConfigurationVpcOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationVpcOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceInstanceConfigurationVpcOutput) +} + +type GetInstancesInstanceInstanceConfigurationVpcOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceInstanceConfigurationVpcOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (o GetInstancesInstanceInstanceConfigurationVpcOutput) ToGetInstancesInstanceInstanceConfigurationVpcOutput() GetInstancesInstanceInstanceConfigurationVpcOutput { + return o +} + +func (o GetInstancesInstanceInstanceConfigurationVpcOutput) ToGetInstancesInstanceInstanceConfigurationVpcOutputWithContext(ctx context.Context) GetInstancesInstanceInstanceConfigurationVpcOutput { + return o +} + +// The id of vpc. +func (o GetInstancesInstanceInstanceConfigurationVpcOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationVpc) string { return v.VpcId }).(pulumi.StringOutput) +} + +// The name of vpc. +func (o GetInstancesInstanceInstanceConfigurationVpcOutput) VpcName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceInstanceConfigurationVpc) string { return v.VpcName }).(pulumi.StringOutput) +} + +type GetInstancesInstanceNode struct { + // Is cold node. + IsCold bool `pulumi:"isCold"` + // Is hot node. + IsHot bool `pulumi:"isHot"` + // Is kibana node. + IsKibana bool `pulumi:"isKibana"` + // Is master node. + IsMaster bool `pulumi:"isMaster"` + // Is warm node. + IsWarm bool `pulumi:"isWarm"` + // The show name of node. + NodeDisplayName string `pulumi:"nodeDisplayName"` + // The name of node. + NodeName string `pulumi:"nodeName"` + // The node resource spec of master. + ResourceSpec GetInstancesInstanceNodeResourceSpec `pulumi:"resourceSpec"` + // The restart times of node. + RestartNumber int `pulumi:"restartNumber"` + // The start time of node. + StartTime string `pulumi:"startTime"` + // The status of instance. + Status string `pulumi:"status"` + // The node storage spec of master. + StorageSpec GetInstancesInstanceNodeStorageSpec `pulumi:"storageSpec"` +} + +// GetInstancesInstanceNodeInput is an input type that accepts GetInstancesInstanceNodeArgs and GetInstancesInstanceNodeOutput values. +// You can construct a concrete instance of `GetInstancesInstanceNodeInput` via: +// +// GetInstancesInstanceNodeArgs{...} +type GetInstancesInstanceNodeInput interface { + pulumi.Input + + ToGetInstancesInstanceNodeOutput() GetInstancesInstanceNodeOutput + ToGetInstancesInstanceNodeOutputWithContext(context.Context) GetInstancesInstanceNodeOutput +} + +type GetInstancesInstanceNodeArgs struct { + // Is cold node. + IsCold pulumi.BoolInput `pulumi:"isCold"` + // Is hot node. + IsHot pulumi.BoolInput `pulumi:"isHot"` + // Is kibana node. + IsKibana pulumi.BoolInput `pulumi:"isKibana"` + // Is master node. + IsMaster pulumi.BoolInput `pulumi:"isMaster"` + // Is warm node. + IsWarm pulumi.BoolInput `pulumi:"isWarm"` + // The show name of node. + NodeDisplayName pulumi.StringInput `pulumi:"nodeDisplayName"` + // The name of node. + NodeName pulumi.StringInput `pulumi:"nodeName"` + // The node resource spec of master. + ResourceSpec GetInstancesInstanceNodeResourceSpecInput `pulumi:"resourceSpec"` + // The restart times of node. + RestartNumber pulumi.IntInput `pulumi:"restartNumber"` + // The start time of node. + StartTime pulumi.StringInput `pulumi:"startTime"` + // The status of instance. + Status pulumi.StringInput `pulumi:"status"` + // The node storage spec of master. + StorageSpec GetInstancesInstanceNodeStorageSpecInput `pulumi:"storageSpec"` +} + +func (GetInstancesInstanceNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNode)(nil)).Elem() +} + +func (i GetInstancesInstanceNodeArgs) ToGetInstancesInstanceNodeOutput() GetInstancesInstanceNodeOutput { + return i.ToGetInstancesInstanceNodeOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceNodeArgs) ToGetInstancesInstanceNodeOutputWithContext(ctx context.Context) GetInstancesInstanceNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceNodeOutput) +} + +// GetInstancesInstanceNodeArrayInput is an input type that accepts GetInstancesInstanceNodeArray and GetInstancesInstanceNodeArrayOutput values. +// You can construct a concrete instance of `GetInstancesInstanceNodeArrayInput` via: +// +// GetInstancesInstanceNodeArray{ GetInstancesInstanceNodeArgs{...} } +type GetInstancesInstanceNodeArrayInput interface { + pulumi.Input + + ToGetInstancesInstanceNodeArrayOutput() GetInstancesInstanceNodeArrayOutput + ToGetInstancesInstanceNodeArrayOutputWithContext(context.Context) GetInstancesInstanceNodeArrayOutput +} + +type GetInstancesInstanceNodeArray []GetInstancesInstanceNodeInput + +func (GetInstancesInstanceNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstanceNode)(nil)).Elem() +} + +func (i GetInstancesInstanceNodeArray) ToGetInstancesInstanceNodeArrayOutput() GetInstancesInstanceNodeArrayOutput { + return i.ToGetInstancesInstanceNodeArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceNodeArray) ToGetInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetInstancesInstanceNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceNodeArrayOutput) +} + +type GetInstancesInstanceNodeOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNode)(nil)).Elem() +} + +func (o GetInstancesInstanceNodeOutput) ToGetInstancesInstanceNodeOutput() GetInstancesInstanceNodeOutput { + return o +} + +func (o GetInstancesInstanceNodeOutput) ToGetInstancesInstanceNodeOutputWithContext(ctx context.Context) GetInstancesInstanceNodeOutput { + return o +} + +// Is cold node. +func (o GetInstancesInstanceNodeOutput) IsCold() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) bool { return v.IsCold }).(pulumi.BoolOutput) +} + +// Is hot node. +func (o GetInstancesInstanceNodeOutput) IsHot() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) bool { return v.IsHot }).(pulumi.BoolOutput) +} + +// Is kibana node. +func (o GetInstancesInstanceNodeOutput) IsKibana() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) bool { return v.IsKibana }).(pulumi.BoolOutput) +} + +// Is master node. +func (o GetInstancesInstanceNodeOutput) IsMaster() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) bool { return v.IsMaster }).(pulumi.BoolOutput) +} + +// Is warm node. +func (o GetInstancesInstanceNodeOutput) IsWarm() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) bool { return v.IsWarm }).(pulumi.BoolOutput) +} + +// The show name of node. +func (o GetInstancesInstanceNodeOutput) NodeDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) string { return v.NodeDisplayName }).(pulumi.StringOutput) +} + +// The name of node. +func (o GetInstancesInstanceNodeOutput) NodeName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) string { return v.NodeName }).(pulumi.StringOutput) +} + +// The node resource spec of master. +func (o GetInstancesInstanceNodeOutput) ResourceSpec() GetInstancesInstanceNodeResourceSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) GetInstancesInstanceNodeResourceSpec { return v.ResourceSpec }).(GetInstancesInstanceNodeResourceSpecOutput) +} + +// The restart times of node. +func (o GetInstancesInstanceNodeOutput) RestartNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) int { return v.RestartNumber }).(pulumi.IntOutput) +} + +// The start time of node. +func (o GetInstancesInstanceNodeOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) string { return v.StartTime }).(pulumi.StringOutput) +} + +// The status of instance. +func (o GetInstancesInstanceNodeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) string { return v.Status }).(pulumi.StringOutput) +} + +// The node storage spec of master. +func (o GetInstancesInstanceNodeOutput) StorageSpec() GetInstancesInstanceNodeStorageSpecOutput { + return o.ApplyT(func(v GetInstancesInstanceNode) GetInstancesInstanceNodeStorageSpec { return v.StorageSpec }).(GetInstancesInstanceNodeStorageSpecOutput) +} + +type GetInstancesInstanceNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstanceNode)(nil)).Elem() +} + +func (o GetInstancesInstanceNodeArrayOutput) ToGetInstancesInstanceNodeArrayOutput() GetInstancesInstanceNodeArrayOutput { + return o +} + +func (o GetInstancesInstanceNodeArrayOutput) ToGetInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetInstancesInstanceNodeArrayOutput { + return o +} + +func (o GetInstancesInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesInstanceNode { + return vs[0].([]GetInstancesInstanceNode)[vs[1].(int)] + }).(GetInstancesInstanceNodeOutput) +} + +type GetInstancesInstanceNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of storage spec. + Name string `pulumi:"name"` +} + +// GetInstancesInstanceNodeResourceSpecInput is an input type that accepts GetInstancesInstanceNodeResourceSpecArgs and GetInstancesInstanceNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceNodeResourceSpecInput` via: +// +// GetInstancesInstanceNodeResourceSpecArgs{...} +type GetInstancesInstanceNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceNodeResourceSpecOutput() GetInstancesInstanceNodeResourceSpecOutput + ToGetInstancesInstanceNodeResourceSpecOutputWithContext(context.Context) GetInstancesInstanceNodeResourceSpecOutput +} + +type GetInstancesInstanceNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesInstanceNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceNodeResourceSpecArgs) ToGetInstancesInstanceNodeResourceSpecOutput() GetInstancesInstanceNodeResourceSpecOutput { + return i.ToGetInstancesInstanceNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceNodeResourceSpecArgs) ToGetInstancesInstanceNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceNodeResourceSpecOutput) +} + +type GetInstancesInstanceNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceNodeResourceSpecOutput) ToGetInstancesInstanceNodeResourceSpecOutput() GetInstancesInstanceNodeResourceSpecOutput { + return o +} + +func (o GetInstancesInstanceNodeResourceSpecOutput) ToGetInstancesInstanceNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesInstanceNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesInstanceNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of plugin. +func (o GetInstancesInstanceNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesInstanceNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesInstanceNodeStorageSpec struct { + // The description of plugin. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` + // The type of storage spec. + Type string `pulumi:"type"` +} + +// GetInstancesInstanceNodeStorageSpecInput is an input type that accepts GetInstancesInstanceNodeStorageSpecArgs and GetInstancesInstanceNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesInstanceNodeStorageSpecInput` via: +// +// GetInstancesInstanceNodeStorageSpecArgs{...} +type GetInstancesInstanceNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesInstanceNodeStorageSpecOutput() GetInstancesInstanceNodeStorageSpecOutput + ToGetInstancesInstanceNodeStorageSpecOutputWithContext(context.Context) GetInstancesInstanceNodeStorageSpecOutput +} + +type GetInstancesInstanceNodeStorageSpecArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` + // The type of storage spec. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetInstancesInstanceNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesInstanceNodeStorageSpecArgs) ToGetInstancesInstanceNodeStorageSpecOutput() GetInstancesInstanceNodeStorageSpecOutput { + return i.ToGetInstancesInstanceNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesInstanceNodeStorageSpecArgs) ToGetInstancesInstanceNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceNodeStorageSpecOutput) +} + +type GetInstancesInstanceNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstanceNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstanceNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesInstanceNodeStorageSpecOutput) ToGetInstancesInstanceNodeStorageSpecOutput() GetInstancesInstanceNodeStorageSpecOutput { + return o +} + +func (o GetInstancesInstanceNodeStorageSpecOutput) ToGetInstancesInstanceNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesInstanceNodeStorageSpecOutput { + return o +} + +// The description of plugin. +func (o GetInstancesInstanceNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +// The type of storage spec. +func (o GetInstancesInstanceNodeStorageSpecOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstanceNodeStorageSpec) string { return v.Type }).(pulumi.StringOutput) +} + +type GetInstancesInstancePlugin struct { + // The description of plugin. + Description string `pulumi:"description"` + // The name of plugin. + PluginName string `pulumi:"pluginName"` + // The version of plugin. + Version string `pulumi:"version"` +} + +// GetInstancesInstancePluginInput is an input type that accepts GetInstancesInstancePluginArgs and GetInstancesInstancePluginOutput values. +// You can construct a concrete instance of `GetInstancesInstancePluginInput` via: +// +// GetInstancesInstancePluginArgs{...} +type GetInstancesInstancePluginInput interface { + pulumi.Input + + ToGetInstancesInstancePluginOutput() GetInstancesInstancePluginOutput + ToGetInstancesInstancePluginOutputWithContext(context.Context) GetInstancesInstancePluginOutput +} + +type GetInstancesInstancePluginArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The name of plugin. + PluginName pulumi.StringInput `pulumi:"pluginName"` + // The version of plugin. + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetInstancesInstancePluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstancePlugin)(nil)).Elem() +} + +func (i GetInstancesInstancePluginArgs) ToGetInstancesInstancePluginOutput() GetInstancesInstancePluginOutput { + return i.ToGetInstancesInstancePluginOutputWithContext(context.Background()) +} + +func (i GetInstancesInstancePluginArgs) ToGetInstancesInstancePluginOutputWithContext(ctx context.Context) GetInstancesInstancePluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstancePluginOutput) +} + +// GetInstancesInstancePluginArrayInput is an input type that accepts GetInstancesInstancePluginArray and GetInstancesInstancePluginArrayOutput values. +// You can construct a concrete instance of `GetInstancesInstancePluginArrayInput` via: +// +// GetInstancesInstancePluginArray{ GetInstancesInstancePluginArgs{...} } +type GetInstancesInstancePluginArrayInput interface { + pulumi.Input + + ToGetInstancesInstancePluginArrayOutput() GetInstancesInstancePluginArrayOutput + ToGetInstancesInstancePluginArrayOutputWithContext(context.Context) GetInstancesInstancePluginArrayOutput +} + +type GetInstancesInstancePluginArray []GetInstancesInstancePluginInput + +func (GetInstancesInstancePluginArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstancePlugin)(nil)).Elem() +} + +func (i GetInstancesInstancePluginArray) ToGetInstancesInstancePluginArrayOutput() GetInstancesInstancePluginArrayOutput { + return i.ToGetInstancesInstancePluginArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesInstancePluginArray) ToGetInstancesInstancePluginArrayOutputWithContext(ctx context.Context) GetInstancesInstancePluginArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstancePluginArrayOutput) +} + +type GetInstancesInstancePluginOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstancePluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesInstancePlugin)(nil)).Elem() +} + +func (o GetInstancesInstancePluginOutput) ToGetInstancesInstancePluginOutput() GetInstancesInstancePluginOutput { + return o +} + +func (o GetInstancesInstancePluginOutput) ToGetInstancesInstancePluginOutputWithContext(ctx context.Context) GetInstancesInstancePluginOutput { + return o +} + +// The description of plugin. +func (o GetInstancesInstancePluginOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstancePlugin) string { return v.Description }).(pulumi.StringOutput) +} + +// The name of plugin. +func (o GetInstancesInstancePluginOutput) PluginName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstancePlugin) string { return v.PluginName }).(pulumi.StringOutput) +} + +// The version of plugin. +func (o GetInstancesInstancePluginOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesInstancePlugin) string { return v.Version }).(pulumi.StringOutput) +} + +type GetInstancesInstancePluginArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesInstancePluginArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesInstancePlugin)(nil)).Elem() +} + +func (o GetInstancesInstancePluginArrayOutput) ToGetInstancesInstancePluginArrayOutput() GetInstancesInstancePluginArrayOutput { + return o +} + +func (o GetInstancesInstancePluginArrayOutput) ToGetInstancesInstancePluginArrayOutputWithContext(ctx context.Context) GetInstancesInstancePluginArrayOutput { + return o +} + +func (o GetInstancesInstancePluginArrayOutput) Index(i pulumi.IntInput) GetInstancesInstancePluginOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesInstancePlugin { + return vs[0].([]GetInstancesInstancePlugin)[vs[1].(int)] + }).(GetInstancesInstancePluginOutput) +} + +type GetInstancesV2Instance struct { + // Whether to enable cerebro. + CerebroEnabled bool `pulumi:"cerebroEnabled"` + // The cerebro private domain of instance. + CerebroPrivateDomain string `pulumi:"cerebroPrivateDomain"` + // The cerebro public domain of instance. + CerebroPublicDomain string `pulumi:"cerebroPublicDomain"` + // The charge status of instance. + ChargeEnabled bool `pulumi:"chargeEnabled"` + // The cluster id of instance. + ClusterId string `pulumi:"clusterId"` + // The create time of instance. + CreateTime string `pulumi:"createTime"` + // Whether enable deletion protection for ESCloud instance. + DeletionProtection bool `pulumi:"deletionProtection"` + // whether enable es private domain public. + EnableEsPrivateDomainPublic bool `pulumi:"enableEsPrivateDomainPublic"` + // whether enable es private network. + EnableEsPrivateNetwork bool `pulumi:"enableEsPrivateNetwork"` + // whether enable es public network. + EnableEsPublicNetwork bool `pulumi:"enableEsPublicNetwork"` + // whether enable kibana private domain public. + EnableKibanaPrivateDomainPublic bool `pulumi:"enableKibanaPrivateDomainPublic"` + // whether enable kibana private network. + EnableKibanaPrivateNetwork bool `pulumi:"enableKibanaPrivateNetwork"` + // whether enable kibana public network. + EnableKibanaPublicNetwork bool `pulumi:"enableKibanaPublicNetwork"` + // The eip address of instance. + EsEip string `pulumi:"esEip"` + // The eip id associated with the instance. + EsEipId string `pulumi:"esEipId"` + // The es inner endpoint of instance. + EsInnerEndpoint string `pulumi:"esInnerEndpoint"` + // The es private domain of instance. + EsPrivateDomain string `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint string `pulumi:"esPrivateEndpoint"` + // The whitelist of es private ip. + EsPrivateIpWhitelist string `pulumi:"esPrivateIpWhitelist"` + // The es public domain of instance. + EsPublicDomain string `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint string `pulumi:"esPublicEndpoint"` + // The whitelist of es public ip. + EsPublicIpWhitelist string `pulumi:"esPublicIpWhitelist"` + // The expire time of instance. + ExpireDate string `pulumi:"expireDate"` + // The id of instance. + Id string `pulumi:"id"` + // The configuration of instance. + InstanceConfigurations []GetInstancesV2InstanceInstanceConfiguration `pulumi:"instanceConfigurations"` + // The id of instance. + InstanceId string `pulumi:"instanceId"` + // The eip address of kibana. + KibanaEip string `pulumi:"kibanaEip"` + // The eip id associated with kibana. + KibanaEipId string `pulumi:"kibanaEipId"` + // The kibana private domain of instance. + KibanaPrivateDomain string `pulumi:"kibanaPrivateDomain"` + // The whitelist of kibana private ip. + KibanaPrivateIpWhitelist string `pulumi:"kibanaPrivateIpWhitelist"` + // The kibana public domain of instance. + KibanaPublicDomain string `pulumi:"kibanaPublicDomain"` + // The whitelist of kibana public ip. + KibanaPublicIpWhitelist string `pulumi:"kibanaPublicIpWhitelist"` + // The main zone id of instance. + MainZoneId string `pulumi:"mainZoneId"` + // The maintenance day of instance. + MaintenanceDays []string `pulumi:"maintenanceDays"` + // The maintenance time of instance. + MaintenanceTime string `pulumi:"maintenanceTime"` + // The nodes info of instance. + Nodes []GetInstancesV2InstanceNode `pulumi:"nodes"` + // The plugin info of instance. + Plugins []GetInstancesV2InstancePlugin `pulumi:"plugins"` + // The status of instance. + Status string `pulumi:"status"` + // Whether support code node. + SupportCodeNode bool `pulumi:"supportCodeNode"` + // Tags. + Tags []GetInstancesV2InstanceTag `pulumi:"tags"` + // The total nodes of instance. + TotalNodes int `pulumi:"totalNodes"` + // The user id of instance. + UserId string `pulumi:"userId"` +} + +// GetInstancesV2InstanceInput is an input type that accepts GetInstancesV2InstanceArgs and GetInstancesV2InstanceOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInput` via: +// +// GetInstancesV2InstanceArgs{...} +type GetInstancesV2InstanceInput interface { + pulumi.Input + + ToGetInstancesV2InstanceOutput() GetInstancesV2InstanceOutput + ToGetInstancesV2InstanceOutputWithContext(context.Context) GetInstancesV2InstanceOutput +} + +type GetInstancesV2InstanceArgs struct { + // Whether to enable cerebro. + CerebroEnabled pulumi.BoolInput `pulumi:"cerebroEnabled"` + // The cerebro private domain of instance. + CerebroPrivateDomain pulumi.StringInput `pulumi:"cerebroPrivateDomain"` + // The cerebro public domain of instance. + CerebroPublicDomain pulumi.StringInput `pulumi:"cerebroPublicDomain"` + // The charge status of instance. + ChargeEnabled pulumi.BoolInput `pulumi:"chargeEnabled"` + // The cluster id of instance. + ClusterId pulumi.StringInput `pulumi:"clusterId"` + // The create time of instance. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // Whether enable deletion protection for ESCloud instance. + DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` + // whether enable es private domain public. + EnableEsPrivateDomainPublic pulumi.BoolInput `pulumi:"enableEsPrivateDomainPublic"` + // whether enable es private network. + EnableEsPrivateNetwork pulumi.BoolInput `pulumi:"enableEsPrivateNetwork"` + // whether enable es public network. + EnableEsPublicNetwork pulumi.BoolInput `pulumi:"enableEsPublicNetwork"` + // whether enable kibana private domain public. + EnableKibanaPrivateDomainPublic pulumi.BoolInput `pulumi:"enableKibanaPrivateDomainPublic"` + // whether enable kibana private network. + EnableKibanaPrivateNetwork pulumi.BoolInput `pulumi:"enableKibanaPrivateNetwork"` + // whether enable kibana public network. + EnableKibanaPublicNetwork pulumi.BoolInput `pulumi:"enableKibanaPublicNetwork"` + // The eip address of instance. + EsEip pulumi.StringInput `pulumi:"esEip"` + // The eip id associated with the instance. + EsEipId pulumi.StringInput `pulumi:"esEipId"` + // The es inner endpoint of instance. + EsInnerEndpoint pulumi.StringInput `pulumi:"esInnerEndpoint"` + // The es private domain of instance. + EsPrivateDomain pulumi.StringInput `pulumi:"esPrivateDomain"` + // The es private endpoint of instance. + EsPrivateEndpoint pulumi.StringInput `pulumi:"esPrivateEndpoint"` + // The whitelist of es private ip. + EsPrivateIpWhitelist pulumi.StringInput `pulumi:"esPrivateIpWhitelist"` + // The es public domain of instance. + EsPublicDomain pulumi.StringInput `pulumi:"esPublicDomain"` + // The es public endpoint of instance. + EsPublicEndpoint pulumi.StringInput `pulumi:"esPublicEndpoint"` + // The whitelist of es public ip. + EsPublicIpWhitelist pulumi.StringInput `pulumi:"esPublicIpWhitelist"` + // The expire time of instance. + ExpireDate pulumi.StringInput `pulumi:"expireDate"` + // The id of instance. + Id pulumi.StringInput `pulumi:"id"` + // The configuration of instance. + InstanceConfigurations GetInstancesV2InstanceInstanceConfigurationArrayInput `pulumi:"instanceConfigurations"` + // The id of instance. + InstanceId pulumi.StringInput `pulumi:"instanceId"` + // The eip address of kibana. + KibanaEip pulumi.StringInput `pulumi:"kibanaEip"` + // The eip id associated with kibana. + KibanaEipId pulumi.StringInput `pulumi:"kibanaEipId"` + // The kibana private domain of instance. + KibanaPrivateDomain pulumi.StringInput `pulumi:"kibanaPrivateDomain"` + // The whitelist of kibana private ip. + KibanaPrivateIpWhitelist pulumi.StringInput `pulumi:"kibanaPrivateIpWhitelist"` + // The kibana public domain of instance. + KibanaPublicDomain pulumi.StringInput `pulumi:"kibanaPublicDomain"` + // The whitelist of kibana public ip. + KibanaPublicIpWhitelist pulumi.StringInput `pulumi:"kibanaPublicIpWhitelist"` + // The main zone id of instance. + MainZoneId pulumi.StringInput `pulumi:"mainZoneId"` + // The maintenance day of instance. + MaintenanceDays pulumi.StringArrayInput `pulumi:"maintenanceDays"` + // The maintenance time of instance. + MaintenanceTime pulumi.StringInput `pulumi:"maintenanceTime"` + // The nodes info of instance. + Nodes GetInstancesV2InstanceNodeArrayInput `pulumi:"nodes"` + // The plugin info of instance. + Plugins GetInstancesV2InstancePluginArrayInput `pulumi:"plugins"` + // The status of instance. + Status pulumi.StringInput `pulumi:"status"` + // Whether support code node. + SupportCodeNode pulumi.BoolInput `pulumi:"supportCodeNode"` + // Tags. + Tags GetInstancesV2InstanceTagArrayInput `pulumi:"tags"` + // The total nodes of instance. + TotalNodes pulumi.IntInput `pulumi:"totalNodes"` + // The user id of instance. + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (GetInstancesV2InstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Instance)(nil)).Elem() +} + +func (i GetInstancesV2InstanceArgs) ToGetInstancesV2InstanceOutput() GetInstancesV2InstanceOutput { + return i.ToGetInstancesV2InstanceOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceArgs) ToGetInstancesV2InstanceOutputWithContext(ctx context.Context) GetInstancesV2InstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceOutput) +} + +// GetInstancesV2InstanceArrayInput is an input type that accepts GetInstancesV2InstanceArray and GetInstancesV2InstanceArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceArrayInput` via: +// +// GetInstancesV2InstanceArray{ GetInstancesV2InstanceArgs{...} } +type GetInstancesV2InstanceArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceArrayOutput() GetInstancesV2InstanceArrayOutput + ToGetInstancesV2InstanceArrayOutputWithContext(context.Context) GetInstancesV2InstanceArrayOutput +} + +type GetInstancesV2InstanceArray []GetInstancesV2InstanceInput + +func (GetInstancesV2InstanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2Instance)(nil)).Elem() +} + +func (i GetInstancesV2InstanceArray) ToGetInstancesV2InstanceArrayOutput() GetInstancesV2InstanceArrayOutput { + return i.ToGetInstancesV2InstanceArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceArray) ToGetInstancesV2InstanceArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceArrayOutput) +} + +type GetInstancesV2InstanceOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Instance)(nil)).Elem() +} + +func (o GetInstancesV2InstanceOutput) ToGetInstancesV2InstanceOutput() GetInstancesV2InstanceOutput { + return o +} + +func (o GetInstancesV2InstanceOutput) ToGetInstancesV2InstanceOutputWithContext(ctx context.Context) GetInstancesV2InstanceOutput { + return o +} + +// Whether to enable cerebro. +func (o GetInstancesV2InstanceOutput) CerebroEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.CerebroEnabled }).(pulumi.BoolOutput) +} + +// The cerebro private domain of instance. +func (o GetInstancesV2InstanceOutput) CerebroPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.CerebroPrivateDomain }).(pulumi.StringOutput) +} + +// The cerebro public domain of instance. +func (o GetInstancesV2InstanceOutput) CerebroPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.CerebroPublicDomain }).(pulumi.StringOutput) +} + +// The charge status of instance. +func (o GetInstancesV2InstanceOutput) ChargeEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.ChargeEnabled }).(pulumi.BoolOutput) +} + +// The cluster id of instance. +func (o GetInstancesV2InstanceOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.ClusterId }).(pulumi.StringOutput) +} + +// The create time of instance. +func (o GetInstancesV2InstanceOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.CreateTime }).(pulumi.StringOutput) +} + +// Whether enable deletion protection for ESCloud instance. +func (o GetInstancesV2InstanceOutput) DeletionProtection() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.DeletionProtection }).(pulumi.BoolOutput) +} + +// whether enable es private domain public. +func (o GetInstancesV2InstanceOutput) EnableEsPrivateDomainPublic() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableEsPrivateDomainPublic }).(pulumi.BoolOutput) +} + +// whether enable es private network. +func (o GetInstancesV2InstanceOutput) EnableEsPrivateNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableEsPrivateNetwork }).(pulumi.BoolOutput) +} + +// whether enable es public network. +func (o GetInstancesV2InstanceOutput) EnableEsPublicNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableEsPublicNetwork }).(pulumi.BoolOutput) +} + +// whether enable kibana private domain public. +func (o GetInstancesV2InstanceOutput) EnableKibanaPrivateDomainPublic() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableKibanaPrivateDomainPublic }).(pulumi.BoolOutput) +} + +// whether enable kibana private network. +func (o GetInstancesV2InstanceOutput) EnableKibanaPrivateNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableKibanaPrivateNetwork }).(pulumi.BoolOutput) +} + +// whether enable kibana public network. +func (o GetInstancesV2InstanceOutput) EnableKibanaPublicNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.EnableKibanaPublicNetwork }).(pulumi.BoolOutput) +} + +// The eip address of instance. +func (o GetInstancesV2InstanceOutput) EsEip() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsEip }).(pulumi.StringOutput) +} + +// The eip id associated with the instance. +func (o GetInstancesV2InstanceOutput) EsEipId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsEipId }).(pulumi.StringOutput) +} + +// The es inner endpoint of instance. +func (o GetInstancesV2InstanceOutput) EsInnerEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsInnerEndpoint }).(pulumi.StringOutput) +} + +// The es private domain of instance. +func (o GetInstancesV2InstanceOutput) EsPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPrivateDomain }).(pulumi.StringOutput) +} + +// The es private endpoint of instance. +func (o GetInstancesV2InstanceOutput) EsPrivateEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPrivateEndpoint }).(pulumi.StringOutput) +} + +// The whitelist of es private ip. +func (o GetInstancesV2InstanceOutput) EsPrivateIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPrivateIpWhitelist }).(pulumi.StringOutput) +} + +// The es public domain of instance. +func (o GetInstancesV2InstanceOutput) EsPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPublicDomain }).(pulumi.StringOutput) +} + +// The es public endpoint of instance. +func (o GetInstancesV2InstanceOutput) EsPublicEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPublicEndpoint }).(pulumi.StringOutput) +} + +// The whitelist of es public ip. +func (o GetInstancesV2InstanceOutput) EsPublicIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.EsPublicIpWhitelist }).(pulumi.StringOutput) +} + +// The expire time of instance. +func (o GetInstancesV2InstanceOutput) ExpireDate() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.ExpireDate }).(pulumi.StringOutput) +} + +// The id of instance. +func (o GetInstancesV2InstanceOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.Id }).(pulumi.StringOutput) +} + +// The configuration of instance. +func (o GetInstancesV2InstanceOutput) InstanceConfigurations() GetInstancesV2InstanceInstanceConfigurationArrayOutput { + return o.ApplyT(func(v GetInstancesV2Instance) []GetInstancesV2InstanceInstanceConfiguration { + return v.InstanceConfigurations + }).(GetInstancesV2InstanceInstanceConfigurationArrayOutput) +} + +// The id of instance. +func (o GetInstancesV2InstanceOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.InstanceId }).(pulumi.StringOutput) +} + +// The eip address of kibana. +func (o GetInstancesV2InstanceOutput) KibanaEip() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaEip }).(pulumi.StringOutput) +} + +// The eip id associated with kibana. +func (o GetInstancesV2InstanceOutput) KibanaEipId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaEipId }).(pulumi.StringOutput) +} + +// The kibana private domain of instance. +func (o GetInstancesV2InstanceOutput) KibanaPrivateDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaPrivateDomain }).(pulumi.StringOutput) +} + +// The whitelist of kibana private ip. +func (o GetInstancesV2InstanceOutput) KibanaPrivateIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaPrivateIpWhitelist }).(pulumi.StringOutput) +} + +// The kibana public domain of instance. +func (o GetInstancesV2InstanceOutput) KibanaPublicDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaPublicDomain }).(pulumi.StringOutput) +} + +// The whitelist of kibana public ip. +func (o GetInstancesV2InstanceOutput) KibanaPublicIpWhitelist() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.KibanaPublicIpWhitelist }).(pulumi.StringOutput) +} + +// The main zone id of instance. +func (o GetInstancesV2InstanceOutput) MainZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.MainZoneId }).(pulumi.StringOutput) +} + +// The maintenance day of instance. +func (o GetInstancesV2InstanceOutput) MaintenanceDays() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Instance) []string { return v.MaintenanceDays }).(pulumi.StringArrayOutput) +} + +// The maintenance time of instance. +func (o GetInstancesV2InstanceOutput) MaintenanceTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.MaintenanceTime }).(pulumi.StringOutput) +} + +// The nodes info of instance. +func (o GetInstancesV2InstanceOutput) Nodes() GetInstancesV2InstanceNodeArrayOutput { + return o.ApplyT(func(v GetInstancesV2Instance) []GetInstancesV2InstanceNode { return v.Nodes }).(GetInstancesV2InstanceNodeArrayOutput) +} + +// The plugin info of instance. +func (o GetInstancesV2InstanceOutput) Plugins() GetInstancesV2InstancePluginArrayOutput { + return o.ApplyT(func(v GetInstancesV2Instance) []GetInstancesV2InstancePlugin { return v.Plugins }).(GetInstancesV2InstancePluginArrayOutput) +} + +// The status of instance. +func (o GetInstancesV2InstanceOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.Status }).(pulumi.StringOutput) +} + +// Whether support code node. +func (o GetInstancesV2InstanceOutput) SupportCodeNode() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2Instance) bool { return v.SupportCodeNode }).(pulumi.BoolOutput) +} + +// Tags. +func (o GetInstancesV2InstanceOutput) Tags() GetInstancesV2InstanceTagArrayOutput { + return o.ApplyT(func(v GetInstancesV2Instance) []GetInstancesV2InstanceTag { return v.Tags }).(GetInstancesV2InstanceTagArrayOutput) +} + +// The total nodes of instance. +func (o GetInstancesV2InstanceOutput) TotalNodes() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2Instance) int { return v.TotalNodes }).(pulumi.IntOutput) +} + +// The user id of instance. +func (o GetInstancesV2InstanceOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Instance) string { return v.UserId }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2Instance)(nil)).Elem() +} + +func (o GetInstancesV2InstanceArrayOutput) ToGetInstancesV2InstanceArrayOutput() GetInstancesV2InstanceArrayOutput { + return o +} + +func (o GetInstancesV2InstanceArrayOutput) ToGetInstancesV2InstanceArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceArrayOutput { + return o +} + +func (o GetInstancesV2InstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2Instance { + return vs[0].([]GetInstancesV2Instance)[vs[1].(int)] + }).(GetInstancesV2InstanceOutput) +} + +type GetInstancesV2InstanceInstanceConfiguration struct { + // The user name of instance. + AdminUserName string `pulumi:"adminUserName"` + // The charge type of instance. + ChargeType string `pulumi:"chargeType"` + // The node number of cold. + ColdNodeNumber int `pulumi:"coldNodeNumber"` + // The node resource spec of cold. + ColdNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec `pulumi:"coldNodeResourceSpecs"` + // The node storage spec of cold. + ColdNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec `pulumi:"coldNodeStorageSpecs"` + // The node number of coordinator. + CoordinatorNodeNumber int `pulumi:"coordinatorNodeNumber"` + // The node resource spec of coordinator. + CoordinatorNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec `pulumi:"coordinatorNodeResourceSpecs"` + // The node storage spec of coordinator. + CoordinatorNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec `pulumi:"coordinatorNodeStorageSpecs"` + // whether enable https. + EnableHttps bool `pulumi:"enableHttps"` + // Whether enable pure master. + EnablePureMaster bool `pulumi:"enablePureMaster"` + // The node number of hot. + HotNodeNumber int `pulumi:"hotNodeNumber"` + // The node resource spec of hot. + HotNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec `pulumi:"hotNodeResourceSpecs"` + // The node storage spec of hot. + HotNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec `pulumi:"hotNodeStorageSpecs"` + // The name of instance. + InstanceName string `pulumi:"instanceName"` + // The node number of kibana. + KibanaNodeNumber int `pulumi:"kibanaNodeNumber"` + // The node resource spec of kibana. + KibanaNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec `pulumi:"kibanaNodeResourceSpecs"` + // The node storage spec of kibana. + KibanaNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec `pulumi:"kibanaNodeStorageSpecs"` + // The node number of master. + MasterNodeNumber int `pulumi:"masterNodeNumber"` + // The node resource spec of master. + MasterNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec `pulumi:"masterNodeResourceSpecs"` + // The node storage spec of master. + MasterNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec `pulumi:"masterNodeStorageSpecs"` + // The period of project. + Period int `pulumi:"period"` + // The name of project. + ProjectName string `pulumi:"projectName"` + // The region info of instance. + RegionId string `pulumi:"regionId"` + // The subnet info. + Subnets []GetInstancesV2InstanceInstanceConfigurationSubnet `pulumi:"subnets"` + // The version of instance. + Version string `pulumi:"version"` + // The vpc info. + Vpcs []GetInstancesV2InstanceInstanceConfigurationVpc `pulumi:"vpcs"` + // The node number of warm. + WarmNodeNumber int `pulumi:"warmNodeNumber"` + // The node resource spec of warm. + WarmNodeResourceSpecs []GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec `pulumi:"warmNodeResourceSpecs"` + // The node storage spec of warm. + WarmNodeStorageSpecs []GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec `pulumi:"warmNodeStorageSpecs"` + // The zoneId of instance. + ZoneId string `pulumi:"zoneId"` + // The zone number of instance. + ZoneNumber int `pulumi:"zoneNumber"` +} + +// GetInstancesV2InstanceInstanceConfigurationInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationArgs and GetInstancesV2InstanceInstanceConfigurationOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationArgs{...} +type GetInstancesV2InstanceInstanceConfigurationInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationOutput() GetInstancesV2InstanceInstanceConfigurationOutput + ToGetInstancesV2InstanceInstanceConfigurationOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationOutput +} + +type GetInstancesV2InstanceInstanceConfigurationArgs struct { + // The user name of instance. + AdminUserName pulumi.StringInput `pulumi:"adminUserName"` + // The charge type of instance. + ChargeType pulumi.StringInput `pulumi:"chargeType"` + // The node number of cold. + ColdNodeNumber pulumi.IntInput `pulumi:"coldNodeNumber"` + // The node resource spec of cold. + ColdNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayInput `pulumi:"coldNodeResourceSpecs"` + // The node storage spec of cold. + ColdNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayInput `pulumi:"coldNodeStorageSpecs"` + // The node number of coordinator. + CoordinatorNodeNumber pulumi.IntInput `pulumi:"coordinatorNodeNumber"` + // The node resource spec of coordinator. + CoordinatorNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayInput `pulumi:"coordinatorNodeResourceSpecs"` + // The node storage spec of coordinator. + CoordinatorNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayInput `pulumi:"coordinatorNodeStorageSpecs"` + // whether enable https. + EnableHttps pulumi.BoolInput `pulumi:"enableHttps"` + // Whether enable pure master. + EnablePureMaster pulumi.BoolInput `pulumi:"enablePureMaster"` + // The node number of hot. + HotNodeNumber pulumi.IntInput `pulumi:"hotNodeNumber"` + // The node resource spec of hot. + HotNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayInput `pulumi:"hotNodeResourceSpecs"` + // The node storage spec of hot. + HotNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayInput `pulumi:"hotNodeStorageSpecs"` + // The name of instance. + InstanceName pulumi.StringInput `pulumi:"instanceName"` + // The node number of kibana. + KibanaNodeNumber pulumi.IntInput `pulumi:"kibanaNodeNumber"` + // The node resource spec of kibana. + KibanaNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayInput `pulumi:"kibanaNodeResourceSpecs"` + // The node storage spec of kibana. + KibanaNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayInput `pulumi:"kibanaNodeStorageSpecs"` + // The node number of master. + MasterNodeNumber pulumi.IntInput `pulumi:"masterNodeNumber"` + // The node resource spec of master. + MasterNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayInput `pulumi:"masterNodeResourceSpecs"` + // The node storage spec of master. + MasterNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayInput `pulumi:"masterNodeStorageSpecs"` + // The period of project. + Period pulumi.IntInput `pulumi:"period"` + // The name of project. + ProjectName pulumi.StringInput `pulumi:"projectName"` + // The region info of instance. + RegionId pulumi.StringInput `pulumi:"regionId"` + // The subnet info. + Subnets GetInstancesV2InstanceInstanceConfigurationSubnetArrayInput `pulumi:"subnets"` + // The version of instance. + Version pulumi.StringInput `pulumi:"version"` + // The vpc info. + Vpcs GetInstancesV2InstanceInstanceConfigurationVpcArrayInput `pulumi:"vpcs"` + // The node number of warm. + WarmNodeNumber pulumi.IntInput `pulumi:"warmNodeNumber"` + // The node resource spec of warm. + WarmNodeResourceSpecs GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayInput `pulumi:"warmNodeResourceSpecs"` + // The node storage spec of warm. + WarmNodeStorageSpecs GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayInput `pulumi:"warmNodeStorageSpecs"` + // The zoneId of instance. + ZoneId pulumi.StringInput `pulumi:"zoneId"` + // The zone number of instance. + ZoneNumber pulumi.IntInput `pulumi:"zoneNumber"` +} + +func (GetInstancesV2InstanceInstanceConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfiguration)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationArgs) ToGetInstancesV2InstanceInstanceConfigurationOutput() GetInstancesV2InstanceInstanceConfigurationOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationArgs) ToGetInstancesV2InstanceInstanceConfigurationOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationArray and GetInstancesV2InstanceInstanceConfigurationArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationArray{ GetInstancesV2InstanceInstanceConfigurationArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationArrayOutput() GetInstancesV2InstanceInstanceConfigurationArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationArray []GetInstancesV2InstanceInstanceConfigurationInput + +func (GetInstancesV2InstanceInstanceConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfiguration)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationArray) ToGetInstancesV2InstanceInstanceConfigurationArrayOutput() GetInstancesV2InstanceInstanceConfigurationArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationArray) ToGetInstancesV2InstanceInstanceConfigurationArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfiguration)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ToGetInstancesV2InstanceInstanceConfigurationOutput() GetInstancesV2InstanceInstanceConfigurationOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ToGetInstancesV2InstanceInstanceConfigurationOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationOutput { + return o +} + +// The user name of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) AdminUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.AdminUserName }).(pulumi.StringOutput) +} + +// The charge type of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ChargeType() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.ChargeType }).(pulumi.StringOutput) +} + +// The node number of cold. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ColdNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.ColdNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of cold. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ColdNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec { + return v.ColdNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) +} + +// The node storage spec of cold. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ColdNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec { + return v.ColdNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) +} + +// The node number of coordinator. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) CoordinatorNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.CoordinatorNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of coordinator. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) CoordinatorNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec { + return v.CoordinatorNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) +} + +// The node storage spec of coordinator. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) CoordinatorNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec { + return v.CoordinatorNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) +} + +// whether enable https. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) EnableHttps() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) bool { return v.EnableHttps }).(pulumi.BoolOutput) +} + +// Whether enable pure master. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) EnablePureMaster() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) bool { return v.EnablePureMaster }).(pulumi.BoolOutput) +} + +// The node number of hot. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) HotNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.HotNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of hot. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) HotNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec { + return v.HotNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) +} + +// The node storage spec of hot. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) HotNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec { + return v.HotNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) +} + +// The name of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) InstanceName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.InstanceName }).(pulumi.StringOutput) +} + +// The node number of kibana. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) KibanaNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.KibanaNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of kibana. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) KibanaNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec { + return v.KibanaNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) +} + +// The node storage spec of kibana. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) KibanaNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec { + return v.KibanaNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) +} + +// The node number of master. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) MasterNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.MasterNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of master. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) MasterNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec { + return v.MasterNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) +} + +// The node storage spec of master. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) MasterNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec { + return v.MasterNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) +} + +// The period of project. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) Period() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.Period }).(pulumi.IntOutput) +} + +// The name of project. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.ProjectName }).(pulumi.StringOutput) +} + +// The region info of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) RegionId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.RegionId }).(pulumi.StringOutput) +} + +// The subnet info. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) Subnets() GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationSubnet { + return v.Subnets + }).(GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) +} + +// The version of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.Version }).(pulumi.StringOutput) +} + +// The vpc info. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) Vpcs() GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationVpc { + return v.Vpcs + }).(GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) +} + +// The node number of warm. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) WarmNodeNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.WarmNodeNumber }).(pulumi.IntOutput) +} + +// The node resource spec of warm. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) WarmNodeResourceSpecs() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec { + return v.WarmNodeResourceSpecs + }).(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) +} + +// The node storage spec of warm. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) WarmNodeStorageSpecs() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) []GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec { + return v.WarmNodeStorageSpecs + }).(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) +} + +// The zoneId of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) string { return v.ZoneId }).(pulumi.StringOutput) +} + +// The zone number of instance. +func (o GetInstancesV2InstanceInstanceConfigurationOutput) ZoneNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfiguration) int { return v.ZoneNumber }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfiguration)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationArrayOutput() GetInstancesV2InstanceInstanceConfigurationArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfiguration { + return vs[0].([]GetInstancesV2InstanceInstanceConfiguration)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec) string { + return v.Description + }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec) string { + return v.DisplayName + }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) string { + return v.Description + }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) string { + return v.DisplayName + }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationSubnet struct { + // The id of subnet. + SubnetId string `pulumi:"subnetId"` + // The name of subnet. + SubnetName string `pulumi:"subnetName"` +} + +// GetInstancesV2InstanceInstanceConfigurationSubnetInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationSubnetArgs and GetInstancesV2InstanceInstanceConfigurationSubnetOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationSubnetInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationSubnetArgs{...} +type GetInstancesV2InstanceInstanceConfigurationSubnetInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationSubnetOutput() GetInstancesV2InstanceInstanceConfigurationSubnetOutput + ToGetInstancesV2InstanceInstanceConfigurationSubnetOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetOutput +} + +type GetInstancesV2InstanceInstanceConfigurationSubnetArgs struct { + // The id of subnet. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The name of subnet. + SubnetName pulumi.StringInput `pulumi:"subnetName"` +} + +func (GetInstancesV2InstanceInstanceConfigurationSubnetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationSubnetArgs) ToGetInstancesV2InstanceInstanceConfigurationSubnetOutput() GetInstancesV2InstanceInstanceConfigurationSubnetOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationSubnetOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationSubnetArgs) ToGetInstancesV2InstanceInstanceConfigurationSubnetOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationSubnetOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationSubnetArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationSubnetArray and GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationSubnetArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationSubnetArray{ GetInstancesV2InstanceInstanceConfigurationSubnetArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationSubnetArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput() GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationSubnetArray []GetInstancesV2InstanceInstanceConfigurationSubnetInput + +func (GetInstancesV2InstanceInstanceConfigurationSubnetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationSubnetArray) ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput() GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationSubnetArray) ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationSubnetOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationSubnetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationSubnetOutput) ToGetInstancesV2InstanceInstanceConfigurationSubnetOutput() GetInstancesV2InstanceInstanceConfigurationSubnetOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationSubnetOutput) ToGetInstancesV2InstanceInstanceConfigurationSubnetOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetOutput { + return o +} + +// The id of subnet. +func (o GetInstancesV2InstanceInstanceConfigurationSubnetOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationSubnet) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The name of subnet. +func (o GetInstancesV2InstanceInstanceConfigurationSubnetOutput) SubnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationSubnet) string { return v.SubnetName }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationSubnet)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput() GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationSubnetArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationSubnetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationSubnet { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationSubnet)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationSubnetOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationVpc struct { + // The id of vpc. + VpcId string `pulumi:"vpcId"` + // The name of vpc. + VpcName string `pulumi:"vpcName"` +} + +// GetInstancesV2InstanceInstanceConfigurationVpcInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationVpcArgs and GetInstancesV2InstanceInstanceConfigurationVpcOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationVpcInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationVpcArgs{...} +type GetInstancesV2InstanceInstanceConfigurationVpcInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationVpcOutput() GetInstancesV2InstanceInstanceConfigurationVpcOutput + ToGetInstancesV2InstanceInstanceConfigurationVpcOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationVpcOutput +} + +type GetInstancesV2InstanceInstanceConfigurationVpcArgs struct { + // The id of vpc. + VpcId pulumi.StringInput `pulumi:"vpcId"` + // The name of vpc. + VpcName pulumi.StringInput `pulumi:"vpcName"` +} + +func (GetInstancesV2InstanceInstanceConfigurationVpcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationVpcArgs) ToGetInstancesV2InstanceInstanceConfigurationVpcOutput() GetInstancesV2InstanceInstanceConfigurationVpcOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationVpcOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationVpcArgs) ToGetInstancesV2InstanceInstanceConfigurationVpcOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationVpcOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationVpcOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationVpcArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationVpcArray and GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationVpcArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationVpcArray{ GetInstancesV2InstanceInstanceConfigurationVpcArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationVpcArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutput() GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationVpcArray []GetInstancesV2InstanceInstanceConfigurationVpcInput + +func (GetInstancesV2InstanceInstanceConfigurationVpcArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationVpcArray) ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutput() GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationVpcArray) ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationVpcOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationVpcOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationVpcOutput) ToGetInstancesV2InstanceInstanceConfigurationVpcOutput() GetInstancesV2InstanceInstanceConfigurationVpcOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationVpcOutput) ToGetInstancesV2InstanceInstanceConfigurationVpcOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationVpcOutput { + return o +} + +// The id of vpc. +func (o GetInstancesV2InstanceInstanceConfigurationVpcOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationVpc) string { return v.VpcId }).(pulumi.StringOutput) +} + +// The name of vpc. +func (o GetInstancesV2InstanceInstanceConfigurationVpcOutput) VpcName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationVpc) string { return v.VpcName }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationVpc)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutput() GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationVpcArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationVpcOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationVpc { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationVpc)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationVpcOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` + // The name of resource spec. + Name string `pulumi:"name"` +} + +// GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs and GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` + // The name of resource spec. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray and GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray{ GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray []GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +// The name of resource spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec) string { return v.Name }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` + // The name of storage spec. + Name string `pulumi:"name"` + // The size of storage spec. + Size int `pulumi:"size"` +} + +// GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs and GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs{...} +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` + // The name of storage spec. + Name pulumi.StringInput `pulumi:"name"` + // The size of storage spec. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray and GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray{ GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray []GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecInput + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +// The name of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) string { return v.Name }).(pulumi.StringOutput) +} + +// The size of storage spec. +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec) int { return v.Size }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput() GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput) +} + +type GetInstancesV2InstanceNode struct { + // Is cold node. + IsCold bool `pulumi:"isCold"` + // Is coordinator node. + IsCoordinator bool `pulumi:"isCoordinator"` + // Is hot node. + IsHot bool `pulumi:"isHot"` + // Is kibana node. + IsKibana bool `pulumi:"isKibana"` + // Is master node. + IsMaster bool `pulumi:"isMaster"` + // Is warm node. + IsWarm bool `pulumi:"isWarm"` + // The show name of node. + NodeDisplayName string `pulumi:"nodeDisplayName"` + // The name of node. + NodeName string `pulumi:"nodeName"` + // The node resource spec of master. + ResourceSpecs []GetInstancesV2InstanceNodeResourceSpec `pulumi:"resourceSpecs"` + // The restart times of node. + RestartNumber int `pulumi:"restartNumber"` + // The start time of node. + StartTime string `pulumi:"startTime"` + // The status of node. + Status string `pulumi:"status"` + // The node storage spec of master. + StorageSpecs []GetInstancesV2InstanceNodeStorageSpec `pulumi:"storageSpecs"` +} + +// GetInstancesV2InstanceNodeInput is an input type that accepts GetInstancesV2InstanceNodeArgs and GetInstancesV2InstanceNodeOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeInput` via: +// +// GetInstancesV2InstanceNodeArgs{...} +type GetInstancesV2InstanceNodeInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeOutput() GetInstancesV2InstanceNodeOutput + ToGetInstancesV2InstanceNodeOutputWithContext(context.Context) GetInstancesV2InstanceNodeOutput +} + +type GetInstancesV2InstanceNodeArgs struct { + // Is cold node. + IsCold pulumi.BoolInput `pulumi:"isCold"` + // Is coordinator node. + IsCoordinator pulumi.BoolInput `pulumi:"isCoordinator"` + // Is hot node. + IsHot pulumi.BoolInput `pulumi:"isHot"` + // Is kibana node. + IsKibana pulumi.BoolInput `pulumi:"isKibana"` + // Is master node. + IsMaster pulumi.BoolInput `pulumi:"isMaster"` + // Is warm node. + IsWarm pulumi.BoolInput `pulumi:"isWarm"` + // The show name of node. + NodeDisplayName pulumi.StringInput `pulumi:"nodeDisplayName"` + // The name of node. + NodeName pulumi.StringInput `pulumi:"nodeName"` + // The node resource spec of master. + ResourceSpecs GetInstancesV2InstanceNodeResourceSpecArrayInput `pulumi:"resourceSpecs"` + // The restart times of node. + RestartNumber pulumi.IntInput `pulumi:"restartNumber"` + // The start time of node. + StartTime pulumi.StringInput `pulumi:"startTime"` + // The status of node. + Status pulumi.StringInput `pulumi:"status"` + // The node storage spec of master. + StorageSpecs GetInstancesV2InstanceNodeStorageSpecArrayInput `pulumi:"storageSpecs"` +} + +func (GetInstancesV2InstanceNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNode)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeArgs) ToGetInstancesV2InstanceNodeOutput() GetInstancesV2InstanceNodeOutput { + return i.ToGetInstancesV2InstanceNodeOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeArgs) ToGetInstancesV2InstanceNodeOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeOutput) +} + +// GetInstancesV2InstanceNodeArrayInput is an input type that accepts GetInstancesV2InstanceNodeArray and GetInstancesV2InstanceNodeArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeArrayInput` via: +// +// GetInstancesV2InstanceNodeArray{ GetInstancesV2InstanceNodeArgs{...} } +type GetInstancesV2InstanceNodeArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeArrayOutput() GetInstancesV2InstanceNodeArrayOutput + ToGetInstancesV2InstanceNodeArrayOutputWithContext(context.Context) GetInstancesV2InstanceNodeArrayOutput +} + +type GetInstancesV2InstanceNodeArray []GetInstancesV2InstanceNodeInput + +func (GetInstancesV2InstanceNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNode)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeArray) ToGetInstancesV2InstanceNodeArrayOutput() GetInstancesV2InstanceNodeArrayOutput { + return i.ToGetInstancesV2InstanceNodeArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeArray) ToGetInstancesV2InstanceNodeArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeArrayOutput) +} + +type GetInstancesV2InstanceNodeOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNode)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeOutput) ToGetInstancesV2InstanceNodeOutput() GetInstancesV2InstanceNodeOutput { + return o +} + +func (o GetInstancesV2InstanceNodeOutput) ToGetInstancesV2InstanceNodeOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeOutput { + return o +} + +// Is cold node. +func (o GetInstancesV2InstanceNodeOutput) IsCold() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsCold }).(pulumi.BoolOutput) +} + +// Is coordinator node. +func (o GetInstancesV2InstanceNodeOutput) IsCoordinator() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsCoordinator }).(pulumi.BoolOutput) +} + +// Is hot node. +func (o GetInstancesV2InstanceNodeOutput) IsHot() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsHot }).(pulumi.BoolOutput) +} + +// Is kibana node. +func (o GetInstancesV2InstanceNodeOutput) IsKibana() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsKibana }).(pulumi.BoolOutput) +} + +// Is master node. +func (o GetInstancesV2InstanceNodeOutput) IsMaster() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsMaster }).(pulumi.BoolOutput) +} + +// Is warm node. +func (o GetInstancesV2InstanceNodeOutput) IsWarm() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) bool { return v.IsWarm }).(pulumi.BoolOutput) +} + +// The show name of node. +func (o GetInstancesV2InstanceNodeOutput) NodeDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) string { return v.NodeDisplayName }).(pulumi.StringOutput) +} + +// The name of node. +func (o GetInstancesV2InstanceNodeOutput) NodeName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) string { return v.NodeName }).(pulumi.StringOutput) +} + +// The node resource spec of master. +func (o GetInstancesV2InstanceNodeOutput) ResourceSpecs() GetInstancesV2InstanceNodeResourceSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) []GetInstancesV2InstanceNodeResourceSpec { return v.ResourceSpecs }).(GetInstancesV2InstanceNodeResourceSpecArrayOutput) +} + +// The restart times of node. +func (o GetInstancesV2InstanceNodeOutput) RestartNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) int { return v.RestartNumber }).(pulumi.IntOutput) +} + +// The start time of node. +func (o GetInstancesV2InstanceNodeOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) string { return v.StartTime }).(pulumi.StringOutput) +} + +// The status of node. +func (o GetInstancesV2InstanceNodeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) string { return v.Status }).(pulumi.StringOutput) +} + +// The node storage spec of master. +func (o GetInstancesV2InstanceNodeOutput) StorageSpecs() GetInstancesV2InstanceNodeStorageSpecArrayOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNode) []GetInstancesV2InstanceNodeStorageSpec { return v.StorageSpecs }).(GetInstancesV2InstanceNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNode)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeArrayOutput) ToGetInstancesV2InstanceNodeArrayOutput() GetInstancesV2InstanceNodeArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeArrayOutput) ToGetInstancesV2InstanceNodeArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceNode { + return vs[0].([]GetInstancesV2InstanceNode)[vs[1].(int)] + }).(GetInstancesV2InstanceNodeOutput) +} + +type GetInstancesV2InstanceNodeResourceSpec struct { + // The cpu info of resource spec. + Cpu int `pulumi:"cpu"` + // The description of resource spec. + Description string `pulumi:"description"` + // The show name of resource spec. + DisplayName string `pulumi:"displayName"` + // The memory info of resource spec. + Memory int `pulumi:"memory"` +} + +// GetInstancesV2InstanceNodeResourceSpecInput is an input type that accepts GetInstancesV2InstanceNodeResourceSpecArgs and GetInstancesV2InstanceNodeResourceSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeResourceSpecInput` via: +// +// GetInstancesV2InstanceNodeResourceSpecArgs{...} +type GetInstancesV2InstanceNodeResourceSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeResourceSpecOutput() GetInstancesV2InstanceNodeResourceSpecOutput + ToGetInstancesV2InstanceNodeResourceSpecOutputWithContext(context.Context) GetInstancesV2InstanceNodeResourceSpecOutput +} + +type GetInstancesV2InstanceNodeResourceSpecArgs struct { + // The cpu info of resource spec. + Cpu pulumi.IntInput `pulumi:"cpu"` + // The description of resource spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of resource spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The memory info of resource spec. + Memory pulumi.IntInput `pulumi:"memory"` +} + +func (GetInstancesV2InstanceNodeResourceSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeResourceSpecArgs) ToGetInstancesV2InstanceNodeResourceSpecOutput() GetInstancesV2InstanceNodeResourceSpecOutput { + return i.ToGetInstancesV2InstanceNodeResourceSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeResourceSpecArgs) ToGetInstancesV2InstanceNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeResourceSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeResourceSpecOutput) +} + +// GetInstancesV2InstanceNodeResourceSpecArrayInput is an input type that accepts GetInstancesV2InstanceNodeResourceSpecArray and GetInstancesV2InstanceNodeResourceSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeResourceSpecArrayInput` via: +// +// GetInstancesV2InstanceNodeResourceSpecArray{ GetInstancesV2InstanceNodeResourceSpecArgs{...} } +type GetInstancesV2InstanceNodeResourceSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeResourceSpecArrayOutput() GetInstancesV2InstanceNodeResourceSpecArrayOutput + ToGetInstancesV2InstanceNodeResourceSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceNodeResourceSpecArrayOutput +} + +type GetInstancesV2InstanceNodeResourceSpecArray []GetInstancesV2InstanceNodeResourceSpecInput + +func (GetInstancesV2InstanceNodeResourceSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNodeResourceSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeResourceSpecArray) ToGetInstancesV2InstanceNodeResourceSpecArrayOutput() GetInstancesV2InstanceNodeResourceSpecArrayOutput { + return i.ToGetInstancesV2InstanceNodeResourceSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeResourceSpecArray) ToGetInstancesV2InstanceNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeResourceSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeResourceSpecArrayOutput) +} + +type GetInstancesV2InstanceNodeResourceSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeResourceSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeResourceSpecOutput) ToGetInstancesV2InstanceNodeResourceSpecOutput() GetInstancesV2InstanceNodeResourceSpecOutput { + return o +} + +func (o GetInstancesV2InstanceNodeResourceSpecOutput) ToGetInstancesV2InstanceNodeResourceSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeResourceSpecOutput { + return o +} + +// The cpu info of resource spec. +func (o GetInstancesV2InstanceNodeResourceSpecOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeResourceSpec) int { return v.Cpu }).(pulumi.IntOutput) +} + +// The description of resource spec. +func (o GetInstancesV2InstanceNodeResourceSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeResourceSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of resource spec. +func (o GetInstancesV2InstanceNodeResourceSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeResourceSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The memory info of resource spec. +func (o GetInstancesV2InstanceNodeResourceSpecOutput) Memory() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeResourceSpec) int { return v.Memory }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceNodeResourceSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeResourceSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNodeResourceSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceNodeResourceSpecArrayOutput() GetInstancesV2InstanceNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeResourceSpecArrayOutput) ToGetInstancesV2InstanceNodeResourceSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeResourceSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeResourceSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceNodeResourceSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceNodeResourceSpec { + return vs[0].([]GetInstancesV2InstanceNodeResourceSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceNodeResourceSpecOutput) +} + +type GetInstancesV2InstanceNodeStorageSpec struct { + // The description of storage spec. + Description string `pulumi:"description"` + // The show name of storage spec. + DisplayName string `pulumi:"displayName"` + // The max size of storage spec. + MaxSize int `pulumi:"maxSize"` + // The min size of storage spec. + MinSize int `pulumi:"minSize"` +} + +// GetInstancesV2InstanceNodeStorageSpecInput is an input type that accepts GetInstancesV2InstanceNodeStorageSpecArgs and GetInstancesV2InstanceNodeStorageSpecOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeStorageSpecInput` via: +// +// GetInstancesV2InstanceNodeStorageSpecArgs{...} +type GetInstancesV2InstanceNodeStorageSpecInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeStorageSpecOutput() GetInstancesV2InstanceNodeStorageSpecOutput + ToGetInstancesV2InstanceNodeStorageSpecOutputWithContext(context.Context) GetInstancesV2InstanceNodeStorageSpecOutput +} + +type GetInstancesV2InstanceNodeStorageSpecArgs struct { + // The description of storage spec. + Description pulumi.StringInput `pulumi:"description"` + // The show name of storage spec. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The max size of storage spec. + MaxSize pulumi.IntInput `pulumi:"maxSize"` + // The min size of storage spec. + MinSize pulumi.IntInput `pulumi:"minSize"` +} + +func (GetInstancesV2InstanceNodeStorageSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeStorageSpecArgs) ToGetInstancesV2InstanceNodeStorageSpecOutput() GetInstancesV2InstanceNodeStorageSpecOutput { + return i.ToGetInstancesV2InstanceNodeStorageSpecOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeStorageSpecArgs) ToGetInstancesV2InstanceNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeStorageSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeStorageSpecOutput) +} + +// GetInstancesV2InstanceNodeStorageSpecArrayInput is an input type that accepts GetInstancesV2InstanceNodeStorageSpecArray and GetInstancesV2InstanceNodeStorageSpecArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceNodeStorageSpecArrayInput` via: +// +// GetInstancesV2InstanceNodeStorageSpecArray{ GetInstancesV2InstanceNodeStorageSpecArgs{...} } +type GetInstancesV2InstanceNodeStorageSpecArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceNodeStorageSpecArrayOutput() GetInstancesV2InstanceNodeStorageSpecArrayOutput + ToGetInstancesV2InstanceNodeStorageSpecArrayOutputWithContext(context.Context) GetInstancesV2InstanceNodeStorageSpecArrayOutput +} + +type GetInstancesV2InstanceNodeStorageSpecArray []GetInstancesV2InstanceNodeStorageSpecInput + +func (GetInstancesV2InstanceNodeStorageSpecArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNodeStorageSpec)(nil)).Elem() +} + +func (i GetInstancesV2InstanceNodeStorageSpecArray) ToGetInstancesV2InstanceNodeStorageSpecArrayOutput() GetInstancesV2InstanceNodeStorageSpecArrayOutput { + return i.ToGetInstancesV2InstanceNodeStorageSpecArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceNodeStorageSpecArray) ToGetInstancesV2InstanceNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeStorageSpecArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceNodeStorageSpecArrayOutput) +} + +type GetInstancesV2InstanceNodeStorageSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeStorageSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeStorageSpecOutput) ToGetInstancesV2InstanceNodeStorageSpecOutput() GetInstancesV2InstanceNodeStorageSpecOutput { + return o +} + +func (o GetInstancesV2InstanceNodeStorageSpecOutput) ToGetInstancesV2InstanceNodeStorageSpecOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeStorageSpecOutput { + return o +} + +// The description of storage spec. +func (o GetInstancesV2InstanceNodeStorageSpecOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeStorageSpec) string { return v.Description }).(pulumi.StringOutput) +} + +// The show name of storage spec. +func (o GetInstancesV2InstanceNodeStorageSpecOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeStorageSpec) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The max size of storage spec. +func (o GetInstancesV2InstanceNodeStorageSpecOutput) MaxSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeStorageSpec) int { return v.MaxSize }).(pulumi.IntOutput) +} + +// The min size of storage spec. +func (o GetInstancesV2InstanceNodeStorageSpecOutput) MinSize() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancesV2InstanceNodeStorageSpec) int { return v.MinSize }).(pulumi.IntOutput) +} + +type GetInstancesV2InstanceNodeStorageSpecArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceNodeStorageSpecArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceNodeStorageSpec)(nil)).Elem() +} + +func (o GetInstancesV2InstanceNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceNodeStorageSpecArrayOutput() GetInstancesV2InstanceNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeStorageSpecArrayOutput) ToGetInstancesV2InstanceNodeStorageSpecArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceNodeStorageSpecArrayOutput { + return o +} + +func (o GetInstancesV2InstanceNodeStorageSpecArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceNodeStorageSpecOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceNodeStorageSpec { + return vs[0].([]GetInstancesV2InstanceNodeStorageSpec)[vs[1].(int)] + }).(GetInstancesV2InstanceNodeStorageSpecOutput) +} + +type GetInstancesV2InstancePlugin struct { + // The description of plugin. + Description string `pulumi:"description"` + // The name of plugin. + PluginName string `pulumi:"pluginName"` + // The status of plugin. + Status string `pulumi:"status"` + // The version of plugin. + Version string `pulumi:"version"` +} + +// GetInstancesV2InstancePluginInput is an input type that accepts GetInstancesV2InstancePluginArgs and GetInstancesV2InstancePluginOutput values. +// You can construct a concrete instance of `GetInstancesV2InstancePluginInput` via: +// +// GetInstancesV2InstancePluginArgs{...} +type GetInstancesV2InstancePluginInput interface { + pulumi.Input + + ToGetInstancesV2InstancePluginOutput() GetInstancesV2InstancePluginOutput + ToGetInstancesV2InstancePluginOutputWithContext(context.Context) GetInstancesV2InstancePluginOutput +} + +type GetInstancesV2InstancePluginArgs struct { + // The description of plugin. + Description pulumi.StringInput `pulumi:"description"` + // The name of plugin. + PluginName pulumi.StringInput `pulumi:"pluginName"` + // The status of plugin. + Status pulumi.StringInput `pulumi:"status"` + // The version of plugin. + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetInstancesV2InstancePluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstancePlugin)(nil)).Elem() +} + +func (i GetInstancesV2InstancePluginArgs) ToGetInstancesV2InstancePluginOutput() GetInstancesV2InstancePluginOutput { + return i.ToGetInstancesV2InstancePluginOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstancePluginArgs) ToGetInstancesV2InstancePluginOutputWithContext(ctx context.Context) GetInstancesV2InstancePluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstancePluginOutput) +} + +// GetInstancesV2InstancePluginArrayInput is an input type that accepts GetInstancesV2InstancePluginArray and GetInstancesV2InstancePluginArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstancePluginArrayInput` via: +// +// GetInstancesV2InstancePluginArray{ GetInstancesV2InstancePluginArgs{...} } +type GetInstancesV2InstancePluginArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstancePluginArrayOutput() GetInstancesV2InstancePluginArrayOutput + ToGetInstancesV2InstancePluginArrayOutputWithContext(context.Context) GetInstancesV2InstancePluginArrayOutput +} + +type GetInstancesV2InstancePluginArray []GetInstancesV2InstancePluginInput + +func (GetInstancesV2InstancePluginArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstancePlugin)(nil)).Elem() +} + +func (i GetInstancesV2InstancePluginArray) ToGetInstancesV2InstancePluginArrayOutput() GetInstancesV2InstancePluginArrayOutput { + return i.ToGetInstancesV2InstancePluginArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstancePluginArray) ToGetInstancesV2InstancePluginArrayOutputWithContext(ctx context.Context) GetInstancesV2InstancePluginArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstancePluginArrayOutput) +} + +type GetInstancesV2InstancePluginOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstancePluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstancePlugin)(nil)).Elem() +} + +func (o GetInstancesV2InstancePluginOutput) ToGetInstancesV2InstancePluginOutput() GetInstancesV2InstancePluginOutput { + return o +} + +func (o GetInstancesV2InstancePluginOutput) ToGetInstancesV2InstancePluginOutputWithContext(ctx context.Context) GetInstancesV2InstancePluginOutput { + return o +} + +// The description of plugin. +func (o GetInstancesV2InstancePluginOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstancePlugin) string { return v.Description }).(pulumi.StringOutput) +} + +// The name of plugin. +func (o GetInstancesV2InstancePluginOutput) PluginName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstancePlugin) string { return v.PluginName }).(pulumi.StringOutput) +} + +// The status of plugin. +func (o GetInstancesV2InstancePluginOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstancePlugin) string { return v.Status }).(pulumi.StringOutput) +} + +// The version of plugin. +func (o GetInstancesV2InstancePluginOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstancePlugin) string { return v.Version }).(pulumi.StringOutput) +} + +type GetInstancesV2InstancePluginArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstancePluginArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstancePlugin)(nil)).Elem() +} + +func (o GetInstancesV2InstancePluginArrayOutput) ToGetInstancesV2InstancePluginArrayOutput() GetInstancesV2InstancePluginArrayOutput { + return o +} + +func (o GetInstancesV2InstancePluginArrayOutput) ToGetInstancesV2InstancePluginArrayOutputWithContext(ctx context.Context) GetInstancesV2InstancePluginArrayOutput { + return o +} + +func (o GetInstancesV2InstancePluginArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstancePluginOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstancePlugin { + return vs[0].([]GetInstancesV2InstancePlugin)[vs[1].(int)] + }).(GetInstancesV2InstancePluginOutput) +} + +type GetInstancesV2InstanceTag struct { + // The Key of Tags. + Key string `pulumi:"key"` + // The Value of Tags. + Value string `pulumi:"value"` +} + +// GetInstancesV2InstanceTagInput is an input type that accepts GetInstancesV2InstanceTagArgs and GetInstancesV2InstanceTagOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceTagInput` via: +// +// GetInstancesV2InstanceTagArgs{...} +type GetInstancesV2InstanceTagInput interface { + pulumi.Input + + ToGetInstancesV2InstanceTagOutput() GetInstancesV2InstanceTagOutput + ToGetInstancesV2InstanceTagOutputWithContext(context.Context) GetInstancesV2InstanceTagOutput +} + +type GetInstancesV2InstanceTagArgs struct { + // The Key of Tags. + Key pulumi.StringInput `pulumi:"key"` + // The Value of Tags. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetInstancesV2InstanceTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceTag)(nil)).Elem() +} + +func (i GetInstancesV2InstanceTagArgs) ToGetInstancesV2InstanceTagOutput() GetInstancesV2InstanceTagOutput { + return i.ToGetInstancesV2InstanceTagOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceTagArgs) ToGetInstancesV2InstanceTagOutputWithContext(ctx context.Context) GetInstancesV2InstanceTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceTagOutput) +} + +// GetInstancesV2InstanceTagArrayInput is an input type that accepts GetInstancesV2InstanceTagArray and GetInstancesV2InstanceTagArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2InstanceTagArrayInput` via: +// +// GetInstancesV2InstanceTagArray{ GetInstancesV2InstanceTagArgs{...} } +type GetInstancesV2InstanceTagArrayInput interface { + pulumi.Input + + ToGetInstancesV2InstanceTagArrayOutput() GetInstancesV2InstanceTagArrayOutput + ToGetInstancesV2InstanceTagArrayOutputWithContext(context.Context) GetInstancesV2InstanceTagArrayOutput +} + +type GetInstancesV2InstanceTagArray []GetInstancesV2InstanceTagInput + +func (GetInstancesV2InstanceTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceTag)(nil)).Elem() +} + +func (i GetInstancesV2InstanceTagArray) ToGetInstancesV2InstanceTagArrayOutput() GetInstancesV2InstanceTagArrayOutput { + return i.ToGetInstancesV2InstanceTagArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2InstanceTagArray) ToGetInstancesV2InstanceTagArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2InstanceTagArrayOutput) +} + +type GetInstancesV2InstanceTagOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2InstanceTag)(nil)).Elem() +} + +func (o GetInstancesV2InstanceTagOutput) ToGetInstancesV2InstanceTagOutput() GetInstancesV2InstanceTagOutput { + return o +} + +func (o GetInstancesV2InstanceTagOutput) ToGetInstancesV2InstanceTagOutputWithContext(ctx context.Context) GetInstancesV2InstanceTagOutput { + return o +} + +// The Key of Tags. +func (o GetInstancesV2InstanceTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceTag) string { return v.Key }).(pulumi.StringOutput) +} + +// The Value of Tags. +func (o GetInstancesV2InstanceTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2InstanceTag) string { return v.Value }).(pulumi.StringOutput) +} + +type GetInstancesV2InstanceTagArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2InstanceTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2InstanceTag)(nil)).Elem() +} + +func (o GetInstancesV2InstanceTagArrayOutput) ToGetInstancesV2InstanceTagArrayOutput() GetInstancesV2InstanceTagArrayOutput { + return o +} + +func (o GetInstancesV2InstanceTagArrayOutput) ToGetInstancesV2InstanceTagArrayOutputWithContext(ctx context.Context) GetInstancesV2InstanceTagArrayOutput { + return o +} + +func (o GetInstancesV2InstanceTagArrayOutput) Index(i pulumi.IntInput) GetInstancesV2InstanceTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2InstanceTag { + return vs[0].([]GetInstancesV2InstanceTag)[vs[1].(int)] + }).(GetInstancesV2InstanceTagOutput) +} + +type GetInstancesV2Tag struct { + // The Key of Tags. + Key string `pulumi:"key"` + // The Value of Tags. + Values []string `pulumi:"values"` +} + +// GetInstancesV2TagInput is an input type that accepts GetInstancesV2TagArgs and GetInstancesV2TagOutput values. +// You can construct a concrete instance of `GetInstancesV2TagInput` via: +// +// GetInstancesV2TagArgs{...} +type GetInstancesV2TagInput interface { + pulumi.Input + + ToGetInstancesV2TagOutput() GetInstancesV2TagOutput + ToGetInstancesV2TagOutputWithContext(context.Context) GetInstancesV2TagOutput +} + +type GetInstancesV2TagArgs struct { + // The Key of Tags. + Key pulumi.StringInput `pulumi:"key"` + // The Value of Tags. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetInstancesV2TagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Tag)(nil)).Elem() +} + +func (i GetInstancesV2TagArgs) ToGetInstancesV2TagOutput() GetInstancesV2TagOutput { + return i.ToGetInstancesV2TagOutputWithContext(context.Background()) +} + +func (i GetInstancesV2TagArgs) ToGetInstancesV2TagOutputWithContext(ctx context.Context) GetInstancesV2TagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2TagOutput) +} + +// GetInstancesV2TagArrayInput is an input type that accepts GetInstancesV2TagArray and GetInstancesV2TagArrayOutput values. +// You can construct a concrete instance of `GetInstancesV2TagArrayInput` via: +// +// GetInstancesV2TagArray{ GetInstancesV2TagArgs{...} } +type GetInstancesV2TagArrayInput interface { + pulumi.Input + + ToGetInstancesV2TagArrayOutput() GetInstancesV2TagArrayOutput + ToGetInstancesV2TagArrayOutputWithContext(context.Context) GetInstancesV2TagArrayOutput +} + +type GetInstancesV2TagArray []GetInstancesV2TagInput + +func (GetInstancesV2TagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2Tag)(nil)).Elem() +} + +func (i GetInstancesV2TagArray) ToGetInstancesV2TagArrayOutput() GetInstancesV2TagArrayOutput { + return i.ToGetInstancesV2TagArrayOutputWithContext(context.Background()) +} + +func (i GetInstancesV2TagArray) ToGetInstancesV2TagArrayOutputWithContext(ctx context.Context) GetInstancesV2TagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancesV2TagArrayOutput) +} + +type GetInstancesV2TagOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2TagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancesV2Tag)(nil)).Elem() +} + +func (o GetInstancesV2TagOutput) ToGetInstancesV2TagOutput() GetInstancesV2TagOutput { + return o +} + +func (o GetInstancesV2TagOutput) ToGetInstancesV2TagOutputWithContext(ctx context.Context) GetInstancesV2TagOutput { + return o +} + +// The Key of Tags. +func (o GetInstancesV2TagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancesV2Tag) string { return v.Key }).(pulumi.StringOutput) +} + +// The Value of Tags. +func (o GetInstancesV2TagOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancesV2Tag) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetInstancesV2TagArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancesV2TagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancesV2Tag)(nil)).Elem() +} + +func (o GetInstancesV2TagArrayOutput) ToGetInstancesV2TagArrayOutput() GetInstancesV2TagArrayOutput { + return o +} + +func (o GetInstancesV2TagArrayOutput) ToGetInstancesV2TagArrayOutputWithContext(ctx context.Context) GetInstancesV2TagArrayOutput { + return o +} + +func (o GetInstancesV2TagArrayOutput) Index(i pulumi.IntInput) GetInstancesV2TagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesV2Tag { + return vs[0].([]GetInstancesV2Tag)[vs[1].(int)] + }).(GetInstancesV2TagOutput) +} + +type GetRegionsRegion struct { + // The id of the region. + RegionId string `pulumi:"regionId"` + // The name of region. + RegionName string `pulumi:"regionName"` +} + +// GetRegionsRegionInput is an input type that accepts GetRegionsRegionArgs and GetRegionsRegionOutput values. +// You can construct a concrete instance of `GetRegionsRegionInput` via: +// +// GetRegionsRegionArgs{...} +type GetRegionsRegionInput interface { + pulumi.Input + + ToGetRegionsRegionOutput() GetRegionsRegionOutput + ToGetRegionsRegionOutputWithContext(context.Context) GetRegionsRegionOutput +} + +type GetRegionsRegionArgs struct { + // The id of the region. + RegionId pulumi.StringInput `pulumi:"regionId"` + // The name of region. + RegionName pulumi.StringInput `pulumi:"regionName"` +} + +func (GetRegionsRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegionsRegion)(nil)).Elem() +} + +func (i GetRegionsRegionArgs) ToGetRegionsRegionOutput() GetRegionsRegionOutput { + return i.ToGetRegionsRegionOutputWithContext(context.Background()) +} + +func (i GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegionsRegionOutput) +} + +// GetRegionsRegionArrayInput is an input type that accepts GetRegionsRegionArray and GetRegionsRegionArrayOutput values. +// You can construct a concrete instance of `GetRegionsRegionArrayInput` via: +// +// GetRegionsRegionArray{ GetRegionsRegionArgs{...} } +type GetRegionsRegionArrayInput interface { + pulumi.Input + + ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput + ToGetRegionsRegionArrayOutputWithContext(context.Context) GetRegionsRegionArrayOutput +} + +type GetRegionsRegionArray []GetRegionsRegionInput + +func (GetRegionsRegionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegionsRegion)(nil)).Elem() +} + +func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput { + return i.ToGetRegionsRegionArrayOutputWithContext(context.Background()) +} + +func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegionsRegionArrayOutput) +} + +type GetRegionsRegionOutput struct{ *pulumi.OutputState } + +func (GetRegionsRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegionsRegion)(nil)).Elem() +} + +func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput { + return o +} + +func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput { + return o +} + +// The id of the region. +func (o GetRegionsRegionOutput) RegionId() pulumi.StringOutput { + return o.ApplyT(func(v GetRegionsRegion) string { return v.RegionId }).(pulumi.StringOutput) +} + +// The name of region. +func (o GetRegionsRegionOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetRegionsRegion) string { return v.RegionName }).(pulumi.StringOutput) +} + +type GetRegionsRegionArrayOutput struct{ *pulumi.OutputState } + +func (GetRegionsRegionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegionsRegion)(nil)).Elem() +} + +func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput { + return o +} + +func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput { + return o +} + +func (o GetRegionsRegionArrayOutput) Index(i pulumi.IntInput) GetRegionsRegionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegionsRegion { + return vs[0].([]GetRegionsRegion)[vs[1].(int)] + }).(GetRegionsRegionOutput) +} + +type GetZonesZone struct { + // The id of the zone. + Id string `pulumi:"id"` + // The id of the zone. + ZoneId string `pulumi:"zoneId"` + // The name of the zone. + ZoneName string `pulumi:"zoneName"` +} + +// GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. +// You can construct a concrete instance of `GetZonesZoneInput` via: +// +// GetZonesZoneArgs{...} +type GetZonesZoneInput interface { + pulumi.Input + + ToGetZonesZoneOutput() GetZonesZoneOutput + ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput +} + +type GetZonesZoneArgs struct { + // The id of the zone. + Id pulumi.StringInput `pulumi:"id"` + // The id of the zone. + ZoneId pulumi.StringInput `pulumi:"zoneId"` + // The name of the zone. + ZoneName pulumi.StringInput `pulumi:"zoneName"` +} + +func (GetZonesZoneArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetZonesZone)(nil)).Elem() +} + +func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput { + return i.ToGetZonesZoneOutputWithContext(context.Background()) +} + +func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetZonesZoneOutput) +} + +// GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. +// You can construct a concrete instance of `GetZonesZoneArrayInput` via: +// +// GetZonesZoneArray{ GetZonesZoneArgs{...} } +type GetZonesZoneArrayInput interface { + pulumi.Input + + ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput + ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput +} + +type GetZonesZoneArray []GetZonesZoneInput + +func (GetZonesZoneArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetZonesZone)(nil)).Elem() +} + +func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput { + return i.ToGetZonesZoneArrayOutputWithContext(context.Background()) +} + +func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetZonesZoneArrayOutput) +} + +type GetZonesZoneOutput struct{ *pulumi.OutputState } + +func (GetZonesZoneOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetZonesZone)(nil)).Elem() +} + +func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput { + return o +} + +func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput { + return o +} + +// The id of the zone. +func (o GetZonesZoneOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesZone) string { return v.Id }).(pulumi.StringOutput) +} + +// The id of the zone. +func (o GetZonesZoneOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesZone) string { return v.ZoneId }).(pulumi.StringOutput) +} + +// The name of the zone. +func (o GetZonesZoneOutput) ZoneName() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesZone) string { return v.ZoneName }).(pulumi.StringOutput) +} + +type GetZonesZoneArrayOutput struct{ *pulumi.OutputState } + +func (GetZonesZoneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetZonesZone)(nil)).Elem() +} + +func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput { + return o +} + +func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput { + return o +} + +func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetZonesZone { + return vs[0].([]GetZonesZone)[vs[1].(int)] + }).(GetZonesZoneOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceConfigurationInput)(nil)).Elem(), InstanceInstanceConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceConfigurationPtrInput)(nil)).Elem(), InstanceInstanceConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceConfigurationNodeSpecsAssignInput)(nil)).Elem(), InstanceInstanceConfigurationNodeSpecsAssignArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceConfigurationNodeSpecsAssignArrayInput)(nil)).Elem(), InstanceInstanceConfigurationNodeSpecsAssignArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NetworkSpecInput)(nil)).Elem(), InstanceV2NetworkSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NetworkSpecArrayInput)(nil)).Elem(), InstanceV2NetworkSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NodeSpecsAssignInput)(nil)).Elem(), InstanceV2NodeSpecsAssignArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NodeSpecsAssignArrayInput)(nil)).Elem(), InstanceV2NodeSpecsAssignArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NodeSpecsAssignExtraPerformanceInput)(nil)).Elem(), InstanceV2NodeSpecsAssignExtraPerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2NodeSpecsAssignExtraPerformancePtrInput)(nil)).Elem(), InstanceV2NodeSpecsAssignExtraPerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2TagInput)(nil)).Elem(), InstanceV2TagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceV2TagArrayInput)(nil)).Elem(), InstanceV2TagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*InstancesInstanceInput)(nil)).Elem(), InstancesInstanceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstancesInstanceArrayInput)(nil)).Elem(), InstancesInstanceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*InstancesInstanceInstanceConfigurationInput)(nil)).Elem(), InstancesInstanceInstanceConfigurationArgs{}) @@ -2613,10 +8658,83 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*RegionsRegionArrayInput)(nil)).Elem(), RegionsRegionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ZonesZoneInput)(nil)).Elem(), ZonesZoneArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ZonesZoneArrayInput)(nil)).Elem(), ZonesZoneArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInput)(nil)).Elem(), GetInstancesInstanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceArrayInput)(nil)).Elem(), GetInstancesInstanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationSubnetInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationSubnetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInstanceConfigurationVpcInput)(nil)).Elem(), GetInstancesInstanceInstanceConfigurationVpcArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceNodeInput)(nil)).Elem(), GetInstancesInstanceNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceNodeArrayInput)(nil)).Elem(), GetInstancesInstanceNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceNodeResourceSpecInput)(nil)).Elem(), GetInstancesInstanceNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceNodeStorageSpecInput)(nil)).Elem(), GetInstancesInstanceNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstancePluginInput)(nil)).Elem(), GetInstancesInstancePluginArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstancePluginArrayInput)(nil)).Elem(), GetInstancesInstancePluginArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInput)(nil)).Elem(), GetInstancesV2InstanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceArrayInput)(nil)).Elem(), GetInstancesV2InstanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationSubnetInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationSubnetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationSubnetArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationSubnetArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationVpcInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationVpcArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationVpcArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationVpcArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeInput)(nil)).Elem(), GetInstancesV2InstanceNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeArrayInput)(nil)).Elem(), GetInstancesV2InstanceNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeResourceSpecInput)(nil)).Elem(), GetInstancesV2InstanceNodeResourceSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeResourceSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceNodeResourceSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeStorageSpecInput)(nil)).Elem(), GetInstancesV2InstanceNodeStorageSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceNodeStorageSpecArrayInput)(nil)).Elem(), GetInstancesV2InstanceNodeStorageSpecArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstancePluginInput)(nil)).Elem(), GetInstancesV2InstancePluginArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstancePluginArrayInput)(nil)).Elem(), GetInstancesV2InstancePluginArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceTagInput)(nil)).Elem(), GetInstancesV2InstanceTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2InstanceTagArrayInput)(nil)).Elem(), GetInstancesV2InstanceTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2TagInput)(nil)).Elem(), GetInstancesV2TagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesV2TagArrayInput)(nil)).Elem(), GetInstancesV2TagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegionsRegionInput)(nil)).Elem(), GetRegionsRegionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegionsRegionArrayInput)(nil)).Elem(), GetRegionsRegionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetZonesZoneInput)(nil)).Elem(), GetZonesZoneArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetZonesZoneArrayInput)(nil)).Elem(), GetZonesZoneArray{}) pulumi.RegisterOutputType(InstanceInstanceConfigurationOutput{}) pulumi.RegisterOutputType(InstanceInstanceConfigurationPtrOutput{}) pulumi.RegisterOutputType(InstanceInstanceConfigurationNodeSpecsAssignOutput{}) pulumi.RegisterOutputType(InstanceInstanceConfigurationNodeSpecsAssignArrayOutput{}) + pulumi.RegisterOutputType(InstanceV2NetworkSpecOutput{}) + pulumi.RegisterOutputType(InstanceV2NetworkSpecArrayOutput{}) + pulumi.RegisterOutputType(InstanceV2NodeSpecsAssignOutput{}) + pulumi.RegisterOutputType(InstanceV2NodeSpecsAssignArrayOutput{}) + pulumi.RegisterOutputType(InstanceV2NodeSpecsAssignExtraPerformanceOutput{}) + pulumi.RegisterOutputType(InstanceV2NodeSpecsAssignExtraPerformancePtrOutput{}) + pulumi.RegisterOutputType(InstanceV2TagOutput{}) + pulumi.RegisterOutputType(InstanceV2TagArrayOutput{}) pulumi.RegisterOutputType(InstancesInstanceOutput{}) pulumi.RegisterOutputType(InstancesInstanceArrayOutput{}) pulumi.RegisterOutputType(InstancesInstanceInstanceConfigurationOutput{}) @@ -2638,4 +8756,69 @@ func init() { pulumi.RegisterOutputType(RegionsRegionArrayOutput{}) pulumi.RegisterOutputType(ZonesZoneOutput{}) pulumi.RegisterOutputType(ZonesZoneArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationSubnetOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceInstanceConfigurationVpcOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceNodeOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceNodeArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstanceNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesInstancePluginOutput{}) + pulumi.RegisterOutputType(GetInstancesInstancePluginArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationSubnetOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationSubnetArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationVpcOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationVpcArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeResourceSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeResourceSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeStorageSpecOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceNodeStorageSpecArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstancePluginOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstancePluginArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceTagOutput{}) + pulumi.RegisterOutputType(GetInstancesV2InstanceTagArrayOutput{}) + pulumi.RegisterOutputType(GetInstancesV2TagOutput{}) + pulumi.RegisterOutputType(GetInstancesV2TagArrayOutput{}) + pulumi.RegisterOutputType(GetRegionsRegionOutput{}) + pulumi.RegisterOutputType(GetRegionsRegionArrayOutput{}) + pulumi.RegisterOutputType(GetZonesZoneOutput{}) + pulumi.RegisterOutputType(GetZonesZoneArrayOutput{}) } diff --git a/sdk/go/volcengine/escloud/regions.go b/sdk/go/volcengine/escloud/regions.go index 62237c12..c26d1830 100644 --- a/sdk/go/volcengine/escloud/regions.go +++ b/sdk/go/volcengine/escloud/regions.go @@ -11,7 +11,7 @@ import ( "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" ) -// (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions // ## Example Usage // // ```go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := escloud.Regions(ctx, nil, nil) +// _, err := escloud.GetRegions(ctx, nil, nil) // if err != nil { // return err // } @@ -35,6 +35,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions func Regions(ctx *pulumi.Context, args *RegionsArgs, opts ...pulumi.InvokeOption) (*RegionsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv RegionsResult diff --git a/sdk/go/volcengine/escloud/zones.go b/sdk/go/volcengine/escloud/zones.go index 254a1bbf..da6e22ef 100644 --- a/sdk/go/volcengine/escloud/zones.go +++ b/sdk/go/volcengine/escloud/zones.go @@ -11,7 +11,7 @@ import ( "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" ) -// (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones +// (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones // ## Example Usage // // ```go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := escloud.Zones(ctx, &escloud.ZonesArgs{ +// _, err := escloud.GetZones(ctx, &escloud.GetZonesArgs{ // RegionId: "xxx", // }, nil) // if err != nil { @@ -37,6 +37,8 @@ import ( // } // // ``` +// +// Deprecated: volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones func Zones(ctx *pulumi.Context, args *ZonesArgs, opts ...pulumi.InvokeOption) (*ZonesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv ZonesResult diff --git a/sdk/go/volcengine/escloud_v2/escloudInstanceV2.go b/sdk/go/volcengine/escloud_v2/escloudInstanceV2.go index bbd3ed77..972e9b65 100644 --- a/sdk/go/volcengine/escloud_v2/escloudInstanceV2.go +++ b/sdk/go/volcengine/escloud_v2/escloudInstanceV2.go @@ -21,7 +21,7 @@ import ( // // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" -// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" // "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc" // // ) @@ -49,7 +49,7 @@ import ( // if err != nil { // return err // } -// _, err = escloud_v2.NewEscloudInstanceV2(ctx, "fooEscloudInstanceV2", &escloud_v2.EscloudInstanceV2Args{ +// _, err = escloud.NewInstanceV2(ctx, "fooInstanceV2", &escloud.InstanceV2Args{ // InstanceName: pulumi.String("acc-test-escloud-instance"), // Version: pulumi.String("V7_10"), // ZoneIds: pulumi.StringArray{ @@ -67,25 +67,25 @@ import ( // EnablePureMaster: pulumi.Bool(true), // DeletionProtection: pulumi.Bool(false), // ProjectName: pulumi.String("default"), -// NodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{ -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// NodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Master"), // Number: pulumi.Int(3), // ResourceSpecName: pulumi.String("es.x2.medium"), // StorageSpecName: pulumi.String("es.volume.essd.pl0"), // StorageSize: pulumi.Int(20), // }, -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Hot"), // Number: pulumi.Int(6), // ResourceSpecName: pulumi.String("es.x2.medium"), // StorageSpecName: pulumi.String("es.volume.essd.flexpl-standard"), // StorageSize: pulumi.Int(500), -// ExtraPerformance: &escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{ +// ExtraPerformance: &escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{ // Throughput: pulumi.Int(65), // }, // }, -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Kibana"), // Number: pulumi.Int(1), // ResourceSpecName: pulumi.String("kibana.x2.small"), @@ -93,22 +93,22 @@ import ( // StorageSize: pulumi.Int(0), // }, // }, -// NetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{ -// &escloud_v2.EscloudInstanceV2NetworkSpecArgs{ +// NetworkSpecs: escloud.InstanceV2NetworkSpecArray{ +// &escloud.InstanceV2NetworkSpecArgs{ // Type: pulumi.String("Elasticsearch"), // Bandwidth: pulumi.Int(1), // IsOpen: pulumi.Bool(true), // SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), // }, -// &escloud_v2.EscloudInstanceV2NetworkSpecArgs{ +// &escloud.InstanceV2NetworkSpecArgs{ // Type: pulumi.String("Kibana"), // Bandwidth: pulumi.Int(1), // IsOpen: pulumi.Bool(true), // SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), // }, // }, -// Tags: escloud_v2.EscloudInstanceV2TagArray{ -// &escloud_v2.EscloudInstanceV2TagArgs{ +// Tags: escloud.InstanceV2TagArray{ +// &escloud.InstanceV2TagArgs{ // Key: pulumi.String("k1"), // Value: pulumi.String("v1"), // }, @@ -130,6 +130,8 @@ import ( // ```sh // $ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id // ``` +// +// Deprecated: volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2 type EscloudInstanceV2 struct { pulumi.CustomResourceState diff --git a/sdk/go/volcengine/escloud_v2/escloudInstancesV2.go b/sdk/go/volcengine/escloud_v2/escloudInstancesV2.go index 741429b8..d0078877 100644 --- a/sdk/go/volcengine/escloud_v2/escloudInstancesV2.go +++ b/sdk/go/volcengine/escloud_v2/escloudInstancesV2.go @@ -11,6 +11,7 @@ import ( "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal" ) +// Deprecated: volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2 func EscloudInstancesV2(ctx *pulumi.Context, args *EscloudInstancesV2Args, opts ...pulumi.InvokeOption) (*EscloudInstancesV2Result, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv EscloudInstancesV2Result diff --git a/sdk/go/volcengine/escloud_v2/escloudIpWhiteList.go b/sdk/go/volcengine/escloud_v2/escloudIpWhiteList.go index bff36788..23572052 100644 --- a/sdk/go/volcengine/escloud_v2/escloudIpWhiteList.go +++ b/sdk/go/volcengine/escloud_v2/escloudIpWhiteList.go @@ -22,7 +22,7 @@ import ( // // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" -// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2" +// "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud" // "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc" // // ) @@ -50,7 +50,7 @@ import ( // if err != nil { // return err // } -// fooEscloudInstanceV2, err := escloud_v2.NewEscloudInstanceV2(ctx, "fooEscloudInstanceV2", &escloud_v2.EscloudInstanceV2Args{ +// fooInstanceV2, err := escloud.NewInstanceV2(ctx, "fooInstanceV2", &escloud.InstanceV2Args{ // InstanceName: pulumi.String("acc-test-escloud-instance"), // Version: pulumi.String("V7_10"), // ZoneIds: pulumi.StringArray{ @@ -68,25 +68,25 @@ import ( // EnablePureMaster: pulumi.Bool(true), // DeletionProtection: pulumi.Bool(false), // ProjectName: pulumi.String("default"), -// NodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{ -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// NodeSpecsAssigns: escloud.InstanceV2NodeSpecsAssignArray{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Master"), // Number: pulumi.Int(3), // ResourceSpecName: pulumi.String("es.x2.medium"), // StorageSpecName: pulumi.String("es.volume.essd.pl0"), // StorageSize: pulumi.Int(20), // }, -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Hot"), // Number: pulumi.Int(6), // ResourceSpecName: pulumi.String("es.x2.medium"), // StorageSpecName: pulumi.String("es.volume.essd.flexpl-standard"), // StorageSize: pulumi.Int(500), -// ExtraPerformance: &escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{ +// ExtraPerformance: &escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs{ // Throughput: pulumi.Int(65), // }, // }, -// &escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{ +// &escloud.InstanceV2NodeSpecsAssignArgs{ // Type: pulumi.String("Kibana"), // Number: pulumi.Int(1), // ResourceSpecName: pulumi.String("kibana.x2.small"), @@ -94,22 +94,22 @@ import ( // StorageSize: pulumi.Int(0), // }, // }, -// NetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{ -// &escloud_v2.EscloudInstanceV2NetworkSpecArgs{ +// NetworkSpecs: escloud.InstanceV2NetworkSpecArray{ +// &escloud.InstanceV2NetworkSpecArgs{ // Type: pulumi.String("Elasticsearch"), // Bandwidth: pulumi.Int(1), // IsOpen: pulumi.Bool(true), // SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), // }, -// &escloud_v2.EscloudInstanceV2NetworkSpecArgs{ +// &escloud.InstanceV2NetworkSpecArgs{ // Type: pulumi.String("Kibana"), // Bandwidth: pulumi.Int(1), // IsOpen: pulumi.Bool(true), // SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"), // }, // }, -// Tags: escloud_v2.EscloudInstanceV2TagArray{ -// &escloud_v2.EscloudInstanceV2TagArgs{ +// Tags: escloud.InstanceV2TagArray{ +// &escloud.InstanceV2TagArgs{ // Key: pulumi.String("k1"), // Value: pulumi.String("v1"), // }, @@ -118,8 +118,8 @@ import ( // if err != nil { // return err // } -// _, err = escloud_v2.NewEscloudIpWhiteList(ctx, "fooEscloudIpWhiteList", &escloud_v2.EscloudIpWhiteListArgs{ -// InstanceId: fooEscloudInstanceV2.ID(), +// _, err = escloud.NewIpWhiteList(ctx, "fooIpWhiteList", &escloud.IpWhiteListArgs{ +// InstanceId: fooInstanceV2.ID(), // Type: pulumi.String("public"), // Component: pulumi.String("es"), // IpLists: pulumi.StringArray{ @@ -144,6 +144,8 @@ import ( // ```sh // $ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList default resource_id // ``` +// +// Deprecated: volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList type EscloudIpWhiteList struct { pulumi.CustomResourceState diff --git a/sdk/nodejs/cdn/certificates.ts b/sdk/nodejs/cdn/certificates.ts index 1deab10b..f36a8bd5 100644 --- a/sdk/nodejs/cdn/certificates.ts +++ b/sdk/nodejs/cdn/certificates.ts @@ -21,12 +21,14 @@ import * as utilities from "../utilities"; * desc: "tftest", * source: "cdn_cert_hosting", * }); - * const fooCertificates = volcengine.cdn.CertificatesOutput({ + * const fooCertificates = volcengine.cdn.getCertificatesOutput({ * source: fooCdnCertificate.source, * }); * ``` */ +/** @deprecated volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates */ export function certificates(args: CertificatesArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("certificates is deprecated: volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates") opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:cdn/certificates:Certificates", { @@ -101,11 +103,12 @@ export interface CertificatesResult { * desc: "tftest", * source: "cdn_cert_hosting", * }); - * const fooCertificates = volcengine.cdn.CertificatesOutput({ + * const fooCertificates = volcengine.cdn.getCertificatesOutput({ * source: fooCdnCertificate.source, * }); * ``` */ +/** @deprecated volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates */ export function certificatesOutput(args: CertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => certificates(a, opts)) } diff --git a/sdk/nodejs/cdn/configs.ts b/sdk/nodejs/cdn/configs.ts index 7aabffdc..d355b146 100644 --- a/sdk/nodejs/cdn/configs.ts +++ b/sdk/nodejs/cdn/configs.ts @@ -64,12 +64,14 @@ import * as utilities from "../utilities"; * }, * }), * }); - * const fooConfigs = volcengine.cdn.ConfigsOutput({ + * const fooConfigs = volcengine.cdn.getConfigsOutput({ * domain: fooCdnDomain.id, * }); * ``` */ +/** @deprecated volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs */ export function configs(args: ConfigsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("configs is deprecated: volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs") opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:cdn/configs:Configs", { @@ -172,11 +174,12 @@ export interface ConfigsResult { * }, * }), * }); - * const fooConfigs = volcengine.cdn.ConfigsOutput({ + * const fooConfigs = volcengine.cdn.getConfigsOutput({ * domain: fooCdnDomain.id, * }); * ``` */ +/** @deprecated volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs */ export function configsOutput(args: ConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => configs(a, opts)) } diff --git a/sdk/nodejs/cdn/domains.ts b/sdk/nodejs/cdn/domains.ts index 897fa534..fd521bdc 100644 --- a/sdk/nodejs/cdn/domains.ts +++ b/sdk/nodejs/cdn/domains.ts @@ -64,12 +64,14 @@ import * as utilities from "../utilities"; * }, * }), * }); - * const fooDomains = volcengine.cdn.DomainsOutput({ + * const fooDomains = volcengine.cdn.getDomainsOutput({ * domain: fooCdnDomain.id, * }); * ``` */ +/** @deprecated volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains */ export function domains(args?: DomainsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("domains is deprecated: volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -245,11 +247,12 @@ export interface DomainsResult { * }, * }), * }); - * const fooDomains = volcengine.cdn.DomainsOutput({ + * const fooDomains = volcengine.cdn.getDomainsOutput({ * domain: fooCdnDomain.id, * }); * ``` */ +/** @deprecated volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains */ export function domainsOutput(args?: DomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => domains(a, opts)) } diff --git a/sdk/nodejs/cdn/getCertificates.ts b/sdk/nodejs/cdn/getCertificates.ts new file mode 100644 index 00000000..f333f9f1 --- /dev/null +++ b/sdk/nodejs/cdn/getCertificates.ts @@ -0,0 +1,133 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cdn certificates + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCertificates = volcengine.cdn.getCertificatesOutput({ + * source: fooCdnCertificate.source, + * }); + * ``` + */ +export function getCertificates(args: GetCertificatesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cdn/getCertificates:getCertificates", { + "name": args.name, + "outputFile": args.outputFile, + "source": args.source, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getCertificates. + */ +export interface GetCertificatesArgs { + /** + * Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + */ + name?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + */ + source: string; + /** + * Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + */ + status?: string; +} + +/** + * A collection of values returned by getCertificates. + */ +export interface GetCertificatesResult { + /** + * The collection of query. + */ + readonly certInfos: outputs.cdn.GetCertificatesCertInfo[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly name?: string; + readonly outputFile?: string; + /** + * Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + */ + readonly source: string; + /** + * Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + */ + readonly status?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cdn certificates + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCertificates = volcengine.cdn.getCertificatesOutput({ + * source: fooCdnCertificate.source, + * }); + * ``` + */ +export function getCertificatesOutput(args: GetCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCertificates(a, opts)) +} + +/** + * A collection of arguments for invoking getCertificates. + */ +export interface GetCertificatesOutputArgs { + /** + * Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + */ + name?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + */ + source: pulumi.Input; + /** + * Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/getConfigs.ts b/sdk/nodejs/cdn/getConfigs.ts new file mode 100644 index 00000000..99e1e91a --- /dev/null +++ b/sdk/nodejs/cdn/getConfigs.ts @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cdn configs + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", { + * domain: "tftest.byte-test.com", + * serviceType: "web", + * tags: [ + * { + * key: "tfkey1", + * value: "tfvalue1", + * }, + * { + * key: "tfkey2", + * value: "tfvalue2", + * }, + * ], + * domainConfig: pulumi.jsonStringify({ + * OriginProtocol: "https", + * Origin: [{ + * OriginAction: { + * OriginLines: [{ + * Address: "1.1.1.1", + * HttpPort: "80", + * HttpsPort: "443", + * InstanceType: "ip", + * OriginType: "primary", + * PrivateBucketAccess: false, + * Weight: "2", + * }], + * }, + * }], + * HTTPS: { + * CertInfo: { + * CertId: fooCdnCertificate.id, + * }, + * DisableHttp: false, + * HTTP2: true, + * Switch: true, + * Ocsp: false, + * TlsVersion: [ + * "tlsv1.1", + * "tlsv1.2", + * ], + * }, + * }), + * }); + * const fooConfigs = volcengine.cdn.getConfigsOutput({ + * domain: fooCdnDomain.id, + * }); + * ``` + */ +export function getConfigs(args: GetConfigsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cdn/getConfigs:getConfigs", { + "domain": args.domain, + "outputFile": args.outputFile, + }, opts); +} + +/** + * A collection of arguments for invoking getConfigs. + */ +export interface GetConfigsArgs { + /** + * The domain name. + */ + domain: string; + /** + * File name where to save data source results. + */ + outputFile?: string; +} + +/** + * A collection of values returned by getConfigs. + */ +export interface GetConfigsResult { + /** + * The domain name. + */ + readonly domain: string; + /** + * The collection of query. + */ + readonly domainConfigs: outputs.cdn.GetConfigsDomainConfig[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly outputFile?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cdn configs + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", { + * domain: "tftest.byte-test.com", + * serviceType: "web", + * tags: [ + * { + * key: "tfkey1", + * value: "tfvalue1", + * }, + * { + * key: "tfkey2", + * value: "tfvalue2", + * }, + * ], + * domainConfig: pulumi.jsonStringify({ + * OriginProtocol: "https", + * Origin: [{ + * OriginAction: { + * OriginLines: [{ + * Address: "1.1.1.1", + * HttpPort: "80", + * HttpsPort: "443", + * InstanceType: "ip", + * OriginType: "primary", + * PrivateBucketAccess: false, + * Weight: "2", + * }], + * }, + * }], + * HTTPS: { + * CertInfo: { + * CertId: fooCdnCertificate.id, + * }, + * DisableHttp: false, + * HTTP2: true, + * Switch: true, + * Ocsp: false, + * TlsVersion: [ + * "tlsv1.1", + * "tlsv1.2", + * ], + * }, + * }), + * }); + * const fooConfigs = volcengine.cdn.getConfigsOutput({ + * domain: fooCdnDomain.id, + * }); + * ``` + */ +export function getConfigsOutput(args: GetConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getConfigs(a, opts)) +} + +/** + * A collection of arguments for invoking getConfigs. + */ +export interface GetConfigsOutputArgs { + /** + * The domain name. + */ + domain: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/getDomains.ts b/sdk/nodejs/cdn/getDomains.ts new file mode 100644 index 00000000..f94b8a82 --- /dev/null +++ b/sdk/nodejs/cdn/getDomains.ts @@ -0,0 +1,301 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cdn domains + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", { + * domain: "tftest.byte-test.com", + * serviceType: "web", + * tags: [ + * { + * key: "tfkey1", + * value: "tfvalue1", + * }, + * { + * key: "tfkey2", + * value: "tfvalue2", + * }, + * ], + * domainConfig: pulumi.jsonStringify({ + * OriginProtocol: "https", + * Origin: [{ + * OriginAction: { + * OriginLines: [{ + * Address: "1.1.1.1", + * HttpPort: "80", + * HttpsPort: "443", + * InstanceType: "ip", + * OriginType: "primary", + * PrivateBucketAccess: false, + * Weight: "2", + * }], + * }, + * }], + * HTTPS: { + * CertInfo: { + * CertId: fooCdnCertificate.id, + * }, + * DisableHttp: false, + * HTTP2: true, + * Switch: true, + * Ocsp: false, + * TlsVersion: [ + * "tlsv1.1", + * "tlsv1.2", + * ], + * }, + * }), + * }); + * const fooDomains = volcengine.cdn.getDomainsOutput({ + * domain: fooCdnDomain.id, + * }); + * ``` + */ +export function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cdn/getDomains:getDomains", { + "domain": args.domain, + "https": args.https, + "ipv6": args.ipv6, + "originProtocol": args.originProtocol, + "outputFile": args.outputFile, + "primaryOrigin": args.primaryOrigin, + "project": args.project, + "serviceType": args.serviceType, + "status": args.status, + "tags": args.tags, + }, opts); +} + +/** + * A collection of arguments for invoking getDomains. + */ +export interface GetDomainsArgs { + /** + * Search by specifying domain name keywords, with fuzzy matching. + */ + domain?: string; + /** + * Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + */ + https?: boolean; + /** + * Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + */ + ipv6?: boolean; + /** + * Configure the origin protocol for the accelerated domain. + */ + originProtocol?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * Specify a primary origin server for filtering accelerated domains. + */ + primaryOrigin?: string; + /** + * The project name of the domain. + */ + project?: string; + /** + * The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + */ + serviceType?: string; + /** + * The status of the domain. + */ + status?: string; + /** + * Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + */ + tags?: string[]; +} + +/** + * A collection of values returned by getDomains. + */ +export interface GetDomainsResult { + /** + * Search by specifying domain name keywords, with fuzzy matching. + */ + readonly domain?: string; + /** + * The collection of query. + */ + readonly domains: outputs.cdn.GetDomainsDomain[]; + /** + * Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + */ + readonly https?: boolean; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + */ + readonly ipv6?: boolean; + /** + * Configure the origin protocol for the accelerated domain. + */ + readonly originProtocol?: string; + readonly outputFile?: string; + /** + * List of primary source servers to accelerate the domain name. + */ + readonly primaryOrigin?: string; + /** + * The project name of the domain. + */ + readonly project?: string; + /** + * The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + */ + readonly serviceType?: string; + /** + * The status of the domain. + */ + readonly status?: string; + /** + * Indicate the tags you have set for this domain name. You can set up to 10 tags. + */ + readonly tags?: string[]; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cdn domains + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", { + * certificate: "", + * privateKey: "", + * desc: "tftest", + * source: "cdn_cert_hosting", + * }); + * const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", { + * domain: "tftest.byte-test.com", + * serviceType: "web", + * tags: [ + * { + * key: "tfkey1", + * value: "tfvalue1", + * }, + * { + * key: "tfkey2", + * value: "tfvalue2", + * }, + * ], + * domainConfig: pulumi.jsonStringify({ + * OriginProtocol: "https", + * Origin: [{ + * OriginAction: { + * OriginLines: [{ + * Address: "1.1.1.1", + * HttpPort: "80", + * HttpsPort: "443", + * InstanceType: "ip", + * OriginType: "primary", + * PrivateBucketAccess: false, + * Weight: "2", + * }], + * }, + * }], + * HTTPS: { + * CertInfo: { + * CertId: fooCdnCertificate.id, + * }, + * DisableHttp: false, + * HTTP2: true, + * Switch: true, + * Ocsp: false, + * TlsVersion: [ + * "tlsv1.1", + * "tlsv1.2", + * ], + * }, + * }), + * }); + * const fooDomains = volcengine.cdn.getDomainsOutput({ + * domain: fooCdnDomain.id, + * }); + * ``` + */ +export function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDomains(a, opts)) +} + +/** + * A collection of arguments for invoking getDomains. + */ +export interface GetDomainsOutputArgs { + /** + * Search by specifying domain name keywords, with fuzzy matching. + */ + domain?: pulumi.Input; + /** + * Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + */ + https?: pulumi.Input; + /** + * Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + */ + ipv6?: pulumi.Input; + /** + * Configure the origin protocol for the accelerated domain. + */ + originProtocol?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * Specify a primary origin server for filtering accelerated domains. + */ + primaryOrigin?: pulumi.Input; + /** + * The project name of the domain. + */ + project?: pulumi.Input; + /** + * The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + */ + serviceType?: pulumi.Input; + /** + * The status of the domain. + */ + status?: pulumi.Input; + /** + * Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + */ + tags?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/cdn/getSharedConfigs.ts b/sdk/nodejs/cdn/getSharedConfigs.ts new file mode 100644 index 00000000..0d0c7a51 --- /dev/null +++ b/sdk/nodejs/cdn/getSharedConfigs.ts @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cdn shared configs + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cdn.getSharedConfigs({ + * configName: "tf-test", + * configType: "allow_ip_access_rule", + * projectName: "default", + * }); + * ``` + */ +export function getSharedConfigs(args?: GetSharedConfigsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cdn/getSharedConfigs:getSharedConfigs", { + "configName": args.configName, + "configType": args.configType, + "configTypeLists": args.configTypeLists, + "outputFile": args.outputFile, + "projectName": args.projectName, + }, opts); +} + +/** + * A collection of arguments for invoking getSharedConfigs. + */ +export interface GetSharedConfigsArgs { + /** + * The name of the shared config. + */ + configName?: string; + /** + * The type of the shared config. + */ + configType?: string; + /** + * The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + */ + configTypeLists?: string[]; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The name of the project. + */ + projectName?: string; +} + +/** + * A collection of values returned by getSharedConfigs. + */ +export interface GetSharedConfigsResult { + /** + * The collection of query. + */ + readonly configDatas: outputs.cdn.GetSharedConfigsConfigData[]; + /** + * The name of the config. + */ + readonly configName?: string; + /** + * The type of the config. + */ + readonly configType?: string; + readonly configTypeLists?: string[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly outputFile?: string; + /** + * The name of the project. + */ + readonly projectName?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cdn shared configs + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cdn.getSharedConfigs({ + * configName: "tf-test", + * configType: "allow_ip_access_rule", + * projectName: "default", + * }); + * ``` + */ +export function getSharedConfigsOutput(args?: GetSharedConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSharedConfigs(a, opts)) +} + +/** + * A collection of arguments for invoking getSharedConfigs. + */ +export interface GetSharedConfigsOutputArgs { + /** + * The name of the shared config. + */ + configName?: pulumi.Input; + /** + * The type of the shared config. + */ + configType?: pulumi.Input; + /** + * The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + */ + configTypeLists?: pulumi.Input[]>; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The name of the project. + */ + projectName?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/index.ts b/sdk/nodejs/cdn/index.ts index 75b0b032..ee71628f 100644 --- a/sdk/nodejs/cdn/index.ts +++ b/sdk/nodejs/cdn/index.ts @@ -30,6 +30,26 @@ export const domains: typeof import("./domains").domains = null as any; export const domainsOutput: typeof import("./domains").domainsOutput = null as any; utilities.lazyLoad(exports, ["domains","domainsOutput"], () => require("./domains")); +export { GetCertificatesArgs, GetCertificatesResult, GetCertificatesOutputArgs } from "./getCertificates"; +export const getCertificates: typeof import("./getCertificates").getCertificates = null as any; +export const getCertificatesOutput: typeof import("./getCertificates").getCertificatesOutput = null as any; +utilities.lazyLoad(exports, ["getCertificates","getCertificatesOutput"], () => require("./getCertificates")); + +export { GetConfigsArgs, GetConfigsResult, GetConfigsOutputArgs } from "./getConfigs"; +export const getConfigs: typeof import("./getConfigs").getConfigs = null as any; +export const getConfigsOutput: typeof import("./getConfigs").getConfigsOutput = null as any; +utilities.lazyLoad(exports, ["getConfigs","getConfigsOutput"], () => require("./getConfigs")); + +export { GetDomainsArgs, GetDomainsResult, GetDomainsOutputArgs } from "./getDomains"; +export const getDomains: typeof import("./getDomains").getDomains = null as any; +export const getDomainsOutput: typeof import("./getDomains").getDomainsOutput = null as any; +utilities.lazyLoad(exports, ["getDomains","getDomainsOutput"], () => require("./getDomains")); + +export { GetSharedConfigsArgs, GetSharedConfigsResult, GetSharedConfigsOutputArgs } from "./getSharedConfigs"; +export const getSharedConfigs: typeof import("./getSharedConfigs").getSharedConfigs = null as any; +export const getSharedConfigsOutput: typeof import("./getSharedConfigs").getSharedConfigsOutput = null as any; +utilities.lazyLoad(exports, ["getSharedConfigs","getSharedConfigsOutput"], () => require("./getSharedConfigs")); + export { SharedConfigArgs, SharedConfigState } from "./sharedConfig"; export type SharedConfig = import("./sharedConfig").SharedConfig; export const SharedConfig: typeof import("./sharedConfig").SharedConfig = null as any; diff --git a/sdk/nodejs/cdn/sharedConfigs.ts b/sdk/nodejs/cdn/sharedConfigs.ts index b31cf7cf..e68f8d90 100644 --- a/sdk/nodejs/cdn/sharedConfigs.ts +++ b/sdk/nodejs/cdn/sharedConfigs.ts @@ -14,14 +14,16 @@ import * as utilities from "../utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cdn.SharedConfigs({ + * const foo = volcengine.cdn.getSharedConfigs({ * configName: "tf-test", * configType: "allow_ip_access_rule", * projectName: "default", * }); * ``` */ +/** @deprecated volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs */ export function sharedConfigs(args?: SharedConfigsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("sharedConfigs is deprecated: volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -99,13 +101,14 @@ export interface SharedConfigsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cdn.SharedConfigs({ + * const foo = volcengine.cdn.getSharedConfigs({ * configName: "tf-test", * configType: "allow_ip_access_rule", * projectName: "default", * }); * ``` */ +/** @deprecated volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs */ export function sharedConfigsOutput(args?: SharedConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => sharedConfigs(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/getGroups.ts b/sdk/nodejs/cloud_identity/getGroups.ts new file mode 100644 index 00000000..bc2cdd84 --- /dev/null +++ b/sdk/nodejs/cloud_identity/getGroups.ts @@ -0,0 +1,155 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity groups + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooGroup: volcengine.cloud_identity.Group[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooGroup.push(new volcengine.cloud_identity.Group(`fooGroup-${range.value}`, { + * description: "tf", + * displayName: `tf-test-group-${range.value}`, + * groupName: `acc-test-group-${range.value}`, + * joinType: "Manual", + * })); + * } + * const fooGroups = volcengine.cloud_identity.getGroups({ + * groupName: "acc-test-group", + * joinType: "Manual", + * }); + * ``` + */ +export function getGroups(args?: GetGroupsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getGroups:getGroups", { + "displayName": args.displayName, + "groupName": args.groupName, + "joinType": args.joinType, + "nameRegex": args.nameRegex, + "outputFile": args.outputFile, + }, opts); +} + +/** + * A collection of arguments for invoking getGroups. + */ +export interface GetGroupsArgs { + /** + * The display name of cloud identity group. + */ + displayName?: string; + /** + * The name of cloud identity group. + */ + groupName?: string; + /** + * The join type of cloud identity group. Valid values: `Auto`, `Manual`. + */ + joinType?: string; + /** + * A Name Regex of Resource. + */ + nameRegex?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; +} + +/** + * A collection of values returned by getGroups. + */ +export interface GetGroupsResult { + /** + * The display name of the cloud identity group. + */ + readonly displayName?: string; + /** + * The name of the cloud identity group. + */ + readonly groupName?: string; + /** + * The collection of query. + */ + readonly groups: outputs.cloud_identity.GetGroupsGroup[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The email of the cloud identity group. + */ + readonly joinType?: string; + readonly nameRegex?: string; + readonly outputFile?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cloud identity groups + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooGroup: volcengine.cloud_identity.Group[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooGroup.push(new volcengine.cloud_identity.Group(`fooGroup-${range.value}`, { + * description: "tf", + * displayName: `tf-test-group-${range.value}`, + * groupName: `acc-test-group-${range.value}`, + * joinType: "Manual", + * })); + * } + * const fooGroups = volcengine.cloud_identity.getGroups({ + * groupName: "acc-test-group", + * joinType: "Manual", + * }); + * ``` + */ +export function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGroups(a, opts)) +} + +/** + * A collection of arguments for invoking getGroups. + */ +export interface GetGroupsOutputArgs { + /** + * The display name of cloud identity group. + */ + displayName?: pulumi.Input; + /** + * The name of cloud identity group. + */ + groupName?: pulumi.Input; + /** + * The join type of cloud identity group. Valid values: `Auto`, `Manual`. + */ + joinType?: pulumi.Input; + /** + * A Name Regex of Resource. + */ + nameRegex?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/getPermissionSetAssignments.ts b/sdk/nodejs/cloud_identity/getPermissionSetAssignments.ts new file mode 100644 index 00000000..ab56b47a --- /dev/null +++ b/sdk/nodejs/cloud_identity/getPermissionSetAssignments.ts @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity permission set assignments + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooPermissionSet = new volcengine.cloud_identity.PermissionSet("fooPermissionSet", { + * description: "tf", + * sessionDuration: 5000, + * permissionPolicies: [ + * { + * permissionPolicyType: "System", + * permissionPolicyName: "AdministratorAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "System", + * permissionPolicyName: "ReadOnlyAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "Inline", + * inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + * }, + * ], + * }); + * const fooUser = new volcengine.cloud_identity.User("fooUser", { + * userName: "acc-test-user", + * displayName: "tf-test-user", + * description: "tf", + * email: "88@qq.com", + * phone: "181", + * }); + * const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", { + * permissionSetId: fooPermissionSet.id, + * targetId: "210026****", + * principalType: "User", + * principalId: fooUser.id, + * }); + * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({ + * permissionSetId: fooPermissionSetAssignment.permissionSetId, + * }); + * ``` + */ +export function getPermissionSetAssignments(args?: GetPermissionSetAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments", { + "nameRegex": args.nameRegex, + "outputFile": args.outputFile, + "permissionSetId": args.permissionSetId, + "principalId": args.principalId, + "principalType": args.principalType, + "targetId": args.targetId, + }, opts); +} + +/** + * A collection of arguments for invoking getPermissionSetAssignments. + */ +export interface GetPermissionSetAssignmentsArgs { + /** + * A Name Regex of Resource. + */ + nameRegex?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The id of cloud identity permission set. + */ + permissionSetId?: string; + /** + * The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + */ + principalId?: string; + /** + * The principal type of cloud identity permission set. Valid values: `User`, `Group`. + */ + principalType?: string; + /** + * The target account id of cloud identity permission set assignment. + */ + targetId?: string; +} + +/** + * A collection of values returned by getPermissionSetAssignments. + */ +export interface GetPermissionSetAssignmentsResult { + /** + * The collection of query. + */ + readonly assignments: outputs.cloud_identity.GetPermissionSetAssignmentsAssignment[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly nameRegex?: string; + readonly outputFile?: string; + /** + * The id of the cloud identity permission set. + */ + readonly permissionSetId?: string; + /** + * The principal id of the cloud identity permission set assignment. + */ + readonly principalId?: string; + /** + * The principal type of the cloud identity permission set assignment. + */ + readonly principalType?: string; + /** + * The target account id of the cloud identity permission set assignment. + */ + readonly targetId?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cloud identity permission set assignments + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooPermissionSet = new volcengine.cloud_identity.PermissionSet("fooPermissionSet", { + * description: "tf", + * sessionDuration: 5000, + * permissionPolicies: [ + * { + * permissionPolicyType: "System", + * permissionPolicyName: "AdministratorAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "System", + * permissionPolicyName: "ReadOnlyAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "Inline", + * inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + * }, + * ], + * }); + * const fooUser = new volcengine.cloud_identity.User("fooUser", { + * userName: "acc-test-user", + * displayName: "tf-test-user", + * description: "tf", + * email: "88@qq.com", + * phone: "181", + * }); + * const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", { + * permissionSetId: fooPermissionSet.id, + * targetId: "210026****", + * principalType: "User", + * principalId: fooUser.id, + * }); + * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({ + * permissionSetId: fooPermissionSetAssignment.permissionSetId, + * }); + * ``` + */ +export function getPermissionSetAssignmentsOutput(args?: GetPermissionSetAssignmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPermissionSetAssignments(a, opts)) +} + +/** + * A collection of arguments for invoking getPermissionSetAssignments. + */ +export interface GetPermissionSetAssignmentsOutputArgs { + /** + * A Name Regex of Resource. + */ + nameRegex?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The id of cloud identity permission set. + */ + permissionSetId?: pulumi.Input; + /** + * The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. + */ + principalId?: pulumi.Input; + /** + * The principal type of cloud identity permission set. Valid values: `User`, `Group`. + */ + principalType?: pulumi.Input; + /** + * The target account id of cloud identity permission set assignment. + */ + targetId?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/getPermissionSetProvisionings.ts b/sdk/nodejs/cloud_identity/getPermissionSetProvisionings.ts new file mode 100644 index 00000000..6d8c45b6 --- /dev/null +++ b/sdk/nodejs/cloud_identity/getPermissionSetProvisionings.ts @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity permission set provisionings + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cloud_identity.getPermissionSetProvisionings({ + * targetId: "210026****", + * }); + * ``` + */ +export function getPermissionSetProvisionings(args?: GetPermissionSetProvisioningsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings", { + "nameRegex": args.nameRegex, + "outputFile": args.outputFile, + "permissionSetId": args.permissionSetId, + "targetId": args.targetId, + }, opts); +} + +/** + * A collection of arguments for invoking getPermissionSetProvisionings. + */ +export interface GetPermissionSetProvisioningsArgs { + /** + * A Name Regex of Resource. + */ + nameRegex?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The id of cloud identity permission set. + */ + permissionSetId?: string; + /** + * The target account id of cloud identity permission set. + */ + targetId?: string; +} + +/** + * A collection of values returned by getPermissionSetProvisionings. + */ +export interface GetPermissionSetProvisioningsResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly nameRegex?: string; + readonly outputFile?: string; + /** + * The collection of query. + */ + readonly permissionProvisionings: outputs.cloud_identity.GetPermissionSetProvisioningsPermissionProvisioning[]; + /** + * The id of the cloud identity permission set. + */ + readonly permissionSetId?: string; + /** + * The target account id of the cloud identity permission set provisioning. + */ + readonly targetId?: string; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cloud identity permission set provisionings + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cloud_identity.getPermissionSetProvisionings({ + * targetId: "210026****", + * }); + * ``` + */ +export function getPermissionSetProvisioningsOutput(args?: GetPermissionSetProvisioningsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPermissionSetProvisionings(a, opts)) +} + +/** + * A collection of arguments for invoking getPermissionSetProvisionings. + */ +export interface GetPermissionSetProvisioningsOutputArgs { + /** + * A Name Regex of Resource. + */ + nameRegex?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The id of cloud identity permission set. + */ + permissionSetId?: pulumi.Input; + /** + * The target account id of cloud identity permission set. + */ + targetId?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/getPermissionSets.ts b/sdk/nodejs/cloud_identity/getPermissionSets.ts new file mode 100644 index 00000000..56660a35 --- /dev/null +++ b/sdk/nodejs/cloud_identity/getPermissionSets.ts @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity permission sets + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooPermissionSet: volcengine.cloud_identity.PermissionSet[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooPermissionSet.push(new volcengine.cloud_identity.PermissionSet(`fooPermissionSet-${range.value}`, { + * description: "tf", + * sessionDuration: 5000, + * permissionPolicies: [ + * { + * permissionPolicyType: "System", + * permissionPolicyName: "AdministratorAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "System", + * permissionPolicyName: "ReadOnlyAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "Inline", + * inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + * }, + * ], + * })); + * } + * const fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({ + * ids: fooPermissionSet.map(__item => __item.id), + * }); + * ``` + */ +export function getPermissionSets(args?: GetPermissionSetsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getPermissionSets:getPermissionSets", { + "ids": args.ids, + "nameRegex": args.nameRegex, + "outputFile": args.outputFile, + }, opts); +} + +/** + * A collection of arguments for invoking getPermissionSets. + */ +export interface GetPermissionSetsArgs { + /** + * A list of cloud identity permission set IDs. + */ + ids?: string[]; + /** + * A Name Regex of cloud identity permission set. + */ + nameRegex?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; +} + +/** + * A collection of values returned by getPermissionSets. + */ +export interface GetPermissionSetsResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly ids?: string[]; + readonly nameRegex?: string; + readonly outputFile?: string; + /** + * The collection of query. + */ + readonly permissionSets: outputs.cloud_identity.GetPermissionSetsPermissionSet[]; + /** + * The total count of query. + */ + readonly totalCount: number; +} +/** + * Use this data source to query detailed information of cloud identity permission sets + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooPermissionSet: volcengine.cloud_identity.PermissionSet[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooPermissionSet.push(new volcengine.cloud_identity.PermissionSet(`fooPermissionSet-${range.value}`, { + * description: "tf", + * sessionDuration: 5000, + * permissionPolicies: [ + * { + * permissionPolicyType: "System", + * permissionPolicyName: "AdministratorAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "System", + * permissionPolicyName: "ReadOnlyAccess", + * inlinePolicyDocument: "", + * }, + * { + * permissionPolicyType: "Inline", + * inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}", + * }, + * ], + * })); + * } + * const fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({ + * ids: fooPermissionSet.map(__item => __item.id), + * }); + * ``` + */ +export function getPermissionSetsOutput(args?: GetPermissionSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPermissionSets(a, opts)) +} + +/** + * A collection of arguments for invoking getPermissionSets. + */ +export interface GetPermissionSetsOutputArgs { + /** + * A list of cloud identity permission set IDs. + */ + ids?: pulumi.Input[]>; + /** + * A Name Regex of cloud identity permission set. + */ + nameRegex?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/getUserProvisionings.ts b/sdk/nodejs/cloud_identity/getUserProvisionings.ts new file mode 100644 index 00000000..c657d610 --- /dev/null +++ b/sdk/nodejs/cloud_identity/getUserProvisionings.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity user provisionings + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cloud_identity.getUserProvisionings({ + * accountId: "210026****", + * }); + * ``` + */ +export function getUserProvisionings(args?: GetUserProvisioningsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getUserProvisionings:getUserProvisionings", { + "accountId": args.accountId, + "outputFile": args.outputFile, + }, opts); +} + +/** + * A collection of arguments for invoking getUserProvisionings. + */ +export interface GetUserProvisioningsArgs { + /** + * The account id. + */ + accountId?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; +} + +/** + * A collection of values returned by getUserProvisionings. + */ +export interface GetUserProvisioningsResult { + readonly accountId?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly outputFile?: string; + /** + * The total count of query. + */ + readonly totalCount: number; + /** + * The collection of query. + */ + readonly userProvisionings: outputs.cloud_identity.GetUserProvisioningsUserProvisioning[]; +} +/** + * Use this data source to query detailed information of cloud identity user provisionings + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const foo = volcengine.cloud_identity.getUserProvisionings({ + * accountId: "210026****", + * }); + * ``` + */ +export function getUserProvisioningsOutput(args?: GetUserProvisioningsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUserProvisionings(a, opts)) +} + +/** + * A collection of arguments for invoking getUserProvisionings. + */ +export interface GetUserProvisioningsOutputArgs { + /** + * The account id. + */ + accountId?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/getUsers.ts b/sdk/nodejs/cloud_identity/getUsers.ts new file mode 100644 index 00000000..42e28bcb --- /dev/null +++ b/sdk/nodejs/cloud_identity/getUsers.ts @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Use this data source to query detailed information of cloud identity users + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooUser: volcengine.cloud_identity.User[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooUser.push(new volcengine.cloud_identity.User(`fooUser-${range.value}`, { + * description: "tf", + * displayName: `tf-test-user-${range.value}`, + * email: "88@qq.com", + * phone: "181", + * userName: `acc-test-user-${range.value}`, + * })); + * } + * const fooUsers = volcengine.cloud_identity.getUsers({ + * source: "Manual", + * userName: "acc-test-user", + * }); + * ``` + */ +export function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:cloud_identity/getUsers:getUsers", { + "departmentId": args.departmentId, + "displayName": args.displayName, + "nameRegex": args.nameRegex, + "outputFile": args.outputFile, + "source": args.source, + "userName": args.userName, + }, opts); +} + +/** + * A collection of arguments for invoking getUsers. + */ +export interface GetUsersArgs { + /** + * The department id. + */ + departmentId?: string; + /** + * The display name of cloud identity user. + */ + displayName?: string; + /** + * A Name Regex of Resource. + */ + nameRegex?: string; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The source of cloud identity user. Valid values: `Sync`, `Manual`. + */ + source?: string; + /** + * The name of cloud identity user. + */ + userName?: string; +} + +/** + * A collection of values returned by getUsers. + */ +export interface GetUsersResult { + readonly departmentId?: string; + /** + * The display name of the cloud identity user. + */ + readonly displayName?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly nameRegex?: string; + readonly outputFile?: string; + /** + * The source of the cloud identity user. + */ + readonly source?: string; + /** + * The total count of query. + */ + readonly totalCount: number; + /** + * The name of the cloud identity user. + */ + readonly userName?: string; + /** + * The collection of query. + */ + readonly users: outputs.cloud_identity.GetUsersUser[]; +} +/** + * Use this data source to query detailed information of cloud identity users + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooUser: volcengine.cloud_identity.User[] = []; + * for (const range = {value: 0}; range.value < 2; range.value++) { + * fooUser.push(new volcengine.cloud_identity.User(`fooUser-${range.value}`, { + * description: "tf", + * displayName: `tf-test-user-${range.value}`, + * email: "88@qq.com", + * phone: "181", + * userName: `acc-test-user-${range.value}`, + * })); + * } + * const fooUsers = volcengine.cloud_identity.getUsers({ + * source: "Manual", + * userName: "acc-test-user", + * }); + * ``` + */ +export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUsers(a, opts)) +} + +/** + * A collection of arguments for invoking getUsers. + */ +export interface GetUsersOutputArgs { + /** + * The department id. + */ + departmentId?: pulumi.Input; + /** + * The display name of cloud identity user. + */ + displayName?: pulumi.Input; + /** + * A Name Regex of Resource. + */ + nameRegex?: pulumi.Input; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The source of cloud identity user. Valid values: `Sync`, `Manual`. + */ + source?: pulumi.Input; + /** + * The name of cloud identity user. + */ + userName?: pulumi.Input; +} diff --git a/sdk/nodejs/cloud_identity/groups.ts b/sdk/nodejs/cloud_identity/groups.ts index 42153f52..87c1256a 100644 --- a/sdk/nodejs/cloud_identity/groups.ts +++ b/sdk/nodejs/cloud_identity/groups.ts @@ -24,13 +24,15 @@ import * as utilities from "../utilities"; * joinType: "Manual", * })); * } - * const fooGroups = volcengine.cloud_identity.Groups({ + * const fooGroups = volcengine.cloud_identity.getGroups({ * groupName: "acc-test-group", * joinType: "Manual", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups */ export function groups(args?: GroupsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("groups is deprecated: volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -118,12 +120,13 @@ export interface GroupsResult { * joinType: "Manual", * })); * } - * const fooGroups = volcengine.cloud_identity.Groups({ + * const fooGroups = volcengine.cloud_identity.getGroups({ * groupName: "acc-test-group", * joinType: "Manual", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups */ export function groupsOutput(args?: GroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => groups(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/index.ts b/sdk/nodejs/cloud_identity/index.ts index 07246d97..e569e0da 100644 --- a/sdk/nodejs/cloud_identity/index.ts +++ b/sdk/nodejs/cloud_identity/index.ts @@ -5,6 +5,36 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { GetGroupsArgs, GetGroupsResult, GetGroupsOutputArgs } from "./getGroups"; +export const getGroups: typeof import("./getGroups").getGroups = null as any; +export const getGroupsOutput: typeof import("./getGroups").getGroupsOutput = null as any; +utilities.lazyLoad(exports, ["getGroups","getGroupsOutput"], () => require("./getGroups")); + +export { GetPermissionSetAssignmentsArgs, GetPermissionSetAssignmentsResult, GetPermissionSetAssignmentsOutputArgs } from "./getPermissionSetAssignments"; +export const getPermissionSetAssignments: typeof import("./getPermissionSetAssignments").getPermissionSetAssignments = null as any; +export const getPermissionSetAssignmentsOutput: typeof import("./getPermissionSetAssignments").getPermissionSetAssignmentsOutput = null as any; +utilities.lazyLoad(exports, ["getPermissionSetAssignments","getPermissionSetAssignmentsOutput"], () => require("./getPermissionSetAssignments")); + +export { GetPermissionSetProvisioningsArgs, GetPermissionSetProvisioningsResult, GetPermissionSetProvisioningsOutputArgs } from "./getPermissionSetProvisionings"; +export const getPermissionSetProvisionings: typeof import("./getPermissionSetProvisionings").getPermissionSetProvisionings = null as any; +export const getPermissionSetProvisioningsOutput: typeof import("./getPermissionSetProvisionings").getPermissionSetProvisioningsOutput = null as any; +utilities.lazyLoad(exports, ["getPermissionSetProvisionings","getPermissionSetProvisioningsOutput"], () => require("./getPermissionSetProvisionings")); + +export { GetPermissionSetsArgs, GetPermissionSetsResult, GetPermissionSetsOutputArgs } from "./getPermissionSets"; +export const getPermissionSets: typeof import("./getPermissionSets").getPermissionSets = null as any; +export const getPermissionSetsOutput: typeof import("./getPermissionSets").getPermissionSetsOutput = null as any; +utilities.lazyLoad(exports, ["getPermissionSets","getPermissionSetsOutput"], () => require("./getPermissionSets")); + +export { GetUserProvisioningsArgs, GetUserProvisioningsResult, GetUserProvisioningsOutputArgs } from "./getUserProvisionings"; +export const getUserProvisionings: typeof import("./getUserProvisionings").getUserProvisionings = null as any; +export const getUserProvisioningsOutput: typeof import("./getUserProvisionings").getUserProvisioningsOutput = null as any; +utilities.lazyLoad(exports, ["getUserProvisionings","getUserProvisioningsOutput"], () => require("./getUserProvisionings")); + +export { GetUsersArgs, GetUsersResult, GetUsersOutputArgs } from "./getUsers"; +export const getUsers: typeof import("./getUsers").getUsers = null as any; +export const getUsersOutput: typeof import("./getUsers").getUsersOutput = null as any; +utilities.lazyLoad(exports, ["getUsers","getUsersOutput"], () => require("./getUsers")); + export { GroupArgs, GroupState } from "./group"; export type Group = import("./group").Group; export const Group: typeof import("./group").Group = null as any; diff --git a/sdk/nodejs/cloud_identity/permissionSetAssignments.ts b/sdk/nodejs/cloud_identity/permissionSetAssignments.ts index d850c754..00b95bdb 100644 --- a/sdk/nodejs/cloud_identity/permissionSetAssignments.ts +++ b/sdk/nodejs/cloud_identity/permissionSetAssignments.ts @@ -48,12 +48,14 @@ import * as utilities from "../utilities"; * principalType: "User", * principalId: fooUser.id, * }); - * const fooPermissionSetAssignments = volcengine.cloud_identity.PermissionSetAssignmentsOutput({ + * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({ * permissionSetId: fooPermissionSetAssignment.permissionSetId, * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments */ export function permissionSetAssignments(args?: PermissionSetAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("permissionSetAssignments is deprecated: volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -174,11 +176,12 @@ export interface PermissionSetAssignmentsResult { * principalType: "User", * principalId: fooUser.id, * }); - * const fooPermissionSetAssignments = volcengine.cloud_identity.PermissionSetAssignmentsOutput({ + * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({ * permissionSetId: fooPermissionSetAssignment.permissionSetId, * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments */ export function permissionSetAssignmentsOutput(args?: PermissionSetAssignmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => permissionSetAssignments(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/permissionSetProvisionings.ts b/sdk/nodejs/cloud_identity/permissionSetProvisionings.ts index 964ecb10..f99a6814 100644 --- a/sdk/nodejs/cloud_identity/permissionSetProvisionings.ts +++ b/sdk/nodejs/cloud_identity/permissionSetProvisionings.ts @@ -14,12 +14,14 @@ import * as utilities from "../utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cloud_identity.PermissionSetProvisionings({ + * const foo = volcengine.cloud_identity.getPermissionSetProvisionings({ * targetId: "210026****", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings */ export function permissionSetProvisionings(args?: PermissionSetProvisioningsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("permissionSetProvisionings is deprecated: volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -88,11 +90,12 @@ export interface PermissionSetProvisioningsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cloud_identity.PermissionSetProvisionings({ + * const foo = volcengine.cloud_identity.getPermissionSetProvisionings({ * targetId: "210026****", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings */ export function permissionSetProvisioningsOutput(args?: PermissionSetProvisioningsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => permissionSetProvisionings(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/permissionSets.ts b/sdk/nodejs/cloud_identity/permissionSets.ts index f7d2131b..f304ec0f 100644 --- a/sdk/nodejs/cloud_identity/permissionSets.ts +++ b/sdk/nodejs/cloud_identity/permissionSets.ts @@ -38,12 +38,14 @@ import * as utilities from "../utilities"; * ], * })); * } - * const fooPermissionSets = volcengine.cloud_identity.PermissionSetsOutput({ + * const fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({ * ids: fooPermissionSet.map(__item => __item.id), * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets */ export function permissionSets(args?: PermissionSetsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("permissionSets is deprecated: volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -124,11 +126,12 @@ export interface PermissionSetsResult { * ], * })); * } - * const fooPermissionSets = volcengine.cloud_identity.PermissionSetsOutput({ + * const fooPermissionSets = volcengine.cloud_identity.getPermissionSetsOutput({ * ids: fooPermissionSet.map(__item => __item.id), * }); * ``` */ +/** @deprecated volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets */ export function permissionSetsOutput(args?: PermissionSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => permissionSets(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/userProvisionings.ts b/sdk/nodejs/cloud_identity/userProvisionings.ts index 28126b18..42eb2302 100644 --- a/sdk/nodejs/cloud_identity/userProvisionings.ts +++ b/sdk/nodejs/cloud_identity/userProvisionings.ts @@ -14,12 +14,14 @@ import * as utilities from "../utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cloud_identity.UserProvisionings({ + * const foo = volcengine.cloud_identity.getUserProvisionings({ * accountId: "210026****", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings */ export function userProvisionings(args?: UserProvisioningsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("userProvisionings is deprecated: volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -70,11 +72,12 @@ export interface UserProvisioningsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const foo = volcengine.cloud_identity.UserProvisionings({ + * const foo = volcengine.cloud_identity.getUserProvisionings({ * accountId: "210026****", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings */ export function userProvisioningsOutput(args?: UserProvisioningsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => userProvisionings(a, opts)) } diff --git a/sdk/nodejs/cloud_identity/users.ts b/sdk/nodejs/cloud_identity/users.ts index 178f54cc..5032c719 100644 --- a/sdk/nodejs/cloud_identity/users.ts +++ b/sdk/nodejs/cloud_identity/users.ts @@ -25,13 +25,15 @@ import * as utilities from "../utilities"; * userName: `acc-test-user-${range.value}`, * })); * } - * const fooUsers = volcengine.cloud_identity.Users({ + * const fooUsers = volcengine.cloud_identity.getUsers({ * source: "Manual", * userName: "acc-test-user", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers */ export function users(args?: UsersArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("users is deprecated: volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -126,12 +128,13 @@ export interface UsersResult { * userName: `acc-test-user-${range.value}`, * })); * } - * const fooUsers = volcengine.cloud_identity.Users({ + * const fooUsers = volcengine.cloud_identity.getUsers({ * source: "Manual", * userName: "acc-test-user", * }); * ``` */ +/** @deprecated volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers */ export function usersOutput(args?: UsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => users(a, opts)) } diff --git a/sdk/nodejs/escloud/getInstances.ts b/sdk/nodejs/escloud/getInstances.ts new file mode 100644 index 00000000..423a8609 --- /dev/null +++ b/sdk/nodejs/escloud/getInstances.ts @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooZones = volcengine.ecs.Zones({}); + * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { + * vpcName: "acc-test-vpc", + * cidrBlock: "172.16.0.0/16", + * }); + * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { + * subnetName: "acc-test-subnet_new", + * description: "tfdesc", + * cidrBlock: "172.16.0.0/24", + * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * vpcId: fooVpc.id, + * }); + * const fooInstance = new volcengine.escloud.Instance("fooInstance", {instanceConfiguration: { + * version: "V6_7", + * zoneNumber: 1, + * enableHttps: true, + * adminUserName: "admin", + * adminPassword: "Password@@", + * chargeType: "PostPaid", + * configurationCode: "es.standard", + * enablePureMaster: true, + * instanceName: "acc-test-0", + * nodeSpecsAssigns: [ + * { + * type: "Master", + * number: 3, + * resourceSpecName: "es.x4.medium", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 100, + * }, + * { + * type: "Hot", + * number: 2, + * resourceSpecName: "es.x4.large", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 100, + * }, + * { + * type: "Kibana", + * number: 1, + * resourceSpecName: "kibana.x2.small", + * }, + * ], + * subnetId: fooSubnet.id, + * projectName: "default", + * forceRestartAfterScale: false, + * }}); + * const fooInstances = volcengine.escloud.getInstancesOutput({ + * ids: [fooInstance.id], + * }); + * ``` + */ +export function getInstances(args?: GetInstancesArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:escloud/getInstances:getInstances", { + "chargeTypes": args.chargeTypes, + "ids": args.ids, + "names": args.names, + "outputFile": args.outputFile, + "statuses": args.statuses, + "versions": args.versions, + "zoneIds": args.zoneIds, + }, opts); +} + +/** + * A collection of arguments for invoking getInstances. + */ +export interface GetInstancesArgs { + /** + * The charge types of instance. + */ + chargeTypes?: string[]; + /** + * A list of instance IDs. + */ + ids?: string[]; + /** + * The names of instance. + */ + names?: string[]; + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The list status of instance. + */ + statuses?: string[]; + /** + * The versions of instance. + */ + versions?: string[]; + /** + * The available zone IDs of instance. + */ + zoneIds?: string[]; +} + +/** + * A collection of values returned by getInstances. + */ +export interface GetInstancesResult { + readonly chargeTypes?: string[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly ids?: string[]; + /** + * The collection of instance query. + */ + readonly instances: outputs.escloud.GetInstancesInstance[]; + readonly names?: string[]; + readonly outputFile?: string; + readonly statuses?: string[]; + /** + * The total count of instance query. + */ + readonly totalCount: number; + readonly versions?: string[]; + readonly zoneIds?: string[]; +} +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooZones = volcengine.ecs.Zones({}); + * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { + * vpcName: "acc-test-vpc", + * cidrBlock: "172.16.0.0/16", + * }); + * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { + * subnetName: "acc-test-subnet_new", + * description: "tfdesc", + * cidrBlock: "172.16.0.0/24", + * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * vpcId: fooVpc.id, + * }); + * const fooInstance = new volcengine.escloud.Instance("fooInstance", {instanceConfiguration: { + * version: "V6_7", + * zoneNumber: 1, + * enableHttps: true, + * adminUserName: "admin", + * adminPassword: "Password@@", + * chargeType: "PostPaid", + * configurationCode: "es.standard", + * enablePureMaster: true, + * instanceName: "acc-test-0", + * nodeSpecsAssigns: [ + * { + * type: "Master", + * number: 3, + * resourceSpecName: "es.x4.medium", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 100, + * }, + * { + * type: "Hot", + * number: 2, + * resourceSpecName: "es.x4.large", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 100, + * }, + * { + * type: "Kibana", + * number: 1, + * resourceSpecName: "kibana.x2.small", + * }, + * ], + * subnetId: fooSubnet.id, + * projectName: "default", + * forceRestartAfterScale: false, + * }}); + * const fooInstances = volcengine.escloud.getInstancesOutput({ + * ids: [fooInstance.id], + * }); + * ``` + */ +export function getInstancesOutput(args?: GetInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getInstances(a, opts)) +} + +/** + * A collection of arguments for invoking getInstances. + */ +export interface GetInstancesOutputArgs { + /** + * The charge types of instance. + */ + chargeTypes?: pulumi.Input[]>; + /** + * A list of instance IDs. + */ + ids?: pulumi.Input[]>; + /** + * The names of instance. + */ + names?: pulumi.Input[]>; + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The list status of instance. + */ + statuses?: pulumi.Input[]>; + /** + * The versions of instance. + */ + versions?: pulumi.Input[]>; + /** + * The available zone IDs of instance. + */ + zoneIds?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/escloud/getInstancesV2.ts b/sdk/nodejs/escloud/getInstancesV2.ts new file mode 100644 index 00000000..cb49fee6 --- /dev/null +++ b/sdk/nodejs/escloud/getInstancesV2.ts @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +export function getInstancesV2(args?: GetInstancesV2Args, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:escloud/getInstancesV2:getInstancesV2", { + "chargeTypes": args.chargeTypes, + "ids": args.ids, + "instanceNames": args.instanceNames, + "outputFile": args.outputFile, + "projectName": args.projectName, + "statuses": args.statuses, + "tags": args.tags, + "versions": args.versions, + "zoneIds": args.zoneIds, + }, opts); +} + +/** + * A collection of arguments for invoking getInstancesV2. + */ +export interface GetInstancesV2Args { + chargeTypes?: string[]; + ids?: string[]; + instanceNames?: string[]; + outputFile?: string; + projectName?: string; + statuses?: string[]; + tags?: inputs.escloud.GetInstancesV2Tag[]; + versions?: string[]; + zoneIds?: string[]; +} + +/** + * A collection of values returned by getInstancesV2. + */ +export interface GetInstancesV2Result { + readonly chargeTypes?: string[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly ids?: string[]; + readonly instanceNames?: string[]; + readonly instances: outputs.escloud.GetInstancesV2Instance[]; + readonly outputFile?: string; + readonly projectName?: string; + readonly statuses?: string[]; + readonly tags?: outputs.escloud.GetInstancesV2Tag[]; + readonly totalCount: number; + readonly versions?: string[]; + readonly zoneIds?: string[]; +} +export function getInstancesV2Output(args?: GetInstancesV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getInstancesV2(a, opts)) +} + +/** + * A collection of arguments for invoking getInstancesV2. + */ +export interface GetInstancesV2OutputArgs { + chargeTypes?: pulumi.Input[]>; + ids?: pulumi.Input[]>; + instanceNames?: pulumi.Input[]>; + outputFile?: pulumi.Input; + projectName?: pulumi.Input; + statuses?: pulumi.Input[]>; + tags?: pulumi.Input[]>; + versions?: pulumi.Input[]>; + zoneIds?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/escloud/getRegions.ts b/sdk/nodejs/escloud/getRegions.ts new file mode 100644 index 00000000..70cff602 --- /dev/null +++ b/sdk/nodejs/escloud/getRegions.ts @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const default = volcengine.escloud.getRegions({}); + * ``` + */ +export function getRegions(args?: GetRegionsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:escloud/getRegions:getRegions", { + "outputFile": args.outputFile, + }, opts); +} + +/** + * A collection of arguments for invoking getRegions. + */ +export interface GetRegionsArgs { + /** + * File name where to save data source results. + */ + outputFile?: string; +} + +/** + * A collection of values returned by getRegions. + */ +export interface GetRegionsResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly outputFile?: string; + /** + * The collection of region query. + */ + readonly regions: outputs.escloud.GetRegionsRegion[]; + /** + * The total count of region query. + */ + readonly totalCount: number; +} +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const default = volcengine.escloud.getRegions({}); + * ``` + */ +export function getRegionsOutput(args?: GetRegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getRegions(a, opts)) +} + +/** + * A collection of arguments for invoking getRegions. + */ +export interface GetRegionsOutputArgs { + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; +} diff --git a/sdk/nodejs/escloud/getZones.ts b/sdk/nodejs/escloud/getZones.ts new file mode 100644 index 00000000..376a4ea9 --- /dev/null +++ b/sdk/nodejs/escloud/getZones.ts @@ -0,0 +1,93 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const default = volcengine.escloud.getZones({ + * regionId: "xxx", + * }); + * ``` + */ +export function getZones(args: GetZonesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("volcengine:escloud/getZones:getZones", { + "outputFile": args.outputFile, + "regionId": args.regionId, + }, opts); +} + +/** + * A collection of arguments for invoking getZones. + */ +export interface GetZonesArgs { + /** + * File name where to save data source results. + */ + outputFile?: string; + /** + * The Id of Region. + */ + regionId: string; +} + +/** + * A collection of values returned by getZones. + */ +export interface GetZonesResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly outputFile?: string; + readonly regionId: string; + /** + * The total count of zone query. + */ + readonly totalCount: number; + /** + * The collection of zone query. + */ + readonly zones: outputs.escloud.GetZonesZone[]; +} +/** + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * + * const default = volcengine.escloud.getZones({ + * regionId: "xxx", + * }); + * ``` + */ +export function getZonesOutput(args: GetZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getZones(a, opts)) +} + +/** + * A collection of arguments for invoking getZones. + */ +export interface GetZonesOutputArgs { + /** + * File name where to save data source results. + */ + outputFile?: pulumi.Input; + /** + * The Id of Region. + */ + regionId: pulumi.Input; +} diff --git a/sdk/nodejs/escloud/index.ts b/sdk/nodejs/escloud/index.ts index c1efa5d6..0f1e391b 100644 --- a/sdk/nodejs/escloud/index.ts +++ b/sdk/nodejs/escloud/index.ts @@ -5,16 +5,46 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { GetInstancesArgs, GetInstancesResult, GetInstancesOutputArgs } from "./getInstances"; +export const getInstances: typeof import("./getInstances").getInstances = null as any; +export const getInstancesOutput: typeof import("./getInstances").getInstancesOutput = null as any; +utilities.lazyLoad(exports, ["getInstances","getInstancesOutput"], () => require("./getInstances")); + +export { GetInstancesV2Args, GetInstancesV2Result, GetInstancesV2OutputArgs } from "./getInstancesV2"; +export const getInstancesV2: typeof import("./getInstancesV2").getInstancesV2 = null as any; +export const getInstancesV2Output: typeof import("./getInstancesV2").getInstancesV2Output = null as any; +utilities.lazyLoad(exports, ["getInstancesV2","getInstancesV2Output"], () => require("./getInstancesV2")); + +export { GetRegionsArgs, GetRegionsResult, GetRegionsOutputArgs } from "./getRegions"; +export const getRegions: typeof import("./getRegions").getRegions = null as any; +export const getRegionsOutput: typeof import("./getRegions").getRegionsOutput = null as any; +utilities.lazyLoad(exports, ["getRegions","getRegionsOutput"], () => require("./getRegions")); + +export { GetZonesArgs, GetZonesResult, GetZonesOutputArgs } from "./getZones"; +export const getZones: typeof import("./getZones").getZones = null as any; +export const getZonesOutput: typeof import("./getZones").getZonesOutput = null as any; +utilities.lazyLoad(exports, ["getZones","getZonesOutput"], () => require("./getZones")); + export { InstanceArgs, InstanceState } from "./instance"; export type Instance = import("./instance").Instance; export const Instance: typeof import("./instance").Instance = null as any; utilities.lazyLoad(exports, ["Instance"], () => require("./instance")); +export { InstanceV2Args, InstanceV2State } from "./instanceV2"; +export type InstanceV2 = import("./instanceV2").InstanceV2; +export const InstanceV2: typeof import("./instanceV2").InstanceV2 = null as any; +utilities.lazyLoad(exports, ["InstanceV2"], () => require("./instanceV2")); + export { InstancesArgs, InstancesResult, InstancesOutputArgs } from "./instances"; export const instances: typeof import("./instances").instances = null as any; export const instancesOutput: typeof import("./instances").instancesOutput = null as any; utilities.lazyLoad(exports, ["instances","instancesOutput"], () => require("./instances")); +export { IpWhiteListArgs, IpWhiteListState } from "./ipWhiteList"; +export type IpWhiteList = import("./ipWhiteList").IpWhiteList; +export const IpWhiteList: typeof import("./ipWhiteList").IpWhiteList = null as any; +utilities.lazyLoad(exports, ["IpWhiteList"], () => require("./ipWhiteList")); + export { RegionsArgs, RegionsResult, RegionsOutputArgs } from "./regions"; export const regions: typeof import("./regions").regions = null as any; export const regionsOutput: typeof import("./regions").regionsOutput = null as any; @@ -32,9 +62,15 @@ const _module = { switch (type) { case "volcengine:escloud/instance:Instance": return new Instance(name, undefined, { urn }) + case "volcengine:escloud/instanceV2:InstanceV2": + return new InstanceV2(name, undefined, { urn }) + case "volcengine:escloud/ipWhiteList:IpWhiteList": + return new IpWhiteList(name, undefined, { urn }) default: throw new Error(`unknown resource type ${type}`); } }, }; pulumi.runtime.registerResourceModule("volcengine", "escloud/instance", _module) +pulumi.runtime.registerResourceModule("volcengine", "escloud/instanceV2", _module) +pulumi.runtime.registerResourceModule("volcengine", "escloud/ipWhiteList", _module) diff --git a/sdk/nodejs/escloud/instance.ts b/sdk/nodejs/escloud/instance.ts index 91d4f2e7..fbd217d0 100644 --- a/sdk/nodejs/escloud/instance.ts +++ b/sdk/nodejs/escloud/instance.ts @@ -7,7 +7,7 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Provides a resource to manage escloud instance * ## Example Usage * * ```typescript diff --git a/sdk/nodejs/escloud/instanceV2.ts b/sdk/nodejs/escloud/instanceV2.ts new file mode 100644 index 00000000..af9d89d8 --- /dev/null +++ b/sdk/nodejs/escloud/instanceV2.ts @@ -0,0 +1,630 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooZones = volcengine.ecs.Zones({}); + * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { + * vpcName: "acc-test-vpc", + * cidrBlock: "172.16.0.0/16", + * }); + * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { + * subnetName: "acc-test-subnet", + * description: "tfdesc", + * cidrBlock: "172.16.0.0/24", + * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * vpcId: fooVpc.id, + * }); + * const fooInstanceV2 = new volcengine.escloud.InstanceV2("fooInstanceV2", { + * instanceName: "acc-test-escloud-instance", + * version: "V7_10", + * zoneIds: [ + * fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * fooZones.then(fooZones => fooZones.zones?.[1]?.id), + * fooZones.then(fooZones => fooZones.zones?.[2]?.id), + * ], + * subnetId: fooSubnet.id, + * enableHttps: false, + * adminPassword: "Password@@123", + * chargeType: "PostPaid", + * autoRenew: false, + * period: 1, + * configurationCode: "es.standard", + * enablePureMaster: true, + * deletionProtection: false, + * projectName: "default", + * nodeSpecsAssigns: [ + * { + * type: "Master", + * number: 3, + * resourceSpecName: "es.x2.medium", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 20, + * }, + * { + * type: "Hot", + * number: 6, + * resourceSpecName: "es.x2.medium", + * storageSpecName: "es.volume.essd.flexpl-standard", + * storageSize: 500, + * extraPerformance: { + * throughput: 65, + * }, + * }, + * { + * type: "Kibana", + * number: 1, + * resourceSpecName: "kibana.x2.small", + * storageSpecName: "", + * storageSize: 0, + * }, + * ], + * networkSpecs: [ + * { + * type: "Elasticsearch", + * bandwidth: 1, + * isOpen: true, + * specName: "es.eip.bgp_fixed_bandwidth", + * }, + * { + * type: "Kibana", + * bandwidth: 1, + * isOpen: true, + * specName: "es.eip.bgp_fixed_bandwidth", + * }, + * ], + * tags: [{ + * key: "k1", + * value: "v1", + * }], + * }); + * // maintenance_time = "02:00-08:00" + * // maintenance_day = ["FRIDAY", "MONDAY"] + * ``` + * + * ## Import + * + * EscloudInstanceV2 can be imported using the id, e.g. + * + * ```sh + * $ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id + * ``` + */ +export class InstanceV2 extends pulumi.CustomResource { + /** + * Get an existing InstanceV2 resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: InstanceV2State, opts?: pulumi.CustomResourceOptions): InstanceV2 { + return new InstanceV2(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'volcengine:escloud/instanceV2:InstanceV2'; + + /** + * Returns true if the given object is an instance of InstanceV2. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is InstanceV2 { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === InstanceV2.__pulumiType; + } + + /** + * The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + */ + public readonly adminPassword!: pulumi.Output; + /** + * Whether to automatically renew in prepaid scenarios. Default is false. + */ + public readonly autoRenew!: pulumi.Output; + /** + * The cerebro private domain of instance. + */ + public /*out*/ readonly cerebroPrivateDomain!: pulumi.Output; + /** + * The cerebro public domain of instance. + */ + public /*out*/ readonly cerebroPublicDomain!: pulumi.Output; + /** + * The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + */ + public readonly chargeType!: pulumi.Output; + /** + * Configuration code used for billing. + */ + public readonly configurationCode!: pulumi.Output; + /** + * Whether enable deletion protection for ESCloud instance. Default is false. + */ + public readonly deletionProtection!: pulumi.Output; + /** + * Whether Https access is enabled. + */ + public readonly enableHttps!: pulumi.Output; + /** + * Whether the Master node is independent. + */ + public readonly enablePureMaster!: pulumi.Output; + /** + * The eip address of instance. + */ + public /*out*/ readonly esEip!: pulumi.Output; + /** + * The eip id associated with the instance. + */ + public /*out*/ readonly esEipId!: pulumi.Output; + /** + * The es private domain of instance. + */ + public /*out*/ readonly esPrivateDomain!: pulumi.Output; + /** + * The es private endpoint of instance. + */ + public /*out*/ readonly esPrivateEndpoint!: pulumi.Output; + /** + * The whitelist of es private ip. + */ + public /*out*/ readonly esPrivateIpWhitelist!: pulumi.Output; + /** + * The es public domain of instance. + */ + public /*out*/ readonly esPublicDomain!: pulumi.Output; + /** + * The es public endpoint of instance. + */ + public /*out*/ readonly esPublicEndpoint!: pulumi.Output; + /** + * The whitelist of es public ip. + */ + public /*out*/ readonly esPublicIpWhitelist!: pulumi.Output; + /** + * The name of ESCloud instance. + */ + public readonly instanceName!: pulumi.Output; + /** + * The eip address of kibana. + */ + public /*out*/ readonly kibanaEip!: pulumi.Output; + /** + * The eip id associated with kibana. + */ + public /*out*/ readonly kibanaEipId!: pulumi.Output; + /** + * The kibana private domain of instance. + */ + public /*out*/ readonly kibanaPrivateDomain!: pulumi.Output; + /** + * The whitelist of kibana private ip. + */ + public /*out*/ readonly kibanaPrivateIpWhitelist!: pulumi.Output; + /** + * The kibana public domain of instance. + */ + public /*out*/ readonly kibanaPublicDomain!: pulumi.Output; + /** + * The whitelist of kibana public ip. + */ + public /*out*/ readonly kibanaPublicIpWhitelist!: pulumi.Output; + /** + * The main zone id of instance. + */ + public /*out*/ readonly mainZoneId!: pulumi.Output; + /** + * The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + */ + public readonly maintenanceDays!: pulumi.Output; + /** + * The maintainable time period for the instance. Works only on modified scenes. + */ + public readonly maintenanceTime!: pulumi.Output; + /** + * The public network config of the ESCloud instance. + */ + public readonly networkSpecs!: pulumi.Output; + /** + * The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + */ + public readonly nodeSpecsAssigns!: pulumi.Output; + /** + * Purchase duration in prepaid scenarios. Unit: Monthly. + */ + public readonly period!: pulumi.Output; + /** + * The project name to which the ESCloud instance belongs. + */ + public readonly projectName!: pulumi.Output; + /** + * The status of instance. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The id of subnet, the subnet must belong to the AZ selected. + */ + public readonly subnetId!: pulumi.Output; + /** + * Tags. + */ + public readonly tags!: pulumi.Output; + /** + * The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + */ + public readonly version!: pulumi.Output; + /** + * The zone id of the ESCloud instance. Support specifying multiple availability zones. + * The first zone id is the primary availability zone, while the rest are backup availability zones. + */ + public readonly zoneIds!: pulumi.Output; + + /** + * Create a InstanceV2 resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: InstanceV2Args, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: InstanceV2Args | InstanceV2State, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as InstanceV2State | undefined; + resourceInputs["adminPassword"] = state ? state.adminPassword : undefined; + resourceInputs["autoRenew"] = state ? state.autoRenew : undefined; + resourceInputs["cerebroPrivateDomain"] = state ? state.cerebroPrivateDomain : undefined; + resourceInputs["cerebroPublicDomain"] = state ? state.cerebroPublicDomain : undefined; + resourceInputs["chargeType"] = state ? state.chargeType : undefined; + resourceInputs["configurationCode"] = state ? state.configurationCode : undefined; + resourceInputs["deletionProtection"] = state ? state.deletionProtection : undefined; + resourceInputs["enableHttps"] = state ? state.enableHttps : undefined; + resourceInputs["enablePureMaster"] = state ? state.enablePureMaster : undefined; + resourceInputs["esEip"] = state ? state.esEip : undefined; + resourceInputs["esEipId"] = state ? state.esEipId : undefined; + resourceInputs["esPrivateDomain"] = state ? state.esPrivateDomain : undefined; + resourceInputs["esPrivateEndpoint"] = state ? state.esPrivateEndpoint : undefined; + resourceInputs["esPrivateIpWhitelist"] = state ? state.esPrivateIpWhitelist : undefined; + resourceInputs["esPublicDomain"] = state ? state.esPublicDomain : undefined; + resourceInputs["esPublicEndpoint"] = state ? state.esPublicEndpoint : undefined; + resourceInputs["esPublicIpWhitelist"] = state ? state.esPublicIpWhitelist : undefined; + resourceInputs["instanceName"] = state ? state.instanceName : undefined; + resourceInputs["kibanaEip"] = state ? state.kibanaEip : undefined; + resourceInputs["kibanaEipId"] = state ? state.kibanaEipId : undefined; + resourceInputs["kibanaPrivateDomain"] = state ? state.kibanaPrivateDomain : undefined; + resourceInputs["kibanaPrivateIpWhitelist"] = state ? state.kibanaPrivateIpWhitelist : undefined; + resourceInputs["kibanaPublicDomain"] = state ? state.kibanaPublicDomain : undefined; + resourceInputs["kibanaPublicIpWhitelist"] = state ? state.kibanaPublicIpWhitelist : undefined; + resourceInputs["mainZoneId"] = state ? state.mainZoneId : undefined; + resourceInputs["maintenanceDays"] = state ? state.maintenanceDays : undefined; + resourceInputs["maintenanceTime"] = state ? state.maintenanceTime : undefined; + resourceInputs["networkSpecs"] = state ? state.networkSpecs : undefined; + resourceInputs["nodeSpecsAssigns"] = state ? state.nodeSpecsAssigns : undefined; + resourceInputs["period"] = state ? state.period : undefined; + resourceInputs["projectName"] = state ? state.projectName : undefined; + resourceInputs["status"] = state ? state.status : undefined; + resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["tags"] = state ? state.tags : undefined; + resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["zoneIds"] = state ? state.zoneIds : undefined; + } else { + const args = argsOrState as InstanceV2Args | undefined; + if ((!args || args.adminPassword === undefined) && !opts.urn) { + throw new Error("Missing required property 'adminPassword'"); + } + if ((!args || args.chargeType === undefined) && !opts.urn) { + throw new Error("Missing required property 'chargeType'"); + } + if ((!args || args.configurationCode === undefined) && !opts.urn) { + throw new Error("Missing required property 'configurationCode'"); + } + if ((!args || args.enableHttps === undefined) && !opts.urn) { + throw new Error("Missing required property 'enableHttps'"); + } + if ((!args || args.instanceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'instanceName'"); + } + if ((!args || args.nodeSpecsAssigns === undefined) && !opts.urn) { + throw new Error("Missing required property 'nodeSpecsAssigns'"); + } + if ((!args || args.subnetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subnetId'"); + } + if ((!args || args.version === undefined) && !opts.urn) { + throw new Error("Missing required property 'version'"); + } + if ((!args || args.zoneIds === undefined) && !opts.urn) { + throw new Error("Missing required property 'zoneIds'"); + } + resourceInputs["adminPassword"] = args?.adminPassword ? pulumi.secret(args.adminPassword) : undefined; + resourceInputs["autoRenew"] = args ? args.autoRenew : undefined; + resourceInputs["chargeType"] = args ? args.chargeType : undefined; + resourceInputs["configurationCode"] = args ? args.configurationCode : undefined; + resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined; + resourceInputs["enableHttps"] = args ? args.enableHttps : undefined; + resourceInputs["enablePureMaster"] = args ? args.enablePureMaster : undefined; + resourceInputs["instanceName"] = args ? args.instanceName : undefined; + resourceInputs["maintenanceDays"] = args ? args.maintenanceDays : undefined; + resourceInputs["maintenanceTime"] = args ? args.maintenanceTime : undefined; + resourceInputs["networkSpecs"] = args ? args.networkSpecs : undefined; + resourceInputs["nodeSpecsAssigns"] = args ? args.nodeSpecsAssigns : undefined; + resourceInputs["period"] = args ? args.period : undefined; + resourceInputs["projectName"] = args ? args.projectName : undefined; + resourceInputs["subnetId"] = args ? args.subnetId : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["zoneIds"] = args ? args.zoneIds : undefined; + resourceInputs["cerebroPrivateDomain"] = undefined /*out*/; + resourceInputs["cerebroPublicDomain"] = undefined /*out*/; + resourceInputs["esEip"] = undefined /*out*/; + resourceInputs["esEipId"] = undefined /*out*/; + resourceInputs["esPrivateDomain"] = undefined /*out*/; + resourceInputs["esPrivateEndpoint"] = undefined /*out*/; + resourceInputs["esPrivateIpWhitelist"] = undefined /*out*/; + resourceInputs["esPublicDomain"] = undefined /*out*/; + resourceInputs["esPublicEndpoint"] = undefined /*out*/; + resourceInputs["esPublicIpWhitelist"] = undefined /*out*/; + resourceInputs["kibanaEip"] = undefined /*out*/; + resourceInputs["kibanaEipId"] = undefined /*out*/; + resourceInputs["kibanaPrivateDomain"] = undefined /*out*/; + resourceInputs["kibanaPrivateIpWhitelist"] = undefined /*out*/; + resourceInputs["kibanaPublicDomain"] = undefined /*out*/; + resourceInputs["kibanaPublicIpWhitelist"] = undefined /*out*/; + resourceInputs["mainZoneId"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + const secretOpts = { additionalSecretOutputs: ["adminPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(InstanceV2.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering InstanceV2 resources. + */ +export interface InstanceV2State { + /** + * The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + */ + adminPassword?: pulumi.Input; + /** + * Whether to automatically renew in prepaid scenarios. Default is false. + */ + autoRenew?: pulumi.Input; + /** + * The cerebro private domain of instance. + */ + cerebroPrivateDomain?: pulumi.Input; + /** + * The cerebro public domain of instance. + */ + cerebroPublicDomain?: pulumi.Input; + /** + * The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + */ + chargeType?: pulumi.Input; + /** + * Configuration code used for billing. + */ + configurationCode?: pulumi.Input; + /** + * Whether enable deletion protection for ESCloud instance. Default is false. + */ + deletionProtection?: pulumi.Input; + /** + * Whether Https access is enabled. + */ + enableHttps?: pulumi.Input; + /** + * Whether the Master node is independent. + */ + enablePureMaster?: pulumi.Input; + /** + * The eip address of instance. + */ + esEip?: pulumi.Input; + /** + * The eip id associated with the instance. + */ + esEipId?: pulumi.Input; + /** + * The es private domain of instance. + */ + esPrivateDomain?: pulumi.Input; + /** + * The es private endpoint of instance. + */ + esPrivateEndpoint?: pulumi.Input; + /** + * The whitelist of es private ip. + */ + esPrivateIpWhitelist?: pulumi.Input; + /** + * The es public domain of instance. + */ + esPublicDomain?: pulumi.Input; + /** + * The es public endpoint of instance. + */ + esPublicEndpoint?: pulumi.Input; + /** + * The whitelist of es public ip. + */ + esPublicIpWhitelist?: pulumi.Input; + /** + * The name of ESCloud instance. + */ + instanceName?: pulumi.Input; + /** + * The eip address of kibana. + */ + kibanaEip?: pulumi.Input; + /** + * The eip id associated with kibana. + */ + kibanaEipId?: pulumi.Input; + /** + * The kibana private domain of instance. + */ + kibanaPrivateDomain?: pulumi.Input; + /** + * The whitelist of kibana private ip. + */ + kibanaPrivateIpWhitelist?: pulumi.Input; + /** + * The kibana public domain of instance. + */ + kibanaPublicDomain?: pulumi.Input; + /** + * The whitelist of kibana public ip. + */ + kibanaPublicIpWhitelist?: pulumi.Input; + /** + * The main zone id of instance. + */ + mainZoneId?: pulumi.Input; + /** + * The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + */ + maintenanceDays?: pulumi.Input[]>; + /** + * The maintainable time period for the instance. Works only on modified scenes. + */ + maintenanceTime?: pulumi.Input; + /** + * The public network config of the ESCloud instance. + */ + networkSpecs?: pulumi.Input[]>; + /** + * The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + */ + nodeSpecsAssigns?: pulumi.Input[]>; + /** + * Purchase duration in prepaid scenarios. Unit: Monthly. + */ + period?: pulumi.Input; + /** + * The project name to which the ESCloud instance belongs. + */ + projectName?: pulumi.Input; + /** + * The status of instance. + */ + status?: pulumi.Input; + /** + * The id of subnet, the subnet must belong to the AZ selected. + */ + subnetId?: pulumi.Input; + /** + * Tags. + */ + tags?: pulumi.Input[]>; + /** + * The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + */ + version?: pulumi.Input; + /** + * The zone id of the ESCloud instance. Support specifying multiple availability zones. + * The first zone id is the primary availability zone, while the rest are backup availability zones. + */ + zoneIds?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a InstanceV2 resource. + */ +export interface InstanceV2Args { + /** + * The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + */ + adminPassword: pulumi.Input; + /** + * Whether to automatically renew in prepaid scenarios. Default is false. + */ + autoRenew?: pulumi.Input; + /** + * The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + */ + chargeType: pulumi.Input; + /** + * Configuration code used for billing. + */ + configurationCode: pulumi.Input; + /** + * Whether enable deletion protection for ESCloud instance. Default is false. + */ + deletionProtection?: pulumi.Input; + /** + * Whether Https access is enabled. + */ + enableHttps: pulumi.Input; + /** + * Whether the Master node is independent. + */ + enablePureMaster?: pulumi.Input; + /** + * The name of ESCloud instance. + */ + instanceName: pulumi.Input; + /** + * The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + */ + maintenanceDays?: pulumi.Input[]>; + /** + * The maintainable time period for the instance. Works only on modified scenes. + */ + maintenanceTime?: pulumi.Input; + /** + * The public network config of the ESCloud instance. + */ + networkSpecs?: pulumi.Input[]>; + /** + * The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + */ + nodeSpecsAssigns: pulumi.Input[]>; + /** + * Purchase duration in prepaid scenarios. Unit: Monthly. + */ + period?: pulumi.Input; + /** + * The project name to which the ESCloud instance belongs. + */ + projectName?: pulumi.Input; + /** + * The id of subnet, the subnet must belong to the AZ selected. + */ + subnetId: pulumi.Input; + /** + * Tags. + */ + tags?: pulumi.Input[]>; + /** + * The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + */ + version: pulumi.Input; + /** + * The zone id of the ESCloud instance. Support specifying multiple availability zones. + * The first zone id is the primary availability zone, while the rest are backup availability zones. + */ + zoneIds: pulumi.Input[]>; +} diff --git a/sdk/nodejs/escloud/instances.ts b/sdk/nodejs/escloud/instances.ts index 4c647606..d7588630 100644 --- a/sdk/nodejs/escloud/instances.ts +++ b/sdk/nodejs/escloud/instances.ts @@ -7,7 +7,7 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances * ## Example Usage * * ```typescript @@ -62,12 +62,14 @@ import * as utilities from "../utilities"; * projectName: "default", * forceRestartAfterScale: false, * }}); - * const fooInstances = volcengine.escloud.InstancesOutput({ + * const fooInstances = volcengine.escloud.getInstancesOutput({ * ids: [fooInstance.id], * }); * ``` */ +/** @deprecated volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances */ export function instances(args?: InstancesArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("instances is deprecated: volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -141,7 +143,7 @@ export interface InstancesResult { readonly zoneIds?: string[]; } /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances * ## Example Usage * * ```typescript @@ -196,11 +198,12 @@ export interface InstancesResult { * projectName: "default", * forceRestartAfterScale: false, * }}); - * const fooInstances = volcengine.escloud.InstancesOutput({ + * const fooInstances = volcengine.escloud.getInstancesOutput({ * ids: [fooInstance.id], * }); * ``` */ +/** @deprecated volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances */ export function instancesOutput(args?: InstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => instances(a, opts)) } diff --git a/sdk/nodejs/escloud/ipWhiteList.ts b/sdk/nodejs/escloud/ipWhiteList.ts new file mode 100644 index 00000000..cb52de66 --- /dev/null +++ b/sdk/nodejs/escloud/ipWhiteList.ts @@ -0,0 +1,241 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * Provides a resource to manage escloud ip white list + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as volcengine from "@pulumi/volcengine"; + * import * as volcengine from "@volcengine/pulumi"; + * + * const fooZones = volcengine.ecs.Zones({}); + * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { + * vpcName: "acc-test-vpc", + * cidrBlock: "172.16.0.0/16", + * }); + * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { + * subnetName: "acc-test-subnet", + * description: "tfdesc", + * cidrBlock: "172.16.0.0/24", + * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * vpcId: fooVpc.id, + * }); + * const fooInstanceV2 = new volcengine.escloud.InstanceV2("fooInstanceV2", { + * instanceName: "acc-test-escloud-instance", + * version: "V7_10", + * zoneIds: [ + * fooZones.then(fooZones => fooZones.zones?.[0]?.id), + * fooZones.then(fooZones => fooZones.zones?.[1]?.id), + * fooZones.then(fooZones => fooZones.zones?.[2]?.id), + * ], + * subnetId: fooSubnet.id, + * enableHttps: false, + * adminPassword: "Password@@123", + * chargeType: "PostPaid", + * autoRenew: false, + * period: 1, + * configurationCode: "es.standard", + * enablePureMaster: true, + * deletionProtection: false, + * projectName: "default", + * nodeSpecsAssigns: [ + * { + * type: "Master", + * number: 3, + * resourceSpecName: "es.x2.medium", + * storageSpecName: "es.volume.essd.pl0", + * storageSize: 20, + * }, + * { + * type: "Hot", + * number: 6, + * resourceSpecName: "es.x2.medium", + * storageSpecName: "es.volume.essd.flexpl-standard", + * storageSize: 500, + * extraPerformance: { + * throughput: 65, + * }, + * }, + * { + * type: "Kibana", + * number: 1, + * resourceSpecName: "kibana.x2.small", + * storageSpecName: "", + * storageSize: 0, + * }, + * ], + * networkSpecs: [ + * { + * type: "Elasticsearch", + * bandwidth: 1, + * isOpen: true, + * specName: "es.eip.bgp_fixed_bandwidth", + * }, + * { + * type: "Kibana", + * bandwidth: 1, + * isOpen: true, + * specName: "es.eip.bgp_fixed_bandwidth", + * }, + * ], + * tags: [{ + * key: "k1", + * value: "v1", + * }], + * }); + * const fooIpWhiteList = new volcengine.escloud.IpWhiteList("fooIpWhiteList", { + * instanceId: fooInstanceV2.id, + * type: "public", + * component: "es", + * ipLists: [ + * "172.16.0.10", + * "172.16.0.11", + * "172.16.0.12", + * ], + * }); + * ``` + * + * ## Import + * + * EscloudIpWhiteList can be imported using the instance_id:type:component, e.g. + * + * ```sh + * $ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id + * ``` + */ +export class IpWhiteList extends pulumi.CustomResource { + /** + * Get an existing IpWhiteList resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: IpWhiteListState, opts?: pulumi.CustomResourceOptions): IpWhiteList { + return new IpWhiteList(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'volcengine:escloud/ipWhiteList:IpWhiteList'; + + /** + * Returns true if the given object is an instance of IpWhiteList. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IpWhiteList { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IpWhiteList.__pulumiType; + } + + /** + * The component of the ip white list. Valid values: `es`, `kibana`. + */ + public readonly component!: pulumi.Output; + /** + * The id of the EsCloud instance. + */ + public readonly instanceId!: pulumi.Output; + /** + * The ip list of the ip white list. + */ + public readonly ipLists!: pulumi.Output; + /** + * The type of the ip white list. Valid values: `private`, `public`. + */ + public readonly type!: pulumi.Output; + + /** + * Create a IpWhiteList resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IpWhiteListArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IpWhiteListArgs | IpWhiteListState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as IpWhiteListState | undefined; + resourceInputs["component"] = state ? state.component : undefined; + resourceInputs["instanceId"] = state ? state.instanceId : undefined; + resourceInputs["ipLists"] = state ? state.ipLists : undefined; + resourceInputs["type"] = state ? state.type : undefined; + } else { + const args = argsOrState as IpWhiteListArgs | undefined; + if ((!args || args.component === undefined) && !opts.urn) { + throw new Error("Missing required property 'component'"); + } + if ((!args || args.instanceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'instanceId'"); + } + if ((!args || args.ipLists === undefined) && !opts.urn) { + throw new Error("Missing required property 'ipLists'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["component"] = args ? args.component : undefined; + resourceInputs["instanceId"] = args ? args.instanceId : undefined; + resourceInputs["ipLists"] = args ? args.ipLists : undefined; + resourceInputs["type"] = args ? args.type : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IpWhiteList.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering IpWhiteList resources. + */ +export interface IpWhiteListState { + /** + * The component of the ip white list. Valid values: `es`, `kibana`. + */ + component?: pulumi.Input; + /** + * The id of the EsCloud instance. + */ + instanceId?: pulumi.Input; + /** + * The ip list of the ip white list. + */ + ipLists?: pulumi.Input[]>; + /** + * The type of the ip white list. Valid values: `private`, `public`. + */ + type?: pulumi.Input; +} + +/** + * The set of arguments for constructing a IpWhiteList resource. + */ +export interface IpWhiteListArgs { + /** + * The component of the ip white list. Valid values: `es`, `kibana`. + */ + component: pulumi.Input; + /** + * The id of the EsCloud instance. + */ + instanceId: pulumi.Input; + /** + * The ip list of the ip white list. + */ + ipLists: pulumi.Input[]>; + /** + * The type of the ip white list. Valid values: `private`, `public`. + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/escloud/regions.ts b/sdk/nodejs/escloud/regions.ts index 2d96ed3e..341f7ef1 100644 --- a/sdk/nodejs/escloud/regions.ts +++ b/sdk/nodejs/escloud/regions.ts @@ -7,17 +7,19 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const default = volcengine.escloud.Regions({}); + * const default = volcengine.escloud.getRegions({}); * ``` */ +/** @deprecated volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions */ export function regions(args?: RegionsArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("regions is deprecated: volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -55,16 +57,17 @@ export interface RegionsResult { readonly totalCount: number; } /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const default = volcengine.escloud.Regions({}); + * const default = volcengine.escloud.getRegions({}); * ``` */ +/** @deprecated volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions */ export function regionsOutput(args?: RegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => regions(a, opts)) } diff --git a/sdk/nodejs/escloud/zones.ts b/sdk/nodejs/escloud/zones.ts index 6955b521..b16c09e5 100644 --- a/sdk/nodejs/escloud/zones.ts +++ b/sdk/nodejs/escloud/zones.ts @@ -7,19 +7,21 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const default = volcengine.escloud.Zones({ + * const default = volcengine.escloud.getZones({ * regionId: "xxx", * }); * ``` */ +/** @deprecated volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones */ export function zones(args: ZonesArgs, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("zones is deprecated: volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones") opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:escloud/zones:Zones", { @@ -62,18 +64,19 @@ export interface ZonesResult { readonly zones: outputs.escloud.ZonesZone[]; } /** - * (Deprecated! Recommend use volcengine.escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + * (Deprecated! Recommend use volcengine.escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * - * const default = volcengine.escloud.Zones({ + * const default = volcengine.escloud.getZones({ * regionId: "xxx", * }); * ``` */ +/** @deprecated volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones */ export function zonesOutput(args: ZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => zones(a, opts)) } diff --git a/sdk/nodejs/escloud_v2/escloudInstanceV2.ts b/sdk/nodejs/escloud_v2/escloudInstanceV2.ts index eed25d51..bbec57eb 100644 --- a/sdk/nodejs/escloud_v2/escloudInstanceV2.ts +++ b/sdk/nodejs/escloud_v2/escloudInstanceV2.ts @@ -26,7 +26,7 @@ import * as utilities from "../utilities"; * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), * vpcId: fooVpc.id, * }); - * const fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", { + * const fooInstanceV2 = new volcengine.escloud.InstanceV2("fooInstanceV2", { * instanceName: "acc-test-escloud-instance", * version: "V7_10", * zoneIds: [ @@ -100,6 +100,8 @@ import * as utilities from "../utilities"; * ```sh * $ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id * ``` + * + * @deprecated volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2 */ export class EscloudInstanceV2 extends pulumi.CustomResource { /** @@ -112,6 +114,7 @@ export class EscloudInstanceV2 extends pulumi.CustomResource { * @param opts Optional settings to control the behavior of the CustomResource. */ public static get(name: string, id: pulumi.Input, state?: EscloudInstanceV2State, opts?: pulumi.CustomResourceOptions): EscloudInstanceV2 { + pulumi.log.warn("EscloudInstanceV2 is deprecated: volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2") return new EscloudInstanceV2(name, state, { ...opts, id: id }); } @@ -282,8 +285,11 @@ export class EscloudInstanceV2 extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ + /** @deprecated volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2 */ constructor(name: string, args: EscloudInstanceV2Args, opts?: pulumi.CustomResourceOptions) + /** @deprecated volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2 */ constructor(name: string, argsOrState?: EscloudInstanceV2Args | EscloudInstanceV2State, opts?: pulumi.CustomResourceOptions) { + pulumi.log.warn("EscloudInstanceV2 is deprecated: volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2") let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { diff --git a/sdk/nodejs/escloud_v2/escloudInstancesV2.ts b/sdk/nodejs/escloud_v2/escloudInstancesV2.ts index 0c31e7d8..f8c0b6b9 100644 --- a/sdk/nodejs/escloud_v2/escloudInstancesV2.ts +++ b/sdk/nodejs/escloud_v2/escloudInstancesV2.ts @@ -6,7 +6,9 @@ import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as utilities from "../utilities"; +/** @deprecated volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2 */ export function escloudInstancesV2(args?: EscloudInstancesV2Args, opts?: pulumi.InvokeOptions): Promise { + pulumi.log.warn("escloudInstancesV2 is deprecated: volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2") args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -58,6 +60,7 @@ export interface EscloudInstancesV2Result { readonly versions?: string[]; readonly zoneIds?: string[]; } +/** @deprecated volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2 */ export function escloudInstancesV2Output(args?: EscloudInstancesV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => escloudInstancesV2(a, opts)) } diff --git a/sdk/nodejs/escloud_v2/escloudIpWhiteList.ts b/sdk/nodejs/escloud_v2/escloudIpWhiteList.ts index a6741508..6d0ebbf1 100644 --- a/sdk/nodejs/escloud_v2/escloudIpWhiteList.ts +++ b/sdk/nodejs/escloud_v2/escloudIpWhiteList.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id), * vpcId: fooVpc.id, * }); - * const fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", { + * const fooInstanceV2 = new volcengine.escloud.InstanceV2("fooInstanceV2", { * instanceName: "acc-test-escloud-instance", * version: "V7_10", * zoneIds: [ @@ -88,8 +88,8 @@ import * as utilities from "../utilities"; * value: "v1", * }], * }); - * const fooEscloudIpWhiteList = new volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", { - * instanceId: fooEscloudInstanceV2.id, + * const fooIpWhiteList = new volcengine.escloud.IpWhiteList("fooIpWhiteList", { + * instanceId: fooInstanceV2.id, * type: "public", * component: "es", * ipLists: [ @@ -107,6 +107,8 @@ import * as utilities from "../utilities"; * ```sh * $ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList default resource_id * ``` + * + * @deprecated volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList */ export class EscloudIpWhiteList extends pulumi.CustomResource { /** @@ -119,6 +121,7 @@ export class EscloudIpWhiteList extends pulumi.CustomResource { * @param opts Optional settings to control the behavior of the CustomResource. */ public static get(name: string, id: pulumi.Input, state?: EscloudIpWhiteListState, opts?: pulumi.CustomResourceOptions): EscloudIpWhiteList { + pulumi.log.warn("EscloudIpWhiteList is deprecated: volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList") return new EscloudIpWhiteList(name, state, { ...opts, id: id }); } @@ -160,8 +163,11 @@ export class EscloudIpWhiteList extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ + /** @deprecated volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList */ constructor(name: string, args: EscloudIpWhiteListArgs, opts?: pulumi.CustomResourceOptions) + /** @deprecated volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList */ constructor(name: string, argsOrState?: EscloudIpWhiteListArgs | EscloudIpWhiteListState, opts?: pulumi.CustomResourceOptions) { + pulumi.log.warn("EscloudIpWhiteList is deprecated: volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList") let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 0cd6308a..6a940a62 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -66,6 +66,10 @@ "cdn/certificates.ts", "cdn/configs.ts", "cdn/domains.ts", + "cdn/getCertificates.ts", + "cdn/getConfigs.ts", + "cdn/getDomains.ts", + "cdn/getSharedConfigs.ts", "cdn/index.ts", "cdn/sharedConfig.ts", "cdn/sharedConfigs.ts", @@ -115,6 +119,12 @@ "cloud_firewall/cfwVpcFirewallAclRulePriority.ts", "cloud_firewall/cfwVpcFirewallAclRules.ts", "cloud_firewall/index.ts", + "cloud_identity/getGroups.ts", + "cloud_identity/getPermissionSetAssignments.ts", + "cloud_identity/getPermissionSetProvisionings.ts", + "cloud_identity/getPermissionSets.ts", + "cloud_identity/getUserProvisionings.ts", + "cloud_identity/getUsers.ts", "cloud_identity/group.ts", "cloud_identity/groups.ts", "cloud_identity/index.ts", @@ -229,9 +239,15 @@ "eip/addresses.ts", "eip/associate.ts", "eip/index.ts", + "escloud/getInstances.ts", + "escloud/getInstancesV2.ts", + "escloud/getRegions.ts", + "escloud/getZones.ts", "escloud/index.ts", "escloud/instance.ts", + "escloud/instanceV2.ts", "escloud/instances.ts", + "escloud/ipWhiteList.ts", "escloud/regions.ts", "escloud/zones.ts", "escloud_v2/escloudInstanceV2.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index bcceab16..a40e43b1 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1510,6 +1510,28 @@ export namespace eip { } export namespace escloud { + export interface GetInstancesV2Tag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + values: string[]; + } + + export interface GetInstancesV2TagArgs { + /** + * The Key of Tags. + */ + key: pulumi.Input; + /** + * The Value of Tags. + */ + values: pulumi.Input[]>; + } + export interface InstanceInstanceConfiguration { /** * The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. @@ -1604,6 +1626,71 @@ export namespace escloud { type: pulumi.Input; } + export interface InstanceV2NetworkSpec { + /** + * The bandwidth of the eip. Unit: Mbps. + */ + bandwidth: pulumi.Input; + /** + * Whether the eip is opened. + */ + isOpen: pulumi.Input; + /** + * The spec name of public network. + */ + specName: pulumi.Input; + /** + * The type of public network, valid values: `Elasticsearch`, `Kibana`. + */ + type: pulumi.Input; + } + + export interface InstanceV2NodeSpecsAssign { + /** + * The extra performance of FlexPL storage spec. + */ + extraPerformance?: pulumi.Input; + /** + * The number of node. + */ + number: pulumi.Input; + /** + * The name of compute resource spec. + */ + resourceSpecName: pulumi.Input; + /** + * The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + */ + storageSize: pulumi.Input; + /** + * The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + */ + storageSpecName: pulumi.Input; + /** + * The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + */ + type: pulumi.Input; + } + + export interface InstanceV2NodeSpecsAssignExtraPerformance { + /** + * When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + * The unit is MiB, and the adjustment step size is 10MiB. + */ + throughput: pulumi.Input; + } + + export interface InstanceV2Tag { + /** + * The Key of Tags. + */ + key: pulumi.Input; + /** + * The Value of Tags. + */ + value: pulumi.Input; + } + } export namespace escloud_v2 { diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index c7fbf1c6..628799d6 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -2275,95 +2275,194 @@ export namespace cdn { value: string; } - export interface SharedConfigAllowIpAccessRule { + export interface GetCertificatesCertInfo { /** - * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + * ID indicating the certificate. */ - rules: string[]; - } - - export interface SharedConfigAllowRefererAccessRule { + certId: string; /** - * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + * The domain name to which the certificate is issued. */ - allowEmpty?: boolean; + certName: string; /** - * The content indicating the Referer whitelist. + * The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. */ - commonType: outputs.cdn.SharedConfigAllowRefererAccessRuleCommonType; - } - - export interface SharedConfigAllowRefererAccessRuleCommonType { + configuredDomain: string; /** - * This list is case-sensitive when matching requests. Default is true. + * The remark of the cert. */ - ignoreCase?: boolean; + desc: string; /** - * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + * The domain names included in the SAN field of the certificate. */ - rules: string[]; - } - - export interface SharedConfigCommonMatchList { + dnsName: string; /** - * The content indicating the Referer blacklist. + * The issuance time of the certificate is indicated. The unit is Unix timestamp. */ - commonType: outputs.cdn.SharedConfigCommonMatchListCommonType; + effectiveTime: number; + /** + * The expiration time of the certificate is indicated. The unit is Unix timestamp. + */ + expireTime: number; + /** + * Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network. + */ + source: string; + /** + * Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + */ + status: string; } - export interface SharedConfigCommonMatchListCommonType { + export interface GetConfigsDomainConfig { /** - * This list is case-sensitive when matching requests. Default is true. + * The cname of the domain. */ - ignoreCase?: boolean; + cname: string; /** - * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + * The create time of the domain. */ - rules: string[]; + createTime: number; + /** + * The domain name. + */ + domain: string; + /** + * Indicates whether the configuration of this domain name is allowed to be changed. + */ + lockStatus: string; + /** + * The project name. + */ + project: string; + /** + * The service region of the domain. + */ + serviceRegion: string; + /** + * The service type of the domain. + */ + serviceType: string; + /** + * The status of the domain. + */ + status: string; + /** + * The update time of the domain. + */ + updateTime: number; } - export interface SharedConfigDenyIpAccessRule { + export interface GetDomainsDomain { /** - * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + * The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. */ - rules: string[]; + backupOrigins: string[]; + /** + * Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `targetHost`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cacheSharedOn`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + */ + cacheShared: string; + /** + * If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is targetHost or an empty value, the parameter value is empty. + */ + cacheSharedTargetHost: string; + /** + * The CNAME address of the domain is automatically assigned when adding the domain. + */ + cname: string; + /** + * The creation time of the domain. + */ + createTime: number; + /** + * Search by specifying domain name keywords, with fuzzy matching. + */ + domain: string; + /** + * Indicates the locked status of the accelerated domain. + */ + domainLocks: outputs.cdn.GetDomainsDomainDomainLock[]; + /** + * Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + */ + https: boolean; + /** + * Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + */ + ipv6: boolean; + /** + * Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + */ + isConflictDomain: boolean; + /** + * Configure the origin protocol for the accelerated domain. + */ + originProtocol: string; + /** + * Specify a primary origin server for filtering accelerated domains. + */ + primaryOrigins: string[]; + /** + * The project name of the domain. + */ + project: string; + /** + * Indicates the acceleration area. The parameter can take the following values: `chineseMainland`: Indicates mainland China. `global`: Indicates global. `outsideChineseMainland`: Indicates global (excluding mainland China). + */ + serviceRegion: string; + /** + * The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + */ + serviceType: string; + /** + * The status of the domain. + */ + status: string; + /** + * Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + */ + tags: outputs.cdn.GetDomainsDomainTag[]; + /** + * The update time of the domain. + */ + updateTime: number; } - export interface SharedConfigDenyRefererAccessRule { + export interface GetDomainsDomainDomainLock { /** - * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + * If the Status is on, this parameter value records the reason for the lock. */ - allowEmpty?: boolean; + remark: string; /** - * The content indicating the Referer blacklist. + * The status of the domain. */ - commonType: outputs.cdn.SharedConfigDenyRefererAccessRuleCommonType; + status: string; } - export interface SharedConfigDenyRefererAccessRuleCommonType { + export interface GetDomainsDomainTag { /** - * This list is case-sensitive when matching requests. Default is true. + * The key of the tag. */ - ignoreCase?: boolean; + key: string; /** - * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + * The value of the tag. */ - rules: string[]; + value: string; } - export interface SharedConfigsConfigData { + export interface GetSharedConfigsConfigData { /** * The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. */ - allowIpAccessRules: outputs.cdn.SharedConfigsConfigDataAllowIpAccessRule[]; + allowIpAccessRules: outputs.cdn.GetSharedConfigsConfigDataAllowIpAccessRule[]; /** * The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. */ - allowRefererAccessRules: outputs.cdn.SharedConfigsConfigDataAllowRefererAccessRule[]; + allowRefererAccessRules: outputs.cdn.GetSharedConfigsConfigDataAllowRefererAccessRule[]; /** * The configuration for a common list is represented by ConfigType common_match_list. */ - commonMatchLists: outputs.cdn.SharedConfigsConfigDataCommonMatchList[]; + commonMatchLists: outputs.cdn.GetSharedConfigsConfigDataCommonMatchList[]; /** * The name of the shared config. */ @@ -2375,11 +2474,11 @@ export namespace cdn { /** * The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. */ - denyIpAccessRules: outputs.cdn.SharedConfigsConfigDataDenyIpAccessRule[]; + denyIpAccessRules: outputs.cdn.GetSharedConfigsConfigDataDenyIpAccessRule[]; /** * The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. */ - denyRefererAccessRules: outputs.cdn.SharedConfigsConfigDataDenyRefererAccessRule[]; + denyRefererAccessRules: outputs.cdn.GetSharedConfigsConfigDataDenyRefererAccessRule[]; /** * The number of domains. */ @@ -2394,14 +2493,14 @@ export namespace cdn { updateTime: number; } - export interface SharedConfigsConfigDataAllowIpAccessRule { + export interface GetSharedConfigsConfigDataAllowIpAccessRule { /** * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ rules: string[]; } - export interface SharedConfigsConfigDataAllowRefererAccessRule { + export interface GetSharedConfigsConfigDataAllowRefererAccessRule { /** * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. */ @@ -2409,10 +2508,10 @@ export namespace cdn { /** * The content indicating the Referer blacklist. */ - commonTypes: outputs.cdn.SharedConfigsConfigDataAllowRefererAccessRuleCommonType[]; + commonTypes: outputs.cdn.GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType[]; } - export interface SharedConfigsConfigDataAllowRefererAccessRuleCommonType { + export interface GetSharedConfigsConfigDataAllowRefererAccessRuleCommonType { /** * This list is case-sensitive when matching requests. Default is true. */ @@ -2423,14 +2522,14 @@ export namespace cdn { rules: string[]; } - export interface SharedConfigsConfigDataCommonMatchList { + export interface GetSharedConfigsConfigDataCommonMatchList { /** * The content indicating the Referer blacklist. */ - commonTypes: outputs.cdn.SharedConfigsConfigDataCommonMatchListCommonType[]; + commonTypes: outputs.cdn.GetSharedConfigsConfigDataCommonMatchListCommonType[]; } - export interface SharedConfigsConfigDataCommonMatchListCommonType { + export interface GetSharedConfigsConfigDataCommonMatchListCommonType { /** * This list is case-sensitive when matching requests. Default is true. */ @@ -2441,14 +2540,14 @@ export namespace cdn { rules: string[]; } - export interface SharedConfigsConfigDataDenyIpAccessRule { + export interface GetSharedConfigsConfigDataDenyIpAccessRule { /** * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ rules: string[]; } - export interface SharedConfigsConfigDataDenyRefererAccessRule { + export interface GetSharedConfigsConfigDataDenyRefererAccessRule { /** * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. */ @@ -2456,10 +2555,10 @@ export namespace cdn { /** * The content indicating the Referer blacklist. */ - commonTypes: outputs.cdn.SharedConfigsConfigDataDenyRefererAccessRuleCommonType[]; + commonTypes: outputs.cdn.GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType[]; } - export interface SharedConfigsConfigDataDenyRefererAccessRuleCommonType { + export interface GetSharedConfigsConfigDataDenyRefererAccessRuleCommonType { /** * This list is case-sensitive when matching requests. Default is true. */ @@ -2470,62 +2569,257 @@ export namespace cdn { rules: string[]; } -} - -export namespace cen { - export interface AttachInstancesAttachInstance { - /** - * A cen ID. - */ - cenId: string; + export interface SharedConfigAllowIpAccessRule { /** - * The create time of the cen attaching instance. + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ - creationTime: string; + rules: string[]; + } + + export interface SharedConfigAllowRefererAccessRule { /** - * An instance ID. + * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. */ - instanceId: string; + allowEmpty?: boolean; /** - * The owner ID of the instance. + * The content indicating the Referer whitelist. */ - instanceOwnerId: string; + commonType: outputs.cdn.SharedConfigAllowRefererAccessRuleCommonType; + } + + export interface SharedConfigAllowRefererAccessRuleCommonType { /** - * A region id of instance. + * This list is case-sensitive when matching requests. Default is true. */ - instanceRegionId: string; + ignoreCase?: boolean; /** - * An instance type. + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ - instanceType: string; + rules: string[]; + } + + export interface SharedConfigCommonMatchList { /** - * The status of the cen attaching instance. + * The content indicating the Referer blacklist. */ - status: string; + commonType: outputs.cdn.SharedConfigCommonMatchListCommonType; } - export interface BandwidthPackageTag { + export interface SharedConfigCommonMatchListCommonType { /** - * The Key of Tags. + * This list is case-sensitive when matching requests. Default is true. */ - key: string; + ignoreCase?: boolean; /** - * The Value of Tags. + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ - value: string; + rules: string[]; } - export interface BandwidthPackagesBandwidthPackage { + export interface SharedConfigDenyIpAccessRule { /** - * The account ID of the cen bandwidth package. + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. */ - accountId: string; + rules: string[]; + } + + export interface SharedConfigDenyRefererAccessRule { /** - * The bandwidth of the cen bandwidth package. + * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. */ - bandwidth: number; + allowEmpty?: boolean; /** - * The billing type of the cen bandwidth package. + * The content indicating the Referer blacklist. + */ + commonType: outputs.cdn.SharedConfigDenyRefererAccessRuleCommonType; + } + + export interface SharedConfigDenyRefererAccessRuleCommonType { + /** + * This list is case-sensitive when matching requests. Default is true. + */ + ignoreCase?: boolean; + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + + export interface SharedConfigsConfigData { + /** + * The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + */ + allowIpAccessRules: outputs.cdn.SharedConfigsConfigDataAllowIpAccessRule[]; + /** + * The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + */ + allowRefererAccessRules: outputs.cdn.SharedConfigsConfigDataAllowRefererAccessRule[]; + /** + * The configuration for a common list is represented by ConfigType common_match_list. + */ + commonMatchLists: outputs.cdn.SharedConfigsConfigDataCommonMatchList[]; + /** + * The name of the shared config. + */ + configName: string; + /** + * The type of the shared config. + */ + configType: string; + /** + * The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + */ + denyIpAccessRules: outputs.cdn.SharedConfigsConfigDataDenyIpAccessRule[]; + /** + * The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + */ + denyRefererAccessRules: outputs.cdn.SharedConfigsConfigDataDenyRefererAccessRule[]; + /** + * The number of domains. + */ + domainCount: number; + /** + * The name of the project. + */ + projectName: string; + /** + * The update time of the shared config. + */ + updateTime: number; + } + + export interface SharedConfigsConfigDataAllowIpAccessRule { + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + + export interface SharedConfigsConfigDataAllowRefererAccessRule { + /** + * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + */ + allowEmpty: boolean; + /** + * The content indicating the Referer blacklist. + */ + commonTypes: outputs.cdn.SharedConfigsConfigDataAllowRefererAccessRuleCommonType[]; + } + + export interface SharedConfigsConfigDataAllowRefererAccessRuleCommonType { + /** + * This list is case-sensitive when matching requests. Default is true. + */ + ignoreCase: boolean; + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + + export interface SharedConfigsConfigDataCommonMatchList { + /** + * The content indicating the Referer blacklist. + */ + commonTypes: outputs.cdn.SharedConfigsConfigDataCommonMatchListCommonType[]; + } + + export interface SharedConfigsConfigDataCommonMatchListCommonType { + /** + * This list is case-sensitive when matching requests. Default is true. + */ + ignoreCase: boolean; + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + + export interface SharedConfigsConfigDataDenyIpAccessRule { + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + + export interface SharedConfigsConfigDataDenyRefererAccessRule { + /** + * Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + */ + allowEmpty: boolean; + /** + * The content indicating the Referer blacklist. + */ + commonTypes: outputs.cdn.SharedConfigsConfigDataDenyRefererAccessRuleCommonType[]; + } + + export interface SharedConfigsConfigDataDenyRefererAccessRuleCommonType { + /** + * This list is case-sensitive when matching requests. Default is true. + */ + ignoreCase: boolean; + /** + * The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + */ + rules: string[]; + } + +} + +export namespace cen { + export interface AttachInstancesAttachInstance { + /** + * A cen ID. + */ + cenId: string; + /** + * The create time of the cen attaching instance. + */ + creationTime: string; + /** + * An instance ID. + */ + instanceId: string; + /** + * The owner ID of the instance. + */ + instanceOwnerId: string; + /** + * A region id of instance. + */ + instanceRegionId: string; + /** + * An instance type. + */ + instanceType: string; + /** + * The status of the cen attaching instance. + */ + status: string; + } + + export interface BandwidthPackageTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface BandwidthPackagesBandwidthPackage { + /** + * The account ID of the cen bandwidth package. + */ + accountId: string; + /** + * The bandwidth of the cen bandwidth package. + */ + bandwidth: number; + /** + * The billing type of the cen bandwidth package. */ billingType: string; /** @@ -4029,46 +4323,7 @@ export namespace cloud_firewall { } export namespace cloud_identity { - export interface GroupMember { - /** - * The description of the cloud identity group. - */ - description: string; - /** - * The display name of the cloud identity group. - */ - displayName: string; - /** - * The email of the cloud identity user. - */ - email: string; - /** - * The identity type of the cloud identity user. - */ - identityType: string; - /** - * The join time of the cloud identity user. - */ - joinTime: string; - /** - * The phone of the cloud identity user. - */ - phone: string; - /** - * The source of the cloud identity group. - */ - source: string; - /** - * The id of the cloud identity user. - */ - userId: string; - /** - * The name of the cloud identity user. - */ - userName: string; - } - - export interface GroupsGroup { + export interface GetGroupsGroup { /** * The created time of the cloud identity group. */ @@ -4107,7 +4362,7 @@ export namespace cloud_identity { updatedTime: string; } - export interface PermissionSetAssignmentsAssignment { + export interface GetPermissionSetAssignmentsAssignment { /** * The create time of the cloud identity permission set assignment. */ @@ -4138,22 +4393,7 @@ export namespace cloud_identity { targetId: string; } - export interface PermissionSetPermissionPolicy { - /** - * The document of the cloud identity permission set inline policy. When the `permissionPolicyType` is `Inline`, this field must be specified. - */ - inlinePolicyDocument?: string; - /** - * The name of the cloud identity permission set system policy. When the `permissionPolicyType` is `System`, this field must be specified. - */ - permissionPolicyName: string; - /** - * The type of the cloud identity permission set policy. Valid values: `System`, `Inline`. - */ - permissionPolicyType: string; - } - - export interface PermissionSetProvisioningsPermissionProvisioning { + export interface GetPermissionSetProvisioningsPermissionProvisioning { /** * The create time of the cloud identity permission set provisioning. */ @@ -4180,7 +4420,7 @@ export namespace cloud_identity { updateTime: string; } - export interface PermissionSetsPermissionSet { + export interface GetPermissionSetsPermissionSet { /** * The create time of the cloud identity permission set. */ @@ -4200,7 +4440,7 @@ export namespace cloud_identity { /** * The policies of the cloud identity permission set. */ - permissionPolicies: outputs.cloud_identity.PermissionSetsPermissionSetPermissionPolicy[]; + permissionPolicies: outputs.cloud_identity.GetPermissionSetsPermissionSetPermissionPolicy[]; /** * The id of the cloud identity permission set. */ @@ -4219,7 +4459,7 @@ export namespace cloud_identity { updatedTime: string; } - export interface PermissionSetsPermissionSetPermissionPolicy { + export interface GetPermissionSetsPermissionSetPermissionPolicy { /** * The create time of the cloud identity permission set policy. */ @@ -4238,7 +4478,7 @@ export namespace cloud_identity { permissionPolicyType: string; } - export interface UserProvisioningsUserProvisioning { + export interface GetUserProvisioningsUserProvisioning { /** * The created time of the cloud identity user provisioning. */ @@ -4301,7 +4541,7 @@ export namespace cloud_identity { userProvisioningId: string; } - export interface UsersUser { + export interface GetUsersUser { /** * The created time of the cloud identity user. */ @@ -4348,843 +4588,2431 @@ export namespace cloud_identity { userName: string; } -} - -export namespace cloud_monitor { - export interface ContactGroupsGroup { + export interface GroupMember { /** - * The id of the account. + * The description of the cloud identity group. */ - accountId: string; + description: string; /** - * Contact information in the contact group. + * The display name of the cloud identity group. */ - contacts: outputs.cloud_monitor.ContactGroupsGroupContact[]; + displayName: string; /** - * The create time. + * The email of the cloud identity user. */ - createdAt: string; + email: string; /** - * The description of the contact group. + * The identity type of the cloud identity user. */ - description: string; + identityType: string; /** - * The id of the contact group. + * The join time of the cloud identity user. */ - id: string; + joinTime: string; /** - * Search for keywords in contact group names, supports fuzzy search. + * The phone of the cloud identity user. */ - name: string; + phone: string; /** - * The update time. + * The source of the cloud identity group. */ - updatedAt: string; + source: string; + /** + * The id of the cloud identity user. + */ + userId: string; + /** + * The name of the cloud identity user. + */ + userName: string; } - export interface ContactGroupsGroupContact { + export interface GroupsGroup { /** - * The email of contact. + * The created time of the cloud identity group. */ - email: string; + createdTime: string; /** - * The id of the contact group. + * The description of the cloud identity group. */ - id: string; + description: string; /** - * Search for keywords in contact group names, supports fuzzy search. + * The display name of cloud identity group. */ - name: string; + displayName: string; /** - * The phone of contact. + * The id of the cloud identity group. */ - phone: string; - } - - export interface ContactsContact { + groupId: string; /** - * The email of contact. + * The name of cloud identity group. */ - email: string; + groupName: string; /** - * The ID of contact. + * The id of the cloud identity group. */ id: string; /** - * The name of contact. + * The join type of cloud identity group. Valid values: `Auto`, `Manual`. */ - name: string; + joinType: string; /** - * The phone of contact. + * The source of the cloud identity group. */ - phone: string; + source: string; + /** + * The updated time of the cloud identity group. + */ + updatedTime: string; } - export interface EventRuleEffectiveTime { + export interface PermissionSetAssignmentsAssignment { /** - * End time for rule activation. + * The create time of the cloud identity permission set assignment. */ - endTime: string; + createTime: string; /** - * Start time for rule activation. + * The id of the cloud identity permission set. */ - startTime: string; - } - - export interface EventRuleFilterPattern { + id: string; /** - * Event source corresponding to pattern matching. + * The id of cloud identity permission set. */ - source: string; + permissionSetId: string; /** - * The list of corresponding event types in pattern matching, currently set to match any. + * The name of the cloud identity permission set. */ - types: string[]; - } - - export interface EventRuleMessageQueue { + permissionSetName: string; /** - * The kafka instance id. + * The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. */ - instanceId: string; + principalId: string; /** - * The region. + * The principal type of cloud identity permission set. Valid values: `User`, `Group`. */ - region: string; + principalType: string; /** - * The topic name. + * The target account id of cloud identity permission set assignment. */ - topic: string; + targetId: string; + } + + export interface PermissionSetPermissionPolicy { /** - * The message queue type, only support kafka now. + * The document of the cloud identity permission set inline policy. When the `permissionPolicyType` is `Inline`, this field must be specified. */ - type: string; + inlinePolicyDocument?: string; /** - * The vpc id. + * The name of the cloud identity permission set system policy. When the `permissionPolicyType` is `System`, this field must be specified. */ - vpcId: string; + permissionPolicyName: string; + /** + * The type of the cloud identity permission set policy. Valid values: `System`, `Inline`. + */ + permissionPolicyType: string; } - export interface EventRuleTlsTarget { + export interface PermissionSetProvisioningsPermissionProvisioning { /** - * The project id. + * The create time of the cloud identity permission set provisioning. */ - projectId: string; + createTime: string; /** - * The project name. + * The id of the cloud identity permission set. */ - projectName: string; + id: string; /** - * The Chinese region name. + * The id of cloud identity permission set. */ - regionNameCn: string; + permissionSetId: string; /** - * The English region name. + * The name of the cloud identity permission set. */ - regionNameEn: string; + permissionSetName: string; /** - * The topic id. + * The target account id of cloud identity permission set. */ - topicId: string; + targetId: string; + /** + * The update time of the cloud identity permission set provisioning. + */ + updateTime: string; } - export interface EventRulesRule { + export interface PermissionSetsPermissionSet { /** - * The id of the account. + * The create time of the cloud identity permission set. */ - accountId: string; + createdTime: string; /** - * When the alarm notification method is phone, SMS, or email, the triggered alarm contact group ID. + * The description of the cloud identity permission set. */ - contactGroupIds: string[]; + description: string; /** - * List of contact methods. + * The id of the cloud identity permission set. */ - contactMethods: string[]; + id: string; /** - * The create time. + * The name of the cloud identity permission set. */ - createdAt: number; + name: string; /** - * The description of the rule. + * The policies of the cloud identity permission set. */ - description: string; + permissionPolicies: outputs.cloud_identity.PermissionSetsPermissionSetPermissionPolicy[]; /** - * The end time of the rule. + * The id of the cloud identity permission set. */ - effectEndAt: string; + permissionSetId: string; /** - * The start time of the rule. + * The relay state of the cloud identity permission set. */ - effectStartAt: string; + relayState: string; /** - * When the alarm notification method is alarm callback, it triggers the callback address. + * The session duration of the cloud identity permission set. */ - endpoint: string; + sessionDuration: number; /** - * The name of the event bus. + * The updated time of the cloud identity permission set. */ - eventBusName: string; + updatedTime: string; + } + + export interface PermissionSetsPermissionSetPermissionPolicy { /** - * The source of the event. + * The create time of the cloud identity permission set policy. */ - eventSource: string; + createTime: string; /** - * The event type. + * The document of the cloud identity permission set policy. */ - eventTypes: string[]; + permissionPolicyDocument: string; /** - * Filter mode, also known as event matching rules. Custom matching rules are not currently supported. + * The name of the cloud identity permission set policy. */ - filterPatterns: outputs.cloud_monitor.EventRulesRuleFilterPattern[]; + permissionPolicyName: string; /** - * The id of the rule. + * The type of the cloud identity permission set policy. */ - id: string; + permissionPolicyType: string; + } + + export interface UserProvisioningsUserProvisioning { /** - * The level of the rule. + * The created time of the cloud identity user provisioning. */ - level: string; + createdTime: string; /** - * The triggered message queue when the alarm notification method is Kafka message queue. + * The deletion strategy of the cloud identity user provisioning. */ - messageQueues: outputs.cloud_monitor.EventRulesRuleMessageQueue[]; + deletionStrategy: string; /** - * The name of the region. + * The department names of the cloud identity user provisioning. */ - region: string; + departmentNames: string[]; /** - * The id of the rule. + * The description of the cloud identity user provisioning. */ - ruleId: string; + description: string; /** - * Rule name, search rules by name using fuzzy search. + * The duplication strategy of the cloud identity user provisioning. */ - ruleName: string; + duplicationStrategy: string; /** - * Enable the state of the rule. + * The duplication suffix of the cloud identity user provisioning. */ - status: string; + duplicationSuffix: string; /** - * The alarm method for log service triggers the configuration of the log service. + * The id of the cloud identity user provisioning. */ - tlsTargets: outputs.cloud_monitor.EventRulesRuleTlsTarget[]; + id: string; /** - * The updated time. + * The identity source strategy of the cloud identity user provisioning. */ - updatedAt: number; - } - - export interface EventRulesRuleFilterPattern { + identitySourceStrategy: string; /** - * Event source. + * The principal id of the cloud identity user provisioning. */ - source: string; + principalId: string; /** - * The message queue type, only support kafka now. + * The principal name of the cloud identity user provisioning. */ - types: string[]; - } - - export interface EventRulesRuleMessageQueue { + principalName: string; /** - * The kafka instance id. + * The principal type of the cloud identity user provisioning. */ - instanceId: string; + principalType: string; /** - * The name of the region. + * The status of the cloud identity user provisioning. */ - region: string; + provisionStatus: string; /** - * The topic name. + * The target account id of the cloud identity user provisioning. */ - topic: string; + targetId: string; /** - * The message queue type, only support kafka now. + * The updated time of the cloud identity user provisioning. */ - type: string; + updatedTime: string; /** - * The vpc id. + * The id of the cloud identity user provisioning. */ - vpcId: string; + userProvisioningId: string; } - export interface EventRulesRuleTlsTarget { - /** - * The project id. - */ - projectId: string; + export interface UsersUser { /** - * The project name. + * The created time of the cloud identity user. */ - projectName: string; + createdTime: string; /** - * The Chinese region name. + * The description of the cloud identity user. */ - regionNameCn: string; + description: string; /** - * The English region name. + * The display name of cloud identity user. */ - regionNameEn: string; + displayName: string; /** - * The topic id. + * The email of the cloud identity user. */ - topicId: string; + email: string; /** - * The topic name. + * The id of the cloud identity user. */ - topicName: string; - } - - export interface RuleCondition { + id: string; /** - * The comparison operation of the cloud monitor rule. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `=`. + * The identity type of the cloud identity user. */ - comparisonOperator: string; + identityType: string; /** - * The metric name of the cloud monitor rule. + * The phone of the cloud identity user. */ - metricName: string; + phone: string; /** - * The metric unit of the cloud monitor rule. + * The source of cloud identity user. Valid values: `Sync`, `Manual`. */ - metricUnit: string; + source: string; /** - * The period of the cloud monitor rule. + * The updated time of the cloud identity user. */ - period: string; + updatedTime: string; /** - * The statistics of the cloud monitor rule. Valid values: `avg`, `max`, `min`. + * The id of the cloud identity user. */ - statistics: string; + userId: string; /** - * The threshold of the cloud monitor rule. + * The name of cloud identity user. */ - threshold: string; + userName: string; } - export interface RuleOriginalDimension { - /** - * The key of the dimension. - */ - key: string; - /** - * The value of the dimension. - */ - values: string[]; - } +} - export interface RuleRecoveryNotify { +export namespace cloud_monitor { + export interface ContactGroupsGroup { /** - * Whether to enable the recovery notify function. + * The id of the account. */ - enable?: boolean; - } - - export interface RulesRule { + accountId: string; /** - * The alert methods of the cloud monitor rule. + * Contact information in the contact group. */ - alertMethods: string[]; + contacts: outputs.cloud_monitor.ContactGroupsGroupContact[]; /** - * The alert state of the cloud monitor rule. Valid values: `altering`, `normal`. + * The create time. */ - alertState: string; + createdAt: string; /** - * The condition operator of the cloud monitor rule. Valid values: `&&`, `||`. + * The description of the contact group. */ - conditionOperator: string; + description: string; /** - * The conditions of the cloud monitor rule. + * The id of the contact group. */ - conditions: outputs.cloud_monitor.RulesRuleCondition[]; + id: string; /** - * The contact group ids of the cloud monitor rule. + * Search for keywords in contact group names, supports fuzzy search. */ - contactGroupIds: string[]; + name: string; /** - * The created time of the cloud monitor rule. + * The update time. */ - createdAt: string; + updatedAt: string; + } + + export interface ContactGroupsGroupContact { /** - * The description of the cloud monitor rule. + * The email of contact. */ - description: string; + email: string; /** - * The effect end time of the cloud monitor rule. + * The id of the contact group. */ - effectEndAt: string; + id: string; /** - * The effect start time of the cloud monitor rule. + * Search for keywords in contact group names, supports fuzzy search. */ - effectStartAt: string; + name: string; /** - * The enable state of the cloud monitor rule. Valid values: `enable`, `disable`. + * The phone of contact. */ - enableState: string; + phone: string; + } + + export interface ContactsContact { /** - * The evaluation count of the cloud monitor rule. + * The email of contact. */ - evaluationCount: number; + email: string; /** - * The id of the cloud monitor rule. + * The ID of contact. */ id: string; /** - * The level of the cloud monitor rule. Valid values: `critical`, `warning`, `notice`. + * The name of contact. */ - level: string; + name: string; /** - * Whether to enable the multiple conditions function of the cloud monitor rule. + * The phone of contact. */ - multipleConditions: boolean; + phone: string; + } + + export interface EventRuleEffectiveTime { /** - * The namespace of the cloud monitor rule. + * End time for rule activation. */ - namespace: string; + endTime: string; /** - * The original dimensions of the cloud monitor rule. + * Start time for rule activation. */ - originalDimensions: outputs.cloud_monitor.RulesRuleOriginalDimension[]; + startTime: string; + } + + export interface EventRuleFilterPattern { /** - * The region id of the cloud monitor rule. + * Event source corresponding to pattern matching. */ - regions: string[]; + source: string; /** - * The name of the cloud monitor rule. This field support fuzzy query. + * The list of corresponding event types in pattern matching, currently set to match any. */ - ruleName: string; + types: string[]; + } + + export interface EventRuleMessageQueue { /** - * The silence time of the cloud monitor rule. Unit in minutes. + * The kafka instance id. */ - silenceTime: number; + instanceId: string; /** - * The sub namespace of the cloud monitor rule. + * The region. */ - subNamespace: string; + region: string; /** - * The updated time of the cloud monitor rule. + * The topic name. */ - updatedAt: string; + topic: string; /** - * The web hook of the cloud monitor rule. + * The message queue type, only support kafka now. */ - webHook: string; + type: string; /** - * The webhook id list of the cloud monitor rule. + * The vpc id. */ - webhookIds: string[]; + vpcId: string; } - export interface RulesRuleCondition { - /** - * The comparison operation of the cloud monitor rule. - */ - comparisonOperator: string; + export interface EventRuleTlsTarget { /** - * The metric name of the cloud monitor rule. + * The project id. */ - metricName: string; + projectId: string; /** - * The metric unit of the cloud monitor rule. + * The project name. */ - metricUnit: string; + projectName: string; /** - * The period of the cloud monitor rule. + * The Chinese region name. */ - period: string; + regionNameCn: string; /** - * The statistics of the cloud monitor rule. + * The English region name. */ - statistics: string; + regionNameEn: string; /** - * The threshold of the cloud monitor rule. + * The topic id. */ - threshold: string; + topicId: string; } - export interface RulesRuleOriginalDimension { + export interface EventRulesRule { /** - * The key of the dimension. + * The id of the account. */ - key: string; + accountId: string; /** - * The value of the dimension. + * When the alarm notification method is phone, SMS, or email, the triggered alarm contact group ID. */ - values: string[]; - } - -} - -export namespace cloudfs { - export interface AccessesAccess { + contactGroupIds: string[]; /** - * The account id of access. + * List of contact methods. */ - accessAccountId: number; + contactMethods: string[]; /** - * The id of access. + * The create time. */ - accessId: string; + createdAt: number; /** - * The service name of access. + * The description of the rule. */ - accessServiceName: string; + description: string; /** - * The creation time. + * The end time of the rule. */ - createdTime: string; + effectEndAt: string; /** - * The name of file system. + * The start time of the rule. */ - fsName: string; + effectStartAt: string; /** - * Whether is default access. + * When the alarm notification method is alarm callback, it triggers the callback address. */ - isDefault: boolean; + endpoint: string; /** - * The id of security group. + * The name of the event bus. */ - securityGroupId: string; + eventBusName: string; /** - * The status of access. + * The source of the event. */ - status: string; + eventSource: string; /** - * The id of subnet. + * The event type. */ - subnetId: string; + eventTypes: string[]; /** - * The id of vpc. + * Filter mode, also known as event matching rules. Custom matching rules are not currently supported. */ - vpcId: string; + filterPatterns: outputs.cloud_monitor.EventRulesRuleFilterPattern[]; /** - * Whether to enable all vpc route. + * The id of the rule. */ - vpcRouteEnabled: boolean; - } - - export interface FileSystemsFileSystem { + id: string; /** - * The capacity of cache. + * The level of the rule. */ - cacheCapacityTib: number; + level: string; /** - * The plan of cache. + * The triggered message queue when the alarm notification method is Kafka message queue. */ - cachePlan: string; + messageQueues: outputs.cloud_monitor.EventRulesRuleMessageQueue[]; /** - * The creation time. + * The name of the region. */ - createdTime: string; + region: string; /** - * The ID of file system. + * The id of the rule. */ - id: string; + ruleId: string; /** - * The mode of file system. + * Rule name, search rules by name using fuzzy search. */ - mode: string; + ruleName: string; /** - * The point mount. + * Enable the state of the rule. */ - mountPoint: string; + status: string; /** - * The name of file system. + * The alarm method for log service triggers the configuration of the log service. */ - name: string; + tlsTargets: outputs.cloud_monitor.EventRulesRuleTlsTarget[]; /** - * The id of region. + * The updated time. */ - regionId: string; + updatedAt: number; + } + + export interface EventRulesRuleFilterPattern { /** - * The id of security group. + * Event source. */ - securityGroupId: string; + source: string; /** - * The status of file system. + * The message queue type, only support kafka now. */ - status: string; + types: string[]; + } + + export interface EventRulesRuleMessageQueue { /** - * The id of subnet. + * The kafka instance id. */ - subnetId: string; + instanceId: string; /** - * The tos bucket. + * The name of the region. */ - tosBucket: string; + region: string; /** - * The tos prefix. + * The topic name. */ - tosPrefix: string; + topic: string; /** - * The id of vpc. + * The message queue type, only support kafka now. */ - vpcId: string; + type: string; /** - * The id of zone. + * The vpc id. */ - zoneId: string; + vpcId: string; } - export interface NamespacesNamespace { + export interface EventRulesRuleTlsTarget { /** - * The creation time of the namespace. + * The project id. */ - createdTime: string; + projectId: string; /** - * The ID of the namespace. + * The project name. */ - id: string; + projectName: string; /** - * Whether the tos bucket is your own bucket. + * The Chinese region name. */ - isMyBucket: boolean; + regionNameCn: string; /** - * Whether the namespace is read-only. + * The English region name. */ - readOnly: boolean; + regionNameEn: string; /** - * Whether the namespace is the official service for volcengine. + * The topic id. */ - serviceManaged: boolean; + topicId: string; /** - * The status of the namespace. + * The topic name. */ - status: string; + topicName: string; + } + + export interface RuleCondition { /** - * The name of tos bucket. + * The comparison operation of the cloud monitor rule. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `=`. */ - tosBucket: string; + comparisonOperator: string; /** - * The tos prefix. + * The metric name of the cloud monitor rule. */ - tosPrefix: string; - } - - export interface NsQuotasQuota { + metricName: string; /** - * The ID of account. + * The metric unit of the cloud monitor rule. */ - accountId: number; + metricUnit: string; /** - * The name of fs. + * The period of the cloud monitor rule. */ - fsName: string; + period: string; /** - * The count of cloud fs namespace. + * The statistics of the cloud monitor rule. Valid values: `avg`, `max`, `min`. */ - nsCount: number; + statistics: string; /** - * This file stores the number of namespaces under the instance. + * The threshold of the cloud monitor rule. */ - nsCountPerFs: number; + threshold: string; + } + + export interface RuleOriginalDimension { /** - * The quota of cloud fs namespace. + * The key of the dimension. */ - nsQuota: number; + key: string; /** - * This file stores the total namespace quota under the instance. + * The value of the dimension. */ - nsQuotaPerFs: number; + values: string[]; + } + + export interface RuleRecoveryNotify { /** - * Whether is enough of cloud fs namespace. + * Whether to enable the recovery notify function. */ - quotaEnough: boolean; + enable?: boolean; } - export interface QuotasQuota { + export interface RulesRule { /** - * The ID of account. + * The alert methods of the cloud monitor rule. */ - accountId: number; + alertMethods: string[]; /** - * The count of cloud fs. + * The alert state of the cloud monitor rule. Valid values: `altering`, `normal`. */ - fsCount: number; + alertState: string; /** - * The quota of cloud fs. + * The condition operator of the cloud monitor rule. Valid values: `&&`, `||`. */ - fsQuota: number; + conditionOperator: string; /** - * Whether is enough of cloud fs. + * The conditions of the cloud monitor rule. */ - quotaEnough: boolean; - } - -} - -export namespace config { - export interface AssumeRole { + conditions: outputs.cloud_monitor.RulesRuleCondition[]; /** - * The session name to use when making the AssumeRole call. + * The contact group ids of the cloud monitor rule. */ - assumeRoleSessionName: string; + contactGroupIds: string[]; /** - * The TRN of the role to assume. + * The created time of the cloud monitor rule. */ - assumeRoleTrn: string; + createdAt: string; /** - * The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds. + * The description of the cloud monitor rule. */ - durationSeconds: number; + description: string; /** - * A more restrictive policy when making the AssumeRole call. + * The effect end time of the cloud monitor rule. */ - policy?: string; - } - -} - -export namespace cr { - export interface AuthorizationTokensToken { + effectEndAt: string; /** - * The expiration time of the temporary access token. + * The effect start time of the cloud monitor rule. */ - expireTime: string; + effectStartAt: string; /** - * The Temporary access token. + * The enable state of the cloud monitor rule. Valid values: `enable`, `disable`. */ - token: string; + enableState: string; /** - * The username for login repository instance. + * The evaluation count of the cloud monitor rule. */ - username: string; - } - - export interface EndpointAclPolicy { + evaluationCount: number; /** - * The description of the acl policy. + * The id of the cloud monitor rule. */ - description: string; + id: string; /** - * The ip of the acl policy. + * The level of the cloud monitor rule. Valid values: `critical`, `warning`, `notice`. */ - entry: string; - } - - export interface EndpointsEndpoint { + level: string; /** - * The list of acl policies. + * Whether to enable the multiple conditions function of the cloud monitor rule. */ - aclPolicies: outputs.cr.EndpointsEndpointAclPolicy[]; + multipleConditions: boolean; /** - * Whether public endpoint is enabled. + * The namespace of the cloud monitor rule. */ - enabled: boolean; + namespace: string; /** - * The CR instance name. + * The original dimensions of the cloud monitor rule. + */ + originalDimensions: outputs.cloud_monitor.RulesRuleOriginalDimension[]; + /** + * The region id of the cloud monitor rule. + */ + regions: string[]; + /** + * The name of the cloud monitor rule. This field support fuzzy query. + */ + ruleName: string; + /** + * The silence time of the cloud monitor rule. Unit in minutes. + */ + silenceTime: number; + /** + * The sub namespace of the cloud monitor rule. + */ + subNamespace: string; + /** + * The updated time of the cloud monitor rule. + */ + updatedAt: string; + /** + * The web hook of the cloud monitor rule. + */ + webHook: string; + /** + * The webhook id list of the cloud monitor rule. + */ + webhookIds: string[]; + } + + export interface RulesRuleCondition { + /** + * The comparison operation of the cloud monitor rule. + */ + comparisonOperator: string; + /** + * The metric name of the cloud monitor rule. + */ + metricName: string; + /** + * The metric unit of the cloud monitor rule. + */ + metricUnit: string; + /** + * The period of the cloud monitor rule. + */ + period: string; + /** + * The statistics of the cloud monitor rule. + */ + statistics: string; + /** + * The threshold of the cloud monitor rule. + */ + threshold: string; + } + + export interface RulesRuleOriginalDimension { + /** + * The key of the dimension. + */ + key: string; + /** + * The value of the dimension. + */ + values: string[]; + } + +} + +export namespace cloudfs { + export interface AccessesAccess { + /** + * The account id of access. + */ + accessAccountId: number; + /** + * The id of access. + */ + accessId: string; + /** + * The service name of access. + */ + accessServiceName: string; + /** + * The creation time. + */ + createdTime: string; + /** + * The name of file system. + */ + fsName: string; + /** + * Whether is default access. + */ + isDefault: boolean; + /** + * The id of security group. + */ + securityGroupId: string; + /** + * The status of access. + */ + status: string; + /** + * The id of subnet. + */ + subnetId: string; + /** + * The id of vpc. + */ + vpcId: string; + /** + * Whether to enable all vpc route. + */ + vpcRouteEnabled: boolean; + } + + export interface FileSystemsFileSystem { + /** + * The capacity of cache. + */ + cacheCapacityTib: number; + /** + * The plan of cache. + */ + cachePlan: string; + /** + * The creation time. + */ + createdTime: string; + /** + * The ID of file system. + */ + id: string; + /** + * The mode of file system. + */ + mode: string; + /** + * The point mount. + */ + mountPoint: string; + /** + * The name of file system. + */ + name: string; + /** + * The id of region. + */ + regionId: string; + /** + * The id of security group. + */ + securityGroupId: string; + /** + * The status of file system. + */ + status: string; + /** + * The id of subnet. + */ + subnetId: string; + /** + * The tos bucket. + */ + tosBucket: string; + /** + * The tos prefix. + */ + tosPrefix: string; + /** + * The id of vpc. + */ + vpcId: string; + /** + * The id of zone. + */ + zoneId: string; + } + + export interface NamespacesNamespace { + /** + * The creation time of the namespace. + */ + createdTime: string; + /** + * The ID of the namespace. + */ + id: string; + /** + * Whether the tos bucket is your own bucket. + */ + isMyBucket: boolean; + /** + * Whether the namespace is read-only. + */ + readOnly: boolean; + /** + * Whether the namespace is the official service for volcengine. + */ + serviceManaged: boolean; + /** + * The status of the namespace. + */ + status: string; + /** + * The name of tos bucket. + */ + tosBucket: string; + /** + * The tos prefix. + */ + tosPrefix: string; + } + + export interface NsQuotasQuota { + /** + * The ID of account. + */ + accountId: number; + /** + * The name of fs. + */ + fsName: string; + /** + * The count of cloud fs namespace. + */ + nsCount: number; + /** + * This file stores the number of namespaces under the instance. + */ + nsCountPerFs: number; + /** + * The quota of cloud fs namespace. + */ + nsQuota: number; + /** + * This file stores the total namespace quota under the instance. + */ + nsQuotaPerFs: number; + /** + * Whether is enough of cloud fs namespace. + */ + quotaEnough: boolean; + } + + export interface QuotasQuota { + /** + * The ID of account. + */ + accountId: number; + /** + * The count of cloud fs. + */ + fsCount: number; + /** + * The quota of cloud fs. + */ + fsQuota: number; + /** + * Whether is enough of cloud fs. + */ + quotaEnough: boolean; + } + +} + +export namespace config { + export interface AssumeRole { + /** + * The session name to use when making the AssumeRole call. + */ + assumeRoleSessionName: string; + /** + * The TRN of the role to assume. + */ + assumeRoleTrn: string; + /** + * The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds. + */ + durationSeconds: number; + /** + * A more restrictive policy when making the AssumeRole call. + */ + policy?: string; + } + +} + +export namespace cr { + export interface AuthorizationTokensToken { + /** + * The expiration time of the temporary access token. + */ + expireTime: string; + /** + * The Temporary access token. + */ + token: string; + /** + * The username for login repository instance. + */ + username: string; + } + + export interface EndpointAclPolicy { + /** + * The description of the acl policy. + */ + description: string; + /** + * The ip of the acl policy. + */ + entry: string; + } + + export interface EndpointsEndpoint { + /** + * The list of acl policies. + */ + aclPolicies: outputs.cr.EndpointsEndpointAclPolicy[]; + /** + * Whether public endpoint is enabled. + */ + enabled: boolean; + /** + * The CR instance name. + */ + registry: string; + /** + * The status of public endpoint. + */ + status: string; + } + + export interface EndpointsEndpointAclPolicy { + /** + * The description of the acl policy. + */ + description: string; + /** + * The ip of the acl policy. + */ + entry: string; + } + + export interface NamespacesNamespace { + /** + * The time when namespace created. + */ + createTime: string; + /** + * The name of OCI repository. + */ + name: string; + /** + * The ProjectName of the CrNamespace. + */ + project: string; + } + + export interface RegistriesRegistry { + /** + * The charge type of registry. + */ + chargeType: string; + /** + * The creation time of registry. + */ + createTime: string; + /** + * The domain of registry. + */ + domains: outputs.cr.RegistriesRegistryDomain[]; + /** + * The name of registry. + */ + name: string; + /** + * The ProjectName of the cr registry. + */ + project: string; + /** + * The tags of cr registry. + */ + resourceTags: outputs.cr.RegistriesRegistryResourceTag[]; + /** + * The status of registry. + */ + status: outputs.cr.RegistriesRegistryStatus; + /** + * The type of registry. + */ + type: string; + /** + * The status of user. + */ + userStatus: string; + /** + * The username of cr instance. + */ + username: string; + } + + export interface RegistriesRegistryDomain { + /** + * The domain of registry. + */ + domain: string; + /** + * The type of registry. + */ + type: string; + } + + export interface RegistriesRegistryResourceTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface RegistriesRegistryStatus { + /** + * The condition of registry. + */ + conditions: string[]; + /** + * The phase status of registry. + */ + phase: string; + } + + export interface RegistriesResourceTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + values: string[]; + } + + export interface RegistriesStatus { + /** + * The condition of registry. + */ + condition?: string; + /** + * The phase of status. + */ + phase?: string; + } + + export interface RegistryDomain { + /** + * The domain of registry. + */ + domain: string; + /** + * The type of registry. + */ + type: string; + } + + export interface RegistryResourceTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface RegistryStatus { + /** + * The condition of registry. + */ + conditions: string[]; + /** + * The phase status of registry. + */ + phase: string; + } + + export interface RepositoriesRepository { + /** + * The access level of repository. + */ + accessLevel: string; + /** + * The creation time of repository. + */ + createTime: string; + /** + * The description of repository. + */ + description: string; + /** + * The name of repository. + */ + name: string; + /** + * The namespace of repository. + */ + namespace: string; + /** + * The last update time of repository. + */ + updateTime: string; + } + + export interface StateStatus { + /** + * The condition of instance. + */ + conditions: string[]; + /** + * The phase status of instance. + */ + phase: string; + } + + export interface TagChartAttribute { + /** + * The Helm version. + */ + apiVersion: string; + /** + * The name of OCI product. + */ + name: string; + /** + * The Helm Chart version. + */ + version: string; + } + + export interface TagImageAttribute { + /** + * The image architecture. + */ + architecture: string; + /** + * The image author. + */ + author: string; + /** + * The digest of image. + */ + digest: string; + /** + * The iamge os. + */ + os: string; + } + + export interface TagsTag { + /** + * The chart attribute,valid when tag type is Chart. + */ + chartAttribute: outputs.cr.TagsTagChartAttribute; + /** + * The digest of image. + */ + digest: string; + /** + * The list of image attributes,valid when tag type is Image. + */ + imageAttributes: outputs.cr.TagsTagImageAttribute[]; + /** + * The name of OCI product tag. + */ + name: string; + /** + * The last push time of OCI product. + */ + pushTime: string; + /** + * The size of OCI product. + */ + size: number; + /** + * The type of OCI product tag. + */ + type: string; + } + + export interface TagsTagChartAttribute { + /** + * The Helm version. + */ + apiVersion: string; + /** + * The name of OCI product tag. + */ + name: string; + /** + * The Helm Chart version. + */ + version: string; + } + + export interface TagsTagImageAttribute { + /** + * The image architecture. + */ + architecture: string; + /** + * The image author. + */ + author: string; + /** + * The digest of image. + */ + digest: string; + /** + * The iamge os. + */ + os: string; + } + + export interface VpcEndpointVpc { + /** + * The id of the account. When you need to expose the Enterprise Edition instance to a VPC under another primary account, you need to specify the ID of the primary account to which the VPC belongs. + */ + accountId: number; + /** + * The id of the subnet. If not specified, the subnet with the most remaining IPs under the VPC will be automatically selected. + */ + subnetId: string; + /** + * The id of the vpc. + */ + vpcId?: string; + } + + export interface VpcEndpointsEndpoint { + /** + * The CR registry name. + */ + registry: string; + /** + * List of vpc information. + */ + vpcs: outputs.cr.VpcEndpointsEndpointVpc[]; + } + + export interface VpcEndpointsEndpointVpc { + /** + * The id of the account. + */ + accountId: number; + /** + * The creation time. + */ + createTime: string; + /** + * The IP address of the mirror repository in the VPC. + */ + ip: string; + /** + * The region id. + */ + region: string; + /** + * The status of the vpc endpoint. + */ + status: string; + /** + * The ID of the subnet. + */ + subnetId: string; + /** + * The ID of the vpc. + */ + vpcId: string; + } + +} + +export namespace direct_connect { + export interface BgpPeersBgpPeer { + /** + * The id of account. + */ + accountId: string; + /** + * The key of auth. + */ + authKey: string; + /** + * The id of bgp peer. + */ + bgpPeerId: string; + /** + * The name of bgp peer. + */ + bgpPeerName: string; + /** + * The create time of bgp peer. + */ + creationTime: string; + /** + * The Description of bgp peer. + */ + description: string; + /** + * The local asn of bgp peer. + */ + localAsn: number; + /** + * The remote asn of bgp peer. + */ + remoteAsn: number; + /** + * The session status of bgp peer. + */ + sessionStatus: string; + /** + * The status of bgp peer. + */ + status: string; + /** + * The update time of bgp peer. + */ + updateTime: string; + /** + * The id of virtual interface. + */ + virtualInterfaceId: string; + } + + export interface ConnectionTag { + /** + * The tag key. + */ + key?: string; + /** + * The tag value. + */ + value?: string; + } + + export interface ConnectionsDirectConnectConnection { + /** + * The account ID which the physical leased line belongs. + */ + accountId: string; + /** + * The bandwidth of direct connect. + */ + bandwidth: number; + /** + * The dedicated line billing type,only support `1` for yearly and monthly billing currently. + */ + billingType: number; + /** + * The dedicated line billing status. + */ + businessStatus: string; + /** + * The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`. + */ + connectionType: string; + /** + * The creation time of direct connect. + */ + creationTime: string; + /** + * The dedicated line contact email. + */ + customerContactEmail: string; + /** + * The dedicated line contact phone. + */ + customerContactPhone: string; + /** + * The dedicated line contact name. + */ + customerName: string; + /** + * The expected resource force collection time. + */ + deletedTime: string; + /** + * The description of direct connect connection. + */ + description: string; + /** + * The ID of the physical leased line access point. + */ + directConnectAccessPointId: string; + /** + * The ID of direct connect connection. + */ + directConnectConnectionId: string; + /** + * The name of directi connect connection. + */ + directConnectConnectionName: string; + /** + * The expect bandwidth of direct connect. + */ + expectBandwidth: number; + /** + * The expired time. + */ + expiredTime: string; + /** + * The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`. + */ + lineOperator: string; + /** + * The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty. + */ + parentConnectionAccountId: string; + /** + * The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty. + */ + parentConnectionId: string; + /** + * The peer access point of the physical leased line. + */ + peerLocation: string; + /** + * The dedicated line port spec. + */ + portSpec: string; + /** + * The port type of direct connect. + */ + portType: string; + /** + * The status of physical leased line. + */ + status: string; + /** + * All tags that physical leased line added. + */ + tags: outputs.direct_connect.ConnectionsDirectConnectConnectionTag[]; + /** + * The update time of direct connect. + */ + updateTime: string; + /** + * The vlan ID of shared connection,if `connectionType` is `DedicatedConnection`,this parameter returns 0. + */ + vlanId: number; + } + + export interface ConnectionsDirectConnectConnectionTag { + /** + * The tag key. + */ + key: string; + /** + * The tag value. + */ + value: string; + } + + export interface ConnectionsTagFilter { + /** + * The tag key of cloud resource instance. + */ + key?: string; + /** + * The tag value of cloud resource instance. + */ + value?: string; + } + + export interface GatewayRoutesDirectConnectGatewayRoute { + /** + * The id of account. + */ + accountId: string; + /** + * The create time. + */ + creationTime: string; + /** + * The cidr block. + */ + destinationCidrBlock: string; + /** + * The id of direct connect gateway. + */ + directConnectGatewayId: string; + /** + * The id of direct connect gateway route. + */ + directConnectGatewayRouteId: string; + /** + * The id of next hop. + */ + nextHopId: string; + /** + * The type of next hop. + */ + nextHopType: string; + /** + * The type of route. The value can be BGP or CEN or Static. + */ + routeType: string; + /** + * The status info. + */ + status: string; + } + + export interface GatewayTag { + /** + * The tag key. + */ + key?: string; + /** + * The tag value. + */ + value?: string; + } + + export interface GatewaysDirectConnectGateway { + /** + * The account ID that direct connect gateway belongs. + */ + accountId: string; + /** + * The CEN information associated with the direct connect gateway. + */ + associateCens: outputs.direct_connect.GatewaysDirectConnectGatewayAssociateCen[]; + /** + * The business status of direct connect gateway. + */ + businessStatus: string; + /** + * The creation time of direct connect gateway. + */ + creationTime: string; + /** + * The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value. + */ + deletedTime: string; + /** + * The description of direct connect gateway. + */ + description: string; + /** + * The direct connect gateway ID. + */ + directConnectGatewayId: string; + /** + * The direst connect gateway name. + */ + directConnectGatewayName: string; + /** + * The reason of the direct connect gateway locked. + */ + lockReason: string; + /** + * The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value. + */ + overdueTime: string; + /** + * The status of direct connect gateway. + */ + status: string; + /** + * The tags that direct connect gateway added. + */ + tags: outputs.direct_connect.GatewaysDirectConnectGatewayTag[]; + /** + * The update time of direct connect gateway. + */ + updateTime: string; + } + + export interface GatewaysDirectConnectGatewayAssociateCen { + /** + * The CEN ID which direct connect gateway belongs. + */ + cenId: string; + /** + * The CEN owner's ID. + */ + cenOwnerId: string; + /** + * The CEN status. + */ + cenStatus: string; + } + + export interface GatewaysDirectConnectGatewayTag { + /** + * The tag key. + */ + key: string; + /** + * The tag value. + */ + value: string; + } + + export interface GatewaysTagFilter { + /** + * The tag key of cloud resource instance. + */ + key?: string; + /** + * The tag value of cloud resource instance. + */ + value?: string; + } + + export interface VirtualInterfaceTag { + /** + * The tag key. + */ + key?: string; + /** + * The tag value. + */ + value?: string; + } + + export interface VirtualInterfacesTagFilter { + /** + * The tag key of cloud resource instance. + */ + key?: string; + /** + * The tag value of cloud resource instance. + */ + value?: string; + } + + export interface VirtualInterfacesVirtualInterface { + /** + * The account ID which this virtual interface belongs. + */ + accountId: string; + /** + * The band width limit of virtual interface,in Mbps. + */ + bandwidth: number; + /** + * The BFD detect interval. + */ + bfdDetectInterval: number; + /** + * The BFD detect times. + */ + bfdDetectMultiplier: number; + /** + * The creation time of virtual interface. + */ + creationTime: string; + /** + * The description of the virtual interface. + */ + description: string; + /** + * The direct connect connection ID that associated with this virtual interface. + */ + directConnectConnectionId: string; + /** + * The direct connect gateway ID that associated with this virtual interface. + */ + directConnectGatewayId: string; + /** + * Whether enable BFD detect. + */ + enableBfd: boolean; + /** + * Whether enable NQA detect. + */ + enableNqa: boolean; + /** + * The local IP that associated with this virtual interface. + */ + localIp: string; + /** + * The NQA detect interval. + */ + nqaDetectInterval: number; + /** + * The NAQ detect times. + */ + nqaDetectMultiplier: number; + /** + * The peer IP that associated with this virtual interface. + */ + peerIp: string; + /** + * The route type of virtual interface. + */ + routeType: string; + /** + * The status of virtaul interface. + */ + status: string; + /** + * The tags that direct connect gateway added. + */ + tags: outputs.direct_connect.VirtualInterfacesVirtualInterfaceTag[]; + /** + * The update time of virtual interface. + */ + updateTime: string; + /** + * The virtual interface ID. + */ + virtualInterfaceId: string; + /** + * The name of virtual interface. + */ + virtualInterfaceName: string; + /** + * The VLAN ID of virtual interface. + */ + vlanId: number; + } + + export interface VirtualInterfacesVirtualInterfaceTag { + /** + * The tag key. + */ + key: string; + /** + * The tag value. + */ + value: string; + } + +} + +export namespace dns { + export interface BackupsBackupInfo { + /** + * The ID of the backup. + */ + backupId: string; + /** + * The time when the backup was created. The time zone is UTC + 8. + */ + backupTime: string; + /** + * The number of DNS records in the backup. + */ + recordCount: number; + } + + export interface RecordSetsRecordSet { + /** + * The domain prefix of the record set. + */ + host: string; + /** + * The ID of the DNS record set. + */ + id: string; + /** + * The line code corresponding to the DNS record set. + */ + line: string; + /** + * The domain prefix contained in the DNS record set, in PQDN (Partially Qualified Domain Name) format. + */ + pqdn: string; + /** + * The type of DNS records in the DNS record set. + */ + type: string; + /** + * Indicates whether load balancing is enabled for the DNS record set. + */ + weightEnabled: boolean; + } + + export interface RecordsRecord { + /** + * The creation time of the domain. + */ + createdAt: string; + /** + * Indicates whether the DNS record is enabled. + */ + enable: boolean; + /** + * Domain prefix of the DNS record. + */ + host: string; + /** + * Line of the DNS record. + */ + line: string; + /** + * The account ID that called this API. + */ + operators: string[]; + /** + * The hostname included in the DNS record, in PQDN (Partially Qualified Domain Name) format. + */ + pqdn: string; + /** + * The ID of the DNS record. + */ + recordId: string; + /** + * The ID of the record set to which the DNS record belongs. + */ + recordSetId: string; + /** + * The remark of the DNS record. + */ + remark: string; + /** + * The tag information of the DNS record. + */ + tags: string[]; + /** + * The Time to Live (TTL) of the DNS record. The unit is seconds. + */ + ttl: number; + /** + * Type of the DNS record. + */ + type: string; + /** + * The most recent update time of the domain. + */ + updatedAt: string; + /** + * Value of the DNS record. + */ + value: string; + /** + * The weight of the DNS record. + */ + weight: number; + } + + export interface ZoneTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface ZonesTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + values: string[]; + } + + export interface ZonesZone { + /** + * The list of DNS servers allocated to the domain by BytePlus DNS. + */ + allocateDnsServerLists: string[]; + /** + * Whether automatic domain renewal is enabled. + */ + autoRenew: boolean; + /** + * The most recent update time of the domain. + */ + cacheStage: number; + /** + * The creation time of the domain. + */ + createdAt: string; + /** + * The version of DNS DDoS protection service. + */ + dnsSecurity: string; + /** + * The expiration time of the domain. + */ + expiredTime: number; + /** + * The id of the zone. + */ + id: string; + /** + * The ID of the instance. + */ + instanceId: string; + /** + * The ID of the instance. For free edition, the value of this field is null. + */ + instanceNo: string; + /** + * Indicates whether the configuration of NS servers is correct. If the configuration is correct, the status of the domain in BytePlus DNS is Active. + */ + isNsCorrect: boolean; + /** + * Whether the domain is a subdomain. + */ + isSubDomain: boolean; + /** + * The ID of the account that last updated this domain. + */ + lastOperator: string; + /** + * The ProjectName of the domain. + */ + projectName: string; + /** + * The list of DNS servers actually used by the domain. + */ + realDnsServerLists: string[]; + /** + * The total number of DNS records contained in the domain. + */ + recordCount: number; + /** + * The remarks for the domain. + */ + remark: string; + /** + * The status of the domain. + */ + stage: number; + /** + * The domain prefix of the subdomain. If the domain is not a subdomain, this parameter is null. + */ + subDomainHost: string; + /** + * Tags. + */ + tags: outputs.dns.ZonesZoneTag[]; + /** + * The edition of the domain. + */ + tradeCode: string; + /** + * The most recent update time of the domain. + */ + updatedAt: string; + /** + * The ID of the domain. + */ + zid: number; + /** + * The domain name. + */ + zoneName: string; + } + + export interface ZonesZoneTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + +} + +export namespace ebs { + export interface AutoSnapshotPoliciesAutoSnapshotPolicy { + /** + * The id of the auto snapshot policy. + */ + autoSnapshotPolicyId: string; + /** + * The name of the auto snapshot policy. + */ + autoSnapshotPolicyName: string; + /** + * The creation time of the auto snapshot policy. + */ + createdAt: string; + /** + * The id of the auto snapshot policy. + */ + id: string; + /** + * The project name of auto snapshot policy. + */ + projectName: string; + /** + * Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. + */ + repeatDays: number; + /** + * The date of creating snapshot repeatedly by week. The value range is `1-7`, for example, 1 represents Monday. + */ + repeatWeekdays: string[]; + /** + * The retention days of the auto snapshot. `-1` means permanently preserving the snapshot. + */ + retentionDays: number; + /** + * The status of the auto snapshot policy. + */ + status: string; + /** + * Tags. + */ + tags: outputs.ebs.AutoSnapshotPoliciesAutoSnapshotPolicyTag[]; + /** + * The creation time points of the auto snapshot policy. The value range is `0~23`, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00. */ - registry: string; + timePoints: string[]; /** - * The status of public endpoint. + * The updated time of the auto snapshot policy. */ - status: string; + updatedAt: string; + /** + * The number of volumes associated with the auto snapshot policy. + */ + volumeNums: number; } - export interface EndpointsEndpointAclPolicy { + export interface AutoSnapshotPoliciesAutoSnapshotPolicyTag { /** - * The description of the acl policy. + * The Key of Tags. */ - description: string; + key: string; /** - * The ip of the acl policy. + * The Value of Tags. */ - entry: string; + value: string; } - export interface NamespacesNamespace { + export interface AutoSnapshotPoliciesTag { /** - * The time when namespace created. + * The Key of Tags. */ - createTime: string; + key: string; /** - * The name of OCI repository. + * The Value of Tags. */ - name: string; + value: string; + } + + export interface AutoSnapshotPolicyTag { /** - * The ProjectName of the CrNamespace. + * The Key of Tags. */ - project: string; + key: string; + /** + * The Value of Tags. + */ + value: string; } - export interface RegistriesRegistry { + export interface SnapshotGroupTag { /** - * The charge type of registry. + * The Key of Tags. */ - chargeType: string; + key: string; /** - * The creation time of registry. + * The Value of Tags. */ - createTime: string; + value: string; + } + + export interface SnapshotGroupsSnapshotGroup { /** - * The domain of registry. + * The creation time of the snapshot. */ - domains: outputs.cr.RegistriesRegistryDomain[]; + creationTime: string; /** - * The name of registry. + * The description of the snapshot. + */ + description: string; + /** + * The id of the snapshot group. + */ + id: string; + /** + * The image id of the snapshot. + */ + imageId: string; + /** + * The instance id of snapshot group. + */ + instanceId: string; + /** + * The name of snapshot group. */ name: string; /** - * The ProjectName of the cr registry. + * The project name of snapshot group. */ - project: string; + projectName: string; /** - * The tags of cr registry. + * The id of the snapshot group. */ - resourceTags: outputs.cr.RegistriesRegistryResourceTag[]; + snapshotGroupId: string; /** - * The status of registry. + * The snapshots of the snapshot group. */ - status: outputs.cr.RegistriesRegistryStatus; + snapshots: outputs.ebs.SnapshotGroupsSnapshotGroupSnapshot[]; /** - * The type of registry. + * A list of snapshot group status. Valid values: `creating`, `available`, `failed`. */ - type: string; + status: string; /** - * The status of user. + * Tags. */ - userStatus: string; + tags: outputs.ebs.SnapshotGroupsSnapshotGroupTag[]; + } + + export interface SnapshotGroupsSnapshotGroupSnapshot { /** - * The username of cr instance. + * The creation time of the snapshot. */ - username: string; + creationTime: string; + /** + * The description of the snapshot. + */ + description: string; + /** + * The image id of the snapshot. + */ + imageId: string; + /** + * The progress of the snapshot. + */ + progress: number; + /** + * The project name of snapshot group. + */ + projectName: string; + /** + * The id of the snapshot. + */ + retentionDays: number; + /** + * The id of the snapshot. + */ + snapshotId: string; + /** + * The name of the snapshot. + */ + snapshotName: string; + /** + * The type of the snapshot. + */ + snapshotType: string; + /** + * A list of snapshot group status. Valid values: `creating`, `available`, `failed`. + */ + status: string; + /** + * Tags. + */ + tags: outputs.ebs.SnapshotGroupsSnapshotGroupSnapshotTag[]; + /** + * The volume id of the snapshot. + */ + volumeId: string; + /** + * The volume kind of the snapshot. + */ + volumeKind: string; + /** + * The volume name of the snapshot. + */ + volumeName: string; + /** + * The volume size of the snapshot. + */ + volumeSize: number; + /** + * The volume status of the snapshot. + */ + volumeStatus: string; + /** + * The volume type of the snapshot. + */ + volumeType: string; + /** + * The zone id of the snapshot. + */ + zoneId: string; } - export interface RegistriesRegistryDomain { + export interface SnapshotGroupsSnapshotGroupSnapshotTag { /** - * The domain of registry. + * The Key of Tags. */ - domain: string; + key: string; /** - * The type of registry. + * The Value of Tags. */ - type: string; + value: string; } - export interface RegistriesRegistryResourceTag { + export interface SnapshotGroupsSnapshotGroupTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface SnapshotTag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + + export interface SnapshotsSnapshot { + /** + * The creation time of the snapshot. + */ + creationTime: string; + /** + * The description of the snapshot. + */ + description: string; + /** + * The id of the snapshot. + */ + id: string; + /** + * The project name of snapshot. + */ + projectName: string; + /** + * The retention days of the snapshot. + */ + retentionDays: number; + /** + * The id of the snapshot. + */ + snapshotId: string; + /** + * The name of the snapshot. + */ + snapshotName: string; + /** + * The type of the snapshot. + */ + snapshotType: string; + /** + * The status of the snapshot. + */ + status: string; + /** + * Tags. + */ + tags: outputs.ebs.SnapshotsSnapshotTag[]; + /** + * The volume id of the snapshot. + */ + volumeId: string; + /** + * The volume kind of the snapshot. + */ + volumeKind: string; + /** + * The volume name of the snapshot. + */ + volumeName: string; /** - * The Key of Tags. + * The volume size of the snapshot. */ - key: string; + volumeSize: number; /** - * The Value of Tags. + * The volume status of the snapshot. */ - value: string; - } - - export interface RegistriesRegistryStatus { + volumeStatus: string; /** - * The condition of registry. + * The volume type of the snapshot. */ - conditions: string[]; + volumeType: string; /** - * The phase status of registry. + * The zone id of snapshot. */ - phase: string; + zoneId: string; } - export interface RegistriesResourceTag { + export interface SnapshotsSnapshotTag { /** * The Key of Tags. */ @@ -5192,32 +7020,32 @@ export namespace cr { /** * The Value of Tags. */ - values: string[]; + value: string; } - export interface RegistriesStatus { + export interface SnapshotsTag { /** - * The condition of registry. + * The Key of Tags. */ - condition?: string; + key: string; /** - * The phase of status. + * The Value of Tags. */ - phase?: string; + value: string; } - export interface RegistryDomain { + export interface VolumeTag { /** - * The domain of registry. + * The Key of Tags. */ - domain: string; + key: string; /** - * The type of registry. + * The Value of Tags. */ - type: string; + value: string; } - export interface RegistryResourceTag { + export interface VolumesTag { /** * The Key of Tags. */ @@ -5228,1232 +7056,1219 @@ export namespace cr { value: string; } - export interface RegistryStatus { + export interface VolumesVolume { /** - * The condition of registry. + * The baseline performance of the volume. */ - conditions: string[]; + baselinePerformances: outputs.ebs.VolumesVolumeBaselinePerformance[]; + billingType: number; + createdAt: string; + deleteWithInstance: boolean; + description: string; + deviceName: string; + expiredTime: string; /** - * The phase status of registry. + * The extra performance of the volume. */ - phase: string; - } - - export interface RepositoriesRepository { + extraPerformances: outputs.ebs.VolumesVolumeExtraPerformance[]; + id: string; + imageId: string; /** - * The access level of repository. + * The Id of instance. */ - accessLevel: string; + instanceId: string; /** - * The creation time of repository. + * The Kind of Volume. */ - createTime: string; + kind: string; + payType: string; + renewType: number; + size: number; + status: string; /** - * The description of repository. + * Tags. */ - description: string; + tags: outputs.ebs.VolumesVolumeTag[]; /** - * The name of repository. + * The baseline performance of the volume. */ - name: string; + totalPerformances: outputs.ebs.VolumesVolumeTotalPerformance[]; + tradeStatus: number; + updatedAt: string; + volumeId: string; /** - * The namespace of repository. + * The name of Volume. */ - namespace: string; + volumeName: string; /** - * The last update time of repository. + * The type of Volume. */ - updateTime: string; + volumeType: string; + /** + * The Id of Zone. + */ + zoneId: string; } - export interface StateStatus { + export interface VolumesVolumeBaselinePerformance { /** - * The condition of instance. + * The total IOPS performance size for volume. */ - conditions: string[]; + iops: number; /** - * The phase status of instance. + * The total Throughput performance size for volume. Unit: MB/s. */ - phase: string; + throughput: number; } - export interface TagChartAttribute { + export interface VolumesVolumeExtraPerformance { /** - * The Helm version. + * The type of extra performance for volume. */ - apiVersion: string; + extraPerformanceTypeId: string; /** - * The name of OCI product. + * The total IOPS performance size for volume. */ - name: string; + iops: number; /** - * The Helm Chart version. + * The total Throughput performance size for volume. Unit: MB/s. */ - version: string; + throughput: number; } - export interface TagImageAttribute { + export interface VolumesVolumeTag { /** - * The image architecture. + * The Key of Tags. */ - architecture: string; + key: string; /** - * The image author. + * The Value of Tags. */ - author: string; + value: string; + } + + export interface VolumesVolumeTotalPerformance { /** - * The digest of image. + * The total IOPS performance size for volume. */ - digest: string; + iops: number; /** - * The iamge os. + * The total Throughput performance size for volume. Unit: MB/s. */ - os: string; + throughput: number; } - export interface TagsTag { - /** - * The chart attribute,valid when tag type is Chart. - */ - chartAttribute: outputs.cr.TagsTagChartAttribute; +} + +export namespace ecs { + export interface AvailableResourcesAvailableZone { /** - * The digest of image. + * The resource information of the available zone. */ - digest: string; + availableResources: outputs.ecs.AvailableResourcesAvailableZoneAvailableResource[]; /** - * The list of image attributes,valid when tag type is Image. + * The id of the region. */ - imageAttributes: outputs.cr.TagsTagImageAttribute[]; + regionId: string; /** - * The name of OCI product tag. + * The resource status of the available zone. Valid values: `Available`, `SoldOut`. */ - name: string; + status: string; /** - * The last push time of OCI product. + * The id of available zone. */ - pushTime: string; + zoneId: string; + } + + export interface AvailableResourcesAvailableZoneAvailableResource { /** - * The size of OCI product. + * The supported resource information. */ - size: number; + supportedResources: outputs.ecs.AvailableResourcesAvailableZoneAvailableResourceSupportedResource[]; /** - * The type of OCI product tag. + * The type of resource. Valid values: `InstanceType`, `DedicatedHost`. */ type: string; } - export interface TagsTagChartAttribute { - /** - * The Helm version. - */ - apiVersion: string; + export interface AvailableResourcesAvailableZoneAvailableResourceSupportedResource { /** - * The name of OCI product tag. + * The resource status of the available zone. Valid values: `Available`, `SoldOut`. */ - name: string; + status: string; /** - * The Helm Chart version. + * The value of the resource. */ - version: string; + value: string; } - export interface TagsTagImageAttribute { - /** - * The image architecture. - */ - architecture: string; - /** - * The image author. - */ - author: string; - /** - * The digest of image. - */ - digest: string; + export interface CommandsCommand { /** - * The iamge os. + * The base64 encoded content of the ecs command. */ - os: string; - } - - export interface VpcEndpointVpc { + commandContent: string; /** - * The id of the account. When you need to expose the Enterprise Edition instance to a VPC under another primary account, you need to specify the ID of the primary account to which the VPC belongs. + * The id of ecs command. */ - accountId: number; + commandId: string; /** - * The id of the subnet. If not specified, the subnet with the most remaining IPs under the VPC will be automatically selected. + * The provider of public command. When this field is not specified, query for custom commands. */ - subnetId: string; + commandProvider: string; /** - * The id of the vpc. + * The create time of the ecs command. */ - vpcId?: string; - } - - export interface VpcEndpointsEndpoint { + createdAt: string; /** - * The CR registry name. + * The description of the ecs command. */ - registry: string; + description: string; /** - * List of vpc information. + * The id of the ecs command. */ - vpcs: outputs.cr.VpcEndpointsEndpointVpc[]; - } - - export interface VpcEndpointsEndpointVpc { + id: string; /** - * The id of the account. + * The invocation times of the ecs command. Public commands do not display the invocation times. */ - accountId: number; + invocationTimes: number; /** - * The creation time. + * The name of ecs command. This field support fuzzy query. */ - createTime: string; + name: string; /** - * The IP address of the mirror repository in the VPC. + * The timeout of the ecs command. */ - ip: string; + timeout: number; /** - * The region id. + * The type of ecs command. Valid values: `Shell`. */ - region: string; + type: string; /** - * The status of the vpc endpoint. + * The update time of the ecs command. */ - status: string; + updatedAt: string; /** - * The ID of the subnet. + * The username of the ecs command. */ - subnetId: string; + username: string; /** - * The ID of the vpc. + * The working directory of the ecs command. */ - vpcId: string; + workingDir: string; } -} - -export namespace direct_connect { - export interface BgpPeersBgpPeer { + export interface DeploymentSetsDeploymentSet { /** - * The id of account. + * The ID of ECS DeploymentSet. */ - accountId: string; + deploymentSetId: string; /** - * The key of auth. + * The name of ECS DeploymentSet. */ - authKey: string; + deploymentSetName: string; /** - * The id of bgp peer. + * The description of ECS DeploymentSet. */ - bgpPeerId: string; + description: string; /** - * The name of bgp peer. + * The granularity of ECS DeploymentSet.Valid values: switch, host, rack. */ - bgpPeerName: string; + granularity: string; /** - * The create time of bgp peer. + * The strategy of ECS DeploymentSet. */ - creationTime: string; + strategy: string; + } + + export interface HpcClustersHpcCluster { /** - * The Description of bgp peer. + * The created time of the hpc cluster. + */ + createdAt: string; + /** + * The description of the hpc cluster. */ description: string; /** - * The local asn of bgp peer. + * The id of the hpc cluster. */ - localAsn: number; + hpcClusterId: string; /** - * The remote asn of bgp peer. + * The id of the hpc cluster. */ - remoteAsn: number; + id: string; /** - * The session status of bgp peer. + * The name of the hpc cluster. */ - sessionStatus: string; + name: string; /** - * The status of bgp peer. + * The updated time of the hpc cluster. */ - status: string; + updatedAt: string; /** - * The update time of bgp peer. + * The vpc id of the hpc cluster. */ - updateTime: string; + vpcId: string; /** - * The id of virtual interface. + * The zone id of the hpc cluster. */ - virtualInterfaceId: string; + zoneId: string; } - export interface ConnectionTag { + export interface ImageImportTag { /** - * The tag key. + * The Key of Tags. */ - key?: string; + key: string; /** - * The tag value. + * The Value of Tags. */ - value?: string; + value: string; } - export interface ConnectionsDirectConnectConnection { + export interface ImageSharePermissionsAccount { /** - * The account ID which the physical leased line belongs. + * The shared account id of the image. */ accountId: string; + } + + export interface ImageTag { /** - * The bandwidth of direct connect. - */ - bandwidth: number; - /** - * The dedicated line billing type,only support `1` for yearly and monthly billing currently. - */ - billingType: number; - /** - * The dedicated line billing status. - */ - businessStatus: string; - /** - * The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`. - */ - connectionType: string; - /** - * The creation time of direct connect. + * The Key of Tags. */ - creationTime: string; + key: string; /** - * The dedicated line contact email. + * The Value of Tags. */ - customerContactEmail: string; + value: string; + } + + export interface ImagesImage { /** - * The dedicated line contact phone. + * The architecture of Image. */ - customerContactPhone: string; + architecture: string; /** - * The dedicated line contact name. + * The boot mode of Image. */ - customerName: string; + bootMode: string; /** - * The expected resource force collection time. + * The create time of Image. */ - deletedTime: string; + createdAt: string; /** - * The description of direct connect connection. + * The description of Image. */ description: string; /** - * The ID of the physical leased line access point. - */ - directConnectAccessPointId: string; - /** - * The ID of direct connect connection. - */ - directConnectConnectionId: string; - /** - * The name of directi connect connection. + * The ID of Image. */ - directConnectConnectionName: string; + imageId: string; /** - * The expect bandwidth of direct connect. + * The name of Image. */ - expectBandwidth: number; + imageName: string; /** - * The expired time. + * Whether the Image support cloud-init. */ - expiredTime: string; + isSupportCloudInit: boolean; /** - * The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`. + * The name of Image operating system. */ - lineOperator: string; + osName: string; /** - * The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty. + * The operating system type of Image. */ - parentConnectionAccountId: string; + osType: string; /** - * The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty. + * The platform of Image. */ - parentConnectionId: string; + platform: string; /** - * The peer access point of the physical leased line. + * The platform version of Image. */ - peerLocation: string; + platformVersion: string; /** - * The dedicated line port spec. + * The share mode of Image. */ - portSpec: string; + shareStatus: string; /** - * The port type of direct connect. + * The size(GiB) of Image. */ - portType: string; + size: number; /** - * The status of physical leased line. + * A list of Image status, the value can be `available` or `creating` or `error`. */ status: string; /** - * All tags that physical leased line added. + * Tags. */ - tags: outputs.direct_connect.ConnectionsDirectConnectConnectionTag[]; + tags: outputs.ecs.ImagesImageTag[]; /** - * The update time of direct connect. + * The update time of Image. */ - updateTime: string; + updatedAt: string; /** - * The vlan ID of shared connection,if `connectionType` is `DedicatedConnection`,this parameter returns 0. + * The visibility of Image. */ - vlanId: number; + visibility: string; } - export interface ConnectionsDirectConnectConnectionTag { + export interface ImagesImageTag { /** - * The tag key. + * The Key of Tags. */ key: string; /** - * The tag value. + * The Value of Tags. */ value: string; } - export interface ConnectionsTagFilter { + export interface ImagesTag { /** - * The tag key of cloud resource instance. + * The Key of Tags. */ - key?: string; + key: string; /** - * The tag value of cloud resource instance. + * The Value of Tags. */ - value?: string; + value: string; } - export interface GatewayRoutesDirectConnectGatewayRoute { + export interface InstanceCpuOptions { /** - * The id of account. + * The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. */ - accountId: string; + numaPerSocket?: number; /** - * The create time. + * The per core of threads, only support for ebm. `1` indicates disabling hyper threading function. */ - creationTime: string; + threadsPerCore: number; + } + + export interface InstanceDataVolume { /** - * The cidr block. + * The delete with instance flag of volume. */ - destinationCidrBlock: string; + deleteWithInstance?: boolean; /** - * The id of direct connect gateway. + * The size of volume. The value range of the data volume size is ESSD_PL0: 10~32768, ESSD_FlexPL: 10~32768, PTSSD: 20~8192. */ - directConnectGatewayId: string; + size: number; /** - * The id of direct connect gateway route. + * The type of volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`. */ - directConnectGatewayRouteId: string; + volumeType: string; + } + + export interface InstanceEipAddress { /** - * The id of next hop. + * The peek bandwidth of the EIP. The value range in 1~500 for PostPaidByBandwidth, and 1~200 for PostPaidByTraffic. Default is 1. */ - nextHopId: string; + bandwidthMbps?: number; /** - * The type of next hop. + * The id of the bandwidth package, indicates that the public IP address will be added to the bandwidth package. */ - nextHopType: string; + bandwidthPackageId?: string; /** - * The type of route. The value can be BGP or CEN or Static. + * The billing type of the EIP Address. Valid values: `PayByBandwidth`, `PayByTraffic`. Default is `PayByBandwidth`. */ - routeType: string; + chargeType?: string; /** - * The status info. + * The ISP of the EIP. Valid values: `BGP`, `ChinaMobile`, `ChinaUnicom`, `ChinaTelecom`, `SingleLine_BGP`, `Static_BGP`. */ - status: string; + isp?: string; } - export interface GatewayTag { + export interface InstanceGpuDevice { + /** + * The Count of GPU device. + */ + count: number; /** - * The tag key. + * The Encrypted Memory Size of GPU device. */ - key?: string; + encryptedMemorySize: number; /** - * The tag value. + * The memory size of ECS instance. */ - value?: string; + memorySize: number; + /** + * The Product Name of GPU device. + */ + productName: string; } - export interface GatewaysDirectConnectGateway { + export interface InstanceSecondaryNetworkInterface { /** - * The account ID that direct connect gateway belongs. + * The private ip address of secondary networkInterface. */ - accountId: string; + primaryIpAddress: string; /** - * The CEN information associated with the direct connect gateway. + * The security group ID set of secondary networkInterface. */ - associateCens: outputs.direct_connect.GatewaysDirectConnectGatewayAssociateCen[]; + securityGroupIds: string[]; /** - * The business status of direct connect gateway. + * The subnet ID of secondary networkInterface. */ - businessStatus: string; + subnetId: string; + } + + export interface InstanceTag { /** - * The creation time of direct connect gateway. + * The Key of Tags. */ - creationTime: string; + key: string; /** - * The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value. + * The Value of Tags. */ - deletedTime: string; + value: string; + } + + export interface InstanceTypesInstanceType { /** - * The description of direct connect gateway. + * The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type. */ - description: string; + baselineCredit: number; /** - * The direct connect gateway ID. + * The GPU device info of Instance. */ - directConnectGatewayId: string; + gpus: outputs.ecs.InstanceTypesInstanceTypeGpus[]; /** - * The direst connect gateway name. + * The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU. */ - directConnectGatewayName: string; + initialCredit: number; /** - * The reason of the direct connect gateway locked. + * The instance type family. */ - lockReason: string; + instanceTypeFamily: string; /** - * The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value. + * The id of the instance type. */ - overdueTime: string; + instanceTypeId: string; /** - * The status of direct connect gateway. + * Local disk configuration information corresponding to instance specifications. */ - status: string; + localVolumes: outputs.ecs.InstanceTypesInstanceTypeLocalVolume[]; /** - * The tags that direct connect gateway added. + * Memory information of instance specifications. */ - tags: outputs.direct_connect.GatewaysDirectConnectGatewayTag[]; + memories: outputs.ecs.InstanceTypesInstanceTypeMemory[]; /** - * The update time of direct connect gateway. + * Network information of instance specifications. */ - updateTime: string; - } - - export interface GatewaysDirectConnectGatewayAssociateCen { + networks: outputs.ecs.InstanceTypesInstanceTypeNetwork[]; /** - * The CEN ID which direct connect gateway belongs. + * CPU information of instance specifications. */ - cenId: string; + processors: outputs.ecs.InstanceTypesInstanceTypeProcessor[]; /** - * The CEN owner's ID. + * RDMA Specification Information. */ - cenOwnerId: string; + rdmas: outputs.ecs.InstanceTypesInstanceTypeRdma[]; /** - * The CEN status. + * Cloud disk information for instance specifications. */ - cenStatus: string; + volumes: outputs.ecs.InstanceTypesInstanceTypeVolume[]; } - export interface GatewaysDirectConnectGatewayTag { - /** - * The tag key. - */ - key: string; + export interface InstanceTypesInstanceTypeGpus { /** - * The tag value. + * GPU device information list. */ - value: string; + gpuDevices: outputs.ecs.InstanceTypesInstanceTypeGpusGpuDevice[]; } - export interface GatewaysTagFilter { - /** - * The tag key of cloud resource instance. - */ - key?: string; + export interface InstanceTypesInstanceTypeGpusGpuDevice { /** - * The tag value of cloud resource instance. + * The number of local disks mounted on the instance. */ - value?: string; - } - - export interface VirtualInterfaceTag { + count: number; /** - * The tag key. + * Memory information of instance specifications. */ - key?: string; + memories: outputs.ecs.InstanceTypesInstanceTypeGpusGpuDeviceMemory[]; /** - * The tag value. + * The Product Name of GPU device. */ - value?: string; + productName: string; } - export interface VirtualInterfacesTagFilter { + export interface InstanceTypesInstanceTypeGpusGpuDeviceMemory { /** - * The tag key of cloud resource instance. + * The Encrypted Memory Size of GPU device. */ - key?: string; + encryptedSize: number; /** - * The tag value of cloud resource instance. + * Memory size, unit: MiB. */ - value?: string; + size: number; } - export interface VirtualInterfacesVirtualInterface { - /** - * The account ID which this virtual interface belongs. - */ - accountId: string; + export interface InstanceTypesInstanceTypeLocalVolume { /** - * The band width limit of virtual interface,in Mbps. + * The number of local disks mounted on the instance. */ - bandwidth: number; + count: number; /** - * The BFD detect interval. + * Memory size, unit: MiB. */ - bfdDetectInterval: number; + size: number; /** - * The BFD detect times. + * The type of volume. */ - bfdDetectMultiplier: number; + volumeType: string; + } + + export interface InstanceTypesInstanceTypeMemory { /** - * The creation time of virtual interface. + * The Encrypted Memory Size of GPU device. */ - creationTime: string; + encryptedSize: number; /** - * The description of the virtual interface. + * Memory size, unit: MiB. */ - description: string; + size: number; + } + + export interface InstanceTypesInstanceTypeNetwork { /** - * The direct connect connection ID that associated with this virtual interface. + * Network benchmark bandwidth capacity (out/in), unit: Mbps. */ - directConnectConnectionId: string; + baselineBandwidthMbps: number; /** - * The direct connect gateway ID that associated with this virtual interface. + * Peak network bandwidth capacity (out/in), unit: Mbps. */ - directConnectGatewayId: string; + maximumBandwidthMbps: number; /** - * Whether enable BFD detect. + * Maximum number of elastic network interfaces supported for attachment. */ - enableBfd: boolean; + maximumNetworkInterfaces: number; /** - * Whether enable NQA detect. + * Maximum number of IPv4 addresses for a single elastic network interface. */ - enableNqa: boolean; + maximumPrivateIpv4AddressesPerNetworkInterface: number; /** - * The local IP that associated with this virtual interface. + * Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface. */ - localIp: string; + maximumQueuesPerNetworkInterface: number; /** - * The NQA detect interval. + * Network packet sending and receiving capacity (in+out), unit: Kpps. */ - nqaDetectInterval: number; + maximumThroughputKpps: number; + } + + export interface InstanceTypesInstanceTypeProcessor { /** - * The NAQ detect times. + * CPU clock speed, unit: GHz. */ - nqaDetectMultiplier: number; + baseFrequency: number; /** - * The peer IP that associated with this virtual interface. + * The number of ECS instance CPU cores. */ - peerIp: string; + cpus: number; /** - * The route type of virtual interface. + * CPU model. */ - routeType: string; + model: string; /** - * The status of virtaul interface. + * CPU Turbo Boost, unit: GHz. */ - status: string; + turboFrequency: number; + } + + export interface InstanceTypesInstanceTypeRdma { /** - * The tags that direct connect gateway added. + * Number of RDMA network cards. */ - tags: outputs.direct_connect.VirtualInterfacesVirtualInterfaceTag[]; + rdmaNetworkInterfaces: number; + } + + export interface InstanceTypesInstanceTypeVolume { /** - * The update time of virtual interface. + * The maximum number of volumes. */ - updateTime: string; + maximumCount: number; /** - * The virtual interface ID. + * List of supported volume types. */ - virtualInterfaceId: string; + supportedVolumeTypes: string[]; + } + + export interface InstancesInstance { /** - * The name of virtual interface. + * The number of ECS instance CPU cores. */ - virtualInterfaceName: string; + cpus: number; /** - * The VLAN ID of virtual interface. + * The create time of ECS instance. */ - vlanId: number; - } - - export interface VirtualInterfacesVirtualInterfaceTag { + createdAt: string; /** - * The tag key. + * The ID of DeploymentSet. */ - key: string; + deploymentSetId: string; /** - * The tag value. + * The description of ECS instance. */ - value: string; - } - -} - -export namespace dns { - export interface BackupsBackupInfo { + description: string; /** - * The ID of the backup. + * The GPU device info of Instance. */ - backupId: string; + gpuDevices: outputs.ecs.InstancesInstanceGpuDevice[]; /** - * The time when the backup was created. The time zone is UTC + 8. + * The host name of ECS instance. */ - backupTime: string; + hostName: string; /** - * The number of DNS records in the backup. + * The image ID of ECS instance. */ - recordCount: number; - } - - export interface RecordSetsRecordSet { + imageId: string; /** - * The domain prefix of the record set. + * The charge type of ECS instance. */ - host: string; + instanceChargeType: string; /** - * The ID of the DNS record set. + * The ID of ECS instance. */ - id: string; + instanceId: string; /** - * The line code corresponding to the DNS record set. + * The name of ECS instance. This field support fuzzy query. */ - line: string; + instanceName: string; /** - * The domain prefix contained in the DNS record set, in PQDN (Partially Qualified Domain Name) format. + * The spec type of ECS instance. */ - pqdn: string; + instanceType: string; /** - * The type of DNS records in the DNS record set. + * The number of IPv6 addresses of the ECS instance. */ - type: string; + ipv6AddressCount: number; /** - * Indicates whether load balancing is enabled for the DNS record set. + * A list of ipv6 addresses. */ - weightEnabled: boolean; - } - - export interface RecordsRecord { + ipv6Addresses: string[]; /** - * The creation time of the domain. + * The Flag of GPU instance.If the instance is GPU,The flag is true. */ - createdAt: string; + isGpu: boolean; /** - * Indicates whether the DNS record is enabled. + * The ssh key ID of ECS instance. */ - enable: boolean; + keyPairId: string; /** - * Domain prefix of the DNS record. + * The key pair name of ECS instance. */ - host: string; + keyPairName: string; /** - * Line of the DNS record. + * The memory size of ECS instance. */ - line: string; + memorySize: number; /** - * The account ID that called this API. + * The networkInterface detail collection of ECS instance. */ - operators: string[]; + networkInterfaces: outputs.ecs.InstancesInstanceNetworkInterface[]; /** - * The hostname included in the DNS record, in PQDN (Partially Qualified Domain Name) format. + * The os name of ECS instance. */ - pqdn: string; + osName: string; /** - * The ID of the DNS record. + * The os type of ECS instance. */ - recordId: string; + osType: string; /** - * The ID of the record set to which the DNS record belongs. + * The ProjectName of ECS instance. */ - recordSetId: string; + projectName: string; /** - * The remark of the DNS record. + * The spot price limit of ECS instance. */ - remark: string; + spotPriceLimit: number; /** - * The tag information of the DNS record. + * The spot strategy of ECS instance. */ - tags: string[]; + spotStrategy: string; /** - * The Time to Live (TTL) of the DNS record. The unit is seconds. + * The status of ECS instance. */ - ttl: number; + status: string; /** - * Type of the DNS record. + * The stop mode of ECS instance. */ - type: string; + stoppedMode: string; /** - * The most recent update time of the domain. + * Tags. */ - updatedAt: string; + tags: outputs.ecs.InstancesInstanceTag[]; /** - * Value of the DNS record. + * The update time of ECS instance. */ - value: string; + updatedAt: string; /** - * The weight of the DNS record. + * The volume detail collection of volume. */ - weight: number; - } - - export interface ZoneTag { + volumes: outputs.ecs.InstancesInstanceVolume[]; /** - * The Key of Tags. + * The VPC ID of ECS instance. */ - key: string; + vpcId: string; /** - * The Value of Tags. + * The available zone ID of ECS instance. */ - value: string; + zoneId: string; } - export interface ZonesTag { + export interface InstancesInstanceGpuDevice { /** - * The Key of Tags. + * The Count of GPU device. */ - key: string; + count: number; /** - * The Value of Tags. + * The Encrypted Memory Size of GPU device. */ - values: string[]; - } - - export interface ZonesZone { + encryptedMemorySize: number; /** - * The list of DNS servers allocated to the domain by BytePlus DNS. + * The memory size of ECS instance. */ - allocateDnsServerLists: string[]; + memorySize: number; /** - * Whether automatic domain renewal is enabled. + * The Product Name of GPU device. */ - autoRenew: boolean; + productName: string; + } + + export interface InstancesInstanceNetworkInterface { /** - * The most recent update time of the domain. + * The mac address of networkInterface. */ - cacheStage: number; + macAddress: string; /** - * The creation time of the domain. + * The ID of networkInterface. */ - createdAt: string; + networkInterfaceId: string; /** - * The version of DNS DDoS protection service. + * The primary ip address of ECS instance. */ - dnsSecurity: string; + primaryIpAddress: string; /** - * The expiration time of the domain. + * The subnet ID of networkInterface. */ - expiredTime: number; + subnetId: string; /** - * The id of the zone. + * The type of networkInterface. */ - id: string; + type: string; /** - * The ID of the instance. + * The VPC ID of ECS instance. */ - instanceId: string; + vpcId: string; + } + + export interface InstancesInstanceTag { /** - * The ID of the instance. For free edition, the value of this field is null. + * The Key of Tags. */ - instanceNo: string; + key: string; /** - * Indicates whether the configuration of NS servers is correct. If the configuration is correct, the status of the domain in BytePlus DNS is Active. + * The Value of Tags. */ - isNsCorrect: boolean; + value: string; + } + + export interface InstancesInstanceVolume { /** - * Whether the domain is a subdomain. + * The delete with instance flag of volume. */ - isSubDomain: boolean; + deleteWithInstance: boolean; /** - * The ID of the account that last updated this domain. + * The size of volume. */ - lastOperator: string; + size: number; /** - * The ProjectName of the domain. + * The ID of volume. */ - projectName: string; + volumeId: string; /** - * The list of DNS servers actually used by the domain. + * The Name of volume. */ - realDnsServerLists: string[]; + volumeName: string; /** - * The total number of DNS records contained in the domain. + * The type of volume. */ - recordCount: number; + volumeType: string; + } + + export interface InstancesTag { /** - * The remarks for the domain. + * The Key of Tags. */ - remark: string; + key: string; /** - * The status of the domain. + * The Value of Tags. */ - stage: number; + value: string; + } + + export interface InvocationResultsInvocationResult { /** - * The domain prefix of the subdomain. If the domain is not a subdomain, this parameter is null. + * The id of ecs command. */ - subDomainHost: string; + commandId: string; /** - * Tags. + * The end time of the ecs invocation in the instance. */ - tags: outputs.dns.ZonesZoneTag[]; + endTime: string; /** - * The edition of the domain. + * The error code of the ecs invocation. */ - tradeCode: string; + errorCode: string; /** - * The most recent update time of the domain. + * The error message of the ecs invocation. */ - updatedAt: string; + errorMessage: string; /** - * The ID of the domain. + * The exit code of the ecs command. */ - zid: number; + exitCode: number; /** - * The domain name. + * The id of the ecs invocation result. */ - zoneName: string; - } - - export interface ZonesZoneTag { + id: string; /** - * The Key of Tags. + * The id of ecs instance. */ - key: string; + instanceId: string; /** - * The Value of Tags. + * The id of ecs invocation. */ - value: string; - } - -} - -export namespace ebs { - export interface AutoSnapshotPoliciesAutoSnapshotPolicy { + invocationId: string; /** - * The id of the auto snapshot policy. + * The id of the ecs invocation result. */ - autoSnapshotPolicyId: string; + invocationResultId: string; /** - * The name of the auto snapshot policy. + * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`. */ - autoSnapshotPolicyName: string; + invocationResultStatus: string; /** - * The creation time of the auto snapshot policy. + * The base64 encoded output message of the ecs invocation. */ - createdAt: string; + output: string; /** - * The id of the auto snapshot policy. + * The start time of the ecs invocation in the instance. */ - id: string; + startTime: string; /** - * The project name of auto snapshot policy. + * The username of the ecs command. */ - projectName: string; + username: string; + } + + export interface InvocationsInvocation { /** - * Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. + * The base64 encoded content of the ecs command. */ - repeatDays: number; + commandContent: string; /** - * The date of creating snapshot repeatedly by week. The value range is `1-7`, for example, 1 represents Monday. + * The description of the ecs command. */ - repeatWeekdays: string[]; + commandDescription: string; /** - * The retention days of the auto snapshot. `-1` means permanently preserving the snapshot. + * The id of ecs command. */ - retentionDays: number; + commandId: string; /** - * The status of the auto snapshot policy. + * The name of ecs command. This field support fuzzy query. */ - status: string; + commandName: string; /** - * Tags. + * The provider of the ecs command. */ - tags: outputs.ebs.AutoSnapshotPoliciesAutoSnapshotPolicyTag[]; + commandProvider: string; /** - * The creation time points of the auto snapshot policy. The value range is `0~23`, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00. + * The type of ecs command. Valid values: `Shell`. */ - timePoints: string[]; + commandType: string; /** - * The updated time of the auto snapshot policy. + * The end time of the ecs invocation. */ - updatedAt: string; + endTime: string; /** - * The number of volumes associated with the auto snapshot policy. + * The frequency of the ecs invocation. */ - volumeNums: number; - } - - export interface AutoSnapshotPoliciesAutoSnapshotPolicyTag { + frequency: string; /** - * The Key of Tags. + * The id of the ecs invocation. */ - key: string; + id: string; /** - * The Value of Tags. + * The list of ECS instance IDs. */ - value: string; - } - - export interface AutoSnapshotPoliciesTag { + instanceIds: string[]; /** - * The Key of Tags. + * The instance number of the ecs invocation. */ - key: string; + instanceNumber: number; /** - * The Value of Tags. + * The description of the ecs invocation. */ - value: string; - } - - export interface AutoSnapshotPolicyTag { + invocationDescription: string; /** - * The Key of Tags. + * The id of ecs invocation. */ - key: string; + invocationId: string; /** - * The Value of Tags. + * The name of ecs invocation. This field support fuzzy query. */ - value: string; - } - - export interface SnapshotGroupTag { + invocationName: string; /** - * The Key of Tags. + * The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`. */ - key: string; + invocationStatus: string; /** - * The Value of Tags. + * The launch time of the ecs invocation. */ - value: string; - } - - export interface SnapshotGroupsSnapshotGroup { + launchTime: string; /** - * The creation time of the snapshot. + * The recurrence end time of the ecs invocation. */ - creationTime: string; + recurrenceEndTime: string; /** - * The description of the snapshot. + * The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`. */ - description: string; + repeatMode: string; /** - * The id of the snapshot group. + * The start time of the ecs invocation. */ - id: string; + startTime: string; /** - * The image id of the snapshot. + * The timeout of the ecs command. */ - imageId: string; + timeout: number; /** - * The instance id of snapshot group. + * The username of the ecs command. */ - instanceId: string; + username: string; /** - * The name of snapshot group. + * The working directory of the ecs command. */ - name: string; + workingDir: string; + } + + export interface KeyPairsKeyPair { /** - * The project name of snapshot group. + * The creation time of key pair. */ - projectName: string; + createdAt: string; /** - * The id of the snapshot group. + * The description of key pair. */ - snapshotGroupId: string; + description: string; /** - * The snapshots of the snapshot group. + * The finger print info. */ - snapshots: outputs.ebs.SnapshotGroupsSnapshotGroupSnapshot[]; + fingerPrint: string; /** - * A list of snapshot group status. Valid values: `creating`, `available`, `failed`. + * The id of key pair. */ - status: string; + id: string; /** - * Tags. + * The id of key pair. */ - tags: outputs.ebs.SnapshotGroupsSnapshotGroupTag[]; - } - - export interface SnapshotGroupsSnapshotGroupSnapshot { + keyPairId: string; /** - * The creation time of the snapshot. + * Name of key pair. */ - creationTime: string; + keyPairName: string; /** - * The description of the snapshot. + * The update time of key pair. */ - description: string; + updatedAt: string; + } + + export interface LaunchTemplateNetworkInterface { /** - * The image id of the snapshot. + * The security group ID associated with the NIC. */ - imageId: string; + securityGroupIds?: string[]; /** - * The progress of the snapshot. + * The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time. */ - progress: number; + subnetId?: string; + } + + export interface LaunchTemplateVolume { /** - * The project name of snapshot group. + * The delete with instance flag of volume. Valid values: true, false. Default value: true. */ - projectName: string; + deleteWithInstance?: boolean; /** - * The id of the snapshot. + * The size of volume. */ - retentionDays: number; + size?: number; /** - * The id of the snapshot. + * The type of volume. */ - snapshotId: string; + volumeType?: string; + } + + export interface LaunchTemplatesLaunchTemplate { /** - * The name of the snapshot. + * The created time of the launch template. */ - snapshotName: string; + createdAt: string; /** - * The type of the snapshot. + * The default version of the launch template. */ - snapshotType: string; + defaultVersionNumber: number; /** - * A list of snapshot group status. Valid values: `creating`, `available`, `failed`. + * The description of the instance. */ - status: string; + description: string; /** - * Tags. + * The EIP bandwidth which the scaling configuration set. */ - tags: outputs.ebs.SnapshotGroupsSnapshotGroupSnapshotTag[]; + eipBandwidth: number; /** - * The volume id of the snapshot. + * The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic. */ - volumeId: string; + eipBillingType: string; /** - * The volume kind of the snapshot. + * The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom. */ - volumeKind: string; + eipIsp: string; /** - * The volume name of the snapshot. + * The host name of the instance. */ - volumeName: string; + hostName: string; /** - * The volume size of the snapshot. + * The hpc cluster id. */ - volumeSize: number; + hpcClusterId: string; /** - * The volume status of the snapshot. + * The id of the launch template. */ - volumeStatus: string; + id: string; /** - * The volume type of the snapshot. + * The image id. */ - volumeType: string; + imageId: string; /** - * The zone id of the snapshot. + * The charge type of the instance and volume. */ - zoneId: string; - } - - export interface SnapshotGroupsSnapshotGroupSnapshotTag { + instanceChargeType: string; /** - * The Key of Tags. + * The name of the instance. */ - key: string; + instanceName: string; /** - * The Value of Tags. + * When you log in to the instance using the SSH key pair, enter the name of the key pair. */ - value: string; - } - - export interface SnapshotGroupsSnapshotGroupTag { + keyPairName: string; /** - * The Key of Tags. + * The latest version of the launch template. */ - key: string; + latestVersionNumber: number; /** - * The Value of Tags. + * The id of the launch template. */ - value: string; - } - - export interface SnapshotTag { + launchTemplateId: string; /** - * The Key of Tags. + * The name of the launch template. */ - key: string; + launchTemplateName: string; /** - * The Value of Tags. + * The list of network interfaces. */ - value: string; - } - - export interface SnapshotsSnapshot { + networkInterfaces: outputs.ecs.LaunchTemplatesLaunchTemplateNetworkInterface[]; /** - * The creation time of the snapshot. + * Whether to open the security reinforcement. */ - creationTime: string; + securityEnhancementStrategy: string; /** - * The description of the snapshot. + * The index of the ordered suffix. */ - description: string; + suffixIndex: number; /** - * The id of the snapshot. + * Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created. */ - id: string; + uniqueSuffix: boolean; /** - * The project name of snapshot. + * The updated time of the launch template. */ - projectName: string; + updatedAt: string; /** - * The retention days of the snapshot. + * The latest version description of the launch template. */ - retentionDays: number; + versionDescription: string; /** - * The id of the snapshot. + * The list of volume of the scaling configuration. */ - snapshotId: string; + volumes: outputs.ecs.LaunchTemplatesLaunchTemplateVolume[]; /** - * The name of the snapshot. + * The vpc id. */ - snapshotName: string; + vpcId: string; /** - * The type of the snapshot. + * The zone ID of the instance. */ - snapshotType: string; + zoneId: string; + } + + export interface LaunchTemplatesLaunchTemplateNetworkInterface { /** - * The status of the snapshot. + * The security group ID associated with the NIC. */ - status: string; + securityGroupIds: string[]; /** - * Tags. + * The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time. */ - tags: outputs.ebs.SnapshotsSnapshotTag[]; + subnetId: string; + } + + export interface LaunchTemplatesLaunchTemplateVolume { /** - * The volume id of the snapshot. + * The delete with instance flag of volume. Valid values: true, false. Default value: true. */ - volumeId: string; + deleteWithInstance: boolean; /** - * The volume kind of the snapshot. + * The size of volume. */ - volumeKind: string; + size: number; /** - * The volume name of the snapshot. + * The type of volume. */ - volumeName: string; + volumeType: string; + } + + export interface RegionsRegion { /** - * The volume size of the snapshot. + * The id of the region. */ - volumeSize: number; + id: string; /** - * The volume status of the snapshot. + * The id of the region. */ - volumeStatus: string; + regionId: string; + } + + export interface ZonesZone { /** - * The volume type of the snapshot. + * The id of the zone. */ - volumeType: string; + id: string; /** - * The zone id of snapshot. + * The id of the zone. */ zoneId: string; } - export interface SnapshotsSnapshotTag { +} + +export namespace eip { + export interface AddressTag { /** * The Key of Tags. */ @@ -6464,120 +8279,98 @@ export namespace ebs { value: string; } - export interface SnapshotsTag { + export interface AddressesAddress { /** - * The Key of Tags. + * The id of the EIP address. */ - key: string; + allocationId: string; /** - * The Value of Tags. + * The allocation time of the EIP. */ - value: string; - } - - export interface VolumeTag { + allocationTime: string; /** - * The Key of Tags. + * The peek bandwidth of the EIP. */ - key: string; + bandwidth: number; /** - * The Value of Tags. + * The id of the bandwidth package. */ - value: string; - } - - export interface VolumesTag { + bandwidthPackageId: string; /** - * The Key of Tags. + * The billing type of the EIP. */ - key: string; + billingType: string; /** - * The Value of Tags. + * The business status of the EIP. */ - value: string; - } - - export interface VolumesVolume { + businessStatus: string; /** - * The baseline performance of the volume. + * The deleted time of the EIP. + */ + deletedTime: string; + /** + * The description of the EIP. */ - baselinePerformances: outputs.ebs.VolumesVolumeBaselinePerformance[]; - billingType: number; - createdAt: string; - deleteWithInstance: boolean; description: string; - deviceName: string; + /** + * The EIP ip address of the EIP. + */ + eipAddress: string; + /** + * The expired time of the EIP. + */ expiredTime: string; /** - * The extra performance of the volume. + * The id of the EIP address. */ - extraPerformances: outputs.ebs.VolumesVolumeExtraPerformance[]; id: string; - imageId: string; /** - * The Id of instance. + * The instance id which be associated to the EIP. */ instanceId: string; /** - * The Kind of Volume. - */ - kind: string; - payType: string; - renewType: number; - size: number; - status: string; - /** - * Tags. + * The type of the associated instance. */ - tags: outputs.ebs.VolumesVolumeTag[]; + instanceType: string; /** - * The baseline performance of the volume. + * An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`. */ - totalPerformances: outputs.ebs.VolumesVolumeTotalPerformance[]; - tradeStatus: number; - updatedAt: string; - volumeId: string; + isp: string; /** - * The name of Volume. + * The lock reason of the EIP. */ - volumeName: string; + lockReason: string; /** - * The type of Volume. + * A name of EIP. */ - volumeType: string; + name: string; /** - * The Id of Zone. + * The overdue time of the EIP. */ - zoneId: string; - } - - export interface VolumesVolumeBaselinePerformance { + overdueTime: string; /** - * The total IOPS performance size for volume. + * The ProjectName of EIP. */ - iops: number; + projectName: string; /** - * The total Throughput performance size for volume. Unit: MB/s. + * Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced`. */ - throughput: number; - } - - export interface VolumesVolumeExtraPerformance { + securityProtectionTypes: string[]; /** - * The type of extra performance for volume. + * A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`. */ - extraPerformanceTypeId: string; + status: string; /** - * The total IOPS performance size for volume. + * Tags. */ - iops: number; + tags: outputs.eip.AddressesAddressTag[]; /** - * The total Throughput performance size for volume. Unit: MB/s. + * The last update time of the EIP. */ - throughput: number; + updatedAt: string; } - export interface VolumesVolumeTag { + export interface AddressesAddressTag { /** * The Key of Tags. */ @@ -6588,1230 +8381,1251 @@ export namespace ebs { value: string; } - export interface VolumesVolumeTotalPerformance { + export interface AddressesTag { /** - * The total IOPS performance size for volume. + * The Key of Tags. */ - iops: number; + key: string; /** - * The total Throughput performance size for volume. Unit: MB/s. + * The Value of Tags. */ - throughput: number; + value: string; } } -export namespace ecs { - export interface AvailableResourcesAvailableZone { +export namespace escloud { + export interface GetInstancesInstance { /** - * The resource information of the available zone. + * The charge status of instance. */ - availableResources: outputs.ecs.AvailableResourcesAvailableZoneAvailableResource[]; + chargeEnabled: boolean; /** - * The id of the region. + * The create time of instance. */ - regionId: string; + createTime: string; /** - * The resource status of the available zone. Valid values: `Available`, `SoldOut`. + * whether enable es private network. */ - status: string; + enableEsPrivateNetwork: boolean; /** - * The id of available zone. + * whether enable es public network. */ - zoneId: string; - } - - export interface AvailableResourcesAvailableZoneAvailableResource { + enableEsPublicNetwork: boolean; /** - * The supported resource information. + * whether enable kibana private network. */ - supportedResources: outputs.ecs.AvailableResourcesAvailableZoneAvailableResourceSupportedResource[]; + enableKibanaPrivateNetwork: boolean; /** - * The type of resource. Valid values: `InstanceType`, `DedicatedHost`. + * whether enable kibana public network. */ - type: string; - } - - export interface AvailableResourcesAvailableZoneAvailableResourceSupportedResource { + enableKibanaPublicNetwork: boolean; + /** + * The es inner endpoint of instance. + */ + esInnerEndpoint: string; + /** + * The es private domain of instance. + */ + esPrivateDomain: string; + /** + * The es private endpoint of instance. + */ + esPrivateEndpoint: string; /** - * The resource status of the available zone. Valid values: `Available`, `SoldOut`. + * The es public domain of instance. */ - status: string; + esPublicDomain: string; /** - * The value of the resource. + * The es public endpoint of instance. */ - value: string; - } - - export interface CommandsCommand { + esPublicEndpoint: string; /** - * The base64 encoded content of the ecs command. + * The expire time of instance. */ - commandContent: string; + expireDate: string; /** - * The id of ecs command. + * The Id of instance. */ - commandId: string; + id: string; /** - * The provider of public command. When this field is not specified, query for custom commands. + * The configuration of instance. */ - commandProvider: string; + instanceConfiguration: outputs.escloud.GetInstancesInstanceInstanceConfiguration; /** - * The create time of the ecs command. + * The Id of instance. */ - createdAt: string; + instanceId: string; /** - * The description of the ecs command. + * The kibana private domain of instance. */ - description: string; + kibanaPrivateDomain: string; /** - * The id of the ecs command. + * The kibana public domain of instance. */ - id: string; + kibanaPublicDomain: string; /** - * The invocation times of the ecs command. Public commands do not display the invocation times. + * The maintenance day of instance. */ - invocationTimes: number; + maintenanceDays: string[]; /** - * The name of ecs command. This field support fuzzy query. + * The maintenance time of instance. */ - name: string; + maintenanceTime: string; /** - * The timeout of the ecs command. + * The namespace of instance. */ - timeout: number; + namespace: string; /** - * The type of ecs command. Valid values: `Shell`. + * The nodes info of instance. */ - type: string; + nodes: outputs.escloud.GetInstancesInstanceNode[]; /** - * The update time of the ecs command. + * The plugin info of instance. */ - updatedAt: string; + plugins: outputs.escloud.GetInstancesInstancePlugin[]; /** - * The username of the ecs command. + * The status of instance. */ - username: string; + status: string; /** - * The working directory of the ecs command. + * The total nodes of instance. */ - workingDir: string; + totalNodes: number; + /** + * The user id of instance. + */ + userId: string; } - export interface DeploymentSetsDeploymentSet { + export interface GetInstancesInstanceInstanceConfiguration { /** - * The ID of ECS DeploymentSet. + * The user name of instance. */ - deploymentSetId: string; + adminUserName: string; /** - * The name of ECS DeploymentSet. + * The charge type of instance. */ - deploymentSetName: string; + chargeType: string; /** - * The description of ECS DeploymentSet. + * whether enable https. */ - description: string; + enableHttps: boolean; /** - * The granularity of ECS DeploymentSet.Valid values: switch, host, rack. + * Whether enable pure master. */ - granularity: string; + enablePureMaster: boolean; /** - * The strategy of ECS DeploymentSet. + * The node number of host. */ - strategy: string; - } - - export interface HpcClustersHpcCluster { + hotNodeNumber: number; /** - * The created time of the hpc cluster. + * The node resource spec of host. */ - createdAt: string; + hotNodeResourceSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec; /** - * The description of the hpc cluster. + * The node storage spec of host. */ - description: string; + hotNodeStorageSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec; /** - * The id of the hpc cluster. + * The name of instance. */ - hpcClusterId: string; + instanceName: string; /** - * The id of the hpc cluster. + * The node number of kibana. */ - id: string; + kibanaNodeNumber: number; /** - * The name of the hpc cluster. + * The node resource spec of kibana. */ - name: string; + kibanaNodeResourceSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec; /** - * The updated time of the hpc cluster. + * The node storage spec of kibana. */ - updatedAt: string; + kibanaNodeStorageSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec; /** - * The vpc id of the hpc cluster. + * The node number of master. */ - vpcId: string; + masterNodeNumber: number; /** - * The zone id of the hpc cluster. + * The node resource spec of master. */ - zoneId: string; - } - - export interface ImageImportTag { + masterNodeResourceSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec; /** - * The Key of Tags. + * The node storage spec of master. */ - key: string; + masterNodeStorageSpec: outputs.escloud.GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec; /** - * The Value of Tags. + * The period of project. */ - value: string; - } - - export interface ImageSharePermissionsAccount { + period: number; /** - * The shared account id of the image. + * The name of project. */ - accountId: string; - } - - export interface ImageTag { + projectName: string; /** - * The Key of Tags. + * The region info of instance. */ - key: string; + regionId: string; /** - * The Value of Tags. + * The subnet info. */ - value: string; - } - - export interface ImagesImage { + subnet: outputs.escloud.GetInstancesInstanceInstanceConfigurationSubnet; /** - * The architecture of Image. + * The version of plugin. */ - architecture: string; + version: string; /** - * The boot mode of Image. + * The vpc info. */ - bootMode: string; + vpc: outputs.escloud.GetInstancesInstanceInstanceConfigurationVpc; /** - * The create time of Image. + * The zoneId of instance. */ - createdAt: string; + zoneId: string; /** - * The description of Image. + * The zone number of instance. + */ + zoneNumber: number; + } + + export interface GetInstancesInstanceInstanceConfigurationHotNodeResourceSpec { + /** + * The cpu info of resource spec. + */ + cpu: number; + /** + * The description of plugin. */ description: string; /** - * The ID of Image. + * The show name of storage spec. */ - imageId: string; + displayName: string; /** - * The name of Image. + * The memory info of resource spec. */ - imageName: string; + memory: number; /** - * Whether the Image support cloud-init. + * The name of storage spec. */ - isSupportCloudInit: boolean; + name: string; + } + + export interface GetInstancesInstanceInstanceConfigurationHotNodeStorageSpec { /** - * The name of Image operating system. + * The description of plugin. */ - osName: string; + description: string; /** - * The operating system type of Image. + * The show name of storage spec. */ - osType: string; + displayName: string; /** - * The platform of Image. + * The max size of storage spec. */ - platform: string; + maxSize: number; /** - * The platform version of Image. + * The min size of storage spec. */ - platformVersion: string; + minSize: number; /** - * The share mode of Image. + * The name of storage spec. */ - shareStatus: string; + name: string; /** - * The size(GiB) of Image. + * The size of storage spec. */ size: number; /** - * A list of Image status, the value can be `available` or `creating` or `error`. + * The type of storage spec. */ - status: string; + type: string; + } + + export interface GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpec { /** - * Tags. + * The cpu info of resource spec. */ - tags: outputs.ecs.ImagesImageTag[]; + cpu: number; /** - * The update time of Image. + * The description of plugin. */ - updatedAt: string; + description: string; /** - * The visibility of Image. + * The show name of storage spec. */ - visibility: string; - } - - export interface ImagesImageTag { + displayName: string; /** - * The Key of Tags. + * The memory info of resource spec. */ - key: string; + memory: number; /** - * The Value of Tags. + * The name of storage spec. */ - value: string; + name: string; } - export interface ImagesTag { + export interface GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpec { /** - * The Key of Tags. + * The description of plugin. */ - key: string; + description: string; /** - * The Value of Tags. + * The show name of storage spec. */ - value: string; - } - - export interface InstanceCpuOptions { + displayName: string; /** - * The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. + * The max size of storage spec. */ - numaPerSocket?: number; + maxSize: number; /** - * The per core of threads, only support for ebm. `1` indicates disabling hyper threading function. - */ - threadsPerCore: number; - } - - export interface InstanceDataVolume { + * The min size of storage spec. + */ + minSize: number; /** - * The delete with instance flag of volume. + * The name of storage spec. */ - deleteWithInstance?: boolean; + name: string; /** - * The size of volume. The value range of the data volume size is ESSD_PL0: 10~32768, ESSD_FlexPL: 10~32768, PTSSD: 20~8192. + * The size of storage spec. */ size: number; /** - * The type of volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`. + * The type of storage spec. */ - volumeType: string; + type: string; } - export interface InstanceEipAddress { + export interface GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpec { /** - * The peek bandwidth of the EIP. The value range in 1~500 for PostPaidByBandwidth, and 1~200 for PostPaidByTraffic. Default is 1. + * The cpu info of resource spec. */ - bandwidthMbps?: number; + cpu: number; /** - * The id of the bandwidth package, indicates that the public IP address will be added to the bandwidth package. + * The description of plugin. */ - bandwidthPackageId?: string; + description: string; /** - * The billing type of the EIP Address. Valid values: `PayByBandwidth`, `PayByTraffic`. Default is `PayByBandwidth`. + * The show name of storage spec. */ - chargeType?: string; + displayName: string; /** - * The ISP of the EIP. Valid values: `BGP`, `ChinaMobile`, `ChinaUnicom`, `ChinaTelecom`, `SingleLine_BGP`, `Static_BGP`. + * The memory info of resource spec. */ - isp?: string; + memory: number; + /** + * The name of storage spec. + */ + name: string; } - export interface InstanceGpuDevice { + export interface GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpec { /** - * The Count of GPU device. + * The description of plugin. */ - count: number; + description: string; /** - * The Encrypted Memory Size of GPU device. + * The show name of storage spec. */ - encryptedMemorySize: number; + displayName: string; /** - * The memory size of ECS instance. + * The max size of storage spec. */ - memorySize: number; + maxSize: number; /** - * The Product Name of GPU device. + * The min size of storage spec. */ - productName: string; - } - - export interface InstanceSecondaryNetworkInterface { + minSize: number; /** - * The private ip address of secondary networkInterface. + * The name of storage spec. */ - primaryIpAddress: string; + name: string; /** - * The security group ID set of secondary networkInterface. + * The size of storage spec. */ - securityGroupIds: string[]; + size: number; /** - * The subnet ID of secondary networkInterface. + * The type of storage spec. + */ + type: string; + } + + export interface GetInstancesInstanceInstanceConfigurationSubnet { + /** + * The id of subnet. */ subnetId: string; + /** + * The name of subnet. + */ + subnetName: string; } - export interface InstanceTag { + export interface GetInstancesInstanceInstanceConfigurationVpc { /** - * The Key of Tags. + * The id of vpc. */ - key: string; + vpcId: string; /** - * The Value of Tags. + * The name of vpc. */ - value: string; + vpcName: string; } - export interface InstanceTypesInstanceType { + export interface GetInstancesInstanceNode { /** - * The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type. + * Is cold node. */ - baselineCredit: number; + isCold: boolean; /** - * The GPU device info of Instance. + * Is hot node. */ - gpus: outputs.ecs.InstanceTypesInstanceTypeGpus[]; + isHot: boolean; /** - * The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU. + * Is kibana node. */ - initialCredit: number; + isKibana: boolean; /** - * The instance type family. + * Is master node. */ - instanceTypeFamily: string; + isMaster: boolean; /** - * The id of the instance type. + * Is warm node. */ - instanceTypeId: string; + isWarm: boolean; /** - * Local disk configuration information corresponding to instance specifications. + * The show name of node. */ - localVolumes: outputs.ecs.InstanceTypesInstanceTypeLocalVolume[]; + nodeDisplayName: string; /** - * Memory information of instance specifications. + * The name of node. */ - memories: outputs.ecs.InstanceTypesInstanceTypeMemory[]; + nodeName: string; /** - * Network information of instance specifications. + * The node resource spec of master. */ - networks: outputs.ecs.InstanceTypesInstanceTypeNetwork[]; + resourceSpec: outputs.escloud.GetInstancesInstanceNodeResourceSpec; /** - * CPU information of instance specifications. + * The restart times of node. */ - processors: outputs.ecs.InstanceTypesInstanceTypeProcessor[]; + restartNumber: number; /** - * RDMA Specification Information. + * The start time of node. */ - rdmas: outputs.ecs.InstanceTypesInstanceTypeRdma[]; + startTime: string; /** - * Cloud disk information for instance specifications. + * The status of instance. */ - volumes: outputs.ecs.InstanceTypesInstanceTypeVolume[]; - } - - export interface InstanceTypesInstanceTypeGpus { + status: string; /** - * GPU device information list. + * The node storage spec of master. */ - gpuDevices: outputs.ecs.InstanceTypesInstanceTypeGpusGpuDevice[]; + storageSpec: outputs.escloud.GetInstancesInstanceNodeStorageSpec; } - export interface InstanceTypesInstanceTypeGpusGpuDevice { + export interface GetInstancesInstanceNodeResourceSpec { /** - * The number of local disks mounted on the instance. + * The cpu info of resource spec. */ - count: number; + cpu: number; /** - * Memory information of instance specifications. + * The description of plugin. */ - memories: outputs.ecs.InstanceTypesInstanceTypeGpusGpuDeviceMemory[]; + description: string; /** - * The Product Name of GPU device. + * The show name of storage spec. */ - productName: string; - } - - export interface InstanceTypesInstanceTypeGpusGpuDeviceMemory { + displayName: string; /** - * The Encrypted Memory Size of GPU device. + * The memory info of resource spec. */ - encryptedSize: number; + memory: number; /** - * Memory size, unit: MiB. + * The name of storage spec. */ - size: number; + name: string; } - export interface InstanceTypesInstanceTypeLocalVolume { + export interface GetInstancesInstanceNodeStorageSpec { /** - * The number of local disks mounted on the instance. + * The description of plugin. */ - count: number; + description: string; /** - * Memory size, unit: MiB. + * The show name of storage spec. + */ + displayName: string; + /** + * The max size of storage spec. + */ + maxSize: number; + /** + * The min size of storage spec. + */ + minSize: number; + /** + * The name of storage spec. + */ + name: string; + /** + * The size of storage spec. */ size: number; /** - * The type of volume. + * The type of storage spec. */ - volumeType: string; + type: string; } - export interface InstanceTypesInstanceTypeMemory { + export interface GetInstancesInstancePlugin { /** - * The Encrypted Memory Size of GPU device. + * The description of plugin. */ - encryptedSize: number; + description: string; /** - * Memory size, unit: MiB. + * The name of plugin. */ - size: number; + pluginName: string; + /** + * The version of plugin. + */ + version: string; } - export interface InstanceTypesInstanceTypeNetwork { + export interface GetInstancesV2Instance { /** - * Network benchmark bandwidth capacity (out/in), unit: Mbps. + * Whether to enable cerebro. */ - baselineBandwidthMbps: number; + cerebroEnabled: boolean; /** - * Peak network bandwidth capacity (out/in), unit: Mbps. + * The cerebro private domain of instance. */ - maximumBandwidthMbps: number; + cerebroPrivateDomain: string; /** - * Maximum number of elastic network interfaces supported for attachment. + * The cerebro public domain of instance. */ - maximumNetworkInterfaces: number; + cerebroPublicDomain: string; /** - * Maximum number of IPv4 addresses for a single elastic network interface. + * The charge status of instance. */ - maximumPrivateIpv4AddressesPerNetworkInterface: number; + chargeEnabled: boolean; /** - * Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface. + * The cluster id of instance. */ - maximumQueuesPerNetworkInterface: number; + clusterId: string; /** - * Network packet sending and receiving capacity (in+out), unit: Kpps. + * The create time of instance. */ - maximumThroughputKpps: number; - } - - export interface InstanceTypesInstanceTypeProcessor { + createTime: string; /** - * CPU clock speed, unit: GHz. + * Whether enable deletion protection for ESCloud instance. */ - baseFrequency: number; + deletionProtection: boolean; /** - * The number of ECS instance CPU cores. + * whether enable es private domain public. */ - cpus: number; + enableEsPrivateDomainPublic: boolean; /** - * CPU model. + * whether enable es private network. */ - model: string; + enableEsPrivateNetwork: boolean; /** - * CPU Turbo Boost, unit: GHz. + * whether enable es public network. */ - turboFrequency: number; - } - - export interface InstanceTypesInstanceTypeRdma { + enableEsPublicNetwork: boolean; /** - * Number of RDMA network cards. + * whether enable kibana private domain public. */ - rdmaNetworkInterfaces: number; - } - - export interface InstanceTypesInstanceTypeVolume { + enableKibanaPrivateDomainPublic: boolean; /** - * The maximum number of volumes. + * whether enable kibana private network. + */ + enableKibanaPrivateNetwork: boolean; + /** + * whether enable kibana public network. */ - maximumCount: number; + enableKibanaPublicNetwork: boolean; /** - * List of supported volume types. + * The eip address of instance. */ - supportedVolumeTypes: string[]; - } - - export interface InstancesInstance { + esEip: string; /** - * The number of ECS instance CPU cores. + * The eip id associated with the instance. */ - cpus: number; + esEipId: string; /** - * The create time of ECS instance. + * The es inner endpoint of instance. */ - createdAt: string; + esInnerEndpoint: string; /** - * The ID of DeploymentSet. + * The es private domain of instance. */ - deploymentSetId: string; + esPrivateDomain: string; /** - * The description of ECS instance. + * The es private endpoint of instance. */ - description: string; + esPrivateEndpoint: string; /** - * The GPU device info of Instance. + * The whitelist of es private ip. */ - gpuDevices: outputs.ecs.InstancesInstanceGpuDevice[]; + esPrivateIpWhitelist: string; /** - * The host name of ECS instance. + * The es public domain of instance. */ - hostName: string; + esPublicDomain: string; /** - * The image ID of ECS instance. + * The es public endpoint of instance. */ - imageId: string; + esPublicEndpoint: string; /** - * The charge type of ECS instance. + * The whitelist of es public ip. */ - instanceChargeType: string; + esPublicIpWhitelist: string; /** - * The ID of ECS instance. + * The expire time of instance. */ - instanceId: string; + expireDate: string; /** - * The name of ECS instance. This field support fuzzy query. + * The id of instance. */ - instanceName: string; + id: string; /** - * The spec type of ECS instance. + * The configuration of instance. */ - instanceType: string; + instanceConfigurations: outputs.escloud.GetInstancesV2InstanceInstanceConfiguration[]; /** - * The number of IPv6 addresses of the ECS instance. + * The id of instance. */ - ipv6AddressCount: number; + instanceId: string; /** - * A list of ipv6 addresses. + * The eip address of kibana. */ - ipv6Addresses: string[]; + kibanaEip: string; /** - * The Flag of GPU instance.If the instance is GPU,The flag is true. + * The eip id associated with kibana. */ - isGpu: boolean; + kibanaEipId: string; /** - * The ssh key ID of ECS instance. + * The kibana private domain of instance. */ - keyPairId: string; + kibanaPrivateDomain: string; /** - * The key pair name of ECS instance. + * The whitelist of kibana private ip. */ - keyPairName: string; + kibanaPrivateIpWhitelist: string; /** - * The memory size of ECS instance. + * The kibana public domain of instance. */ - memorySize: number; + kibanaPublicDomain: string; /** - * The networkInterface detail collection of ECS instance. + * The whitelist of kibana public ip. */ - networkInterfaces: outputs.ecs.InstancesInstanceNetworkInterface[]; + kibanaPublicIpWhitelist: string; /** - * The os name of ECS instance. + * The main zone id of instance. */ - osName: string; + mainZoneId: string; /** - * The os type of ECS instance. + * The maintenance day of instance. */ - osType: string; + maintenanceDays: string[]; /** - * The ProjectName of ECS instance. + * The maintenance time of instance. */ - projectName: string; + maintenanceTime: string; /** - * The spot price limit of ECS instance. + * The nodes info of instance. */ - spotPriceLimit: number; + nodes: outputs.escloud.GetInstancesV2InstanceNode[]; /** - * The spot strategy of ECS instance. + * The plugin info of instance. */ - spotStrategy: string; + plugins: outputs.escloud.GetInstancesV2InstancePlugin[]; /** - * The status of ECS instance. + * The status of instance. */ status: string; /** - * The stop mode of ECS instance. + * Whether support code node. */ - stoppedMode: string; + supportCodeNode: boolean; /** * Tags. */ - tags: outputs.ecs.InstancesInstanceTag[]; + tags: outputs.escloud.GetInstancesV2InstanceTag[]; /** - * The update time of ECS instance. + * The total nodes of instance. */ - updatedAt: string; + totalNodes: number; /** - * The volume detail collection of volume. + * The user id of instance. */ - volumes: outputs.ecs.InstancesInstanceVolume[]; + userId: string; + } + + export interface GetInstancesV2InstanceInstanceConfiguration { /** - * The VPC ID of ECS instance. + * The user name of instance. */ - vpcId: string; + adminUserName: string; /** - * The available zone ID of ECS instance. + * The charge type of instance. */ - zoneId: string; - } - - export interface InstancesInstanceGpuDevice { + chargeType: string; /** - * The Count of GPU device. + * The node number of cold. */ - count: number; + coldNodeNumber: number; /** - * The Encrypted Memory Size of GPU device. + * The node resource spec of cold. */ - encryptedMemorySize: number; + coldNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec[]; /** - * The memory size of ECS instance. + * The node storage spec of cold. */ - memorySize: number; + coldNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec[]; /** - * The Product Name of GPU device. + * The node number of coordinator. */ - productName: string; - } - - export interface InstancesInstanceNetworkInterface { + coordinatorNodeNumber: number; /** - * The mac address of networkInterface. + * The node resource spec of coordinator. */ - macAddress: string; + coordinatorNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec[]; /** - * The ID of networkInterface. + * The node storage spec of coordinator. */ - networkInterfaceId: string; + coordinatorNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec[]; /** - * The primary ip address of ECS instance. + * whether enable https. */ - primaryIpAddress: string; + enableHttps: boolean; /** - * The subnet ID of networkInterface. + * Whether enable pure master. */ - subnetId: string; + enablePureMaster: boolean; /** - * The type of networkInterface. + * The node number of hot. */ - type: string; + hotNodeNumber: number; /** - * The VPC ID of ECS instance. + * The node resource spec of hot. */ - vpcId: string; - } - - export interface InstancesInstanceTag { + hotNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec[]; /** - * The Key of Tags. + * The node storage spec of hot. */ - key: string; + hotNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec[]; /** - * The Value of Tags. + * The name of instance. */ - value: string; - } - - export interface InstancesInstanceVolume { + instanceName: string; /** - * The delete with instance flag of volume. + * The node number of kibana. */ - deleteWithInstance: boolean; + kibanaNodeNumber: number; /** - * The size of volume. + * The node resource spec of kibana. */ - size: number; + kibanaNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec[]; /** - * The ID of volume. + * The node storage spec of kibana. */ - volumeId: string; + kibanaNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec[]; /** - * The Name of volume. + * The node number of master. */ - volumeName: string; + masterNodeNumber: number; /** - * The type of volume. + * The node resource spec of master. */ - volumeType: string; - } - - export interface InstancesTag { + masterNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec[]; /** - * The Key of Tags. + * The node storage spec of master. */ - key: string; + masterNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec[]; /** - * The Value of Tags. + * The period of project. */ - value: string; - } - - export interface InvocationResultsInvocationResult { + period: number; /** - * The id of ecs command. + * The name of project. */ - commandId: string; + projectName: string; /** - * The end time of the ecs invocation in the instance. + * The region info of instance. */ - endTime: string; + regionId: string; /** - * The error code of the ecs invocation. + * The subnet info. */ - errorCode: string; + subnets: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationSubnet[]; /** - * The error message of the ecs invocation. + * The version of instance. */ - errorMessage: string; + version: string; /** - * The exit code of the ecs command. + * The vpc info. */ - exitCode: number; + vpcs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationVpc[]; /** - * The id of the ecs invocation result. + * The node number of warm. */ - id: string; + warmNodeNumber: number; /** - * The id of ecs instance. + * The node resource spec of warm. */ - instanceId: string; + warmNodeResourceSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec[]; /** - * The id of ecs invocation. + * The node storage spec of warm. */ - invocationId: string; + warmNodeStorageSpecs: outputs.escloud.GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec[]; /** - * The id of the ecs invocation result. + * The zoneId of instance. */ - invocationResultId: string; + zoneId: string; /** - * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`. + * The zone number of instance. */ - invocationResultStatus: string; + zoneNumber: number; + } + + export interface GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpec { /** - * The base64 encoded output message of the ecs invocation. + * The cpu info of resource spec. */ - output: string; + cpu: number; + /** + * The description of resource spec. + */ + description: string; + /** + * The show name of resource spec. + */ + displayName: string; /** - * The start time of the ecs invocation in the instance. + * The memory info of resource spec. */ - startTime: string; + memory: number; /** - * The username of the ecs command. + * The name of resource spec. */ - username: string; + name: string; } - export interface InvocationsInvocation { + export interface GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpec { /** - * The base64 encoded content of the ecs command. + * The description of storage spec. */ - commandContent: string; + description: string; /** - * The description of the ecs command. + * The show name of storage spec. */ - commandDescription: string; + displayName: string; /** - * The id of ecs command. + * The max size of storage spec. */ - commandId: string; + maxSize: number; /** - * The name of ecs command. This field support fuzzy query. + * The min size of storage spec. */ - commandName: string; + minSize: number; /** - * The provider of the ecs command. + * The name of storage spec. */ - commandProvider: string; + name: string; /** - * The type of ecs command. Valid values: `Shell`. + * The size of storage spec. */ - commandType: string; + size: number; + } + + export interface GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpec { /** - * The end time of the ecs invocation. + * The cpu info of resource spec. */ - endTime: string; + cpu: number; /** - * The frequency of the ecs invocation. + * The description of resource spec. */ - frequency: string; + description: string; /** - * The id of the ecs invocation. + * The show name of resource spec. */ - id: string; + displayName: string; /** - * The list of ECS instance IDs. + * The memory info of resource spec. */ - instanceIds: string[]; + memory: number; /** - * The instance number of the ecs invocation. + * The name of resource spec. */ - instanceNumber: number; + name: string; + } + + export interface GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpec { /** - * The description of the ecs invocation. + * The description of storage spec. */ - invocationDescription: string; + description: string; /** - * The id of ecs invocation. + * The show name of storage spec. */ - invocationId: string; + displayName: string; /** - * The name of ecs invocation. This field support fuzzy query. + * The max size of storage spec. */ - invocationName: string; + maxSize: number; /** - * The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`. + * The min size of storage spec. */ - invocationStatus: string; + minSize: number; /** - * The launch time of the ecs invocation. + * The name of storage spec. */ - launchTime: string; + name: string; /** - * The recurrence end time of the ecs invocation. + * The size of storage spec. */ - recurrenceEndTime: string; + size: number; + } + + export interface GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpec { /** - * The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`. + * The cpu info of resource spec. */ - repeatMode: string; + cpu: number; /** - * The start time of the ecs invocation. + * The description of resource spec. */ - startTime: string; + description: string; /** - * The timeout of the ecs command. + * The show name of resource spec. */ - timeout: number; + displayName: string; /** - * The username of the ecs command. + * The memory info of resource spec. */ - username: string; + memory: number; /** - * The working directory of the ecs command. + * The name of resource spec. */ - workingDir: string; + name: string; } - export interface KeyPairsKeyPair { - /** - * The creation time of key pair. - */ - createdAt: string; + export interface GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpec { /** - * The description of key pair. + * The description of storage spec. */ description: string; /** - * The finger print info. + * The show name of storage spec. */ - fingerPrint: string; + displayName: string; /** - * The id of key pair. + * The max size of storage spec. */ - id: string; + maxSize: number; /** - * The id of key pair. + * The min size of storage spec. */ - keyPairId: string; + minSize: number; /** - * Name of key pair. + * The name of storage spec. */ - keyPairName: string; + name: string; /** - * The update time of key pair. + * The size of storage spec. */ - updatedAt: string; + size: number; } - export interface LaunchTemplateNetworkInterface { + export interface GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpec { /** - * The security group ID associated with the NIC. + * The cpu info of resource spec. */ - securityGroupIds?: string[]; + cpu: number; /** - * The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time. + * The description of resource spec. */ - subnetId?: string; - } - - export interface LaunchTemplateVolume { + description: string; /** - * The delete with instance flag of volume. Valid values: true, false. Default value: true. + * The show name of resource spec. */ - deleteWithInstance?: boolean; + displayName: string; /** - * The size of volume. + * The memory info of resource spec. */ - size?: number; + memory: number; /** - * The type of volume. + * The name of resource spec. */ - volumeType?: string; + name: string; } - export interface LaunchTemplatesLaunchTemplate { - /** - * The created time of the launch template. - */ - createdAt: string; + export interface GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpec { /** - * The default version of the launch template. - */ - defaultVersionNumber: number; - /** - * The description of the instance. + * The description of storage spec. */ description: string; /** - * The EIP bandwidth which the scaling configuration set. - */ - eipBandwidth: number; - /** - * The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic. - */ - eipBillingType: string; - /** - * The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom. + * The show name of storage spec. */ - eipIsp: string; + displayName: string; /** - * The host name of the instance. + * The max size of storage spec. */ - hostName: string; + maxSize: number; /** - * The hpc cluster id. + * The min size of storage spec. */ - hpcClusterId: string; + minSize: number; /** - * The id of the launch template. + * The name of storage spec. */ - id: string; + name: string; /** - * The image id. + * The size of storage spec. */ - imageId: string; + size: number; + } + + export interface GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpec { /** - * The charge type of the instance and volume. + * The cpu info of resource spec. */ - instanceChargeType: string; + cpu: number; /** - * The name of the instance. + * The description of resource spec. */ - instanceName: string; + description: string; /** - * When you log in to the instance using the SSH key pair, enter the name of the key pair. + * The show name of resource spec. */ - keyPairName: string; + displayName: string; /** - * The latest version of the launch template. + * The memory info of resource spec. */ - latestVersionNumber: number; + memory: number; /** - * The id of the launch template. + * The name of resource spec. */ - launchTemplateId: string; + name: string; + } + + export interface GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpec { /** - * The name of the launch template. + * The description of storage spec. */ - launchTemplateName: string; + description: string; /** - * The list of network interfaces. + * The show name of storage spec. */ - networkInterfaces: outputs.ecs.LaunchTemplatesLaunchTemplateNetworkInterface[]; + displayName: string; /** - * Whether to open the security reinforcement. + * The max size of storage spec. */ - securityEnhancementStrategy: string; + maxSize: number; /** - * The index of the ordered suffix. + * The min size of storage spec. */ - suffixIndex: number; + minSize: number; /** - * Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created. + * The name of storage spec. */ - uniqueSuffix: boolean; + name: string; /** - * The updated time of the launch template. + * The size of storage spec. */ - updatedAt: string; + size: number; + } + + export interface GetInstancesV2InstanceInstanceConfigurationSubnet { /** - * The latest version description of the launch template. + * The id of subnet. */ - versionDescription: string; + subnetId: string; /** - * The list of volume of the scaling configuration. + * The name of subnet. */ - volumes: outputs.ecs.LaunchTemplatesLaunchTemplateVolume[]; + subnetName: string; + } + + export interface GetInstancesV2InstanceInstanceConfigurationVpc { /** - * The vpc id. + * The id of vpc. */ vpcId: string; /** - * The zone ID of the instance. + * The name of vpc. */ - zoneId: string; + vpcName: string; } - export interface LaunchTemplatesLaunchTemplateNetworkInterface { + export interface GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpec { /** - * The security group ID associated with the NIC. + * The cpu info of resource spec. */ - securityGroupIds: string[]; + cpu: number; /** - * The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time. + * The description of resource spec. */ - subnetId: string; - } - - export interface LaunchTemplatesLaunchTemplateVolume { + description: string; /** - * The delete with instance flag of volume. Valid values: true, false. Default value: true. + * The show name of resource spec. */ - deleteWithInstance: boolean; + displayName: string; /** - * The size of volume. + * The memory info of resource spec. */ - size: number; + memory: number; /** - * The type of volume. + * The name of resource spec. */ - volumeType: string; + name: string; } - export interface RegionsRegion { + export interface GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpec { /** - * The id of the region. + * The description of storage spec. */ - id: string; + description: string; /** - * The id of the region. + * The show name of storage spec. */ - regionId: string; - } - - export interface ZonesZone { + displayName: string; /** - * The id of the zone. + * The max size of storage spec. */ - id: string; + maxSize: number; /** - * The id of the zone. + * The min size of storage spec. */ - zoneId: string; - } - -} - -export namespace eip { - export interface AddressTag { + minSize: number; /** - * The Key of Tags. + * The name of storage spec. */ - key: string; + name: string; /** - * The Value of Tags. + * The size of storage spec. */ - value: string; + size: number; } - export interface AddressesAddress { + export interface GetInstancesV2InstanceNode { /** - * The id of the EIP address. + * Is cold node. */ - allocationId: string; + isCold: boolean; /** - * The allocation time of the EIP. + * Is coordinator node. */ - allocationTime: string; + isCoordinator: boolean; /** - * The peek bandwidth of the EIP. + * Is hot node. */ - bandwidth: number; + isHot: boolean; /** - * The id of the bandwidth package. + * Is kibana node. */ - bandwidthPackageId: string; + isKibana: boolean; /** - * The billing type of the EIP. + * Is master node. */ - billingType: string; + isMaster: boolean; /** - * The business status of the EIP. + * Is warm node. */ - businessStatus: string; + isWarm: boolean; /** - * The deleted time of the EIP. + * The show name of node. */ - deletedTime: string; + nodeDisplayName: string; /** - * The description of the EIP. + * The name of node. */ - description: string; + nodeName: string; /** - * The EIP ip address of the EIP. + * The node resource spec of master. */ - eipAddress: string; + resourceSpecs: outputs.escloud.GetInstancesV2InstanceNodeResourceSpec[]; /** - * The expired time of the EIP. + * The restart times of node. */ - expiredTime: string; + restartNumber: number; /** - * The id of the EIP address. + * The start time of node. */ - id: string; + startTime: string; /** - * The instance id which be associated to the EIP. + * The status of node. */ - instanceId: string; + status: string; /** - * The type of the associated instance. + * The node storage spec of master. */ - instanceType: string; + storageSpecs: outputs.escloud.GetInstancesV2InstanceNodeStorageSpec[]; + } + + export interface GetInstancesV2InstanceNodeResourceSpec { /** - * An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`. + * The cpu info of resource spec. */ - isp: string; + cpu: number; /** - * The lock reason of the EIP. + * The description of resource spec. */ - lockReason: string; + description: string; /** - * A name of EIP. + * The show name of resource spec. */ - name: string; + displayName: string; /** - * The overdue time of the EIP. + * The memory info of resource spec. */ - overdueTime: string; + memory: number; + } + + export interface GetInstancesV2InstanceNodeStorageSpec { /** - * The ProjectName of EIP. + * The description of storage spec. */ - projectName: string; + description: string; /** - * Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced`. + * The show name of storage spec. */ - securityProtectionTypes: string[]; + displayName: string; /** - * A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`. + * The max size of storage spec. */ - status: string; + maxSize: number; /** - * Tags. + * The min size of storage spec. */ - tags: outputs.eip.AddressesAddressTag[]; + minSize: number; + } + + export interface GetInstancesV2InstancePlugin { /** - * The last update time of the EIP. + * The description of plugin. */ - updatedAt: string; + description: string; + /** + * The name of plugin. + */ + pluginName: string; + /** + * The status of plugin. + */ + status: string; + /** + * The version of plugin. + */ + version: string; } - export interface AddressesAddressTag { + export interface GetInstancesV2InstanceTag { /** * The Key of Tags. */ @@ -7822,7 +9636,7 @@ export namespace eip { value: string; } - export interface AddressesTag { + export interface GetInstancesV2Tag { /** * The Key of Tags. */ @@ -7830,12 +9644,35 @@ export namespace eip { /** * The Value of Tags. */ - value: string; + values: string[]; } -} + export interface GetRegionsRegion { + /** + * The id of the region. + */ + regionId: string; + /** + * The name of region. + */ + regionName: string; + } + + export interface GetZonesZone { + /** + * The id of the zone. + */ + id: string; + /** + * The id of the zone. + */ + zoneId: string; + /** + * The name of the zone. + */ + zoneName: string; + } -export namespace escloud { export interface InstanceInstanceConfiguration { /** * The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields. @@ -7930,6 +9767,71 @@ export namespace escloud { type: string; } + export interface InstanceV2NetworkSpec { + /** + * The bandwidth of the eip. Unit: Mbps. + */ + bandwidth: number; + /** + * Whether the eip is opened. + */ + isOpen: boolean; + /** + * The spec name of public network. + */ + specName: string; + /** + * The type of public network, valid values: `Elasticsearch`, `Kibana`. + */ + type: string; + } + + export interface InstanceV2NodeSpecsAssign { + /** + * The extra performance of FlexPL storage spec. + */ + extraPerformance?: outputs.escloud.InstanceV2NodeSpecsAssignExtraPerformance; + /** + * The number of node. + */ + number: number; + /** + * The name of compute resource spec. + */ + resourceSpecName: string; + /** + * The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + */ + storageSize: number; + /** + * The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + */ + storageSpecName: string; + /** + * The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + */ + type: string; + } + + export interface InstanceV2NodeSpecsAssignExtraPerformance { + /** + * When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + * The unit is MiB, and the adjustment step size is 10MiB. + */ + throughput: number; + } + + export interface InstanceV2Tag { + /** + * The Key of Tags. + */ + key: string; + /** + * The Value of Tags. + */ + value: string; + } + export interface InstancesInstance { /** * The charge status of instance. diff --git a/sdk/nodejs/yarn.lock b/sdk/nodejs/yarn.lock deleted file mode 100644 index a184dc33..00000000 --- a/sdk/nodejs/yarn.lock +++ /dev/null @@ -1,1965 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@grpc/grpc-js@^1.10.1": - version "1.13.3" - resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.13.3.tgz#6ad08d186c2a8651697085f790c5c68eaca45904" - integrity sha512-FTXHdOoPbZrBjlVLHuKbDZnsTxXv2BlHF57xw6LuThXacXvtkahEPED0CKMk6obZDf65Hv4k3z62eyPNpvinIg== - dependencies: - "@grpc/proto-loader" "^0.7.13" - "@js-sdsl/ordered-map" "^4.4.2" - -"@grpc/proto-loader@^0.7.13": - version "0.7.15" - resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.15.tgz#4cdfbf35a35461fc843abe8b9e2c0770b5095e60" - integrity sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ== - dependencies: - lodash.camelcase "^4.3.0" - long "^5.0.0" - protobufjs "^7.2.5" - yargs "^17.7.2" - -"@isaacs/cliui@^8.0.2": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" - integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== - dependencies: - string-width "^5.1.2" - string-width-cjs "npm:string-width@^4.2.0" - strip-ansi "^7.0.1" - strip-ansi-cjs "npm:strip-ansi@^6.0.1" - wrap-ansi "^8.1.0" - wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" - -"@isaacs/string-locale-compare@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" - integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== - -"@js-sdsl/ordered-map@^4.4.2": - version "4.4.2" - resolved "https://registry.yarnpkg.com/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz#9299f82874bab9e4c7f9c48d865becbfe8d6907c" - integrity sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw== - -"@logdna/tail-file@^2.0.6": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@logdna/tail-file/-/tail-file-2.2.0.tgz#158a362d293f940dacfd07c835bf3ae2f9e0455a" - integrity sha512-XGSsWDweP80Fks16lwkAUIr54ICyBs6PsI4mpfTLQaWgEJRtY9xEV+PeyDpJ+sJEGZxqINlpmAwe/6tS1pP8Ng== - -"@npmcli/agent@^2.0.0": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-2.2.2.tgz#967604918e62f620a648c7975461c9c9e74fc5d5" - integrity sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og== - dependencies: - agent-base "^7.1.0" - http-proxy-agent "^7.0.0" - https-proxy-agent "^7.0.1" - lru-cache "^10.0.1" - socks-proxy-agent "^8.0.3" - -"@npmcli/arborist@^7.3.1": - version "7.5.4" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-7.5.4.tgz#3dd9e531d6464ef6715e964c188e0880c471ac9b" - integrity sha512-nWtIc6QwwoUORCRNzKx4ypHqCk3drI+5aeYdMTQQiRCcn4lOOgfQh7WyZobGYTxXPSq1VwV53lkpN/BRlRk08g== - dependencies: - "@isaacs/string-locale-compare" "^1.1.0" - "@npmcli/fs" "^3.1.1" - "@npmcli/installed-package-contents" "^2.1.0" - "@npmcli/map-workspaces" "^3.0.2" - "@npmcli/metavuln-calculator" "^7.1.1" - "@npmcli/name-from-folder" "^2.0.0" - "@npmcli/node-gyp" "^3.0.0" - "@npmcli/package-json" "^5.1.0" - "@npmcli/query" "^3.1.0" - "@npmcli/redact" "^2.0.0" - "@npmcli/run-script" "^8.1.0" - bin-links "^4.0.4" - cacache "^18.0.3" - common-ancestor-path "^1.0.1" - hosted-git-info "^7.0.2" - json-parse-even-better-errors "^3.0.2" - json-stringify-nice "^1.1.4" - lru-cache "^10.2.2" - minimatch "^9.0.4" - nopt "^7.2.1" - npm-install-checks "^6.2.0" - npm-package-arg "^11.0.2" - npm-pick-manifest "^9.0.1" - npm-registry-fetch "^17.0.1" - pacote "^18.0.6" - parse-conflict-json "^3.0.0" - proc-log "^4.2.0" - proggy "^2.0.0" - promise-all-reject-late "^1.0.0" - promise-call-limit "^3.0.1" - read-package-json-fast "^3.0.2" - semver "^7.3.7" - ssri "^10.0.6" - treeverse "^3.0.0" - walk-up-path "^3.0.1" - -"@npmcli/fs@^3.1.0", "@npmcli/fs@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.1.tgz#59cdaa5adca95d135fc00f2bb53f5771575ce726" - integrity sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg== - dependencies: - semver "^7.3.5" - -"@npmcli/git@^5.0.0": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-5.0.8.tgz#8ba3ff8724192d9ccb2735a2aa5380a992c5d3d1" - integrity sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ== - dependencies: - "@npmcli/promise-spawn" "^7.0.0" - ini "^4.1.3" - lru-cache "^10.0.1" - npm-pick-manifest "^9.0.0" - proc-log "^4.0.0" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^4.0.0" - -"@npmcli/installed-package-contents@^2.0.1", "@npmcli/installed-package-contents@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.1.0.tgz#63048e5f6e40947a3a88dcbcb4fd9b76fdd37c17" - integrity sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w== - dependencies: - npm-bundled "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -"@npmcli/map-workspaces@^3.0.2": - version "3.0.6" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-3.0.6.tgz#27dc06c20c35ef01e45a08909cab9cb3da08cea6" - integrity sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA== - dependencies: - "@npmcli/name-from-folder" "^2.0.0" - glob "^10.2.2" - minimatch "^9.0.0" - read-package-json-fast "^3.0.0" - -"@npmcli/metavuln-calculator@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-7.1.1.tgz#4d3b6c3192f72bc8ad59476de0da939c33877fcf" - integrity sha512-Nkxf96V0lAx3HCpVda7Vw4P23RILgdi/5K1fmj2tZkWIYLpXAN8k2UVVOsW16TsS5F8Ws2I7Cm+PU1/rsVF47g== - dependencies: - cacache "^18.0.0" - json-parse-even-better-errors "^3.0.0" - pacote "^18.0.0" - proc-log "^4.1.0" - semver "^7.3.5" - -"@npmcli/name-from-folder@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz#c44d3a7c6d5c184bb6036f4d5995eee298945815" - integrity sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg== - -"@npmcli/node-gyp@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz#101b2d0490ef1aa20ed460e4c0813f0db560545a" - integrity sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA== - -"@npmcli/package-json@^5.0.0", "@npmcli/package-json@^5.1.0": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-5.2.1.tgz#df69477b1023b81ff8503f2b9db4db4faea567ed" - integrity sha512-f7zYC6kQautXHvNbLEWgD/uGu1+xCn9izgqBfgItWSx22U0ZDekxN08A1vM8cTxj/cRVe0Q94Ode+tdoYmIOOQ== - dependencies: - "@npmcli/git" "^5.0.0" - glob "^10.2.2" - hosted-git-info "^7.0.0" - json-parse-even-better-errors "^3.0.0" - normalize-package-data "^6.0.0" - proc-log "^4.0.0" - semver "^7.5.3" - -"@npmcli/promise-spawn@^7.0.0": - version "7.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-7.0.2.tgz#1d53d34ffeb5d151bfa8ec661bcccda8bbdfd532" - integrity sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ== - dependencies: - which "^4.0.0" - -"@npmcli/query@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/query/-/query-3.1.0.tgz#bc202c59e122a06cf8acab91c795edda2cdad42c" - integrity sha512-C/iR0tk7KSKGldibYIB9x8GtO/0Bd0I2mhOaDb8ucQL/bQVTmGoeREaFj64Z5+iCBRf3dQfed0CjJL7I8iTkiQ== - dependencies: - postcss-selector-parser "^6.0.10" - -"@npmcli/redact@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/redact/-/redact-2.0.1.tgz#95432fd566e63b35c04494621767a4312c316762" - integrity sha512-YgsR5jCQZhVmTJvjduTOIHph0L73pK8xwMVaDY0PatySqVM9AZj93jpoXYSJqfHFxFkN9dmqTw6OiqExsS3LPw== - -"@npmcli/run-script@^8.0.0", "@npmcli/run-script@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-8.1.0.tgz#a563e5e29b1ca4e648a6b1bbbfe7220b4bfe39fc" - integrity sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg== - dependencies: - "@npmcli/node-gyp" "^3.0.0" - "@npmcli/package-json" "^5.0.0" - "@npmcli/promise-spawn" "^7.0.0" - node-gyp "^10.0.0" - proc-log "^4.0.0" - which "^4.0.0" - -"@opentelemetry/api-logs@0.55.0": - version "0.55.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/api-logs/-/api-logs-0.55.0.tgz#5cd7461820d864600250deb3803c32367a6bb2d2" - integrity sha512-3cpa+qI45VHYcA5c0bHM6VHo9gicv3p5mlLHNG3rLyjQU8b7e0st1rWtrUn3JbZ3DwwCfhKop4eQ9UuYlC6Pkg== - dependencies: - "@opentelemetry/api" "^1.3.0" - -"@opentelemetry/api@^1.3.0", "@opentelemetry/api@^1.9": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.9.0.tgz#d03eba68273dc0f7509e2a3d5cba21eae10379fe" - integrity sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg== - -"@opentelemetry/context-async-hooks@1.30.1": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/context-async-hooks/-/context-async-hooks-1.30.1.tgz#4f76280691a742597fd0bf682982126857622948" - integrity sha512-s5vvxXPVdjqS3kTLKMeBMvop9hbWkwzBpu+mUO2M7sZtlkyDJGwFe33wRKnbaYDo8ExRVBIIdwIGrqpxHuKttA== - -"@opentelemetry/core@1.30.1": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/core/-/core-1.30.1.tgz#a0b468bb396358df801881709ea38299fc30ab27" - integrity sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ== - dependencies: - "@opentelemetry/semantic-conventions" "1.28.0" - -"@opentelemetry/exporter-zipkin@^1.28": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/exporter-zipkin/-/exporter-zipkin-1.30.1.tgz#d96213a38d201ef2d50c3ba29faeb6e579f70e77" - integrity sha512-6S2QIMJahIquvFaaxmcwpvQQRD/YFaMTNoIxrfPIPOeITN+a8lfEcPDxNxn8JDAaxkg+4EnXhz8upVDYenoQjA== - dependencies: - "@opentelemetry/core" "1.30.1" - "@opentelemetry/resources" "1.30.1" - "@opentelemetry/sdk-trace-base" "1.30.1" - "@opentelemetry/semantic-conventions" "1.28.0" - -"@opentelemetry/instrumentation-grpc@^0.55": - version "0.55.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-grpc/-/instrumentation-grpc-0.55.0.tgz#b5161359060999f7ccbef26d6550beef021572fa" - integrity sha512-n2ZH4pRwOy0Vhag/3eKqiyDBwcpUnGgJI9iiIRX7vivE0FMncaLazWphNFezRRaM/LuKwq1TD8pVUvieP68mow== - dependencies: - "@opentelemetry/instrumentation" "0.55.0" - "@opentelemetry/semantic-conventions" "1.27.0" - -"@opentelemetry/instrumentation@0.55.0", "@opentelemetry/instrumentation@^0.55": - version "0.55.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation/-/instrumentation-0.55.0.tgz#ecac8afd8706f6e99b3bb6951b9e07c4c81533f0" - integrity sha512-YDCMlaQRZkziLL3t6TONRgmmGxDx6MyQDXRD0dknkkgUZtOK5+8MWft1OXzmNu6XfBOdT12MKN5rz+jHUkafKQ== - dependencies: - "@opentelemetry/api-logs" "0.55.0" - "@types/shimmer" "^1.2.0" - import-in-the-middle "^1.8.1" - require-in-the-middle "^7.1.1" - semver "^7.5.2" - shimmer "^1.2.1" - -"@opentelemetry/propagator-b3@1.30.1": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-b3/-/propagator-b3-1.30.1.tgz#b73321e5f30f062a9229887a4aa80c771107fdd2" - integrity sha512-oATwWWDIJzybAZ4pO76ATN5N6FFbOA1otibAVlS8v90B4S1wClnhRUk7K+2CHAwN1JKYuj4jh/lpCEG5BAqFuQ== - dependencies: - "@opentelemetry/core" "1.30.1" - -"@opentelemetry/propagator-jaeger@1.30.1": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.30.1.tgz#c06c9dacbe818b80cfb13c4dbf0b57df1ad26b71" - integrity sha512-Pj/BfnYEKIOImirH76M4hDaBSx6HyZ2CXUqk+Kj02m6BB80c/yo4BdWkn/1gDFfU+YPY+bPR2U0DKBfdxCKwmg== - dependencies: - "@opentelemetry/core" "1.30.1" - -"@opentelemetry/resources@1.30.1", "@opentelemetry/resources@^1.28": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/resources/-/resources-1.30.1.tgz#a4eae17ebd96947fdc7a64f931ca4b71e18ce964" - integrity sha512-5UxZqiAgLYGFjS4s9qm5mBVo433u+dSPUFWVWXmLAD4wB65oMCoXaJP1KJa9DIYYMeHu3z4BZcStG3LC593cWA== - dependencies: - "@opentelemetry/core" "1.30.1" - "@opentelemetry/semantic-conventions" "1.28.0" - -"@opentelemetry/sdk-trace-base@1.30.1", "@opentelemetry/sdk-trace-base@^1.28": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.30.1.tgz#41a42234096dc98e8f454d24551fc80b816feb34" - integrity sha512-jVPgBbH1gCy2Lb7X0AVQ8XAfgg0pJ4nvl8/IiQA6nxOsPvS+0zMJaFSs2ltXe0J6C8dqjcnpyqINDJmU30+uOg== - dependencies: - "@opentelemetry/core" "1.30.1" - "@opentelemetry/resources" "1.30.1" - "@opentelemetry/semantic-conventions" "1.28.0" - -"@opentelemetry/sdk-trace-node@^1.28": - version "1.30.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.30.1.tgz#bd7d68fcfb4d4ae76ea09810df9668b7dd09a2e5" - integrity sha512-cBjYOINt1JxXdpw1e5MlHmFRc5fgj4GW/86vsKFxJCJ8AL4PdVtYH41gWwl4qd4uQjqEL1oJVrXkSy5cnduAnQ== - dependencies: - "@opentelemetry/context-async-hooks" "1.30.1" - "@opentelemetry/core" "1.30.1" - "@opentelemetry/propagator-b3" "1.30.1" - "@opentelemetry/propagator-jaeger" "1.30.1" - "@opentelemetry/sdk-trace-base" "1.30.1" - semver "^7.5.2" - -"@opentelemetry/semantic-conventions@1.27.0": - version "1.27.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.27.0.tgz#1a857dcc95a5ab30122e04417148211e6f945e6c" - integrity sha512-sAay1RrB+ONOem0OZanAR1ZI/k7yDpnOQSQmTMuGImUQb2y8EbSaCJ94FQluM74xoU03vlb2d2U90hZluL6nQg== - -"@opentelemetry/semantic-conventions@1.28.0": - version "1.28.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.28.0.tgz#337fb2bca0453d0726696e745f50064411f646d6" - integrity sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA== - -"@pkgjs/parseargs@^0.11.0": - version "0.11.0" - resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" - integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== - -"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" - integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== - -"@protobufjs/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" - integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== - -"@protobufjs/codegen@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" - integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== - -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== - -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== - dependencies: - "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" - -"@protobufjs/float@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" - integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== - -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/path@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" - integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== - -"@protobufjs/pool@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" - integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== - -"@protobufjs/utf8@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" - integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== - -"@pulumi/pulumi@^3.0.0": - version "3.165.0" - resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.165.0.tgz#6063567f0e8d999d76930b7d06db3e701942bd95" - integrity sha512-9W7/vqOxzcUf00j3wblolkeLjC6+rbvb/hTqyVmrd86ByzLsZ0e6WZ2Bo/IPElqzw+r0SEDi+Sk451QEaO1ESg== - dependencies: - "@grpc/grpc-js" "^1.10.1" - "@logdna/tail-file" "^2.0.6" - "@npmcli/arborist" "^7.3.1" - "@opentelemetry/api" "^1.9" - "@opentelemetry/exporter-zipkin" "^1.28" - "@opentelemetry/instrumentation" "^0.55" - "@opentelemetry/instrumentation-grpc" "^0.55" - "@opentelemetry/resources" "^1.28" - "@opentelemetry/sdk-trace-base" "^1.28" - "@opentelemetry/sdk-trace-node" "^1.28" - "@types/google-protobuf" "^3.15.5" - "@types/semver" "^7.5.6" - "@types/tmp" "^0.2.6" - execa "^5.1.0" - fdir "^6.1.1" - google-protobuf "^3.5.0" - got "^11.8.6" - ini "^2.0.0" - js-yaml "^3.14.0" - minimist "^1.2.6" - normalize-package-data "^6.0.0" - picomatch "^3.0.1" - pkg-dir "^7.0.0" - require-from-string "^2.0.1" - semver "^7.5.2" - source-map-support "^0.5.6" - tmp "^0.2.1" - upath "^1.1.0" - -"@sigstore/bundle@^2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@sigstore/bundle/-/bundle-2.3.2.tgz#ad4dbb95d665405fd4a7a02c8a073dbd01e4e95e" - integrity sha512-wueKWDk70QixNLB363yHc2D2ItTgYiMTdPwK8D9dKQMR3ZQ0c35IxP5xnwQ8cNLoCgCRcHf14kE+CLIvNX1zmA== - dependencies: - "@sigstore/protobuf-specs" "^0.3.2" - -"@sigstore/core@^1.0.0", "@sigstore/core@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@sigstore/core/-/core-1.1.0.tgz#5583d8f7ffe599fa0a89f2bf289301a5af262380" - integrity sha512-JzBqdVIyqm2FRQCulY6nbQzMpJJpSiJ8XXWMhtOX9eKgaXXpfNOF53lzQEjIydlStnd/eFtuC1dW4VYdD93oRg== - -"@sigstore/protobuf-specs@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@sigstore/protobuf-specs/-/protobuf-specs-0.3.3.tgz#7dd46d68b76c322873a2ef7581ed955af6f4dcde" - integrity sha512-RpacQhBlwpBWd7KEJsRKcBQalbV28fvkxwTOJIqhIuDysMMaJW47V4OqW30iJB9uRpqOSxxEAQFdr8tTattReQ== - -"@sigstore/sign@^2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@sigstore/sign/-/sign-2.3.2.tgz#d3d01e56d03af96fd5c3a9b9897516b1233fc1c4" - integrity sha512-5Vz5dPVuunIIvC5vBb0APwo7qKA4G9yM48kPWJT+OEERs40md5GoUR1yedwpekWZ4m0Hhw44m6zU+ObsON+iDA== - dependencies: - "@sigstore/bundle" "^2.3.2" - "@sigstore/core" "^1.0.0" - "@sigstore/protobuf-specs" "^0.3.2" - make-fetch-happen "^13.0.1" - proc-log "^4.2.0" - promise-retry "^2.0.1" - -"@sigstore/tuf@^2.3.4": - version "2.3.4" - resolved "https://registry.yarnpkg.com/@sigstore/tuf/-/tuf-2.3.4.tgz#da1d2a20144f3b87c0172920cbc8dcc7851ca27c" - integrity sha512-44vtsveTPUpqhm9NCrbU8CWLe3Vck2HO1PNLw7RIajbB7xhtn5RBPm1VNSCMwqGYHhDsBJG8gDF0q4lgydsJvw== - dependencies: - "@sigstore/protobuf-specs" "^0.3.2" - tuf-js "^2.2.1" - -"@sigstore/verify@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@sigstore/verify/-/verify-1.2.1.tgz#c7e60241b432890dcb8bd8322427f6062ef819e1" - integrity sha512-8iKx79/F73DKbGfRf7+t4dqrc0bRr0thdPrxAtCKWRm/F0tG71i6O1rvlnScncJLLBZHn3h8M3c1BSUAb9yu8g== - dependencies: - "@sigstore/bundle" "^2.3.2" - "@sigstore/core" "^1.1.0" - "@sigstore/protobuf-specs" "^0.3.2" - -"@sindresorhus/is@^4.0.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" - integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== - -"@szmarczak/http-timer@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== - dependencies: - defer-to-connect "^2.0.0" - -"@tufjs/canonical-json@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz#a52f61a3d7374833fca945b2549bc30a2dd40d0a" - integrity sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA== - -"@tufjs/models@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@tufjs/models/-/models-2.0.1.tgz#e429714e753b6c2469af3212e7f320a6973c2812" - integrity sha512-92F7/SFyufn4DXsha9+QfKnN03JGqtMFMXgSHbZOo8JG59WkTni7UzAouNQDf7AuP9OAMxVOPQcqG3sB7w+kkg== - dependencies: - "@tufjs/canonical-json" "2.0.0" - minimatch "^9.0.4" - -"@types/cacheable-request@^6.0.1": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" - integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== - dependencies: - "@types/http-cache-semantics" "*" - "@types/keyv" "^3.1.4" - "@types/node" "*" - "@types/responselike" "^1.0.0" - -"@types/google-protobuf@^3.15.5": - version "3.15.12" - resolved "https://registry.yarnpkg.com/@types/google-protobuf/-/google-protobuf-3.15.12.tgz#eb2ba0eddd65712211a2b455dc6071d665ccf49b" - integrity sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ== - -"@types/http-cache-semantics@*": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" - integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== - -"@types/keyv@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== - dependencies: - "@types/node" "*" - -"@types/mime@^2.0.0": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.3.tgz#c893b73721db73699943bfc3653b1deb7faa4a3a" - integrity sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q== - -"@types/node@*", "@types/node@>=13.7.0": - version "22.15.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.3.tgz#b7fb9396a8ec5b5dfb1345d8ac2502060e9af68b" - integrity sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw== - dependencies: - undici-types "~6.21.0" - -"@types/node@^10.0.0": - version "10.17.60" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b" - integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw== - -"@types/responselike@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50" - integrity sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw== - dependencies: - "@types/node" "*" - -"@types/semver@^7.5.6": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.7.0.tgz#64c441bdae033b378b6eef7d0c3d77c329b9378e" - integrity sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA== - -"@types/shimmer@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@types/shimmer/-/shimmer-1.2.0.tgz#9b706af96fa06416828842397a70dfbbf1c14ded" - integrity sha512-UE7oxhQLLd9gub6JKIAhDq06T0F6FnztwMNRvYgjeQSBeMc1ZG/tA47EwfduvkuQS8apbkM/lpLpWsaCeYsXVg== - -"@types/tmp@^0.2.6": - version "0.2.6" - resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.6.tgz#d785ee90c52d7cc020e249c948c36f7b32d1e217" - integrity sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA== - -abbrev@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" - integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== - -acorn-import-attributes@^1.9.5: - version "1.9.5" - resolved "https://registry.yarnpkg.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz#7eb1557b1ba05ef18b5ed0ec67591bfab04688ef" - integrity sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ== - -acorn@^8.14.0: - version "8.14.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.1.tgz#721d5dc10f7d5b5609a891773d47731796935dfb" - integrity sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg== - -agent-base@^7.1.0, agent-base@^7.1.2: - version "7.1.3" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.3.tgz#29435eb821bc4194633a5b89e5bc4703bafc25a1" - integrity sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw== - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-regex@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" - integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== - -ansi-styles@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^6.1.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" - integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -bin-links@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-4.0.4.tgz#c3565832b8e287c85f109a02a17027d152a58a63" - integrity sha512-cMtq4W5ZsEwcutJrVId+a/tjt8GSbS+h0oNkdl6+6rBuEv8Ot33Bevj5KPm40t309zuhVic8NjpuL42QCiJWWA== - dependencies: - cmd-shim "^6.0.0" - npm-normalize-package-bin "^3.0.0" - read-cmd-shim "^4.0.0" - write-file-atomic "^5.0.0" - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -cacache@^18.0.0, cacache@^18.0.3: - version "18.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-18.0.4.tgz#4601d7578dadb59c66044e157d02a3314682d6a5" - integrity sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ== - dependencies: - "@npmcli/fs" "^3.1.0" - fs-minipass "^3.0.0" - glob "^10.2.2" - lru-cache "^10.0.1" - minipass "^7.0.3" - minipass-collect "^2.0.1" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - p-map "^4.0.0" - ssri "^10.0.0" - tar "^6.1.11" - unique-filename "^3.0.0" - -cacheable-lookup@^5.0.3: - version "5.0.4" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" - integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== - -cacheable-request@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817" - integrity sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -cjs-module-lexer@^1.2.2: - version "1.4.3" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz#0f79731eb8cfe1ec72acd4066efac9d61991b00d" - integrity sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q== - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - -cmd-shim@^6.0.0: - version "6.0.3" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-6.0.3.tgz#c491e9656594ba17ac83c4bd931590a9d6e26033" - integrity sha512-FMabTRlc5t5zjdenF6mS0MBeFZm0XqHqeOkcskKFb/LYCcRQ5fVgLOHVc4Lq9CqABd9zhjwPjMBCJvMCziSVtA== - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -common-ancestor-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" - integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== - -cross-spawn@^7.0.3, cross-spawn@^7.0.6: - version "7.0.6" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" - integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -cssesc@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" - integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== - -debug@4, debug@^4.3.4, debug@^4.3.5: - version "4.4.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" - integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== - dependencies: - ms "^2.1.3" - -decompress-response@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" - integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== - dependencies: - mimic-response "^3.1.0" - -defer-to-connect@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - -eastasianwidth@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" - integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emoji-regex@^9.2.2: - version "9.2.2" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" - integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== - -encoding@^0.1.13: - version "0.1.13" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - -escalade@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" - integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -execa@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -exponential-backoff@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.2.tgz#a8f26adb96bf78e8cd8ad1037928d5e5c0679d91" - integrity sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA== - -fdir@^6.1.1: - version "6.4.4" - resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.4.tgz#1cfcf86f875a883e19a8fab53622cfe992e8d2f9" - integrity sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg== - -find-up@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" - integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== - dependencies: - locate-path "^7.1.0" - path-exists "^5.0.0" - -foreground-child@^3.1.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" - integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== - dependencies: - cross-spawn "^7.0.6" - signal-exit "^4.0.1" - -fs-minipass@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-minipass@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" - integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== - dependencies: - minipass "^7.0.3" - -function-bind@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" - integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -glob@^10.2.2, glob@^10.3.10: - version "10.4.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" - integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== - dependencies: - foreground-child "^3.1.0" - jackspeak "^3.1.2" - minimatch "^9.0.4" - minipass "^7.1.2" - package-json-from-dist "^1.0.0" - path-scurry "^1.11.1" - -google-protobuf@^3.5.0: - version "3.21.4" - resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.21.4.tgz#2f933e8b6e5e9f8edde66b7be0024b68f77da6c9" - integrity sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ== - -got@^11.8.6: - version "11.8.6" - resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" - integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== - dependencies: - "@sindresorhus/is" "^4.0.0" - "@szmarczak/http-timer" "^4.0.5" - "@types/cacheable-request" "^6.0.1" - "@types/responselike" "^1.0.0" - cacheable-lookup "^5.0.3" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - http2-wrapper "^1.0.0-beta.5.2" - lowercase-keys "^2.0.0" - p-cancelable "^2.0.0" - responselike "^2.0.0" - -graceful-fs@^4.2.6: - version "4.2.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== - dependencies: - function-bind "^1.1.2" - -hosted-git-info@^7.0.0, hosted-git-info@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-7.0.2.tgz#9b751acac097757667f30114607ef7b661ff4f17" - integrity sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w== - dependencies: - lru-cache "^10.0.1" - -http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - -http-proxy-agent@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" - integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== - dependencies: - agent-base "^7.1.0" - debug "^4.3.4" - -http2-wrapper@^1.0.0-beta.5.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" - integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.0.0" - -https-proxy-agent@^7.0.1: - version "7.0.6" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" - integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== - dependencies: - agent-base "^7.1.2" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -ignore-walk@^6.0.4: - version "6.0.5" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.5.tgz#ef8d61eab7da169078723d1f82833b36e200b0dd" - integrity sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A== - dependencies: - minimatch "^9.0.0" - -import-in-the-middle@^1.8.1: - version "1.13.1" - resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-1.13.1.tgz#789651f9e93dd902a5a306f499ab51eb72b03a12" - integrity sha512-k2V9wNm9B+ysuelDTHjI9d5KPc4l8zAZTGqj+pcynvWkypZd857ryzN8jNC7Pg2YZXNMJcHRPpaDyCBbNyVRpA== - dependencies: - acorn "^8.14.0" - acorn-import-attributes "^1.9.5" - cjs-module-lexer "^1.2.2" - module-details-from-path "^1.0.3" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -ini@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" - integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== - -ini@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/ini/-/ini-4.1.3.tgz#4c359675a6071a46985eb39b14e4a2c0ec98a795" - integrity sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg== - -ip-address@^9.0.5: - version "9.0.5" - resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" - integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== - dependencies: - jsbn "1.1.0" - sprintf-js "^1.1.3" - -is-core-module@^2.16.0: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== - dependencies: - hasown "^2.0.2" - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -isexe@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" - integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== - -jackspeak@^3.1.2: - version "3.4.3" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" - integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== - dependencies: - "@isaacs/cliui" "^8.0.2" - optionalDependencies: - "@pkgjs/parseargs" "^0.11.0" - -js-yaml@^3.14.0: - version "3.14.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbn@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" - integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-parse-even-better-errors@^3.0.0, json-parse-even-better-errors@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz#b43d35e89c0f3be6b5fbbe9dc6c82467b30c28da" - integrity sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ== - -json-stringify-nice@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" - integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== - -jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -just-diff-apply@^5.2.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" - integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== - -just-diff@^6.0.0: - version "6.0.2" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-6.0.2.tgz#03b65908543ac0521caf6d8eb85035f7d27ea285" - integrity sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA== - -keyv@^4.0.0: - version "4.5.4" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" - integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== - dependencies: - json-buffer "3.0.1" - -locate-path@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" - integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== - dependencies: - p-locate "^6.0.0" - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== - -long@^5.0.0: - version "5.3.2" - resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" - integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== - -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - -lru-cache@^10.0.1, lru-cache@^10.2.0, lru-cache@^10.2.2: - version "10.4.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" - integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== - -make-fetch-happen@^13.0.0, make-fetch-happen@^13.0.1: - version "13.0.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz#273ba2f78f45e1f3a6dca91cede87d9fa4821e36" - integrity sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA== - dependencies: - "@npmcli/agent" "^2.0.0" - cacache "^18.0.0" - http-cache-semantics "^4.1.1" - is-lambda "^1.0.1" - minipass "^7.0.2" - minipass-fetch "^3.0.0" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - proc-log "^4.2.0" - promise-retry "^2.0.1" - ssri "^10.0.0" - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -mimic-response@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -mimic-response@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" - integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== - -minimatch@^9.0.0, minimatch@^9.0.4: - version "9.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" - integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== - dependencies: - brace-expansion "^2.0.1" - -minimist@^1.2.6: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -minipass-collect@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-2.0.1.tgz#1621bc77e12258a12c60d34e2276ec5c20680863" - integrity sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw== - dependencies: - minipass "^7.0.3" - -minipass-fetch@^3.0.0: - version "3.0.5" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.5.tgz#f0f97e40580affc4a35cc4a1349f05ae36cb1e4c" - integrity sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg== - dependencies: - minipass "^7.0.3" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" - -minipass@^3.0.0: - version "3.3.6" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" - integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== - dependencies: - yallist "^4.0.0" - -minipass@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" - integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== - -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.2, minipass@^7.0.3, minipass@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== - -minizlib@^2.1.1, minizlib@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - -mkdirp@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -module-details-from-path@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/module-details-from-path/-/module-details-from-path-1.0.3.tgz#114c949673e2a8a35e9d35788527aa37b679da2b" - integrity sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A== - -ms@^2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -negotiator@^0.6.3: - version "0.6.4" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.4.tgz#777948e2452651c570b712dd01c23e262713fff7" - integrity sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w== - -node-gyp@^10.0.0: - version "10.3.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-10.3.1.tgz#1dd1a1a1c6c5c59da1a76aea06a062786b2c8a1a" - integrity sha512-Pp3nFHBThHzVtNY7U6JfPjvT/DTE8+o/4xKsLQtBoU+j2HLsGlhcfzflAoUreaJbNmYnX+LlLi0qjV8kpyO6xQ== - dependencies: - env-paths "^2.2.0" - exponential-backoff "^3.1.1" - glob "^10.3.10" - graceful-fs "^4.2.6" - make-fetch-happen "^13.0.0" - nopt "^7.0.0" - proc-log "^4.1.0" - semver "^7.3.5" - tar "^6.2.1" - which "^4.0.0" - -nopt@^7.0.0, nopt@^7.2.1: - version "7.2.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz#1cac0eab9b8e97c9093338446eddd40b2c8ca1e7" - integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== - dependencies: - abbrev "^2.0.0" - -normalize-package-data@^6.0.0: - version "6.0.2" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-6.0.2.tgz#a7bc22167fe24025412bcff0a9651eb768b03506" - integrity sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g== - dependencies: - hosted-git-info "^7.0.0" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - -npm-bundled@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-3.0.1.tgz#cca73e15560237696254b10170d8f86dad62da25" - integrity sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ== - dependencies: - npm-normalize-package-bin "^3.0.0" - -npm-install-checks@^6.0.0, npm-install-checks@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-6.3.0.tgz#046552d8920e801fa9f919cad569545d60e826fe" - integrity sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" - integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== - -npm-package-arg@^11.0.0, npm-package-arg@^11.0.2: - version "11.0.3" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-11.0.3.tgz#dae0c21199a99feca39ee4bfb074df3adac87e2d" - integrity sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw== - dependencies: - hosted-git-info "^7.0.0" - proc-log "^4.0.0" - semver "^7.3.5" - validate-npm-package-name "^5.0.0" - -npm-packlist@^8.0.0: - version "8.0.2" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-8.0.2.tgz#5b8d1d906d96d21c85ebbeed2cf54147477c8478" - integrity sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA== - dependencies: - ignore-walk "^6.0.4" - -npm-pick-manifest@^9.0.0, npm-pick-manifest@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-9.1.0.tgz#83562afde52b0b07cb6244361788d319ce7e8636" - integrity sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA== - dependencies: - npm-install-checks "^6.0.0" - npm-normalize-package-bin "^3.0.0" - npm-package-arg "^11.0.0" - semver "^7.3.5" - -npm-registry-fetch@^17.0.0, npm-registry-fetch@^17.0.1: - version "17.1.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-17.1.0.tgz#fb69e8e762d456f08bda2f5f169f7638fb92beb1" - integrity sha512-5+bKQRH0J1xG1uZ1zMNvxW0VEyoNWgJpY9UDuluPFLKDfJ9u2JmmjmTJV1srBGQOROfdBMiVvnH2Zvpbm+xkVA== - dependencies: - "@npmcli/redact" "^2.0.0" - jsonparse "^1.3.1" - make-fetch-happen "^13.0.0" - minipass "^7.0.2" - minipass-fetch "^3.0.0" - minizlib "^2.1.2" - npm-package-arg "^11.0.0" - proc-log "^4.0.0" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-limit@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" - integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== - dependencies: - yocto-queue "^1.0.0" - -p-locate@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" - integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== - dependencies: - p-limit "^4.0.0" - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -package-json-from-dist@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" - integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== - -pacote@^18.0.0, pacote@^18.0.6: - version "18.0.6" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-18.0.6.tgz#ac28495e24f4cf802ef911d792335e378e86fac7" - integrity sha512-+eK3G27SMwsB8kLIuj4h1FUhHtwiEUo21Tw8wNjmvdlpOEr613edv+8FUsTj/4F/VN5ywGE19X18N7CC2EJk6A== - dependencies: - "@npmcli/git" "^5.0.0" - "@npmcli/installed-package-contents" "^2.0.1" - "@npmcli/package-json" "^5.1.0" - "@npmcli/promise-spawn" "^7.0.0" - "@npmcli/run-script" "^8.0.0" - cacache "^18.0.0" - fs-minipass "^3.0.0" - minipass "^7.0.2" - npm-package-arg "^11.0.0" - npm-packlist "^8.0.0" - npm-pick-manifest "^9.0.0" - npm-registry-fetch "^17.0.0" - proc-log "^4.0.0" - promise-retry "^2.0.1" - sigstore "^2.2.0" - ssri "^10.0.0" - tar "^6.1.11" - -parse-conflict-json@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-3.0.1.tgz#67dc55312781e62aa2ddb91452c7606d1969960c" - integrity sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw== - dependencies: - json-parse-even-better-errors "^3.0.0" - just-diff "^6.0.0" - just-diff-apply "^5.2.0" - -path-exists@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" - integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-scurry@^1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" - integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== - dependencies: - lru-cache "^10.2.0" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - -picomatch@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-3.0.1.tgz#817033161def55ec9638567a2f3bbc876b3e7516" - integrity sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag== - -pkg-dir@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11" - integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA== - dependencies: - find-up "^6.3.0" - -postcss-selector-parser@^6.0.10: - version "6.1.2" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz#27ecb41fb0e3b6ba7a1ec84fff347f734c7929de" - integrity sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg== - dependencies: - cssesc "^3.0.0" - util-deprecate "^1.0.2" - -proc-log@^4.0.0, proc-log@^4.1.0, proc-log@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.2.0.tgz#b6f461e4026e75fdfe228b265e9f7a00779d7034" - integrity sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA== - -proggy@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/proggy/-/proggy-2.0.0.tgz#154bb0e41d3125b518ef6c79782455c2c47d94e1" - integrity sha512-69agxLtnI8xBs9gUGqEnK26UfiexpHy+KUpBQWabiytQjnn5wFY8rklAi7GRfABIuPNnQ/ik48+LGLkYYJcy4A== - -promise-all-reject-late@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" - integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== - -promise-call-limit@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-3.0.2.tgz#524b7f4b97729ff70417d93d24f46f0265efa4f9" - integrity sha512-mRPQO2T1QQVw11E7+UdCJu7S61eJVWknzml9sC1heAdj1jxl0fWMBypIt9ZOcLFf8FkG995ZD7RnVk7HH72fZw== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -protobufjs@^7.2.5: - version "7.5.0" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.0.tgz#a317ad80713e9db43c8e55afa8636a9aa76bb630" - integrity sha512-Z2E/kOY1QjoMlCytmexzYfDm/w5fKAiRwpSzGtdnXW1zC88Z2yXazHHrOtwCzn+7wSxyE8PYM4rvVcMphF9sOA== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/node" ">=13.7.0" - long "^5.0.0" - -pump@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8" - integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -quick-lru@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" - integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== - -read-cmd-shim@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb" - integrity sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q== - -read-package-json-fast@^3.0.0, read-package-json-fast@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" - integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== - dependencies: - json-parse-even-better-errors "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -require-from-string@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== - -require-in-the-middle@^7.1.1: - version "7.5.2" - resolved "https://registry.yarnpkg.com/require-in-the-middle/-/require-in-the-middle-7.5.2.tgz#dc25b148affad42e570cf0e41ba30dc00f1703ec" - integrity sha512-gAZ+kLqBdHarXB64XpAe2VCjB7rIRv+mU8tfRWziHRJ5umKsIHN2tLLv6EtMw7WCdP19S0ERVMldNvxYCHnhSQ== - dependencies: - debug "^4.3.5" - module-details-from-path "^1.0.3" - resolve "^1.22.8" - -resolve-alpn@^1.0.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" - integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== - -resolve@^1.22.8: - version "1.22.10" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== - dependencies: - is-core-module "^2.16.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -responselike@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" - integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== - dependencies: - lowercase-keys "^2.0.0" - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - -"safer-buffer@>= 2.1.2 < 3.0.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -semver@^7.1.1, semver@^7.3.5, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3: - version "7.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f" - integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA== - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -shimmer@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/shimmer/-/shimmer-1.2.1.tgz#610859f7de327b587efebf501fb43117f9aff337" - integrity sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw== - -signal-exit@^3.0.3: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -signal-exit@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" - integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== - -sigstore@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/sigstore/-/sigstore-2.3.1.tgz#0755dd2cc4820f2e922506da54d3d628e13bfa39" - integrity sha512-8G+/XDU8wNsJOQS5ysDVO0Etg9/2uA5gR9l4ZwijjlwxBcrU6RPfwi2+jJmbP+Ap1Hlp/nVAaEO4Fj22/SL2gQ== - dependencies: - "@sigstore/bundle" "^2.3.2" - "@sigstore/core" "^1.0.0" - "@sigstore/protobuf-specs" "^0.3.2" - "@sigstore/sign" "^2.3.2" - "@sigstore/tuf" "^2.3.4" - "@sigstore/verify" "^1.2.1" - -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -socks-proxy-agent@^8.0.3: - version "8.0.5" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz#b9cdb4e7e998509d7659d689ce7697ac21645bee" - integrity sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw== - dependencies: - agent-base "^7.1.2" - debug "^4.3.4" - socks "^2.8.3" - -socks@^2.8.3: - version "2.8.4" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.4.tgz#07109755cdd4da03269bda4725baa061ab56d5cc" - integrity sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ== - dependencies: - ip-address "^9.0.5" - smart-buffer "^4.2.0" - -source-map-support@^0.5.6: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -spdx-correct@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" - integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66" - integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w== - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" - integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.21" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz#6d6e980c9df2b6fc905343a3b2d702a6239536c3" - integrity sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg== - -sprintf-js@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" - integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -ssri@^10.0.0, ssri@^10.0.6: - version "10.0.6" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.6.tgz#a8aade2de60ba2bce8688e3fa349bad05c7dc1e5" - integrity sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ== - dependencies: - minipass "^7.0.3" - -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^5.0.1, string-width@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" - integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== - dependencies: - eastasianwidth "^0.2.0" - emoji-regex "^9.2.2" - strip-ansi "^7.0.1" - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^7.0.1: - version "7.1.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" - integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== - dependencies: - ansi-regex "^6.0.1" - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -tar@^6.1.11, tar@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" - integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^5.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -tmp@^0.2.1: - version "0.2.3" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" - integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== - -treeverse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-3.0.0.tgz#dd82de9eb602115c6ebd77a574aae67003cb48c8" - integrity sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ== - -tuf-js@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-2.2.1.tgz#fdd8794b644af1a75c7aaa2b197ddffeb2911b56" - integrity sha512-GwIJau9XaA8nLVbUXsN3IlFi7WmQ48gBUrl3FTkkL/XLu/POhBzfmX9hd33FNMX1qAsfl6ozO1iMmW9NC8YniA== - dependencies: - "@tufjs/models" "2.0.1" - debug "^4.3.4" - make-fetch-happen "^13.0.1" - -typescript@^4.3.5: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== - -undici-types@~6.21.0: - version "6.21.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" - integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== - -unique-filename@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" - integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== - dependencies: - unique-slug "^4.0.0" - -unique-slug@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" - integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== - dependencies: - imurmurhash "^0.1.4" - -upath@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== - -util-deprecate@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -validate-npm-package-license@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz#a316573e9b49f3ccd90dbb6eb52b3f06c6d604e8" - integrity sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ== - -walk-up-path@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-3.0.1.tgz#c8d78d5375b4966c717eb17ada73dbd41490e886" - integrity sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA== - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -which@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/which/-/which-4.0.0.tgz#cd60b5e74503a3fbcfbf6cd6b4138a8bae644c1a" - integrity sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg== - dependencies: - isexe "^3.1.1" - -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" - integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== - dependencies: - ansi-styles "^6.1.0" - string-width "^5.0.1" - strip-ansi "^7.0.1" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-5.0.1.tgz#68df4717c55c6fa4281a7860b4c2ba0a6d2b11e7" - integrity sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^4.0.1" - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs@^17.7.2: - version "17.7.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" - integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - -yocto-queue@^1.0.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.2.1.tgz#36d7c4739f775b3cbc28e6136e21aa057adec418" - integrity sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg== diff --git a/sdk/python/pulumi_volcengine/__init__.py b/sdk/python/pulumi_volcengine/__init__.py index 0a79f83f..cd9398cb 100644 --- a/sdk/python/pulumi_volcengine/__init__.py +++ b/sdk/python/pulumi_volcengine/__init__.py @@ -985,6 +985,22 @@ "volcengine:escloud/instance:Instance": "Instance" } }, + { + "pkg": "volcengine", + "mod": "escloud/instanceV2", + "fqn": "pulumi_volcengine.escloud", + "classes": { + "volcengine:escloud/instanceV2:InstanceV2": "InstanceV2" + } + }, + { + "pkg": "volcengine", + "mod": "escloud/ipWhiteList", + "fqn": "pulumi_volcengine.escloud", + "classes": { + "volcengine:escloud/ipWhiteList:IpWhiteList": "IpWhiteList" + } + }, { "pkg": "volcengine", "mod": "escloud_v2/escloudInstanceV2", diff --git a/sdk/python/pulumi_volcengine/cdn/__init__.py b/sdk/python/pulumi_volcengine/cdn/__init__.py index e418a758..0b480657 100644 --- a/sdk/python/pulumi_volcengine/cdn/__init__.py +++ b/sdk/python/pulumi_volcengine/cdn/__init__.py @@ -10,6 +10,10 @@ from .certificates import * from .configs import * from .domains import * +from .get_certificates import * +from .get_configs import * +from .get_domains import * +from .get_shared_configs import * from .shared_config import * from .shared_configs import * from ._inputs import * diff --git a/sdk/python/pulumi_volcengine/cdn/certificates.py b/sdk/python/pulumi_volcengine/cdn/certificates.py index 0f956265..81842070 100644 --- a/sdk/python/pulumi_volcengine/cdn/certificates.py +++ b/sdk/python/pulumi_volcengine/cdn/certificates.py @@ -17,6 +17,8 @@ 'certificates_output', ] +warnings.warn("""volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates""", DeprecationWarning) + @pulumi.output_type class CertificatesResult: """ @@ -129,7 +131,7 @@ def certificates(name: Optional[str] = None, private_key="", desc="tftest", source="cdn_cert_hosting") - foo_certificates = volcengine.cdn.certificates_output(source=foo_cdn_certificate.source) + foo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source) ``` @@ -138,6 +140,7 @@ def certificates(name: Optional[str] = None, :param str source: Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. :param str status: Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. """ + pulumi.log.warn("""certificates is deprecated: volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates""") __args__ = dict() __args__['name'] = name __args__['outputFile'] = output_file @@ -175,7 +178,7 @@ def certificates_output(name: Optional[pulumi.Input[Optional[str]]] = None, private_key="", desc="tftest", source="cdn_cert_hosting") - foo_certificates = volcengine.cdn.certificates_output(source=foo_cdn_certificate.source) + foo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source) ``` @@ -184,4 +187,5 @@ def certificates_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str source: Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. :param str status: Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. """ + pulumi.log.warn("""certificates is deprecated: volcengine.cdn/certificates.Certificates has been deprecated in favor of volcengine.cdn/getcertificates.getCertificates""") ... diff --git a/sdk/python/pulumi_volcengine/cdn/configs.py b/sdk/python/pulumi_volcengine/cdn/configs.py index 8484909a..a31333bf 100644 --- a/sdk/python/pulumi_volcengine/cdn/configs.py +++ b/sdk/python/pulumi_volcengine/cdn/configs.py @@ -17,6 +17,8 @@ 'configs_output', ] +warnings.warn("""volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs""", DeprecationWarning) + @pulumi.output_type class ConfigsResult: """ @@ -149,13 +151,14 @@ def configs(domain: Optional[str] = None, ], }, })) - foo_configs = volcengine.cdn.configs_output(domain=foo_cdn_domain.id) + foo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id) ``` :param str domain: The domain name. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""configs is deprecated: volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs""") __args__ = dict() __args__['domain'] = domain __args__['outputFile'] = output_file @@ -230,11 +233,12 @@ def configs_output(domain: Optional[pulumi.Input[str]] = None, ], }, })) - foo_configs = volcengine.cdn.configs_output(domain=foo_cdn_domain.id) + foo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id) ``` :param str domain: The domain name. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""configs is deprecated: volcengine.cdn/configs.Configs has been deprecated in favor of volcengine.cdn/getconfigs.getConfigs""") ... diff --git a/sdk/python/pulumi_volcengine/cdn/domains.py b/sdk/python/pulumi_volcengine/cdn/domains.py index a09fb504..2d5829b9 100644 --- a/sdk/python/pulumi_volcengine/cdn/domains.py +++ b/sdk/python/pulumi_volcengine/cdn/domains.py @@ -17,6 +17,8 @@ 'domains_output', ] +warnings.warn("""volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains""", DeprecationWarning) + @pulumi.output_type class DomainsResult: """ @@ -253,7 +255,7 @@ def domains(domain: Optional[str] = None, ], }, })) - foo_domains = volcengine.cdn.domains_output(domain=foo_cdn_domain.id) + foo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id) ``` @@ -268,6 +270,7 @@ def domains(domain: Optional[str] = None, :param str status: The status of the domain. :param Sequence[str] tags: Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. """ + pulumi.log.warn("""domains is deprecated: volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains""") __args__ = dict() __args__['domain'] = domain __args__['https'] = https @@ -366,7 +369,7 @@ def domains_output(domain: Optional[pulumi.Input[Optional[str]]] = None, ], }, })) - foo_domains = volcengine.cdn.domains_output(domain=foo_cdn_domain.id) + foo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id) ``` @@ -381,4 +384,5 @@ def domains_output(domain: Optional[pulumi.Input[Optional[str]]] = None, :param str status: The status of the domain. :param Sequence[str] tags: Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. """ + pulumi.log.warn("""domains is deprecated: volcengine.cdn/domains.Domains has been deprecated in favor of volcengine.cdn/getdomains.getDomains""") ... diff --git a/sdk/python/pulumi_volcengine/cdn/get_certificates.py b/sdk/python/pulumi_volcengine/cdn/get_certificates.py new file mode 100644 index 00000000..8f3f8055 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cdn/get_certificates.py @@ -0,0 +1,187 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetCertificatesResult', + 'AwaitableGetCertificatesResult', + 'get_certificates', + 'get_certificates_output', +] + +@pulumi.output_type +class GetCertificatesResult: + """ + A collection of values returned by getCertificates. + """ + def __init__(__self__, cert_infos=None, id=None, name=None, output_file=None, source=None, status=None, total_count=None): + if cert_infos and not isinstance(cert_infos, list): + raise TypeError("Expected argument 'cert_infos' to be a list") + pulumi.set(__self__, "cert_infos", cert_infos) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if source and not isinstance(source, str): + raise TypeError("Expected argument 'source' to be a str") + pulumi.set(__self__, "source", source) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter(name="certInfos") + def cert_infos(self) -> Sequence['outputs.GetCertificatesCertInfoResult']: + """ + The collection of query. + """ + return pulumi.get(self, "cert_infos") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter + def source(self) -> str: + """ + Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetCertificatesResult(GetCertificatesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCertificatesResult( + cert_infos=self.cert_infos, + id=self.id, + name=self.name, + output_file=self.output_file, + source=self.source, + status=self.status, + total_count=self.total_count) + + +def get_certificates(name: Optional[str] = None, + output_file: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCertificatesResult: + """ + Use this data source to query detailed information of cdn certificates + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source) + ``` + + + :param str name: Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + :param str output_file: File name where to save data source results. + :param str source: Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + :param str status: Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + """ + __args__ = dict() + __args__['name'] = name + __args__['outputFile'] = output_file + __args__['source'] = source + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cdn/getCertificates:getCertificates', __args__, opts=opts, typ=GetCertificatesResult).value + + return AwaitableGetCertificatesResult( + cert_infos=pulumi.get(__ret__, 'cert_infos'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + output_file=pulumi.get(__ret__, 'output_file'), + source=pulumi.get(__ret__, 'source'), + status=pulumi.get(__ret__, 'status'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_certificates) +def get_certificates_output(name: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + source: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificatesResult]: + """ + Use this data source to query detailed information of cdn certificates + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_certificates = volcengine.cdn.get_certificates_output(source=foo_cdn_certificate.source) + ``` + + + :param str name: Specify a domain to obtain certificates that include that domain in the SAN field. The domain can be a wildcard domain. For example, specifying *.example.com will obtain certificates that include img.example.com or www.example.com in the SAN field. + :param str output_file: File name where to save data source results. + :param str source: Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + :param str status: Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cdn/get_configs.py b/sdk/python/pulumi_volcengine/cdn/get_configs.py new file mode 100644 index 00000000..54d80131 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cdn/get_configs.py @@ -0,0 +1,240 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetConfigsResult', + 'AwaitableGetConfigsResult', + 'get_configs', + 'get_configs_output', +] + +@pulumi.output_type +class GetConfigsResult: + """ + A collection of values returned by getConfigs. + """ + def __init__(__self__, domain=None, domain_configs=None, id=None, output_file=None, total_count=None): + if domain and not isinstance(domain, str): + raise TypeError("Expected argument 'domain' to be a str") + pulumi.set(__self__, "domain", domain) + if domain_configs and not isinstance(domain_configs, list): + raise TypeError("Expected argument 'domain_configs' to be a list") + pulumi.set(__self__, "domain_configs", domain_configs) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def domain(self) -> str: + """ + The domain name. + """ + return pulumi.get(self, "domain") + + @property + @pulumi.getter(name="domainConfigs") + def domain_configs(self) -> Sequence['outputs.GetConfigsDomainConfigResult']: + """ + The collection of query. + """ + return pulumi.get(self, "domain_configs") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetConfigsResult(GetConfigsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigsResult( + domain=self.domain, + domain_configs=self.domain_configs, + id=self.id, + output_file=self.output_file, + total_count=self.total_count) + + +def get_configs(domain: Optional[str] = None, + output_file: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigsResult: + """ + Use this data source to query detailed information of cdn configs + ## Example Usage + + ```python + import pulumi + import json + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_cdn_domain = volcengine.cdn.CdnDomain("fooCdnDomain", + domain="tftest.byte-test.com", + service_type="web", + tags=[ + volcengine.cdn.CdnDomainTagArgs( + key="tfkey1", + value="tfvalue1", + ), + volcengine.cdn.CdnDomainTagArgs( + key="tfkey2", + value="tfvalue2", + ), + ], + domain_config=pulumi.Output.json_dumps({ + "OriginProtocol": "https", + "Origin": [{ + "OriginAction": { + "OriginLines": [{ + "Address": "1.1.1.1", + "HttpPort": "80", + "HttpsPort": "443", + "InstanceType": "ip", + "OriginType": "primary", + "PrivateBucketAccess": False, + "Weight": "2", + }], + }, + }], + "HTTPS": { + "CertInfo": { + "CertId": foo_cdn_certificate.id, + }, + "DisableHttp": False, + "HTTP2": True, + "Switch": True, + "Ocsp": False, + "TlsVersion": [ + "tlsv1.1", + "tlsv1.2", + ], + }, + })) + foo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id) + ``` + + + :param str domain: The domain name. + :param str output_file: File name where to save data source results. + """ + __args__ = dict() + __args__['domain'] = domain + __args__['outputFile'] = output_file + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cdn/getConfigs:getConfigs', __args__, opts=opts, typ=GetConfigsResult).value + + return AwaitableGetConfigsResult( + domain=pulumi.get(__ret__, 'domain'), + domain_configs=pulumi.get(__ret__, 'domain_configs'), + id=pulumi.get(__ret__, 'id'), + output_file=pulumi.get(__ret__, 'output_file'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_configs) +def get_configs_output(domain: Optional[pulumi.Input[str]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigsResult]: + """ + Use this data source to query detailed information of cdn configs + ## Example Usage + + ```python + import pulumi + import json + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_cdn_domain = volcengine.cdn.CdnDomain("fooCdnDomain", + domain="tftest.byte-test.com", + service_type="web", + tags=[ + volcengine.cdn.CdnDomainTagArgs( + key="tfkey1", + value="tfvalue1", + ), + volcengine.cdn.CdnDomainTagArgs( + key="tfkey2", + value="tfvalue2", + ), + ], + domain_config=pulumi.Output.json_dumps({ + "OriginProtocol": "https", + "Origin": [{ + "OriginAction": { + "OriginLines": [{ + "Address": "1.1.1.1", + "HttpPort": "80", + "HttpsPort": "443", + "InstanceType": "ip", + "OriginType": "primary", + "PrivateBucketAccess": False, + "Weight": "2", + }], + }, + }], + "HTTPS": { + "CertInfo": { + "CertId": foo_cdn_certificate.id, + }, + "DisableHttp": False, + "HTTP2": True, + "Switch": True, + "Ocsp": False, + "TlsVersion": [ + "tlsv1.1", + "tlsv1.2", + ], + }, + })) + foo_configs = volcengine.cdn.get_configs_output(domain=foo_cdn_domain.id) + ``` + + + :param str domain: The domain name. + :param str output_file: File name where to save data source results. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cdn/get_domains.py b/sdk/python/pulumi_volcengine/cdn/get_domains.py new file mode 100644 index 00000000..e4ffd7db --- /dev/null +++ b/sdk/python/pulumi_volcengine/cdn/get_domains.py @@ -0,0 +1,384 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetDomainsResult', + 'AwaitableGetDomainsResult', + 'get_domains', + 'get_domains_output', +] + +@pulumi.output_type +class GetDomainsResult: + """ + A collection of values returned by getDomains. + """ + def __init__(__self__, domain=None, domains=None, https=None, id=None, ipv6=None, origin_protocol=None, output_file=None, primary_origin=None, project=None, service_type=None, status=None, tags=None, total_count=None): + if domain and not isinstance(domain, str): + raise TypeError("Expected argument 'domain' to be a str") + pulumi.set(__self__, "domain", domain) + if domains and not isinstance(domains, list): + raise TypeError("Expected argument 'domains' to be a list") + pulumi.set(__self__, "domains", domains) + if https and not isinstance(https, bool): + raise TypeError("Expected argument 'https' to be a bool") + pulumi.set(__self__, "https", https) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ipv6 and not isinstance(ipv6, bool): + raise TypeError("Expected argument 'ipv6' to be a bool") + pulumi.set(__self__, "ipv6", ipv6) + if origin_protocol and not isinstance(origin_protocol, str): + raise TypeError("Expected argument 'origin_protocol' to be a str") + pulumi.set(__self__, "origin_protocol", origin_protocol) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if primary_origin and not isinstance(primary_origin, str): + raise TypeError("Expected argument 'primary_origin' to be a str") + pulumi.set(__self__, "primary_origin", primary_origin) + if project and not isinstance(project, str): + raise TypeError("Expected argument 'project' to be a str") + pulumi.set(__self__, "project", project) + if service_type and not isinstance(service_type, str): + raise TypeError("Expected argument 'service_type' to be a str") + pulumi.set(__self__, "service_type", service_type) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if tags and not isinstance(tags, list): + raise TypeError("Expected argument 'tags' to be a list") + pulumi.set(__self__, "tags", tags) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def domain(self) -> Optional[str]: + """ + Search by specifying domain name keywords, with fuzzy matching. + """ + return pulumi.get(self, "domain") + + @property + @pulumi.getter + def domains(self) -> Sequence['outputs.GetDomainsDomainResult']: + """ + The collection of query. + """ + return pulumi.get(self, "domains") + + @property + @pulumi.getter + def https(self) -> Optional[bool]: + """ + Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + """ + return pulumi.get(self, "https") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ipv6(self) -> Optional[bool]: + """ + Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + """ + return pulumi.get(self, "ipv6") + + @property + @pulumi.getter(name="originProtocol") + def origin_protocol(self) -> Optional[str]: + """ + Configure the origin protocol for the accelerated domain. + """ + return pulumi.get(self, "origin_protocol") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="primaryOrigin") + def primary_origin(self) -> Optional[str]: + """ + List of primary source servers to accelerate the domain name. + """ + return pulumi.get(self, "primary_origin") + + @property + @pulumi.getter + def project(self) -> Optional[str]: + """ + The project name of the domain. + """ + return pulumi.get(self, "project") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> Optional[str]: + """ + The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The status of the domain. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence[str]]: + """ + Indicate the tags you have set for this domain name. You can set up to 10 tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetDomainsResult(GetDomainsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDomainsResult( + domain=self.domain, + domains=self.domains, + https=self.https, + id=self.id, + ipv6=self.ipv6, + origin_protocol=self.origin_protocol, + output_file=self.output_file, + primary_origin=self.primary_origin, + project=self.project, + service_type=self.service_type, + status=self.status, + tags=self.tags, + total_count=self.total_count) + + +def get_domains(domain: Optional[str] = None, + https: Optional[bool] = None, + ipv6: Optional[bool] = None, + origin_protocol: Optional[str] = None, + output_file: Optional[str] = None, + primary_origin: Optional[str] = None, + project: Optional[str] = None, + service_type: Optional[str] = None, + status: Optional[str] = None, + tags: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainsResult: + """ + Use this data source to query detailed information of cdn domains + ## Example Usage + + ```python + import pulumi + import json + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_cdn_domain = volcengine.cdn.CdnDomain("fooCdnDomain", + domain="tftest.byte-test.com", + service_type="web", + tags=[ + volcengine.cdn.CdnDomainTagArgs( + key="tfkey1", + value="tfvalue1", + ), + volcengine.cdn.CdnDomainTagArgs( + key="tfkey2", + value="tfvalue2", + ), + ], + domain_config=pulumi.Output.json_dumps({ + "OriginProtocol": "https", + "Origin": [{ + "OriginAction": { + "OriginLines": [{ + "Address": "1.1.1.1", + "HttpPort": "80", + "HttpsPort": "443", + "InstanceType": "ip", + "OriginType": "primary", + "PrivateBucketAccess": False, + "Weight": "2", + }], + }, + }], + "HTTPS": { + "CertInfo": { + "CertId": foo_cdn_certificate.id, + }, + "DisableHttp": False, + "HTTP2": True, + "Switch": True, + "Ocsp": False, + "TlsVersion": [ + "tlsv1.1", + "tlsv1.2", + ], + }, + })) + foo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id) + ``` + + + :param str domain: Search by specifying domain name keywords, with fuzzy matching. + :param bool https: Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + :param bool ipv6: Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + :param str origin_protocol: Configure the origin protocol for the accelerated domain. + :param str output_file: File name where to save data source results. + :param str primary_origin: Specify a primary origin server for filtering accelerated domains. + :param str project: The project name of the domain. + :param str service_type: The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + :param str status: The status of the domain. + :param Sequence[str] tags: Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + """ + __args__ = dict() + __args__['domain'] = domain + __args__['https'] = https + __args__['ipv6'] = ipv6 + __args__['originProtocol'] = origin_protocol + __args__['outputFile'] = output_file + __args__['primaryOrigin'] = primary_origin + __args__['project'] = project + __args__['serviceType'] = service_type + __args__['status'] = status + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cdn/getDomains:getDomains', __args__, opts=opts, typ=GetDomainsResult).value + + return AwaitableGetDomainsResult( + domain=pulumi.get(__ret__, 'domain'), + domains=pulumi.get(__ret__, 'domains'), + https=pulumi.get(__ret__, 'https'), + id=pulumi.get(__ret__, 'id'), + ipv6=pulumi.get(__ret__, 'ipv6'), + origin_protocol=pulumi.get(__ret__, 'origin_protocol'), + output_file=pulumi.get(__ret__, 'output_file'), + primary_origin=pulumi.get(__ret__, 'primary_origin'), + project=pulumi.get(__ret__, 'project'), + service_type=pulumi.get(__ret__, 'service_type'), + status=pulumi.get(__ret__, 'status'), + tags=pulumi.get(__ret__, 'tags'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_domains) +def get_domains_output(domain: Optional[pulumi.Input[Optional[str]]] = None, + https: Optional[pulumi.Input[Optional[bool]]] = None, + ipv6: Optional[pulumi.Input[Optional[bool]]] = None, + origin_protocol: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + primary_origin: Optional[pulumi.Input[Optional[str]]] = None, + project: Optional[pulumi.Input[Optional[str]]] = None, + service_type: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainsResult]: + """ + Use this data source to query detailed information of cdn domains + ## Example Usage + + ```python + import pulumi + import json + import pulumi_volcengine as volcengine + + foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate", + certificate="", + private_key="", + desc="tftest", + source="cdn_cert_hosting") + foo_cdn_domain = volcengine.cdn.CdnDomain("fooCdnDomain", + domain="tftest.byte-test.com", + service_type="web", + tags=[ + volcengine.cdn.CdnDomainTagArgs( + key="tfkey1", + value="tfvalue1", + ), + volcengine.cdn.CdnDomainTagArgs( + key="tfkey2", + value="tfvalue2", + ), + ], + domain_config=pulumi.Output.json_dumps({ + "OriginProtocol": "https", + "Origin": [{ + "OriginAction": { + "OriginLines": [{ + "Address": "1.1.1.1", + "HttpPort": "80", + "HttpsPort": "443", + "InstanceType": "ip", + "OriginType": "primary", + "PrivateBucketAccess": False, + "Weight": "2", + }], + }, + }], + "HTTPS": { + "CertInfo": { + "CertId": foo_cdn_certificate.id, + }, + "DisableHttp": False, + "HTTP2": True, + "Switch": True, + "Ocsp": False, + "TlsVersion": [ + "tlsv1.1", + "tlsv1.2", + ], + }, + })) + foo_domains = volcengine.cdn.get_domains_output(domain=foo_cdn_domain.id) + ``` + + + :param str domain: Search by specifying domain name keywords, with fuzzy matching. + :param bool https: Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + :param bool ipv6: Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + :param str origin_protocol: Configure the origin protocol for the accelerated domain. + :param str output_file: File name where to save data source results. + :param str primary_origin: Specify a primary origin server for filtering accelerated domains. + :param str project: The project name of the domain. + :param str service_type: The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + :param str status: The status of the domain. + :param Sequence[str] tags: Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cdn/get_shared_configs.py b/sdk/python/pulumi_volcengine/cdn/get_shared_configs.py new file mode 100644 index 00000000..8c1dc955 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cdn/get_shared_configs.py @@ -0,0 +1,199 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetSharedConfigsResult', + 'AwaitableGetSharedConfigsResult', + 'get_shared_configs', + 'get_shared_configs_output', +] + +@pulumi.output_type +class GetSharedConfigsResult: + """ + A collection of values returned by getSharedConfigs. + """ + def __init__(__self__, config_datas=None, config_name=None, config_type=None, config_type_lists=None, id=None, output_file=None, project_name=None, total_count=None): + if config_datas and not isinstance(config_datas, list): + raise TypeError("Expected argument 'config_datas' to be a list") + pulumi.set(__self__, "config_datas", config_datas) + if config_name and not isinstance(config_name, str): + raise TypeError("Expected argument 'config_name' to be a str") + pulumi.set(__self__, "config_name", config_name) + if config_type and not isinstance(config_type, str): + raise TypeError("Expected argument 'config_type' to be a str") + pulumi.set(__self__, "config_type", config_type) + if config_type_lists and not isinstance(config_type_lists, list): + raise TypeError("Expected argument 'config_type_lists' to be a list") + pulumi.set(__self__, "config_type_lists", config_type_lists) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if project_name and not isinstance(project_name, str): + raise TypeError("Expected argument 'project_name' to be a str") + pulumi.set(__self__, "project_name", project_name) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter(name="configDatas") + def config_datas(self) -> Sequence['outputs.GetSharedConfigsConfigDataResult']: + """ + The collection of query. + """ + return pulumi.get(self, "config_datas") + + @property + @pulumi.getter(name="configName") + def config_name(self) -> Optional[str]: + """ + The name of the config. + """ + return pulumi.get(self, "config_name") + + @property + @pulumi.getter(name="configType") + def config_type(self) -> Optional[str]: + """ + The type of the config. + """ + return pulumi.get(self, "config_type") + + @property + @pulumi.getter(name="configTypeLists") + def config_type_lists(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "config_type_lists") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> Optional[str]: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetSharedConfigsResult(GetSharedConfigsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSharedConfigsResult( + config_datas=self.config_datas, + config_name=self.config_name, + config_type=self.config_type, + config_type_lists=self.config_type_lists, + id=self.id, + output_file=self.output_file, + project_name=self.project_name, + total_count=self.total_count) + + +def get_shared_configs(config_name: Optional[str] = None, + config_type: Optional[str] = None, + config_type_lists: Optional[Sequence[str]] = None, + output_file: Optional[str] = None, + project_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSharedConfigsResult: + """ + Use this data source to query detailed information of cdn shared configs + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cdn.get_shared_configs(config_name="tf-test", + config_type="allow_ip_access_rule", + project_name="default") + ``` + + + :param str config_name: The name of the shared config. + :param str config_type: The type of the shared config. + :param Sequence[str] config_type_lists: The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + :param str output_file: File name where to save data source results. + :param str project_name: The name of the project. + """ + __args__ = dict() + __args__['configName'] = config_name + __args__['configType'] = config_type + __args__['configTypeLists'] = config_type_lists + __args__['outputFile'] = output_file + __args__['projectName'] = project_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cdn/getSharedConfigs:getSharedConfigs', __args__, opts=opts, typ=GetSharedConfigsResult).value + + return AwaitableGetSharedConfigsResult( + config_datas=pulumi.get(__ret__, 'config_datas'), + config_name=pulumi.get(__ret__, 'config_name'), + config_type=pulumi.get(__ret__, 'config_type'), + config_type_lists=pulumi.get(__ret__, 'config_type_lists'), + id=pulumi.get(__ret__, 'id'), + output_file=pulumi.get(__ret__, 'output_file'), + project_name=pulumi.get(__ret__, 'project_name'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_shared_configs) +def get_shared_configs_output(config_name: Optional[pulumi.Input[Optional[str]]] = None, + config_type: Optional[pulumi.Input[Optional[str]]] = None, + config_type_lists: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + project_name: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSharedConfigsResult]: + """ + Use this data source to query detailed information of cdn shared configs + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cdn.get_shared_configs(config_name="tf-test", + config_type="allow_ip_access_rule", + project_name="default") + ``` + + + :param str config_name: The name of the shared config. + :param str config_type: The type of the shared config. + :param Sequence[str] config_type_lists: The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time. + :param str output_file: File name where to save data source results. + :param str project_name: The name of the project. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cdn/outputs.py b/sdk/python/pulumi_volcengine/cdn/outputs.py index 08b90101..3bb85d80 100644 --- a/sdk/python/pulumi_volcengine/cdn/outputs.py +++ b/sdk/python/pulumi_volcengine/cdn/outputs.py @@ -35,6 +35,20 @@ 'SharedConfigsConfigDataDenyIpAccessRuleResult', 'SharedConfigsConfigDataDenyRefererAccessRuleResult', 'SharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult', + 'GetCertificatesCertInfoResult', + 'GetConfigsDomainConfigResult', + 'GetDomainsDomainResult', + 'GetDomainsDomainDomainLockResult', + 'GetDomainsDomainTagResult', + 'GetSharedConfigsConfigDataResult', + 'GetSharedConfigsConfigDataAllowIpAccessRuleResult', + 'GetSharedConfigsConfigDataAllowRefererAccessRuleResult', + 'GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult', + 'GetSharedConfigsConfigDataCommonMatchListResult', + 'GetSharedConfigsConfigDataCommonMatchListCommonTypeResult', + 'GetSharedConfigsConfigDataDenyIpAccessRuleResult', + 'GetSharedConfigsConfigDataDenyRefererAccessRuleResult', + 'GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult', ] @pulumi.output_type @@ -1196,3 +1210,794 @@ def rules(self) -> Sequence[str]: return pulumi.get(self, "rules") +@pulumi.output_type +class GetCertificatesCertInfoResult(dict): + def __init__(__self__, *, + cert_id: str, + cert_name: str, + configured_domain: str, + desc: str, + dns_name: str, + effective_time: int, + expire_time: int, + source: str, + status: str): + """ + :param str cert_id: ID indicating the certificate. + :param str cert_name: The domain name to which the certificate is issued. + :param str configured_domain: The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. + :param str desc: The remark of the cert. + :param str dns_name: The domain names included in the SAN field of the certificate. + :param int effective_time: The issuance time of the certificate is indicated. The unit is Unix timestamp. + :param int expire_time: The expiration time of the certificate is indicated. The unit is Unix timestamp. + :param str source: Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + :param str status: Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + """ + pulumi.set(__self__, "cert_id", cert_id) + pulumi.set(__self__, "cert_name", cert_name) + pulumi.set(__self__, "configured_domain", configured_domain) + pulumi.set(__self__, "desc", desc) + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "effective_time", effective_time) + pulumi.set(__self__, "expire_time", expire_time) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="certId") + def cert_id(self) -> str: + """ + ID indicating the certificate. + """ + return pulumi.get(self, "cert_id") + + @property + @pulumi.getter(name="certName") + def cert_name(self) -> str: + """ + The domain name to which the certificate is issued. + """ + return pulumi.get(self, "cert_name") + + @property + @pulumi.getter(name="configuredDomain") + def configured_domain(self) -> str: + """ + The domain name associated with the certificate. If the certificate is not yet associated with any domain name, the parameter value is null. + """ + return pulumi.get(self, "configured_domain") + + @property + @pulumi.getter + def desc(self) -> str: + """ + The remark of the cert. + """ + return pulumi.get(self, "desc") + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + """ + The domain names included in the SAN field of the certificate. + """ + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="effectiveTime") + def effective_time(self) -> int: + """ + The issuance time of the certificate is indicated. The unit is Unix timestamp. + """ + return pulumi.get(self, "effective_time") + + @property + @pulumi.getter(name="expireTime") + def expire_time(self) -> int: + """ + The expiration time of the certificate is indicated. The unit is Unix timestamp. + """ + return pulumi.get(self, "expire_time") + + @property + @pulumi.getter + def source(self) -> str: + """ + Specify the location for storing the certificate. The parameter can take the following values: `volc_cert_center`: indicates that the certificate will be stored in the certificate center.`cdn_cert_hosting`: indicates that the certificate will be hosted on the content delivery network. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def status(self) -> str: + """ + Specify one or more states to retrieve certificates in those states. By default, all certificates in all states are returned. You can specify the following states. Multiple states are separated by commas. running: Retrieves certificates with a validity period greater than 30 days. expired: Retrieves certificates that have already expired. expiring_soon: Retrieves certificates with a validity period less than or equal to 30 days but have not yet expired. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class GetConfigsDomainConfigResult(dict): + def __init__(__self__, *, + cname: str, + create_time: int, + domain: str, + lock_status: str, + project: str, + service_region: str, + service_type: str, + status: str, + update_time: int): + """ + :param str cname: The cname of the domain. + :param int create_time: The create time of the domain. + :param str domain: The domain name. + :param str lock_status: Indicates whether the configuration of this domain name is allowed to be changed. + :param str project: The project name. + :param str service_region: The service region of the domain. + :param str service_type: The service type of the domain. + :param str status: The status of the domain. + :param int update_time: The update time of the domain. + """ + pulumi.set(__self__, "cname", cname) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "domain", domain) + pulumi.set(__self__, "lock_status", lock_status) + pulumi.set(__self__, "project", project) + pulumi.set(__self__, "service_region", service_region) + pulumi.set(__self__, "service_type", service_type) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter + def cname(self) -> str: + """ + The cname of the domain. + """ + return pulumi.get(self, "cname") + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> int: + """ + The create time of the domain. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def domain(self) -> str: + """ + The domain name. + """ + return pulumi.get(self, "domain") + + @property + @pulumi.getter(name="lockStatus") + def lock_status(self) -> str: + """ + Indicates whether the configuration of this domain name is allowed to be changed. + """ + return pulumi.get(self, "lock_status") + + @property + @pulumi.getter + def project(self) -> str: + """ + The project name. + """ + return pulumi.get(self, "project") + + @property + @pulumi.getter(name="serviceRegion") + def service_region(self) -> str: + """ + The service region of the domain. + """ + return pulumi.get(self, "service_region") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + The service type of the domain. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the domain. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> int: + """ + The update time of the domain. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class GetDomainsDomainResult(dict): + def __init__(__self__, *, + backup_origins: Sequence[str], + cache_shared: str, + cache_shared_target_host: str, + cname: str, + create_time: int, + domain: str, + domain_locks: Sequence['outputs.GetDomainsDomainDomainLockResult'], + https: bool, + ipv6: bool, + is_conflict_domain: bool, + origin_protocol: str, + primary_origins: Sequence[str], + project: str, + service_region: str, + service_type: str, + status: str, + tags: Sequence['outputs.GetDomainsDomainTagResult'], + update_time: int): + """ + :param Sequence[str] backup_origins: The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. + :param str cache_shared: Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `target_host`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cache_shared_on`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + :param str cache_shared_target_host: If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty. + :param str cname: The CNAME address of the domain is automatically assigned when adding the domain. + :param int create_time: The creation time of the domain. + :param str domain: Search by specifying domain name keywords, with fuzzy matching. + :param Sequence['GetDomainsDomainDomainLockArgs'] domain_locks: Indicates the locked status of the accelerated domain. + :param bool https: Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + :param bool ipv6: Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + :param bool is_conflict_domain: Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + :param str origin_protocol: Configure the origin protocol for the accelerated domain. + :param Sequence[str] primary_origins: Specify a primary origin server for filtering accelerated domains. + :param str project: The project name of the domain. + :param str service_region: Indicates the acceleration area. The parameter can take the following values: `chinese_mainland`: Indicates mainland China. `global`: Indicates global. `outside_chinese_mainland`: Indicates global (excluding mainland China). + :param str service_type: The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + :param str status: The status of the domain. + :param Sequence['GetDomainsDomainTagArgs'] tags: Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + :param int update_time: The update time of the domain. + """ + pulumi.set(__self__, "backup_origins", backup_origins) + pulumi.set(__self__, "cache_shared", cache_shared) + pulumi.set(__self__, "cache_shared_target_host", cache_shared_target_host) + pulumi.set(__self__, "cname", cname) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "domain", domain) + pulumi.set(__self__, "domain_locks", domain_locks) + pulumi.set(__self__, "https", https) + pulumi.set(__self__, "ipv6", ipv6) + pulumi.set(__self__, "is_conflict_domain", is_conflict_domain) + pulumi.set(__self__, "origin_protocol", origin_protocol) + pulumi.set(__self__, "primary_origins", primary_origins) + pulumi.set(__self__, "project", project) + pulumi.set(__self__, "service_region", service_region) + pulumi.set(__self__, "service_type", service_type) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "tags", tags) + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter(name="backupOrigins") + def backup_origins(self) -> Sequence[str]: + """ + The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null. + """ + return pulumi.get(self, "backup_origins") + + @property + @pulumi.getter(name="cacheShared") + def cache_shared(self) -> str: + """ + Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: `target_host`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.`cache_shared_on`: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain.`""`: This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration. + """ + return pulumi.get(self, "cache_shared") + + @property + @pulumi.getter(name="cacheSharedTargetHost") + def cache_shared_target_host(self) -> str: + """ + If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty. + """ + return pulumi.get(self, "cache_shared_target_host") + + @property + @pulumi.getter + def cname(self) -> str: + """ + The CNAME address of the domain is automatically assigned when adding the domain. + """ + return pulumi.get(self, "cname") + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> int: + """ + The creation time of the domain. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def domain(self) -> str: + """ + Search by specifying domain name keywords, with fuzzy matching. + """ + return pulumi.get(self, "domain") + + @property + @pulumi.getter(name="domainLocks") + def domain_locks(self) -> Sequence['outputs.GetDomainsDomainDomainLockResult']: + """ + Indicates the locked status of the accelerated domain. + """ + return pulumi.get(self, "domain_locks") + + @property + @pulumi.getter + def https(self) -> bool: + """ + Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain has enabled HTTPS function.`false`: Indicates that the accelerated domain has not enabled HTTPS function. + """ + return pulumi.get(self, "https") + + @property + @pulumi.getter + def ipv6(self) -> bool: + """ + Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: `true`: Indicates that the accelerated domain name supports requests using IPv6 addresses.`false`: Indicates that the accelerated domain name does not support requests using IPv6 addresses. + """ + return pulumi.get(self, "ipv6") + + @property + @pulumi.getter(name="isConflictDomain") + def is_conflict_domain(self) -> bool: + """ + Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name. + """ + return pulumi.get(self, "is_conflict_domain") + + @property + @pulumi.getter(name="originProtocol") + def origin_protocol(self) -> str: + """ + Configure the origin protocol for the accelerated domain. + """ + return pulumi.get(self, "origin_protocol") + + @property + @pulumi.getter(name="primaryOrigins") + def primary_origins(self) -> Sequence[str]: + """ + Specify a primary origin server for filtering accelerated domains. + """ + return pulumi.get(self, "primary_origins") + + @property + @pulumi.getter + def project(self) -> str: + """ + The project name of the domain. + """ + return pulumi.get(self, "project") + + @property + @pulumi.getter(name="serviceRegion") + def service_region(self) -> str: + """ + Indicates the acceleration area. The parameter can take the following values: `chinese_mainland`: Indicates mainland China. `global`: Indicates global. `outside_chinese_mainland`: Indicates global (excluding mainland China). + """ + return pulumi.get(self, "service_region") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + The business type of the domain name is indicated by this parameter. The possible values are: `download`: for file downloads. `web`: for web pages. `video`: for audio and video on demand. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the domain. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def tags(self) -> Sequence['outputs.GetDomainsDomainTagResult']: + """ + Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> int: + """ + The update time of the domain. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class GetDomainsDomainDomainLockResult(dict): + def __init__(__self__, *, + remark: str, + status: str): + """ + :param str remark: If the Status is on, this parameter value records the reason for the lock. + :param str status: The status of the domain. + """ + pulumi.set(__self__, "remark", remark) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def remark(self) -> str: + """ + If the Status is on, this parameter value records the reason for the lock. + """ + return pulumi.get(self, "remark") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the domain. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class GetDomainsDomainTagResult(dict): + def __init__(__self__, *, + key: str, + value: str): + """ + :param str key: The key of the tag. + :param str value: The value of the tag. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + """ + The key of the tag. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The value of the tag. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetSharedConfigsConfigDataResult(dict): + def __init__(__self__, *, + allow_ip_access_rules: Sequence['outputs.GetSharedConfigsConfigDataAllowIpAccessRuleResult'], + allow_referer_access_rules: Sequence['outputs.GetSharedConfigsConfigDataAllowRefererAccessRuleResult'], + common_match_lists: Sequence['outputs.GetSharedConfigsConfigDataCommonMatchListResult'], + config_name: str, + config_type: str, + deny_ip_access_rules: Sequence['outputs.GetSharedConfigsConfigDataDenyIpAccessRuleResult'], + deny_referer_access_rules: Sequence['outputs.GetSharedConfigsConfigDataDenyRefererAccessRuleResult'], + domain_count: int, + project_name: str, + update_time: int): + """ + :param Sequence['GetSharedConfigsConfigDataAllowIpAccessRuleArgs'] allow_ip_access_rules: The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + :param Sequence['GetSharedConfigsConfigDataAllowRefererAccessRuleArgs'] allow_referer_access_rules: The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + :param Sequence['GetSharedConfigsConfigDataCommonMatchListArgs'] common_match_lists: The configuration for a common list is represented by ConfigType common_match_list. + :param str config_name: The name of the shared config. + :param str config_type: The type of the shared config. + :param Sequence['GetSharedConfigsConfigDataDenyIpAccessRuleArgs'] deny_ip_access_rules: The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + :param Sequence['GetSharedConfigsConfigDataDenyRefererAccessRuleArgs'] deny_referer_access_rules: The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + :param int domain_count: The number of domains. + :param str project_name: The name of the project. + :param int update_time: The update time of the shared config. + """ + pulumi.set(__self__, "allow_ip_access_rules", allow_ip_access_rules) + pulumi.set(__self__, "allow_referer_access_rules", allow_referer_access_rules) + pulumi.set(__self__, "common_match_lists", common_match_lists) + pulumi.set(__self__, "config_name", config_name) + pulumi.set(__self__, "config_type", config_type) + pulumi.set(__self__, "deny_ip_access_rules", deny_ip_access_rules) + pulumi.set(__self__, "deny_referer_access_rules", deny_referer_access_rules) + pulumi.set(__self__, "domain_count", domain_count) + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter(name="allowIpAccessRules") + def allow_ip_access_rules(self) -> Sequence['outputs.GetSharedConfigsConfigDataAllowIpAccessRuleResult']: + """ + The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule. + """ + return pulumi.get(self, "allow_ip_access_rules") + + @property + @pulumi.getter(name="allowRefererAccessRules") + def allow_referer_access_rules(self) -> Sequence['outputs.GetSharedConfigsConfigDataAllowRefererAccessRuleResult']: + """ + The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule. + """ + return pulumi.get(self, "allow_referer_access_rules") + + @property + @pulumi.getter(name="commonMatchLists") + def common_match_lists(self) -> Sequence['outputs.GetSharedConfigsConfigDataCommonMatchListResult']: + """ + The configuration for a common list is represented by ConfigType common_match_list. + """ + return pulumi.get(self, "common_match_lists") + + @property + @pulumi.getter(name="configName") + def config_name(self) -> str: + """ + The name of the shared config. + """ + return pulumi.get(self, "config_name") + + @property + @pulumi.getter(name="configType") + def config_type(self) -> str: + """ + The type of the shared config. + """ + return pulumi.get(self, "config_type") + + @property + @pulumi.getter(name="denyIpAccessRules") + def deny_ip_access_rules(self) -> Sequence['outputs.GetSharedConfigsConfigDataDenyIpAccessRuleResult']: + """ + The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule. + """ + return pulumi.get(self, "deny_ip_access_rules") + + @property + @pulumi.getter(name="denyRefererAccessRules") + def deny_referer_access_rules(self) -> Sequence['outputs.GetSharedConfigsConfigDataDenyRefererAccessRuleResult']: + """ + The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule. + """ + return pulumi.get(self, "deny_referer_access_rules") + + @property + @pulumi.getter(name="domainCount") + def domain_count(self) -> int: + """ + The number of domains. + """ + return pulumi.get(self, "domain_count") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> str: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> int: + """ + The update time of the shared config. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class GetSharedConfigsConfigDataAllowIpAccessRuleResult(dict): + def __init__(__self__, *, + rules: Sequence[str]): + """ + :param Sequence[str] rules: The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Sequence[str]: + """ + The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class GetSharedConfigsConfigDataAllowRefererAccessRuleResult(dict): + def __init__(__self__, *, + allow_empty: bool, + common_types: Sequence['outputs.GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult']): + """ + :param bool allow_empty: Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + :param Sequence['GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeArgs'] common_types: The content indicating the Referer blacklist. + """ + pulumi.set(__self__, "allow_empty", allow_empty) + pulumi.set(__self__, "common_types", common_types) + + @property + @pulumi.getter(name="allowEmpty") + def allow_empty(self) -> bool: + """ + Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + """ + return pulumi.get(self, "allow_empty") + + @property + @pulumi.getter(name="commonTypes") + def common_types(self) -> Sequence['outputs.GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult']: + """ + The content indicating the Referer blacklist. + """ + return pulumi.get(self, "common_types") + + +@pulumi.output_type +class GetSharedConfigsConfigDataAllowRefererAccessRuleCommonTypeResult(dict): + def __init__(__self__, *, + ignore_case: bool, + rules: Sequence[str]): + """ + :param bool ignore_case: This list is case-sensitive when matching requests. Default is true. + :param Sequence[str] rules: The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + pulumi.set(__self__, "ignore_case", ignore_case) + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="ignoreCase") + def ignore_case(self) -> bool: + """ + This list is case-sensitive when matching requests. Default is true. + """ + return pulumi.get(self, "ignore_case") + + @property + @pulumi.getter + def rules(self) -> Sequence[str]: + """ + The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class GetSharedConfigsConfigDataCommonMatchListResult(dict): + def __init__(__self__, *, + common_types: Sequence['outputs.GetSharedConfigsConfigDataCommonMatchListCommonTypeResult']): + """ + :param Sequence['GetSharedConfigsConfigDataCommonMatchListCommonTypeArgs'] common_types: The content indicating the Referer blacklist. + """ + pulumi.set(__self__, "common_types", common_types) + + @property + @pulumi.getter(name="commonTypes") + def common_types(self) -> Sequence['outputs.GetSharedConfigsConfigDataCommonMatchListCommonTypeResult']: + """ + The content indicating the Referer blacklist. + """ + return pulumi.get(self, "common_types") + + +@pulumi.output_type +class GetSharedConfigsConfigDataCommonMatchListCommonTypeResult(dict): + def __init__(__self__, *, + ignore_case: bool, + rules: Sequence[str]): + """ + :param bool ignore_case: This list is case-sensitive when matching requests. Default is true. + :param Sequence[str] rules: The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + pulumi.set(__self__, "ignore_case", ignore_case) + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="ignoreCase") + def ignore_case(self) -> bool: + """ + This list is case-sensitive when matching requests. Default is true. + """ + return pulumi.get(self, "ignore_case") + + @property + @pulumi.getter + def rules(self) -> Sequence[str]: + """ + The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class GetSharedConfigsConfigDataDenyIpAccessRuleResult(dict): + def __init__(__self__, *, + rules: Sequence[str]): + """ + :param Sequence[str] rules: The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Sequence[str]: + """ + The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class GetSharedConfigsConfigDataDenyRefererAccessRuleResult(dict): + def __init__(__self__, *, + allow_empty: bool, + common_types: Sequence['outputs.GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult']): + """ + :param bool allow_empty: Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + :param Sequence['GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeArgs'] common_types: The content indicating the Referer blacklist. + """ + pulumi.set(__self__, "allow_empty", allow_empty) + pulumi.set(__self__, "common_types", common_types) + + @property + @pulumi.getter(name="allowEmpty") + def allow_empty(self) -> bool: + """ + Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false. + """ + return pulumi.get(self, "allow_empty") + + @property + @pulumi.getter(name="commonTypes") + def common_types(self) -> Sequence['outputs.GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult']: + """ + The content indicating the Referer blacklist. + """ + return pulumi.get(self, "common_types") + + +@pulumi.output_type +class GetSharedConfigsConfigDataDenyRefererAccessRuleCommonTypeResult(dict): + def __init__(__self__, *, + ignore_case: bool, + rules: Sequence[str]): + """ + :param bool ignore_case: This list is case-sensitive when matching requests. Default is true. + :param Sequence[str] rules: The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + pulumi.set(__self__, "ignore_case", ignore_case) + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="ignoreCase") + def ignore_case(self) -> bool: + """ + This list is case-sensitive when matching requests. Default is true. + """ + return pulumi.get(self, "ignore_case") + + @property + @pulumi.getter + def rules(self) -> Sequence[str]: + """ + The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit. + """ + return pulumi.get(self, "rules") + + diff --git a/sdk/python/pulumi_volcengine/cdn/shared_configs.py b/sdk/python/pulumi_volcengine/cdn/shared_configs.py index 317a6e51..55841134 100644 --- a/sdk/python/pulumi_volcengine/cdn/shared_configs.py +++ b/sdk/python/pulumi_volcengine/cdn/shared_configs.py @@ -17,6 +17,8 @@ 'shared_configs_output', ] +warnings.warn("""volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs""", DeprecationWarning) + @pulumi.output_type class SharedConfigsResult: """ @@ -137,7 +139,7 @@ def shared_configs(config_name: Optional[str] = None, import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cdn.shared_configs(config_name="tf-test", + foo = volcengine.cdn.get_shared_configs(config_name="tf-test", config_type="allow_ip_access_rule", project_name="default") ``` @@ -149,6 +151,7 @@ def shared_configs(config_name: Optional[str] = None, :param str output_file: File name where to save data source results. :param str project_name: The name of the project. """ + pulumi.log.warn("""shared_configs is deprecated: volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs""") __args__ = dict() __args__['configName'] = config_name __args__['configType'] = config_type @@ -184,7 +187,7 @@ def shared_configs_output(config_name: Optional[pulumi.Input[Optional[str]]] = N import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cdn.shared_configs(config_name="tf-test", + foo = volcengine.cdn.get_shared_configs(config_name="tf-test", config_type="allow_ip_access_rule", project_name="default") ``` @@ -196,4 +199,5 @@ def shared_configs_output(config_name: Optional[pulumi.Input[Optional[str]]] = N :param str output_file: File name where to save data source results. :param str project_name: The name of the project. """ + pulumi.log.warn("""shared_configs is deprecated: volcengine.cdn/sharedconfigs.SharedConfigs has been deprecated in favor of volcengine.cdn/getsharedconfigs.getSharedConfigs""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/__init__.py b/sdk/python/pulumi_volcengine/cloud_identity/__init__.py index 6183bf18..eba11f67 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/__init__.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/__init__.py @@ -5,6 +5,12 @@ from .. import _utilities import typing # Export this package's modules as members: +from .get_groups import * +from .get_permission_set_assignments import * +from .get_permission_set_provisionings import * +from .get_permission_sets import * +from .get_user_provisionings import * +from .get_users import * from .group import * from .groups import * from .permission_set import * diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_groups.py b/sdk/python/pulumi_volcengine/cloud_identity/get_groups.py new file mode 100644 index 00000000..253c5d13 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_groups.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetGroupsResult', + 'AwaitableGetGroupsResult', + 'get_groups', + 'get_groups_output', +] + +@pulumi.output_type +class GetGroupsResult: + """ + A collection of values returned by getGroups. + """ + def __init__(__self__, display_name=None, group_name=None, groups=None, id=None, join_type=None, name_regex=None, output_file=None, total_count=None): + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if group_name and not isinstance(group_name, str): + raise TypeError("Expected argument 'group_name' to be a str") + pulumi.set(__self__, "group_name", group_name) + if groups and not isinstance(groups, list): + raise TypeError("Expected argument 'groups' to be a list") + pulumi.set(__self__, "groups", groups) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if join_type and not isinstance(join_type, str): + raise TypeError("Expected argument 'join_type' to be a str") + pulumi.set(__self__, "join_type", join_type) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The display name of the cloud identity group. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="groupName") + def group_name(self) -> Optional[str]: + """ + The name of the cloud identity group. + """ + return pulumi.get(self, "group_name") + + @property + @pulumi.getter + def groups(self) -> Sequence['outputs.GetGroupsGroupResult']: + """ + The collection of query. + """ + return pulumi.get(self, "groups") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="joinType") + def join_type(self) -> Optional[str]: + """ + The email of the cloud identity group. + """ + return pulumi.get(self, "join_type") + + @property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[str]: + return pulumi.get(self, "name_regex") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetGroupsResult(GetGroupsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGroupsResult( + display_name=self.display_name, + group_name=self.group_name, + groups=self.groups, + id=self.id, + join_type=self.join_type, + name_regex=self.name_regex, + output_file=self.output_file, + total_count=self.total_count) + + +def get_groups(display_name: Optional[str] = None, + group_name: Optional[str] = None, + join_type: Optional[str] = None, + name_regex: Optional[str] = None, + output_file: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupsResult: + """ + Use this data source to query detailed information of cloud identity groups + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_group = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_group.append(volcengine.cloud_identity.Group(f"fooGroup-{range['value']}", + description="tf", + display_name=f"tf-test-group-{range['value']}", + group_name=f"acc-test-group-{range['value']}", + join_type="Manual")) + foo_groups = volcengine.cloud_identity.get_groups(group_name="acc-test-group", + join_type="Manual") + ``` + + + :param str display_name: The display name of cloud identity group. + :param str group_name: The name of cloud identity group. + :param str join_type: The join type of cloud identity group. Valid values: `Auto`, `Manual`. + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + """ + __args__ = dict() + __args__['displayName'] = display_name + __args__['groupName'] = group_name + __args__['joinType'] = join_type + __args__['nameRegex'] = name_regex + __args__['outputFile'] = output_file + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getGroups:getGroups', __args__, opts=opts, typ=GetGroupsResult).value + + return AwaitableGetGroupsResult( + display_name=pulumi.get(__ret__, 'display_name'), + group_name=pulumi.get(__ret__, 'group_name'), + groups=pulumi.get(__ret__, 'groups'), + id=pulumi.get(__ret__, 'id'), + join_type=pulumi.get(__ret__, 'join_type'), + name_regex=pulumi.get(__ret__, 'name_regex'), + output_file=pulumi.get(__ret__, 'output_file'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_groups) +def get_groups_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, + group_name: Optional[pulumi.Input[Optional[str]]] = None, + join_type: Optional[pulumi.Input[Optional[str]]] = None, + name_regex: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupsResult]: + """ + Use this data source to query detailed information of cloud identity groups + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_group = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_group.append(volcengine.cloud_identity.Group(f"fooGroup-{range['value']}", + description="tf", + display_name=f"tf-test-group-{range['value']}", + group_name=f"acc-test-group-{range['value']}", + join_type="Manual")) + foo_groups = volcengine.cloud_identity.get_groups(group_name="acc-test-group", + join_type="Manual") + ``` + + + :param str display_name: The display name of cloud identity group. + :param str group_name: The name of cloud identity group. + :param str join_type: The join type of cloud identity group. Valid values: `Auto`, `Manual`. + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_assignments.py b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_assignments.py new file mode 100644 index 00000000..a9fb3faa --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_assignments.py @@ -0,0 +1,273 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetPermissionSetAssignmentsResult', + 'AwaitableGetPermissionSetAssignmentsResult', + 'get_permission_set_assignments', + 'get_permission_set_assignments_output', +] + +@pulumi.output_type +class GetPermissionSetAssignmentsResult: + """ + A collection of values returned by getPermissionSetAssignments. + """ + def __init__(__self__, assignments=None, id=None, name_regex=None, output_file=None, permission_set_id=None, principal_id=None, principal_type=None, target_id=None, total_count=None): + if assignments and not isinstance(assignments, list): + raise TypeError("Expected argument 'assignments' to be a list") + pulumi.set(__self__, "assignments", assignments) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if permission_set_id and not isinstance(permission_set_id, str): + raise TypeError("Expected argument 'permission_set_id' to be a str") + pulumi.set(__self__, "permission_set_id", permission_set_id) + if principal_id and not isinstance(principal_id, str): + raise TypeError("Expected argument 'principal_id' to be a str") + pulumi.set(__self__, "principal_id", principal_id) + if principal_type and not isinstance(principal_type, str): + raise TypeError("Expected argument 'principal_type' to be a str") + pulumi.set(__self__, "principal_type", principal_type) + if target_id and not isinstance(target_id, str): + raise TypeError("Expected argument 'target_id' to be a str") + pulumi.set(__self__, "target_id", target_id) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def assignments(self) -> Sequence['outputs.GetPermissionSetAssignmentsAssignmentResult']: + """ + The collection of query. + """ + return pulumi.get(self, "assignments") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[str]: + return pulumi.get(self, "name_regex") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="permissionSetId") + def permission_set_id(self) -> Optional[str]: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "permission_set_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + """ + The principal id of the cloud identity permission set assignment. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> Optional[str]: + """ + The principal type of the cloud identity permission set assignment. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[str]: + """ + The target account id of the cloud identity permission set assignment. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetPermissionSetAssignmentsResult(GetPermissionSetAssignmentsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPermissionSetAssignmentsResult( + assignments=self.assignments, + id=self.id, + name_regex=self.name_regex, + output_file=self.output_file, + permission_set_id=self.permission_set_id, + principal_id=self.principal_id, + principal_type=self.principal_type, + target_id=self.target_id, + total_count=self.total_count) + + +def get_permission_set_assignments(name_regex: Optional[str] = None, + output_file: Optional[str] = None, + permission_set_id: Optional[str] = None, + principal_id: Optional[str] = None, + principal_type: Optional[str] = None, + target_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPermissionSetAssignmentsResult: + """ + Use this data source to query detailed information of cloud identity permission set assignments + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_permission_set = volcengine.cloud_identity.PermissionSet("fooPermissionSet", + description="tf", + session_duration=5000, + permission_policies=[ + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="AdministratorAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="ReadOnlyAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="Inline", + inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", + ), + ]) + foo_user = volcengine.cloud_identity.User("fooUser", + user_name="acc-test-user", + display_name="tf-test-user", + description="tf", + email="88@qq.com", + phone="181") + foo_permission_set_assignment = volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", + permission_set_id=foo_permission_set.id, + target_id="210026****", + principal_type="User", + principal_id=foo_user.id) + foo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) + ``` + + + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str permission_set_id: The id of cloud identity permission set. + :param str principal_id: The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + :param str principal_type: The principal type of cloud identity permission set. Valid values: `User`, `Group`. + :param str target_id: The target account id of cloud identity permission set assignment. + """ + __args__ = dict() + __args__['nameRegex'] = name_regex + __args__['outputFile'] = output_file + __args__['permissionSetId'] = permission_set_id + __args__['principalId'] = principal_id + __args__['principalType'] = principal_type + __args__['targetId'] = target_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getPermissionSetAssignments:getPermissionSetAssignments', __args__, opts=opts, typ=GetPermissionSetAssignmentsResult).value + + return AwaitableGetPermissionSetAssignmentsResult( + assignments=pulumi.get(__ret__, 'assignments'), + id=pulumi.get(__ret__, 'id'), + name_regex=pulumi.get(__ret__, 'name_regex'), + output_file=pulumi.get(__ret__, 'output_file'), + permission_set_id=pulumi.get(__ret__, 'permission_set_id'), + principal_id=pulumi.get(__ret__, 'principal_id'), + principal_type=pulumi.get(__ret__, 'principal_type'), + target_id=pulumi.get(__ret__, 'target_id'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_permission_set_assignments) +def get_permission_set_assignments_output(name_regex: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + permission_set_id: Optional[pulumi.Input[Optional[str]]] = None, + principal_id: Optional[pulumi.Input[Optional[str]]] = None, + principal_type: Optional[pulumi.Input[Optional[str]]] = None, + target_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionSetAssignmentsResult]: + """ + Use this data source to query detailed information of cloud identity permission set assignments + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_permission_set = volcengine.cloud_identity.PermissionSet("fooPermissionSet", + description="tf", + session_duration=5000, + permission_policies=[ + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="AdministratorAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="ReadOnlyAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="Inline", + inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", + ), + ]) + foo_user = volcengine.cloud_identity.User("fooUser", + user_name="acc-test-user", + display_name="tf-test-user", + description="tf", + email="88@qq.com", + phone="181") + foo_permission_set_assignment = volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", + permission_set_id=foo_permission_set.id, + target_id="210026****", + principal_type="User", + principal_id=foo_user.id) + foo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) + ``` + + + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str permission_set_id: The id of cloud identity permission set. + :param str principal_id: The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + :param str principal_type: The principal type of cloud identity permission set. Valid values: `User`, `Group`. + :param str target_id: The target account id of cloud identity permission set assignment. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_provisionings.py b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_provisionings.py new file mode 100644 index 00000000..b6113955 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_set_provisionings.py @@ -0,0 +1,177 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetPermissionSetProvisioningsResult', + 'AwaitableGetPermissionSetProvisioningsResult', + 'get_permission_set_provisionings', + 'get_permission_set_provisionings_output', +] + +@pulumi.output_type +class GetPermissionSetProvisioningsResult: + """ + A collection of values returned by getPermissionSetProvisionings. + """ + def __init__(__self__, id=None, name_regex=None, output_file=None, permission_provisionings=None, permission_set_id=None, target_id=None, total_count=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if permission_provisionings and not isinstance(permission_provisionings, list): + raise TypeError("Expected argument 'permission_provisionings' to be a list") + pulumi.set(__self__, "permission_provisionings", permission_provisionings) + if permission_set_id and not isinstance(permission_set_id, str): + raise TypeError("Expected argument 'permission_set_id' to be a str") + pulumi.set(__self__, "permission_set_id", permission_set_id) + if target_id and not isinstance(target_id, str): + raise TypeError("Expected argument 'target_id' to be a str") + pulumi.set(__self__, "target_id", target_id) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[str]: + return pulumi.get(self, "name_regex") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="permissionProvisionings") + def permission_provisionings(self) -> Sequence['outputs.GetPermissionSetProvisioningsPermissionProvisioningResult']: + """ + The collection of query. + """ + return pulumi.get(self, "permission_provisionings") + + @property + @pulumi.getter(name="permissionSetId") + def permission_set_id(self) -> Optional[str]: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "permission_set_id") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[str]: + """ + The target account id of the cloud identity permission set provisioning. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetPermissionSetProvisioningsResult(GetPermissionSetProvisioningsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPermissionSetProvisioningsResult( + id=self.id, + name_regex=self.name_regex, + output_file=self.output_file, + permission_provisionings=self.permission_provisionings, + permission_set_id=self.permission_set_id, + target_id=self.target_id, + total_count=self.total_count) + + +def get_permission_set_provisionings(name_regex: Optional[str] = None, + output_file: Optional[str] = None, + permission_set_id: Optional[str] = None, + target_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPermissionSetProvisioningsResult: + """ + Use this data source to query detailed information of cloud identity permission set provisionings + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cloud_identity.get_permission_set_provisionings(target_id="210026****") + ``` + + + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str permission_set_id: The id of cloud identity permission set. + :param str target_id: The target account id of cloud identity permission set. + """ + __args__ = dict() + __args__['nameRegex'] = name_regex + __args__['outputFile'] = output_file + __args__['permissionSetId'] = permission_set_id + __args__['targetId'] = target_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getPermissionSetProvisionings:getPermissionSetProvisionings', __args__, opts=opts, typ=GetPermissionSetProvisioningsResult).value + + return AwaitableGetPermissionSetProvisioningsResult( + id=pulumi.get(__ret__, 'id'), + name_regex=pulumi.get(__ret__, 'name_regex'), + output_file=pulumi.get(__ret__, 'output_file'), + permission_provisionings=pulumi.get(__ret__, 'permission_provisionings'), + permission_set_id=pulumi.get(__ret__, 'permission_set_id'), + target_id=pulumi.get(__ret__, 'target_id'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_permission_set_provisionings) +def get_permission_set_provisionings_output(name_regex: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + permission_set_id: Optional[pulumi.Input[Optional[str]]] = None, + target_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionSetProvisioningsResult]: + """ + Use this data source to query detailed information of cloud identity permission set provisionings + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cloud_identity.get_permission_set_provisionings(target_id="210026****") + ``` + + + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str permission_set_id: The id of cloud identity permission set. + :param str target_id: The target account id of cloud identity permission set. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_permission_sets.py b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_sets.py new file mode 100644 index 00000000..95f4ac60 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_permission_sets.py @@ -0,0 +1,198 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetPermissionSetsResult', + 'AwaitableGetPermissionSetsResult', + 'get_permission_sets', + 'get_permission_sets_output', +] + +@pulumi.output_type +class GetPermissionSetsResult: + """ + A collection of values returned by getPermissionSets. + """ + def __init__(__self__, id=None, ids=None, name_regex=None, output_file=None, permission_sets=None, total_count=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ids and not isinstance(ids, list): + raise TypeError("Expected argument 'ids' to be a list") + pulumi.set(__self__, "ids", ids) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if permission_sets and not isinstance(permission_sets, list): + raise TypeError("Expected argument 'permission_sets' to be a list") + pulumi.set(__self__, "permission_sets", permission_sets) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ids(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ids") + + @property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[str]: + return pulumi.get(self, "name_regex") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="permissionSets") + def permission_sets(self) -> Sequence['outputs.GetPermissionSetsPermissionSetResult']: + """ + The collection of query. + """ + return pulumi.get(self, "permission_sets") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetPermissionSetsResult(GetPermissionSetsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPermissionSetsResult( + id=self.id, + ids=self.ids, + name_regex=self.name_regex, + output_file=self.output_file, + permission_sets=self.permission_sets, + total_count=self.total_count) + + +def get_permission_sets(ids: Optional[Sequence[str]] = None, + name_regex: Optional[str] = None, + output_file: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPermissionSetsResult: + """ + Use this data source to query detailed information of cloud identity permission sets + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_permission_set = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_permission_set.append(volcengine.cloud_identity.PermissionSet(f"fooPermissionSet-{range['value']}", + description="tf", + session_duration=5000, + permission_policies=[ + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="AdministratorAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="ReadOnlyAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="Inline", + inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", + ), + ])) + foo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set]) + ``` + + + :param Sequence[str] ids: A list of cloud identity permission set IDs. + :param str name_regex: A Name Regex of cloud identity permission set. + :param str output_file: File name where to save data source results. + """ + __args__ = dict() + __args__['ids'] = ids + __args__['nameRegex'] = name_regex + __args__['outputFile'] = output_file + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getPermissionSets:getPermissionSets', __args__, opts=opts, typ=GetPermissionSetsResult).value + + return AwaitableGetPermissionSetsResult( + id=pulumi.get(__ret__, 'id'), + ids=pulumi.get(__ret__, 'ids'), + name_regex=pulumi.get(__ret__, 'name_regex'), + output_file=pulumi.get(__ret__, 'output_file'), + permission_sets=pulumi.get(__ret__, 'permission_sets'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_permission_sets) +def get_permission_sets_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + name_regex: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionSetsResult]: + """ + Use this data source to query detailed information of cloud identity permission sets + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_permission_set = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_permission_set.append(volcengine.cloud_identity.PermissionSet(f"fooPermissionSet-{range['value']}", + description="tf", + session_duration=5000, + permission_policies=[ + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="AdministratorAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="System", + permission_policy_name="ReadOnlyAccess", + inline_policy_document="", + ), + volcengine.cloud_identity.PermissionSetPermissionPolicyArgs( + permission_policy_type="Inline", + inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", + ), + ])) + foo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set]) + ``` + + + :param Sequence[str] ids: A list of cloud identity permission set IDs. + :param str name_regex: A Name Regex of cloud identity permission set. + :param str output_file: File name where to save data source results. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_user_provisionings.py b/sdk/python/pulumi_volcengine/cloud_identity/get_user_provisionings.py new file mode 100644 index 00000000..4c213d34 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_user_provisionings.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetUserProvisioningsResult', + 'AwaitableGetUserProvisioningsResult', + 'get_user_provisionings', + 'get_user_provisionings_output', +] + +@pulumi.output_type +class GetUserProvisioningsResult: + """ + A collection of values returned by getUserProvisionings. + """ + def __init__(__self__, account_id=None, id=None, output_file=None, total_count=None, user_provisionings=None): + if account_id and not isinstance(account_id, str): + raise TypeError("Expected argument 'account_id' to be a str") + pulumi.set(__self__, "account_id", account_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + if user_provisionings and not isinstance(user_provisionings, list): + raise TypeError("Expected argument 'user_provisionings' to be a list") + pulumi.set(__self__, "user_provisionings", user_provisionings) + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> Optional[str]: + return pulumi.get(self, "account_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter(name="userProvisionings") + def user_provisionings(self) -> Sequence['outputs.GetUserProvisioningsUserProvisioningResult']: + """ + The collection of query. + """ + return pulumi.get(self, "user_provisionings") + + +class AwaitableGetUserProvisioningsResult(GetUserProvisioningsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUserProvisioningsResult( + account_id=self.account_id, + id=self.id, + output_file=self.output_file, + total_count=self.total_count, + user_provisionings=self.user_provisionings) + + +def get_user_provisionings(account_id: Optional[str] = None, + output_file: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserProvisioningsResult: + """ + Use this data source to query detailed information of cloud identity user provisionings + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cloud_identity.get_user_provisionings(account_id="210026****") + ``` + + + :param str account_id: The account id. + :param str output_file: File name where to save data source results. + """ + __args__ = dict() + __args__['accountId'] = account_id + __args__['outputFile'] = output_file + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getUserProvisionings:getUserProvisionings', __args__, opts=opts, typ=GetUserProvisioningsResult).value + + return AwaitableGetUserProvisioningsResult( + account_id=pulumi.get(__ret__, 'account_id'), + id=pulumi.get(__ret__, 'id'), + output_file=pulumi.get(__ret__, 'output_file'), + total_count=pulumi.get(__ret__, 'total_count'), + user_provisionings=pulumi.get(__ret__, 'user_provisionings')) + + +@_utilities.lift_output_func(get_user_provisionings) +def get_user_provisionings_output(account_id: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserProvisioningsResult]: + """ + Use this data source to query detailed information of cloud identity user provisionings + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo = volcengine.cloud_identity.get_user_provisionings(account_id="210026****") + ``` + + + :param str account_id: The account id. + :param str output_file: File name where to save data source results. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/get_users.py b/sdk/python/pulumi_volcengine/cloud_identity/get_users.py new file mode 100644 index 00000000..61d23f66 --- /dev/null +++ b/sdk/python/pulumi_volcengine/cloud_identity/get_users.py @@ -0,0 +1,228 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetUsersResult', + 'AwaitableGetUsersResult', + 'get_users', + 'get_users_output', +] + +@pulumi.output_type +class GetUsersResult: + """ + A collection of values returned by getUsers. + """ + def __init__(__self__, department_id=None, display_name=None, id=None, name_regex=None, output_file=None, source=None, total_count=None, user_name=None, users=None): + if department_id and not isinstance(department_id, str): + raise TypeError("Expected argument 'department_id' to be a str") + pulumi.set(__self__, "department_id", department_id) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if source and not isinstance(source, str): + raise TypeError("Expected argument 'source' to be a str") + pulumi.set(__self__, "source", source) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + if user_name and not isinstance(user_name, str): + raise TypeError("Expected argument 'user_name' to be a str") + pulumi.set(__self__, "user_name", user_name) + if users and not isinstance(users, list): + raise TypeError("Expected argument 'users' to be a list") + pulumi.set(__self__, "users", users) + + @property + @pulumi.getter(name="departmentId") + def department_id(self) -> Optional[str]: + return pulumi.get(self, "department_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The display name of the cloud identity user. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[str]: + return pulumi.get(self, "name_regex") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter + def source(self) -> Optional[str]: + """ + The source of the cloud identity user. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of query. + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The name of the cloud identity user. + """ + return pulumi.get(self, "user_name") + + @property + @pulumi.getter + def users(self) -> Sequence['outputs.GetUsersUserResult']: + """ + The collection of query. + """ + return pulumi.get(self, "users") + + +class AwaitableGetUsersResult(GetUsersResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUsersResult( + department_id=self.department_id, + display_name=self.display_name, + id=self.id, + name_regex=self.name_regex, + output_file=self.output_file, + source=self.source, + total_count=self.total_count, + user_name=self.user_name, + users=self.users) + + +def get_users(department_id: Optional[str] = None, + display_name: Optional[str] = None, + name_regex: Optional[str] = None, + output_file: Optional[str] = None, + source: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult: + """ + Use this data source to query detailed information of cloud identity users + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_user = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_user.append(volcengine.cloud_identity.User(f"fooUser-{range['value']}", + description="tf", + display_name=f"tf-test-user-{range['value']}", + email="88@qq.com", + phone="181", + user_name=f"acc-test-user-{range['value']}")) + foo_users = volcengine.cloud_identity.get_users(source="Manual", + user_name="acc-test-user") + ``` + + + :param str department_id: The department id. + :param str display_name: The display name of cloud identity user. + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str source: The source of cloud identity user. Valid values: `Sync`, `Manual`. + :param str user_name: The name of cloud identity user. + """ + __args__ = dict() + __args__['departmentId'] = department_id + __args__['displayName'] = display_name + __args__['nameRegex'] = name_regex + __args__['outputFile'] = output_file + __args__['source'] = source + __args__['userName'] = user_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:cloud_identity/getUsers:getUsers', __args__, opts=opts, typ=GetUsersResult).value + + return AwaitableGetUsersResult( + department_id=pulumi.get(__ret__, 'department_id'), + display_name=pulumi.get(__ret__, 'display_name'), + id=pulumi.get(__ret__, 'id'), + name_regex=pulumi.get(__ret__, 'name_regex'), + output_file=pulumi.get(__ret__, 'output_file'), + source=pulumi.get(__ret__, 'source'), + total_count=pulumi.get(__ret__, 'total_count'), + user_name=pulumi.get(__ret__, 'user_name'), + users=pulumi.get(__ret__, 'users')) + + +@_utilities.lift_output_func(get_users) +def get_users_output(department_id: Optional[pulumi.Input[Optional[str]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + name_regex: Optional[pulumi.Input[Optional[str]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + source: Optional[pulumi.Input[Optional[str]]] = None, + user_name: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]: + """ + Use this data source to query detailed information of cloud identity users + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_user = [] + for range in [{"value": i} for i in range(0, 2)]: + foo_user.append(volcengine.cloud_identity.User(f"fooUser-{range['value']}", + description="tf", + display_name=f"tf-test-user-{range['value']}", + email="88@qq.com", + phone="181", + user_name=f"acc-test-user-{range['value']}")) + foo_users = volcengine.cloud_identity.get_users(source="Manual", + user_name="acc-test-user") + ``` + + + :param str department_id: The department id. + :param str display_name: The display name of cloud identity user. + :param str name_regex: A Name Regex of Resource. + :param str output_file: File name where to save data source results. + :param str source: The source of cloud identity user. Valid values: `Sync`, `Manual`. + :param str user_name: The name of cloud identity user. + """ + ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/groups.py b/sdk/python/pulumi_volcengine/cloud_identity/groups.py index 10bafbd5..9702138b 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/groups.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/groups.py @@ -17,6 +17,8 @@ 'groups_output', ] +warnings.warn("""volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups""", DeprecationWarning) + @pulumi.output_type class GroupsResult: """ @@ -144,7 +146,7 @@ def groups(display_name: Optional[str] = None, display_name=f"tf-test-group-{range['value']}", group_name=f"acc-test-group-{range['value']}", join_type="Manual")) - foo_groups = volcengine.cloud_identity.groups(group_name="acc-test-group", + foo_groups = volcengine.cloud_identity.get_groups(group_name="acc-test-group", join_type="Manual") ``` @@ -155,6 +157,7 @@ def groups(display_name: Optional[str] = None, :param str name_regex: A Name Regex of Resource. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""groups is deprecated: volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups""") __args__ = dict() __args__['displayName'] = display_name __args__['groupName'] = group_name @@ -197,7 +200,7 @@ def groups_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, display_name=f"tf-test-group-{range['value']}", group_name=f"acc-test-group-{range['value']}", join_type="Manual")) - foo_groups = volcengine.cloud_identity.groups(group_name="acc-test-group", + foo_groups = volcengine.cloud_identity.get_groups(group_name="acc-test-group", join_type="Manual") ``` @@ -208,4 +211,5 @@ def groups_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, :param str name_regex: A Name Regex of Resource. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""groups is deprecated: volcengine.cloud_identity/groups.Groups has been deprecated in favor of volcengine.cloud_identity/getgroups.getGroups""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/outputs.py b/sdk/python/pulumi_volcengine/cloud_identity/outputs.py index ee2ac40e..e5a17f95 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/outputs.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/outputs.py @@ -20,6 +20,13 @@ 'PermissionSetsPermissionSetPermissionPolicyResult', 'UserProvisioningsUserProvisioningResult', 'UsersUserResult', + 'GetGroupsGroupResult', + 'GetPermissionSetAssignmentsAssignmentResult', + 'GetPermissionSetProvisioningsPermissionProvisioningResult', + 'GetPermissionSetsPermissionSetResult', + 'GetPermissionSetsPermissionSetPermissionPolicyResult', + 'GetUserProvisioningsUserProvisioningResult', + 'GetUsersUserResult', ] @pulumi.output_type @@ -945,3 +952,723 @@ def user_name(self) -> str: return pulumi.get(self, "user_name") +@pulumi.output_type +class GetGroupsGroupResult(dict): + def __init__(__self__, *, + created_time: str, + description: str, + display_name: str, + group_id: str, + group_name: str, + id: str, + join_type: str, + source: str, + updated_time: str): + """ + :param str created_time: The created time of the cloud identity group. + :param str description: The description of the cloud identity group. + :param str display_name: The display name of cloud identity group. + :param str group_id: The id of the cloud identity group. + :param str group_name: The name of cloud identity group. + :param str id: The id of the cloud identity group. + :param str join_type: The join type of cloud identity group. Valid values: `Auto`, `Manual`. + :param str source: The source of the cloud identity group. + :param str updated_time: The updated time of the cloud identity group. + """ + pulumi.set(__self__, "created_time", created_time) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "group_id", group_id) + pulumi.set(__self__, "group_name", group_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "join_type", join_type) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "updated_time", updated_time) + + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> str: + """ + The created time of the cloud identity group. + """ + return pulumi.get(self, "created_time") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the cloud identity group. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of cloud identity group. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> str: + """ + The id of the cloud identity group. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="groupName") + def group_name(self) -> str: + """ + The name of cloud identity group. + """ + return pulumi.get(self, "group_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity group. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="joinType") + def join_type(self) -> str: + """ + The join type of cloud identity group. Valid values: `Auto`, `Manual`. + """ + return pulumi.get(self, "join_type") + + @property + @pulumi.getter + def source(self) -> str: + """ + The source of the cloud identity group. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="updatedTime") + def updated_time(self) -> str: + """ + The updated time of the cloud identity group. + """ + return pulumi.get(self, "updated_time") + + +@pulumi.output_type +class GetPermissionSetAssignmentsAssignmentResult(dict): + def __init__(__self__, *, + create_time: str, + id: str, + permission_set_id: str, + permission_set_name: str, + principal_id: str, + principal_type: str, + target_id: str): + """ + :param str create_time: The create time of the cloud identity permission set assignment. + :param str id: The id of the cloud identity permission set. + :param str permission_set_id: The id of cloud identity permission set. + :param str permission_set_name: The name of the cloud identity permission set. + :param str principal_id: The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + :param str principal_type: The principal type of cloud identity permission set. Valid values: `User`, `Group`. + :param str target_id: The target account id of cloud identity permission set assignment. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission_set_id", permission_set_id) + pulumi.set(__self__, "permission_set_name", permission_set_name) + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "principal_type", principal_type) + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The create time of the cloud identity permission set assignment. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="permissionSetId") + def permission_set_id(self) -> str: + """ + The id of cloud identity permission set. + """ + return pulumi.get(self, "permission_set_id") + + @property + @pulumi.getter(name="permissionSetName") + def permission_set_name(self) -> str: + """ + The name of the cloud identity permission set. + """ + return pulumi.get(self, "permission_set_name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of cloud identity permission set. When the `principal_type` is `User`, this field is specified to `UserId`. When the `principal_type` is `Group`, this field is specified to `GroupId`. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> str: + """ + The principal type of cloud identity permission set. Valid values: `User`, `Group`. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> str: + """ + The target account id of cloud identity permission set assignment. + """ + return pulumi.get(self, "target_id") + + +@pulumi.output_type +class GetPermissionSetProvisioningsPermissionProvisioningResult(dict): + def __init__(__self__, *, + create_time: str, + id: str, + permission_set_id: str, + permission_set_name: str, + target_id: str, + update_time: str): + """ + :param str create_time: The create time of the cloud identity permission set provisioning. + :param str id: The id of the cloud identity permission set. + :param str permission_set_id: The id of cloud identity permission set. + :param str permission_set_name: The name of the cloud identity permission set. + :param str target_id: The target account id of cloud identity permission set. + :param str update_time: The update time of the cloud identity permission set provisioning. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission_set_id", permission_set_id) + pulumi.set(__self__, "permission_set_name", permission_set_name) + pulumi.set(__self__, "target_id", target_id) + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The create time of the cloud identity permission set provisioning. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="permissionSetId") + def permission_set_id(self) -> str: + """ + The id of cloud identity permission set. + """ + return pulumi.get(self, "permission_set_id") + + @property + @pulumi.getter(name="permissionSetName") + def permission_set_name(self) -> str: + """ + The name of the cloud identity permission set. + """ + return pulumi.get(self, "permission_set_name") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> str: + """ + The target account id of cloud identity permission set. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> str: + """ + The update time of the cloud identity permission set provisioning. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class GetPermissionSetsPermissionSetResult(dict): + def __init__(__self__, *, + created_time: str, + description: str, + id: str, + name: str, + permission_policies: Sequence['outputs.GetPermissionSetsPermissionSetPermissionPolicyResult'], + permission_set_id: str, + relay_state: str, + session_duration: int, + updated_time: str): + """ + :param str created_time: The create time of the cloud identity permission set. + :param str description: The description of the cloud identity permission set. + :param str id: The id of the cloud identity permission set. + :param str name: The name of the cloud identity permission set. + :param Sequence['GetPermissionSetsPermissionSetPermissionPolicyArgs'] permission_policies: The policies of the cloud identity permission set. + :param str permission_set_id: The id of the cloud identity permission set. + :param str relay_state: The relay state of the cloud identity permission set. + :param int session_duration: The session duration of the cloud identity permission set. + :param str updated_time: The updated time of the cloud identity permission set. + """ + pulumi.set(__self__, "created_time", created_time) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "permission_policies", permission_policies) + pulumi.set(__self__, "permission_set_id", permission_set_id) + pulumi.set(__self__, "relay_state", relay_state) + pulumi.set(__self__, "session_duration", session_duration) + pulumi.set(__self__, "updated_time", updated_time) + + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> str: + """ + The create time of the cloud identity permission set. + """ + return pulumi.get(self, "created_time") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the cloud identity permission set. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the cloud identity permission set. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="permissionPolicies") + def permission_policies(self) -> Sequence['outputs.GetPermissionSetsPermissionSetPermissionPolicyResult']: + """ + The policies of the cloud identity permission set. + """ + return pulumi.get(self, "permission_policies") + + @property + @pulumi.getter(name="permissionSetId") + def permission_set_id(self) -> str: + """ + The id of the cloud identity permission set. + """ + return pulumi.get(self, "permission_set_id") + + @property + @pulumi.getter(name="relayState") + def relay_state(self) -> str: + """ + The relay state of the cloud identity permission set. + """ + return pulumi.get(self, "relay_state") + + @property + @pulumi.getter(name="sessionDuration") + def session_duration(self) -> int: + """ + The session duration of the cloud identity permission set. + """ + return pulumi.get(self, "session_duration") + + @property + @pulumi.getter(name="updatedTime") + def updated_time(self) -> str: + """ + The updated time of the cloud identity permission set. + """ + return pulumi.get(self, "updated_time") + + +@pulumi.output_type +class GetPermissionSetsPermissionSetPermissionPolicyResult(dict): + def __init__(__self__, *, + create_time: str, + permission_policy_document: str, + permission_policy_name: str, + permission_policy_type: str): + """ + :param str create_time: The create time of the cloud identity permission set policy. + :param str permission_policy_document: The document of the cloud identity permission set policy. + :param str permission_policy_name: The name of the cloud identity permission set policy. + :param str permission_policy_type: The type of the cloud identity permission set policy. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "permission_policy_document", permission_policy_document) + pulumi.set(__self__, "permission_policy_name", permission_policy_name) + pulumi.set(__self__, "permission_policy_type", permission_policy_type) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The create time of the cloud identity permission set policy. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter(name="permissionPolicyDocument") + def permission_policy_document(self) -> str: + """ + The document of the cloud identity permission set policy. + """ + return pulumi.get(self, "permission_policy_document") + + @property + @pulumi.getter(name="permissionPolicyName") + def permission_policy_name(self) -> str: + """ + The name of the cloud identity permission set policy. + """ + return pulumi.get(self, "permission_policy_name") + + @property + @pulumi.getter(name="permissionPolicyType") + def permission_policy_type(self) -> str: + """ + The type of the cloud identity permission set policy. + """ + return pulumi.get(self, "permission_policy_type") + + +@pulumi.output_type +class GetUserProvisioningsUserProvisioningResult(dict): + def __init__(__self__, *, + created_time: str, + deletion_strategy: str, + department_names: Sequence[str], + description: str, + duplication_strategy: str, + duplication_suffix: str, + id: str, + identity_source_strategy: str, + principal_id: str, + principal_name: str, + principal_type: str, + provision_status: str, + target_id: str, + updated_time: str, + user_provisioning_id: str): + """ + :param str created_time: The created time of the cloud identity user provisioning. + :param str deletion_strategy: The deletion strategy of the cloud identity user provisioning. + :param Sequence[str] department_names: The department names of the cloud identity user provisioning. + :param str description: The description of the cloud identity user provisioning. + :param str duplication_strategy: The duplication strategy of the cloud identity user provisioning. + :param str duplication_suffix: The duplication suffix of the cloud identity user provisioning. + :param str id: The id of the cloud identity user provisioning. + :param str identity_source_strategy: The identity source strategy of the cloud identity user provisioning. + :param str principal_id: The principal id of the cloud identity user provisioning. + :param str principal_name: The principal name of the cloud identity user provisioning. + :param str principal_type: The principal type of the cloud identity user provisioning. + :param str provision_status: The status of the cloud identity user provisioning. + :param str target_id: The target account id of the cloud identity user provisioning. + :param str updated_time: The updated time of the cloud identity user provisioning. + :param str user_provisioning_id: The id of the cloud identity user provisioning. + """ + pulumi.set(__self__, "created_time", created_time) + pulumi.set(__self__, "deletion_strategy", deletion_strategy) + pulumi.set(__self__, "department_names", department_names) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "duplication_strategy", duplication_strategy) + pulumi.set(__self__, "duplication_suffix", duplication_suffix) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "identity_source_strategy", identity_source_strategy) + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "principal_name", principal_name) + pulumi.set(__self__, "principal_type", principal_type) + pulumi.set(__self__, "provision_status", provision_status) + pulumi.set(__self__, "target_id", target_id) + pulumi.set(__self__, "updated_time", updated_time) + pulumi.set(__self__, "user_provisioning_id", user_provisioning_id) + + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> str: + """ + The created time of the cloud identity user provisioning. + """ + return pulumi.get(self, "created_time") + + @property + @pulumi.getter(name="deletionStrategy") + def deletion_strategy(self) -> str: + """ + The deletion strategy of the cloud identity user provisioning. + """ + return pulumi.get(self, "deletion_strategy") + + @property + @pulumi.getter(name="departmentNames") + def department_names(self) -> Sequence[str]: + """ + The department names of the cloud identity user provisioning. + """ + return pulumi.get(self, "department_names") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the cloud identity user provisioning. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="duplicationStrategy") + def duplication_strategy(self) -> str: + """ + The duplication strategy of the cloud identity user provisioning. + """ + return pulumi.get(self, "duplication_strategy") + + @property + @pulumi.getter(name="duplicationSuffix") + def duplication_suffix(self) -> str: + """ + The duplication suffix of the cloud identity user provisioning. + """ + return pulumi.get(self, "duplication_suffix") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity user provisioning. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="identitySourceStrategy") + def identity_source_strategy(self) -> str: + """ + The identity source strategy of the cloud identity user provisioning. + """ + return pulumi.get(self, "identity_source_strategy") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of the cloud identity user provisioning. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalName") + def principal_name(self) -> str: + """ + The principal name of the cloud identity user provisioning. + """ + return pulumi.get(self, "principal_name") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> str: + """ + The principal type of the cloud identity user provisioning. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="provisionStatus") + def provision_status(self) -> str: + """ + The status of the cloud identity user provisioning. + """ + return pulumi.get(self, "provision_status") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> str: + """ + The target account id of the cloud identity user provisioning. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="updatedTime") + def updated_time(self) -> str: + """ + The updated time of the cloud identity user provisioning. + """ + return pulumi.get(self, "updated_time") + + @property + @pulumi.getter(name="userProvisioningId") + def user_provisioning_id(self) -> str: + """ + The id of the cloud identity user provisioning. + """ + return pulumi.get(self, "user_provisioning_id") + + +@pulumi.output_type +class GetUsersUserResult(dict): + def __init__(__self__, *, + created_time: str, + description: str, + display_name: str, + email: str, + id: str, + identity_type: str, + phone: str, + source: str, + updated_time: str, + user_id: str, + user_name: str): + """ + :param str created_time: The created time of the cloud identity user. + :param str description: The description of the cloud identity user. + :param str display_name: The display name of cloud identity user. + :param str email: The email of the cloud identity user. + :param str id: The id of the cloud identity user. + :param str identity_type: The identity type of the cloud identity user. + :param str phone: The phone of the cloud identity user. + :param str source: The source of cloud identity user. Valid values: `Sync`, `Manual`. + :param str updated_time: The updated time of the cloud identity user. + :param str user_id: The id of the cloud identity user. + :param str user_name: The name of cloud identity user. + """ + pulumi.set(__self__, "created_time", created_time) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "identity_type", identity_type) + pulumi.set(__self__, "phone", phone) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "updated_time", updated_time) + pulumi.set(__self__, "user_id", user_id) + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> str: + """ + The created time of the cloud identity user. + """ + return pulumi.get(self, "created_time") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the cloud identity user. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of cloud identity user. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def email(self) -> str: + """ + The email of the cloud identity user. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the cloud identity user. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="identityType") + def identity_type(self) -> str: + """ + The identity type of the cloud identity user. + """ + return pulumi.get(self, "identity_type") + + @property + @pulumi.getter + def phone(self) -> str: + """ + The phone of the cloud identity user. + """ + return pulumi.get(self, "phone") + + @property + @pulumi.getter + def source(self) -> str: + """ + The source of cloud identity user. Valid values: `Sync`, `Manual`. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="updatedTime") + def updated_time(self) -> str: + """ + The updated time of the cloud identity user. + """ + return pulumi.get(self, "updated_time") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> str: + """ + The id of the cloud identity user. + """ + return pulumi.get(self, "user_id") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The name of cloud identity user. + """ + return pulumi.get(self, "user_name") + + diff --git a/sdk/python/pulumi_volcengine/cloud_identity/permission_set_assignments.py b/sdk/python/pulumi_volcengine/cloud_identity/permission_set_assignments.py index 801e3980..9a45a03d 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/permission_set_assignments.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/permission_set_assignments.py @@ -17,6 +17,8 @@ 'permission_set_assignments_output', ] +warnings.warn("""volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments""", DeprecationWarning) + @pulumi.output_type class PermissionSetAssignmentsResult: """ @@ -180,7 +182,7 @@ def permission_set_assignments(name_regex: Optional[str] = None, target_id="210026****", principal_type="User", principal_id=foo_user.id) - foo_permission_set_assignments = volcengine.cloud_identity.permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) + foo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) ``` @@ -191,6 +193,7 @@ def permission_set_assignments(name_regex: Optional[str] = None, :param str principal_type: The principal type of cloud identity permission set. Valid values: `User`, `Group`. :param str target_id: The target account id of cloud identity permission set assignment. """ + pulumi.log.warn("""permission_set_assignments is deprecated: volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments""") __args__ = dict() __args__['nameRegex'] = name_regex __args__['outputFile'] = output_file @@ -259,7 +262,7 @@ def permission_set_assignments_output(name_regex: Optional[pulumi.Input[Optional target_id="210026****", principal_type="User", principal_id=foo_user.id) - foo_permission_set_assignments = volcengine.cloud_identity.permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) + foo_permission_set_assignments = volcengine.cloud_identity.get_permission_set_assignments_output(permission_set_id=foo_permission_set_assignment.permission_set_id) ``` @@ -270,4 +273,5 @@ def permission_set_assignments_output(name_regex: Optional[pulumi.Input[Optional :param str principal_type: The principal type of cloud identity permission set. Valid values: `User`, `Group`. :param str target_id: The target account id of cloud identity permission set assignment. """ + pulumi.log.warn("""permission_set_assignments is deprecated: volcengine.cloud_identity/permissionsetassignments.PermissionSetAssignments has been deprecated in favor of volcengine.cloud_identity/getpermissionsetassignments.getPermissionSetAssignments""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/permission_set_provisionings.py b/sdk/python/pulumi_volcengine/cloud_identity/permission_set_provisionings.py index 6eef587c..45bd689c 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/permission_set_provisionings.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/permission_set_provisionings.py @@ -17,6 +17,8 @@ 'permission_set_provisionings_output', ] +warnings.warn("""volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings""", DeprecationWarning) + @pulumi.output_type class PermissionSetProvisioningsResult: """ @@ -124,7 +126,7 @@ def permission_set_provisionings(name_regex: Optional[str] = None, import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cloud_identity.permission_set_provisionings(target_id="210026****") + foo = volcengine.cloud_identity.get_permission_set_provisionings(target_id="210026****") ``` @@ -133,6 +135,7 @@ def permission_set_provisionings(name_regex: Optional[str] = None, :param str permission_set_id: The id of cloud identity permission set. :param str target_id: The target account id of cloud identity permission set. """ + pulumi.log.warn("""permission_set_provisionings is deprecated: volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings""") __args__ = dict() __args__['nameRegex'] = name_regex __args__['outputFile'] = output_file @@ -165,7 +168,7 @@ def permission_set_provisionings_output(name_regex: Optional[pulumi.Input[Option import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cloud_identity.permission_set_provisionings(target_id="210026****") + foo = volcengine.cloud_identity.get_permission_set_provisionings(target_id="210026****") ``` @@ -174,4 +177,5 @@ def permission_set_provisionings_output(name_regex: Optional[pulumi.Input[Option :param str permission_set_id: The id of cloud identity permission set. :param str target_id: The target account id of cloud identity permission set. """ + pulumi.log.warn("""permission_set_provisionings is deprecated: volcengine.cloud_identity/permissionsetprovisionings.PermissionSetProvisionings has been deprecated in favor of volcengine.cloud_identity/getpermissionsetprovisionings.getPermissionSetProvisionings""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/permission_sets.py b/sdk/python/pulumi_volcengine/cloud_identity/permission_sets.py index 3b269790..130f87a2 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/permission_sets.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/permission_sets.py @@ -17,6 +17,8 @@ 'permission_sets_output', ] +warnings.warn("""volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets""", DeprecationWarning) + @pulumi.output_type class PermissionSetsResult: """ @@ -129,7 +131,7 @@ def permission_sets(ids: Optional[Sequence[str]] = None, inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", ), ])) - foo_permission_sets = volcengine.cloud_identity.permission_sets_output(ids=[__item.id for __item in foo_permission_set]) + foo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set]) ``` @@ -137,6 +139,7 @@ def permission_sets(ids: Optional[Sequence[str]] = None, :param str name_regex: A Name Regex of cloud identity permission set. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""permission_sets is deprecated: volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets""") __args__ = dict() __args__['ids'] = ids __args__['nameRegex'] = name_regex @@ -187,7 +190,7 @@ def permission_sets_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] inline_policy_document="{\\"Statement\\":[{\\"Effect\\":\\"Allow\\",\\"Action\\":[\\"auto_scaling:DescribeScalingGroups\\"],\\"Resource\\":[\\"*\\"]}]}", ), ])) - foo_permission_sets = volcengine.cloud_identity.permission_sets_output(ids=[__item.id for __item in foo_permission_set]) + foo_permission_sets = volcengine.cloud_identity.get_permission_sets_output(ids=[__item.id for __item in foo_permission_set]) ``` @@ -195,4 +198,5 @@ def permission_sets_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] :param str name_regex: A Name Regex of cloud identity permission set. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""permission_sets is deprecated: volcengine.cloud_identity/permissionsets.PermissionSets has been deprecated in favor of volcengine.cloud_identity/getpermissionsets.getPermissionSets""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/user_provisionings.py b/sdk/python/pulumi_volcengine/cloud_identity/user_provisionings.py index 2a11fd00..db9955de 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/user_provisionings.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/user_provisionings.py @@ -17,6 +17,8 @@ 'user_provisionings_output', ] +warnings.warn("""volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings""", DeprecationWarning) + @pulumi.output_type class UserProvisioningsResult: """ @@ -98,13 +100,14 @@ def user_provisionings(account_id: Optional[str] = None, import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cloud_identity.user_provisionings(account_id="210026****") + foo = volcengine.cloud_identity.get_user_provisionings(account_id="210026****") ``` :param str account_id: The account id. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""user_provisionings is deprecated: volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings""") __args__ = dict() __args__['accountId'] = account_id __args__['outputFile'] = output_file @@ -131,11 +134,12 @@ def user_provisionings_output(account_id: Optional[pulumi.Input[Optional[str]]] import pulumi import pulumi_volcengine as volcengine - foo = volcengine.cloud_identity.user_provisionings(account_id="210026****") + foo = volcengine.cloud_identity.get_user_provisionings(account_id="210026****") ``` :param str account_id: The account id. :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""user_provisionings is deprecated: volcengine.cloud_identity/userprovisionings.UserProvisionings has been deprecated in favor of volcengine.cloud_identity/getuserprovisionings.getUserProvisionings""") ... diff --git a/sdk/python/pulumi_volcengine/cloud_identity/users.py b/sdk/python/pulumi_volcengine/cloud_identity/users.py index a33ae448..49697811 100644 --- a/sdk/python/pulumi_volcengine/cloud_identity/users.py +++ b/sdk/python/pulumi_volcengine/cloud_identity/users.py @@ -17,6 +17,8 @@ 'users_output', ] +warnings.warn("""volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers""", DeprecationWarning) + @pulumi.output_type class UsersResult: """ @@ -155,7 +157,7 @@ def users(department_id: Optional[str] = None, email="88@qq.com", phone="181", user_name=f"acc-test-user-{range['value']}")) - foo_users = volcengine.cloud_identity.users(source="Manual", + foo_users = volcengine.cloud_identity.get_users(source="Manual", user_name="acc-test-user") ``` @@ -167,6 +169,7 @@ def users(department_id: Optional[str] = None, :param str source: The source of cloud identity user. Valid values: `Sync`, `Manual`. :param str user_name: The name of cloud identity user. """ + pulumi.log.warn("""users is deprecated: volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers""") __args__ = dict() __args__['departmentId'] = department_id __args__['displayName'] = display_name @@ -213,7 +216,7 @@ def users_output(department_id: Optional[pulumi.Input[Optional[str]]] = None, email="88@qq.com", phone="181", user_name=f"acc-test-user-{range['value']}")) - foo_users = volcengine.cloud_identity.users(source="Manual", + foo_users = volcengine.cloud_identity.get_users(source="Manual", user_name="acc-test-user") ``` @@ -225,4 +228,5 @@ def users_output(department_id: Optional[pulumi.Input[Optional[str]]] = None, :param str source: The source of cloud identity user. Valid values: `Sync`, `Manual`. :param str user_name: The name of cloud identity user. """ + pulumi.log.warn("""users is deprecated: volcengine.cloud_identity/users.Users has been deprecated in favor of volcengine.cloud_identity/getusers.getUsers""") ... diff --git a/sdk/python/pulumi_volcengine/escloud/__init__.py b/sdk/python/pulumi_volcengine/escloud/__init__.py index 8b77971d..bf0baf31 100644 --- a/sdk/python/pulumi_volcengine/escloud/__init__.py +++ b/sdk/python/pulumi_volcengine/escloud/__init__.py @@ -5,8 +5,14 @@ from .. import _utilities import typing # Export this package's modules as members: +from .get_instances import * +from .get_instances_v2 import * +from .get_regions import * +from .get_zones import * from .instance import * +from .instance_v2 import * from .instances import * +from .ip_white_list import * from .regions import * from .zones import * from ._inputs import * diff --git a/sdk/python/pulumi_volcengine/escloud/_inputs.py b/sdk/python/pulumi_volcengine/escloud/_inputs.py index cdfdaeeb..6d955157 100644 --- a/sdk/python/pulumi_volcengine/escloud/_inputs.py +++ b/sdk/python/pulumi_volcengine/escloud/_inputs.py @@ -12,6 +12,11 @@ __all__ = [ 'InstanceInstanceConfigurationArgs', 'InstanceInstanceConfigurationNodeSpecsAssignArgs', + 'InstanceV2NetworkSpecArgs', + 'InstanceV2NodeSpecsAssignArgs', + 'InstanceV2NodeSpecsAssignExtraPerformanceArgs', + 'InstanceV2TagArgs', + 'GetInstancesV2TagArgs', ] @pulumi.input_type @@ -367,3 +372,266 @@ def storage_spec_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "storage_spec_name", value) +@pulumi.input_type +class InstanceV2NetworkSpecArgs: + def __init__(__self__, *, + bandwidth: pulumi.Input[int], + is_open: pulumi.Input[bool], + spec_name: pulumi.Input[str], + type: pulumi.Input[str]): + """ + :param pulumi.Input[int] bandwidth: The bandwidth of the eip. Unit: Mbps. + :param pulumi.Input[bool] is_open: Whether the eip is opened. + :param pulumi.Input[str] spec_name: The spec name of public network. + :param pulumi.Input[str] type: The type of public network, valid values: `Elasticsearch`, `Kibana`. + """ + pulumi.set(__self__, "bandwidth", bandwidth) + pulumi.set(__self__, "is_open", is_open) + pulumi.set(__self__, "spec_name", spec_name) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def bandwidth(self) -> pulumi.Input[int]: + """ + The bandwidth of the eip. Unit: Mbps. + """ + return pulumi.get(self, "bandwidth") + + @bandwidth.setter + def bandwidth(self, value: pulumi.Input[int]): + pulumi.set(self, "bandwidth", value) + + @property + @pulumi.getter(name="isOpen") + def is_open(self) -> pulumi.Input[bool]: + """ + Whether the eip is opened. + """ + return pulumi.get(self, "is_open") + + @is_open.setter + def is_open(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_open", value) + + @property + @pulumi.getter(name="specName") + def spec_name(self) -> pulumi.Input[str]: + """ + The spec name of public network. + """ + return pulumi.get(self, "spec_name") + + @spec_name.setter + def spec_name(self, value: pulumi.Input[str]): + pulumi.set(self, "spec_name", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of public network, valid values: `Elasticsearch`, `Kibana`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class InstanceV2NodeSpecsAssignArgs: + def __init__(__self__, *, + number: pulumi.Input[int], + resource_spec_name: pulumi.Input[str], + storage_size: pulumi.Input[int], + storage_spec_name: pulumi.Input[str], + type: pulumi.Input[str], + extra_performance: Optional[pulumi.Input['InstanceV2NodeSpecsAssignExtraPerformanceArgs']] = None): + """ + :param pulumi.Input[int] number: The number of node. + :param pulumi.Input[str] resource_spec_name: The name of compute resource spec. + :param pulumi.Input[int] storage_size: The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + :param pulumi.Input[str] storage_spec_name: The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + :param pulumi.Input[str] type: The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + :param pulumi.Input['InstanceV2NodeSpecsAssignExtraPerformanceArgs'] extra_performance: The extra performance of FlexPL storage spec. + """ + pulumi.set(__self__, "number", number) + pulumi.set(__self__, "resource_spec_name", resource_spec_name) + pulumi.set(__self__, "storage_size", storage_size) + pulumi.set(__self__, "storage_spec_name", storage_spec_name) + pulumi.set(__self__, "type", type) + if extra_performance is not None: + pulumi.set(__self__, "extra_performance", extra_performance) + + @property + @pulumi.getter + def number(self) -> pulumi.Input[int]: + """ + The number of node. + """ + return pulumi.get(self, "number") + + @number.setter + def number(self, value: pulumi.Input[int]): + pulumi.set(self, "number", value) + + @property + @pulumi.getter(name="resourceSpecName") + def resource_spec_name(self) -> pulumi.Input[str]: + """ + The name of compute resource spec. + """ + return pulumi.get(self, "resource_spec_name") + + @resource_spec_name.setter + def resource_spec_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_spec_name", value) + + @property + @pulumi.getter(name="storageSize") + def storage_size(self) -> pulumi.Input[int]: + """ + The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + """ + return pulumi.get(self, "storage_size") + + @storage_size.setter + def storage_size(self, value: pulumi.Input[int]): + pulumi.set(self, "storage_size", value) + + @property + @pulumi.getter(name="storageSpecName") + def storage_spec_name(self) -> pulumi.Input[str]: + """ + The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + """ + return pulumi.get(self, "storage_spec_name") + + @storage_spec_name.setter + def storage_spec_name(self, value: pulumi.Input[str]): + pulumi.set(self, "storage_spec_name", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="extraPerformance") + def extra_performance(self) -> Optional[pulumi.Input['InstanceV2NodeSpecsAssignExtraPerformanceArgs']]: + """ + The extra performance of FlexPL storage spec. + """ + return pulumi.get(self, "extra_performance") + + @extra_performance.setter + def extra_performance(self, value: Optional[pulumi.Input['InstanceV2NodeSpecsAssignExtraPerformanceArgs']]): + pulumi.set(self, "extra_performance", value) + + +@pulumi.input_type +class InstanceV2NodeSpecsAssignExtraPerformanceArgs: + def __init__(__self__, *, + throughput: pulumi.Input[int]): + """ + :param pulumi.Input[int] throughput: When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + The unit is MiB, and the adjustment step size is 10MiB. + """ + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter + def throughput(self) -> pulumi.Input[int]: + """ + When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + The unit is MiB, and the adjustment step size is 10MiB. + """ + return pulumi.get(self, "throughput") + + @throughput.setter + def throughput(self, value: pulumi.Input[int]): + pulumi.set(self, "throughput", value) + + +@pulumi.input_type +class InstanceV2TagArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] key: The Key of Tags. + :param pulumi.Input[str] value: The Value of Tags. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The Key of Tags. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The Value of Tags. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class GetInstancesV2TagArgs: + def __init__(__self__, *, + key: str, + values: Sequence[str]): + """ + :param str key: The Key of Tags. + :param Sequence[str] values: The Value of Tags. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Key of Tags. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + The Value of Tags. + """ + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + diff --git a/sdk/python/pulumi_volcengine/escloud/get_instances.py b/sdk/python/pulumi_volcengine/escloud/get_instances.py new file mode 100644 index 00000000..e2b075fd --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/get_instances.py @@ -0,0 +1,306 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetInstancesResult', + 'AwaitableGetInstancesResult', + 'get_instances', + 'get_instances_output', +] + +@pulumi.output_type +class GetInstancesResult: + """ + A collection of values returned by getInstances. + """ + def __init__(__self__, charge_types=None, id=None, ids=None, instances=None, names=None, output_file=None, statuses=None, total_count=None, versions=None, zone_ids=None): + if charge_types and not isinstance(charge_types, list): + raise TypeError("Expected argument 'charge_types' to be a list") + pulumi.set(__self__, "charge_types", charge_types) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ids and not isinstance(ids, list): + raise TypeError("Expected argument 'ids' to be a list") + pulumi.set(__self__, "ids", ids) + if instances and not isinstance(instances, list): + raise TypeError("Expected argument 'instances' to be a list") + pulumi.set(__self__, "instances", instances) + if names and not isinstance(names, list): + raise TypeError("Expected argument 'names' to be a list") + pulumi.set(__self__, "names", names) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + if versions and not isinstance(versions, list): + raise TypeError("Expected argument 'versions' to be a list") + pulumi.set(__self__, "versions", versions) + if zone_ids and not isinstance(zone_ids, list): + raise TypeError("Expected argument 'zone_ids' to be a list") + pulumi.set(__self__, "zone_ids", zone_ids) + + @property + @pulumi.getter(name="chargeTypes") + def charge_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "charge_types") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ids(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ids") + + @property + @pulumi.getter + def instances(self) -> Sequence['outputs.GetInstancesInstanceResult']: + """ + The collection of instance query. + """ + return pulumi.get(self, "instances") + + @property + @pulumi.getter + def names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "names") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter + def statuses(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of instance query. + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter + def versions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "versions") + + @property + @pulumi.getter(name="zoneIds") + def zone_ids(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "zone_ids") + + +class AwaitableGetInstancesResult(GetInstancesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetInstancesResult( + charge_types=self.charge_types, + id=self.id, + ids=self.ids, + instances=self.instances, + names=self.names, + output_file=self.output_file, + statuses=self.statuses, + total_count=self.total_count, + versions=self.versions, + zone_ids=self.zone_ids) + + +def get_instances(charge_types: Optional[Sequence[str]] = None, + ids: Optional[Sequence[str]] = None, + names: Optional[Sequence[str]] = None, + output_file: Optional[str] = None, + statuses: Optional[Sequence[str]] = None, + versions: Optional[Sequence[str]] = None, + zone_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstancesResult: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet_new", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance = volcengine.escloud.Instance("fooInstance", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs( + version="V6_7", + zone_number=1, + enable_https=True, + admin_user_name="admin", + admin_password="Password@@", + charge_type="PostPaid", + configuration_code="es.standard", + enable_pure_master=True, + instance_name="acc-test-0", + node_specs_assigns=[ + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x4.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=100, + ), + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Hot", + number=2, + resource_spec_name="es.x4.large", + storage_spec_name="es.volume.essd.pl0", + storage_size=100, + ), + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + ), + ], + subnet_id=foo_subnet.id, + project_name="default", + force_restart_after_scale=False, + )) + foo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id]) + ``` + + + :param Sequence[str] charge_types: The charge types of instance. + :param Sequence[str] ids: A list of instance IDs. + :param Sequence[str] names: The names of instance. + :param str output_file: File name where to save data source results. + :param Sequence[str] statuses: The list status of instance. + :param Sequence[str] versions: The versions of instance. + :param Sequence[str] zone_ids: The available zone IDs of instance. + """ + __args__ = dict() + __args__['chargeTypes'] = charge_types + __args__['ids'] = ids + __args__['names'] = names + __args__['outputFile'] = output_file + __args__['statuses'] = statuses + __args__['versions'] = versions + __args__['zoneIds'] = zone_ids + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:escloud/getInstances:getInstances', __args__, opts=opts, typ=GetInstancesResult).value + + return AwaitableGetInstancesResult( + charge_types=pulumi.get(__ret__, 'charge_types'), + id=pulumi.get(__ret__, 'id'), + ids=pulumi.get(__ret__, 'ids'), + instances=pulumi.get(__ret__, 'instances'), + names=pulumi.get(__ret__, 'names'), + output_file=pulumi.get(__ret__, 'output_file'), + statuses=pulumi.get(__ret__, 'statuses'), + total_count=pulumi.get(__ret__, 'total_count'), + versions=pulumi.get(__ret__, 'versions'), + zone_ids=pulumi.get(__ret__, 'zone_ids')) + + +@_utilities.lift_output_func(get_instances) +def get_instances_output(charge_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + versions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + zone_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancesResult]: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet_new", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance = volcengine.escloud.Instance("fooInstance", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs( + version="V6_7", + zone_number=1, + enable_https=True, + admin_user_name="admin", + admin_password="Password@@", + charge_type="PostPaid", + configuration_code="es.standard", + enable_pure_master=True, + instance_name="acc-test-0", + node_specs_assigns=[ + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x4.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=100, + ), + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Hot", + number=2, + resource_spec_name="es.x4.large", + storage_spec_name="es.volume.essd.pl0", + storage_size=100, + ), + volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + ), + ], + subnet_id=foo_subnet.id, + project_name="default", + force_restart_after_scale=False, + )) + foo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id]) + ``` + + + :param Sequence[str] charge_types: The charge types of instance. + :param Sequence[str] ids: A list of instance IDs. + :param Sequence[str] names: The names of instance. + :param str output_file: File name where to save data source results. + :param Sequence[str] statuses: The list status of instance. + :param Sequence[str] versions: The versions of instance. + :param Sequence[str] zone_ids: The available zone IDs of instance. + """ + ... diff --git a/sdk/python/pulumi_volcengine/escloud/get_instances_v2.py b/sdk/python/pulumi_volcengine/escloud/get_instances_v2.py new file mode 100644 index 00000000..767ebc93 --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/get_instances_v2.py @@ -0,0 +1,203 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetInstancesV2Result', + 'AwaitableGetInstancesV2Result', + 'get_instances_v2', + 'get_instances_v2_output', +] + +@pulumi.output_type +class GetInstancesV2Result: + """ + A collection of values returned by getInstancesV2. + """ + def __init__(__self__, charge_types=None, id=None, ids=None, instance_names=None, instances=None, output_file=None, project_name=None, statuses=None, tags=None, total_count=None, versions=None, zone_ids=None): + if charge_types and not isinstance(charge_types, list): + raise TypeError("Expected argument 'charge_types' to be a list") + pulumi.set(__self__, "charge_types", charge_types) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ids and not isinstance(ids, list): + raise TypeError("Expected argument 'ids' to be a list") + pulumi.set(__self__, "ids", ids) + if instance_names and not isinstance(instance_names, list): + raise TypeError("Expected argument 'instance_names' to be a list") + pulumi.set(__self__, "instance_names", instance_names) + if instances and not isinstance(instances, list): + raise TypeError("Expected argument 'instances' to be a list") + pulumi.set(__self__, "instances", instances) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if project_name and not isinstance(project_name, str): + raise TypeError("Expected argument 'project_name' to be a str") + pulumi.set(__self__, "project_name", project_name) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if tags and not isinstance(tags, list): + raise TypeError("Expected argument 'tags' to be a list") + pulumi.set(__self__, "tags", tags) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + if versions and not isinstance(versions, list): + raise TypeError("Expected argument 'versions' to be a list") + pulumi.set(__self__, "versions", versions) + if zone_ids and not isinstance(zone_ids, list): + raise TypeError("Expected argument 'zone_ids' to be a list") + pulumi.set(__self__, "zone_ids", zone_ids) + + @property + @pulumi.getter(name="chargeTypes") + def charge_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "charge_types") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ids(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ids") + + @property + @pulumi.getter(name="instanceNames") + def instance_names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "instance_names") + + @property + @pulumi.getter + def instances(self) -> Sequence['outputs.GetInstancesV2InstanceResult']: + return pulumi.get(self, "instances") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> Optional[str]: + return pulumi.get(self, "project_name") + + @property + @pulumi.getter + def statuses(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "statuses") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.GetInstancesV2TagResult']]: + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + return pulumi.get(self, "total_count") + + @property + @pulumi.getter + def versions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "versions") + + @property + @pulumi.getter(name="zoneIds") + def zone_ids(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "zone_ids") + + +class AwaitableGetInstancesV2Result(GetInstancesV2Result): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetInstancesV2Result( + charge_types=self.charge_types, + id=self.id, + ids=self.ids, + instance_names=self.instance_names, + instances=self.instances, + output_file=self.output_file, + project_name=self.project_name, + statuses=self.statuses, + tags=self.tags, + total_count=self.total_count, + versions=self.versions, + zone_ids=self.zone_ids) + + +def get_instances_v2(charge_types: Optional[Sequence[str]] = None, + ids: Optional[Sequence[str]] = None, + instance_names: Optional[Sequence[str]] = None, + output_file: Optional[str] = None, + project_name: Optional[str] = None, + statuses: Optional[Sequence[str]] = None, + tags: Optional[Sequence[pulumi.InputType['GetInstancesV2TagArgs']]] = None, + versions: Optional[Sequence[str]] = None, + zone_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstancesV2Result: + """ + Use this data source to access information about an existing resource. + """ + __args__ = dict() + __args__['chargeTypes'] = charge_types + __args__['ids'] = ids + __args__['instanceNames'] = instance_names + __args__['outputFile'] = output_file + __args__['projectName'] = project_name + __args__['statuses'] = statuses + __args__['tags'] = tags + __args__['versions'] = versions + __args__['zoneIds'] = zone_ids + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:escloud/getInstancesV2:getInstancesV2', __args__, opts=opts, typ=GetInstancesV2Result).value + + return AwaitableGetInstancesV2Result( + charge_types=pulumi.get(__ret__, 'charge_types'), + id=pulumi.get(__ret__, 'id'), + ids=pulumi.get(__ret__, 'ids'), + instance_names=pulumi.get(__ret__, 'instance_names'), + instances=pulumi.get(__ret__, 'instances'), + output_file=pulumi.get(__ret__, 'output_file'), + project_name=pulumi.get(__ret__, 'project_name'), + statuses=pulumi.get(__ret__, 'statuses'), + tags=pulumi.get(__ret__, 'tags'), + total_count=pulumi.get(__ret__, 'total_count'), + versions=pulumi.get(__ret__, 'versions'), + zone_ids=pulumi.get(__ret__, 'zone_ids')) + + +@_utilities.lift_output_func(get_instances_v2) +def get_instances_v2_output(charge_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + instance_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + output_file: Optional[pulumi.Input[Optional[str]]] = None, + project_name: Optional[pulumi.Input[Optional[str]]] = None, + statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + tags: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetInstancesV2TagArgs']]]]] = None, + versions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + zone_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancesV2Result]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/pulumi_volcengine/escloud/get_regions.py b/sdk/python/pulumi_volcengine/escloud/get_regions.py new file mode 100644 index 00000000..4765b15f --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/get_regions.py @@ -0,0 +1,126 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetRegionsResult', + 'AwaitableGetRegionsResult', + 'get_regions', + 'get_regions_output', +] + +@pulumi.output_type +class GetRegionsResult: + """ + A collection of values returned by getRegions. + """ + def __init__(__self__, id=None, output_file=None, regions=None, total_count=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if regions and not isinstance(regions, list): + raise TypeError("Expected argument 'regions' to be a list") + pulumi.set(__self__, "regions", regions) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter + def regions(self) -> Sequence['outputs.GetRegionsRegionResult']: + """ + The collection of region query. + """ + return pulumi.get(self, "regions") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of region query. + """ + return pulumi.get(self, "total_count") + + +class AwaitableGetRegionsResult(GetRegionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRegionsResult( + id=self.id, + output_file=self.output_file, + regions=self.regions, + total_count=self.total_count) + + +def get_regions(output_file: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionsResult: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + default = volcengine.escloud.get_regions() + ``` + + + :param str output_file: File name where to save data source results. + """ + __args__ = dict() + __args__['outputFile'] = output_file + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:escloud/getRegions:getRegions', __args__, opts=opts, typ=GetRegionsResult).value + + return AwaitableGetRegionsResult( + id=pulumi.get(__ret__, 'id'), + output_file=pulumi.get(__ret__, 'output_file'), + regions=pulumi.get(__ret__, 'regions'), + total_count=pulumi.get(__ret__, 'total_count')) + + +@_utilities.lift_output_func(get_regions) +def get_regions_output(output_file: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionsResult]: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + default = volcengine.escloud.get_regions() + ``` + + + :param str output_file: File name where to save data source results. + """ + ... diff --git a/sdk/python/pulumi_volcengine/escloud/get_zones.py b/sdk/python/pulumi_volcengine/escloud/get_zones.py new file mode 100644 index 00000000..a87b8f99 --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/get_zones.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetZonesResult', + 'AwaitableGetZonesResult', + 'get_zones', + 'get_zones_output', +] + +@pulumi.output_type +class GetZonesResult: + """ + A collection of values returned by getZones. + """ + def __init__(__self__, id=None, output_file=None, region_id=None, total_count=None, zones=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if output_file and not isinstance(output_file, str): + raise TypeError("Expected argument 'output_file' to be a str") + pulumi.set(__self__, "output_file", output_file) + if region_id and not isinstance(region_id, str): + raise TypeError("Expected argument 'region_id' to be a str") + pulumi.set(__self__, "region_id", region_id) + if total_count and not isinstance(total_count, int): + raise TypeError("Expected argument 'total_count' to be a int") + pulumi.set(__self__, "total_count", total_count) + if zones and not isinstance(zones, list): + raise TypeError("Expected argument 'zones' to be a list") + pulumi.set(__self__, "zones", zones) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="outputFile") + def output_file(self) -> Optional[str]: + return pulumi.get(self, "output_file") + + @property + @pulumi.getter(name="regionId") + def region_id(self) -> str: + return pulumi.get(self, "region_id") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + The total count of zone query. + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter + def zones(self) -> Sequence['outputs.GetZonesZoneResult']: + """ + The collection of zone query. + """ + return pulumi.get(self, "zones") + + +class AwaitableGetZonesResult(GetZonesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetZonesResult( + id=self.id, + output_file=self.output_file, + region_id=self.region_id, + total_count=self.total_count, + zones=self.zones) + + +def get_zones(output_file: Optional[str] = None, + region_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZonesResult: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + default = volcengine.escloud.get_zones(region_id="xxx") + ``` + + + :param str output_file: File name where to save data source results. + :param str region_id: The Id of Region. + """ + __args__ = dict() + __args__['outputFile'] = output_file + __args__['regionId'] = region_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('volcengine:escloud/getZones:getZones', __args__, opts=opts, typ=GetZonesResult).value + + return AwaitableGetZonesResult( + id=pulumi.get(__ret__, 'id'), + output_file=pulumi.get(__ret__, 'output_file'), + region_id=pulumi.get(__ret__, 'region_id'), + total_count=pulumi.get(__ret__, 'total_count'), + zones=pulumi.get(__ret__, 'zones')) + + +@_utilities.lift_output_func(get_zones) +def get_zones_output(output_file: Optional[pulumi.Input[Optional[str]]] = None, + region_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZonesResult]: + """ + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + default = volcengine.escloud.get_zones(region_id="xxx") + ``` + + + :param str output_file: File name where to save data source results. + :param str region_id: The Id of Region. + """ + ... diff --git a/sdk/python/pulumi_volcengine/escloud/instance.py b/sdk/python/pulumi_volcengine/escloud/instance.py index c34e1ab0..084defb9 100644 --- a/sdk/python/pulumi_volcengine/escloud/instance.py +++ b/sdk/python/pulumi_volcengine/escloud/instance.py @@ -68,7 +68,7 @@ def __init__(__self__, instance_configuration: Optional[pulumi.Input[pulumi.InputType['InstanceInstanceConfigurationArgs']]] = None, __props__=None): """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance + (Deprecated! Recommend use escloud.InstanceV2 replace) Provides a resource to manage escloud instance ## Example Usage ```python @@ -141,7 +141,7 @@ def __init__(__self__, args: InstanceArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Provides a resource to manage escloud instance + (Deprecated! Recommend use escloud.InstanceV2 replace) Provides a resource to manage escloud instance ## Example Usage ```python diff --git a/sdk/python/pulumi_volcengine/escloud/instance_v2.py b/sdk/python/pulumi_volcengine/escloud/instance_v2.py new file mode 100644 index 00000000..7949aca9 --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/instance_v2.py @@ -0,0 +1,1646 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['InstanceV2Args', 'InstanceV2'] + +@pulumi.input_type +class InstanceV2Args: + def __init__(__self__, *, + admin_password: pulumi.Input[str], + charge_type: pulumi.Input[str], + configuration_code: pulumi.Input[str], + enable_https: pulumi.Input[bool], + instance_name: pulumi.Input[str], + node_specs_assigns: pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]], + subnet_id: pulumi.Input[str], + version: pulumi.Input[str], + zone_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + auto_renew: Optional[pulumi.Input[bool]] = None, + deletion_protection: Optional[pulumi.Input[bool]] = None, + enable_pure_master: Optional[pulumi.Input[bool]] = None, + maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + maintenance_time: Optional[pulumi.Input[str]] = None, + network_specs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]] = None, + period: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]] = None): + """ + The set of arguments for constructing a InstanceV2 resource. + :param pulumi.Input[str] admin_password: The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + :param pulumi.Input[str] charge_type: The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + :param pulumi.Input[str] configuration_code: Configuration code used for billing. + :param pulumi.Input[bool] enable_https: Whether Https access is enabled. + :param pulumi.Input[str] instance_name: The name of ESCloud instance. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]] node_specs_assigns: The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + :param pulumi.Input[str] subnet_id: The id of subnet, the subnet must belong to the AZ selected. + :param pulumi.Input[str] version: The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + :param pulumi.Input[bool] auto_renew: Whether to automatically renew in prepaid scenarios. Default is false. + :param pulumi.Input[bool] deletion_protection: Whether enable deletion protection for ESCloud instance. Default is false. + :param pulumi.Input[bool] enable_pure_master: Whether the Master node is independent. + :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + :param pulumi.Input[str] maintenance_time: The maintainable time period for the instance. Works only on modified scenes. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]] network_specs: The public network config of the ESCloud instance. + :param pulumi.Input[int] period: Purchase duration in prepaid scenarios. Unit: Monthly. + :param pulumi.Input[str] project_name: The project name to which the ESCloud instance belongs. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]] tags: Tags. + """ + pulumi.set(__self__, "admin_password", admin_password) + pulumi.set(__self__, "charge_type", charge_type) + pulumi.set(__self__, "configuration_code", configuration_code) + pulumi.set(__self__, "enable_https", enable_https) + pulumi.set(__self__, "instance_name", instance_name) + pulumi.set(__self__, "node_specs_assigns", node_specs_assigns) + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "version", version) + pulumi.set(__self__, "zone_ids", zone_ids) + if auto_renew is not None: + pulumi.set(__self__, "auto_renew", auto_renew) + if deletion_protection is not None: + pulumi.set(__self__, "deletion_protection", deletion_protection) + if enable_pure_master is not None: + pulumi.set(__self__, "enable_pure_master", enable_pure_master) + if maintenance_days is not None: + pulumi.set(__self__, "maintenance_days", maintenance_days) + if maintenance_time is not None: + pulumi.set(__self__, "maintenance_time", maintenance_time) + if network_specs is not None: + pulumi.set(__self__, "network_specs", network_specs) + if period is not None: + pulumi.set(__self__, "period", period) + if project_name is not None: + pulumi.set(__self__, "project_name", project_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> pulumi.Input[str]: + """ + The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + """ + return pulumi.get(self, "admin_password") + + @admin_password.setter + def admin_password(self, value: pulumi.Input[str]): + pulumi.set(self, "admin_password", value) + + @property + @pulumi.getter(name="chargeType") + def charge_type(self) -> pulumi.Input[str]: + """ + The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + """ + return pulumi.get(self, "charge_type") + + @charge_type.setter + def charge_type(self, value: pulumi.Input[str]): + pulumi.set(self, "charge_type", value) + + @property + @pulumi.getter(name="configurationCode") + def configuration_code(self) -> pulumi.Input[str]: + """ + Configuration code used for billing. + """ + return pulumi.get(self, "configuration_code") + + @configuration_code.setter + def configuration_code(self, value: pulumi.Input[str]): + pulumi.set(self, "configuration_code", value) + + @property + @pulumi.getter(name="enableHttps") + def enable_https(self) -> pulumi.Input[bool]: + """ + Whether Https access is enabled. + """ + return pulumi.get(self, "enable_https") + + @enable_https.setter + def enable_https(self, value: pulumi.Input[bool]): + pulumi.set(self, "enable_https", value) + + @property + @pulumi.getter(name="instanceName") + def instance_name(self) -> pulumi.Input[str]: + """ + The name of ESCloud instance. + """ + return pulumi.get(self, "instance_name") + + @instance_name.setter + def instance_name(self, value: pulumi.Input[str]): + pulumi.set(self, "instance_name", value) + + @property + @pulumi.getter(name="nodeSpecsAssigns") + def node_specs_assigns(self) -> pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]]: + """ + The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + """ + return pulumi.get(self, "node_specs_assigns") + + @node_specs_assigns.setter + def node_specs_assigns(self, value: pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]]): + pulumi.set(self, "node_specs_assigns", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The id of subnet, the subnet must belong to the AZ selected. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter + def version(self) -> pulumi.Input[str]: + """ + The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: pulumi.Input[str]): + pulumi.set(self, "version", value) + + @property + @pulumi.getter(name="zoneIds") + def zone_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + return pulumi.get(self, "zone_ids") + + @zone_ids.setter + def zone_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "zone_ids", value) + + @property + @pulumi.getter(name="autoRenew") + def auto_renew(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to automatically renew in prepaid scenarios. Default is false. + """ + return pulumi.get(self, "auto_renew") + + @auto_renew.setter + def auto_renew(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "auto_renew", value) + + @property + @pulumi.getter(name="deletionProtection") + def deletion_protection(self) -> Optional[pulumi.Input[bool]]: + """ + Whether enable deletion protection for ESCloud instance. Default is false. + """ + return pulumi.get(self, "deletion_protection") + + @deletion_protection.setter + def deletion_protection(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deletion_protection", value) + + @property + @pulumi.getter(name="enablePureMaster") + def enable_pure_master(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the Master node is independent. + """ + return pulumi.get(self, "enable_pure_master") + + @enable_pure_master.setter + def enable_pure_master(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_pure_master", value) + + @property + @pulumi.getter(name="maintenanceDays") + def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_days") + + @maintenance_days.setter + def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "maintenance_days", value) + + @property + @pulumi.getter(name="maintenanceTime") + def maintenance_time(self) -> Optional[pulumi.Input[str]]: + """ + The maintainable time period for the instance. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_time") + + @maintenance_time.setter + def maintenance_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_time", value) + + @property + @pulumi.getter(name="networkSpecs") + def network_specs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]]: + """ + The public network config of the ESCloud instance. + """ + return pulumi.get(self, "network_specs") + + @network_specs.setter + def network_specs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]]): + pulumi.set(self, "network_specs", value) + + @property + @pulumi.getter + def period(self) -> Optional[pulumi.Input[int]]: + """ + Purchase duration in prepaid scenarios. Unit: Monthly. + """ + return pulumi.get(self, "period") + + @period.setter + def period(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "period", value) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> Optional[pulumi.Input[str]]: + """ + The project name to which the ESCloud instance belongs. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]]: + """ + Tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class _InstanceV2State: + def __init__(__self__, *, + admin_password: Optional[pulumi.Input[str]] = None, + auto_renew: Optional[pulumi.Input[bool]] = None, + cerebro_private_domain: Optional[pulumi.Input[str]] = None, + cerebro_public_domain: Optional[pulumi.Input[str]] = None, + charge_type: Optional[pulumi.Input[str]] = None, + configuration_code: Optional[pulumi.Input[str]] = None, + deletion_protection: Optional[pulumi.Input[bool]] = None, + enable_https: Optional[pulumi.Input[bool]] = None, + enable_pure_master: Optional[pulumi.Input[bool]] = None, + es_eip: Optional[pulumi.Input[str]] = None, + es_eip_id: Optional[pulumi.Input[str]] = None, + es_private_domain: Optional[pulumi.Input[str]] = None, + es_private_endpoint: Optional[pulumi.Input[str]] = None, + es_private_ip_whitelist: Optional[pulumi.Input[str]] = None, + es_public_domain: Optional[pulumi.Input[str]] = None, + es_public_endpoint: Optional[pulumi.Input[str]] = None, + es_public_ip_whitelist: Optional[pulumi.Input[str]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + kibana_eip: Optional[pulumi.Input[str]] = None, + kibana_eip_id: Optional[pulumi.Input[str]] = None, + kibana_private_domain: Optional[pulumi.Input[str]] = None, + kibana_private_ip_whitelist: Optional[pulumi.Input[str]] = None, + kibana_public_domain: Optional[pulumi.Input[str]] = None, + kibana_public_ip_whitelist: Optional[pulumi.Input[str]] = None, + main_zone_id: Optional[pulumi.Input[str]] = None, + maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + maintenance_time: Optional[pulumi.Input[str]] = None, + network_specs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]] = None, + node_specs_assigns: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]]] = None, + period: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]] = None, + version: Optional[pulumi.Input[str]] = None, + zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Input properties used for looking up and filtering InstanceV2 resources. + :param pulumi.Input[str] admin_password: The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + :param pulumi.Input[bool] auto_renew: Whether to automatically renew in prepaid scenarios. Default is false. + :param pulumi.Input[str] cerebro_private_domain: The cerebro private domain of instance. + :param pulumi.Input[str] cerebro_public_domain: The cerebro public domain of instance. + :param pulumi.Input[str] charge_type: The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + :param pulumi.Input[str] configuration_code: Configuration code used for billing. + :param pulumi.Input[bool] deletion_protection: Whether enable deletion protection for ESCloud instance. Default is false. + :param pulumi.Input[bool] enable_https: Whether Https access is enabled. + :param pulumi.Input[bool] enable_pure_master: Whether the Master node is independent. + :param pulumi.Input[str] es_eip: The eip address of instance. + :param pulumi.Input[str] es_eip_id: The eip id associated with the instance. + :param pulumi.Input[str] es_private_domain: The es private domain of instance. + :param pulumi.Input[str] es_private_endpoint: The es private endpoint of instance. + :param pulumi.Input[str] es_private_ip_whitelist: The whitelist of es private ip. + :param pulumi.Input[str] es_public_domain: The es public domain of instance. + :param pulumi.Input[str] es_public_endpoint: The es public endpoint of instance. + :param pulumi.Input[str] es_public_ip_whitelist: The whitelist of es public ip. + :param pulumi.Input[str] instance_name: The name of ESCloud instance. + :param pulumi.Input[str] kibana_eip: The eip address of kibana. + :param pulumi.Input[str] kibana_eip_id: The eip id associated with kibana. + :param pulumi.Input[str] kibana_private_domain: The kibana private domain of instance. + :param pulumi.Input[str] kibana_private_ip_whitelist: The whitelist of kibana private ip. + :param pulumi.Input[str] kibana_public_domain: The kibana public domain of instance. + :param pulumi.Input[str] kibana_public_ip_whitelist: The whitelist of kibana public ip. + :param pulumi.Input[str] main_zone_id: The main zone id of instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + :param pulumi.Input[str] maintenance_time: The maintainable time period for the instance. Works only on modified scenes. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]] network_specs: The public network config of the ESCloud instance. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]] node_specs_assigns: The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + :param pulumi.Input[int] period: Purchase duration in prepaid scenarios. Unit: Monthly. + :param pulumi.Input[str] project_name: The project name to which the ESCloud instance belongs. + :param pulumi.Input[str] status: The status of instance. + :param pulumi.Input[str] subnet_id: The id of subnet, the subnet must belong to the AZ selected. + :param pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]] tags: Tags. + :param pulumi.Input[str] version: The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + if admin_password is not None: + pulumi.set(__self__, "admin_password", admin_password) + if auto_renew is not None: + pulumi.set(__self__, "auto_renew", auto_renew) + if cerebro_private_domain is not None: + pulumi.set(__self__, "cerebro_private_domain", cerebro_private_domain) + if cerebro_public_domain is not None: + pulumi.set(__self__, "cerebro_public_domain", cerebro_public_domain) + if charge_type is not None: + pulumi.set(__self__, "charge_type", charge_type) + if configuration_code is not None: + pulumi.set(__self__, "configuration_code", configuration_code) + if deletion_protection is not None: + pulumi.set(__self__, "deletion_protection", deletion_protection) + if enable_https is not None: + pulumi.set(__self__, "enable_https", enable_https) + if enable_pure_master is not None: + pulumi.set(__self__, "enable_pure_master", enable_pure_master) + if es_eip is not None: + pulumi.set(__self__, "es_eip", es_eip) + if es_eip_id is not None: + pulumi.set(__self__, "es_eip_id", es_eip_id) + if es_private_domain is not None: + pulumi.set(__self__, "es_private_domain", es_private_domain) + if es_private_endpoint is not None: + pulumi.set(__self__, "es_private_endpoint", es_private_endpoint) + if es_private_ip_whitelist is not None: + pulumi.set(__self__, "es_private_ip_whitelist", es_private_ip_whitelist) + if es_public_domain is not None: + pulumi.set(__self__, "es_public_domain", es_public_domain) + if es_public_endpoint is not None: + pulumi.set(__self__, "es_public_endpoint", es_public_endpoint) + if es_public_ip_whitelist is not None: + pulumi.set(__self__, "es_public_ip_whitelist", es_public_ip_whitelist) + if instance_name is not None: + pulumi.set(__self__, "instance_name", instance_name) + if kibana_eip is not None: + pulumi.set(__self__, "kibana_eip", kibana_eip) + if kibana_eip_id is not None: + pulumi.set(__self__, "kibana_eip_id", kibana_eip_id) + if kibana_private_domain is not None: + pulumi.set(__self__, "kibana_private_domain", kibana_private_domain) + if kibana_private_ip_whitelist is not None: + pulumi.set(__self__, "kibana_private_ip_whitelist", kibana_private_ip_whitelist) + if kibana_public_domain is not None: + pulumi.set(__self__, "kibana_public_domain", kibana_public_domain) + if kibana_public_ip_whitelist is not None: + pulumi.set(__self__, "kibana_public_ip_whitelist", kibana_public_ip_whitelist) + if main_zone_id is not None: + pulumi.set(__self__, "main_zone_id", main_zone_id) + if maintenance_days is not None: + pulumi.set(__self__, "maintenance_days", maintenance_days) + if maintenance_time is not None: + pulumi.set(__self__, "maintenance_time", maintenance_time) + if network_specs is not None: + pulumi.set(__self__, "network_specs", network_specs) + if node_specs_assigns is not None: + pulumi.set(__self__, "node_specs_assigns", node_specs_assigns) + if period is not None: + pulumi.set(__self__, "period", period) + if project_name is not None: + pulumi.set(__self__, "project_name", project_name) + if status is not None: + pulumi.set(__self__, "status", status) + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if version is not None: + pulumi.set(__self__, "version", version) + if zone_ids is not None: + pulumi.set(__self__, "zone_ids", zone_ids) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> Optional[pulumi.Input[str]]: + """ + The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + """ + return pulumi.get(self, "admin_password") + + @admin_password.setter + def admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_password", value) + + @property + @pulumi.getter(name="autoRenew") + def auto_renew(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to automatically renew in prepaid scenarios. Default is false. + """ + return pulumi.get(self, "auto_renew") + + @auto_renew.setter + def auto_renew(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "auto_renew", value) + + @property + @pulumi.getter(name="cerebroPrivateDomain") + def cerebro_private_domain(self) -> Optional[pulumi.Input[str]]: + """ + The cerebro private domain of instance. + """ + return pulumi.get(self, "cerebro_private_domain") + + @cerebro_private_domain.setter + def cerebro_private_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cerebro_private_domain", value) + + @property + @pulumi.getter(name="cerebroPublicDomain") + def cerebro_public_domain(self) -> Optional[pulumi.Input[str]]: + """ + The cerebro public domain of instance. + """ + return pulumi.get(self, "cerebro_public_domain") + + @cerebro_public_domain.setter + def cerebro_public_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cerebro_public_domain", value) + + @property + @pulumi.getter(name="chargeType") + def charge_type(self) -> Optional[pulumi.Input[str]]: + """ + The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + """ + return pulumi.get(self, "charge_type") + + @charge_type.setter + def charge_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "charge_type", value) + + @property + @pulumi.getter(name="configurationCode") + def configuration_code(self) -> Optional[pulumi.Input[str]]: + """ + Configuration code used for billing. + """ + return pulumi.get(self, "configuration_code") + + @configuration_code.setter + def configuration_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration_code", value) + + @property + @pulumi.getter(name="deletionProtection") + def deletion_protection(self) -> Optional[pulumi.Input[bool]]: + """ + Whether enable deletion protection for ESCloud instance. Default is false. + """ + return pulumi.get(self, "deletion_protection") + + @deletion_protection.setter + def deletion_protection(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deletion_protection", value) + + @property + @pulumi.getter(name="enableHttps") + def enable_https(self) -> Optional[pulumi.Input[bool]]: + """ + Whether Https access is enabled. + """ + return pulumi.get(self, "enable_https") + + @enable_https.setter + def enable_https(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_https", value) + + @property + @pulumi.getter(name="enablePureMaster") + def enable_pure_master(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the Master node is independent. + """ + return pulumi.get(self, "enable_pure_master") + + @enable_pure_master.setter + def enable_pure_master(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_pure_master", value) + + @property + @pulumi.getter(name="esEip") + def es_eip(self) -> Optional[pulumi.Input[str]]: + """ + The eip address of instance. + """ + return pulumi.get(self, "es_eip") + + @es_eip.setter + def es_eip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_eip", value) + + @property + @pulumi.getter(name="esEipId") + def es_eip_id(self) -> Optional[pulumi.Input[str]]: + """ + The eip id associated with the instance. + """ + return pulumi.get(self, "es_eip_id") + + @es_eip_id.setter + def es_eip_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_eip_id", value) + + @property + @pulumi.getter(name="esPrivateDomain") + def es_private_domain(self) -> Optional[pulumi.Input[str]]: + """ + The es private domain of instance. + """ + return pulumi.get(self, "es_private_domain") + + @es_private_domain.setter + def es_private_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_private_domain", value) + + @property + @pulumi.getter(name="esPrivateEndpoint") + def es_private_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The es private endpoint of instance. + """ + return pulumi.get(self, "es_private_endpoint") + + @es_private_endpoint.setter + def es_private_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_private_endpoint", value) + + @property + @pulumi.getter(name="esPrivateIpWhitelist") + def es_private_ip_whitelist(self) -> Optional[pulumi.Input[str]]: + """ + The whitelist of es private ip. + """ + return pulumi.get(self, "es_private_ip_whitelist") + + @es_private_ip_whitelist.setter + def es_private_ip_whitelist(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_private_ip_whitelist", value) + + @property + @pulumi.getter(name="esPublicDomain") + def es_public_domain(self) -> Optional[pulumi.Input[str]]: + """ + The es public domain of instance. + """ + return pulumi.get(self, "es_public_domain") + + @es_public_domain.setter + def es_public_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_public_domain", value) + + @property + @pulumi.getter(name="esPublicEndpoint") + def es_public_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The es public endpoint of instance. + """ + return pulumi.get(self, "es_public_endpoint") + + @es_public_endpoint.setter + def es_public_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_public_endpoint", value) + + @property + @pulumi.getter(name="esPublicIpWhitelist") + def es_public_ip_whitelist(self) -> Optional[pulumi.Input[str]]: + """ + The whitelist of es public ip. + """ + return pulumi.get(self, "es_public_ip_whitelist") + + @es_public_ip_whitelist.setter + def es_public_ip_whitelist(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "es_public_ip_whitelist", value) + + @property + @pulumi.getter(name="instanceName") + def instance_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of ESCloud instance. + """ + return pulumi.get(self, "instance_name") + + @instance_name.setter + def instance_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_name", value) + + @property + @pulumi.getter(name="kibanaEip") + def kibana_eip(self) -> Optional[pulumi.Input[str]]: + """ + The eip address of kibana. + """ + return pulumi.get(self, "kibana_eip") + + @kibana_eip.setter + def kibana_eip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_eip", value) + + @property + @pulumi.getter(name="kibanaEipId") + def kibana_eip_id(self) -> Optional[pulumi.Input[str]]: + """ + The eip id associated with kibana. + """ + return pulumi.get(self, "kibana_eip_id") + + @kibana_eip_id.setter + def kibana_eip_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_eip_id", value) + + @property + @pulumi.getter(name="kibanaPrivateDomain") + def kibana_private_domain(self) -> Optional[pulumi.Input[str]]: + """ + The kibana private domain of instance. + """ + return pulumi.get(self, "kibana_private_domain") + + @kibana_private_domain.setter + def kibana_private_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_private_domain", value) + + @property + @pulumi.getter(name="kibanaPrivateIpWhitelist") + def kibana_private_ip_whitelist(self) -> Optional[pulumi.Input[str]]: + """ + The whitelist of kibana private ip. + """ + return pulumi.get(self, "kibana_private_ip_whitelist") + + @kibana_private_ip_whitelist.setter + def kibana_private_ip_whitelist(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_private_ip_whitelist", value) + + @property + @pulumi.getter(name="kibanaPublicDomain") + def kibana_public_domain(self) -> Optional[pulumi.Input[str]]: + """ + The kibana public domain of instance. + """ + return pulumi.get(self, "kibana_public_domain") + + @kibana_public_domain.setter + def kibana_public_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_public_domain", value) + + @property + @pulumi.getter(name="kibanaPublicIpWhitelist") + def kibana_public_ip_whitelist(self) -> Optional[pulumi.Input[str]]: + """ + The whitelist of kibana public ip. + """ + return pulumi.get(self, "kibana_public_ip_whitelist") + + @kibana_public_ip_whitelist.setter + def kibana_public_ip_whitelist(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kibana_public_ip_whitelist", value) + + @property + @pulumi.getter(name="mainZoneId") + def main_zone_id(self) -> Optional[pulumi.Input[str]]: + """ + The main zone id of instance. + """ + return pulumi.get(self, "main_zone_id") + + @main_zone_id.setter + def main_zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "main_zone_id", value) + + @property + @pulumi.getter(name="maintenanceDays") + def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_days") + + @maintenance_days.setter + def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "maintenance_days", value) + + @property + @pulumi.getter(name="maintenanceTime") + def maintenance_time(self) -> Optional[pulumi.Input[str]]: + """ + The maintainable time period for the instance. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_time") + + @maintenance_time.setter + def maintenance_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_time", value) + + @property + @pulumi.getter(name="networkSpecs") + def network_specs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]]: + """ + The public network config of the ESCloud instance. + """ + return pulumi.get(self, "network_specs") + + @network_specs.setter + def network_specs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NetworkSpecArgs']]]]): + pulumi.set(self, "network_specs", value) + + @property + @pulumi.getter(name="nodeSpecsAssigns") + def node_specs_assigns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]]]: + """ + The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + """ + return pulumi.get(self, "node_specs_assigns") + + @node_specs_assigns.setter + def node_specs_assigns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2NodeSpecsAssignArgs']]]]): + pulumi.set(self, "node_specs_assigns", value) + + @property + @pulumi.getter + def period(self) -> Optional[pulumi.Input[int]]: + """ + Purchase duration in prepaid scenarios. Unit: Monthly. + """ + return pulumi.get(self, "period") + + @period.setter + def period(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "period", value) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> Optional[pulumi.Input[str]]: + """ + The project name to which the ESCloud instance belongs. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The status of instance. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The id of subnet, the subnet must belong to the AZ selected. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]]: + """ + Tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceV2TagArgs']]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[str]]: + """ + The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version", value) + + @property + @pulumi.getter(name="zoneIds") + def zone_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + return pulumi.get(self, "zone_ids") + + @zone_ids.setter + def zone_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "zone_ids", value) + + +class InstanceV2(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + admin_password: Optional[pulumi.Input[str]] = None, + auto_renew: Optional[pulumi.Input[bool]] = None, + charge_type: Optional[pulumi.Input[str]] = None, + configuration_code: Optional[pulumi.Input[str]] = None, + deletion_protection: Optional[pulumi.Input[bool]] = None, + enable_https: Optional[pulumi.Input[bool]] = None, + enable_pure_master: Optional[pulumi.Input[bool]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + maintenance_time: Optional[pulumi.Input[str]] = None, + network_specs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NetworkSpecArgs']]]]] = None, + node_specs_assigns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NodeSpecsAssignArgs']]]]] = None, + period: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2TagArgs']]]]] = None, + version: Optional[pulumi.Input[str]] = None, + zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + """ + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", + instance_name="acc-test-escloud-instance", + version="V7_10", + zone_ids=[ + foo_zones.zones[0].id, + foo_zones.zones[1].id, + foo_zones.zones[2].id, + ], + subnet_id=foo_subnet.id, + enable_https=False, + admin_password="Password@@123", + charge_type="PostPaid", + auto_renew=False, + period=1, + configuration_code="es.standard", + enable_pure_master=True, + deletion_protection=False, + project_name="default", + node_specs_assigns=[ + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=20, + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Hot", + number=6, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.flexpl-standard", + storage_size=500, + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( + throughput=65, + ), + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + storage_spec_name="", + storage_size=0, + ), + ], + network_specs=[ + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Elasticsearch", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Kibana", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + ], + tags=[volcengine.escloud.InstanceV2TagArgs( + key="k1", + value="v1", + )]) + # maintenance_time = "02:00-08:00" + # maintenance_day = ["FRIDAY", "MONDAY"] + ``` + + ## Import + + EscloudInstanceV2 can be imported using the id, e.g. + + ```sh + $ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] admin_password: The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + :param pulumi.Input[bool] auto_renew: Whether to automatically renew in prepaid scenarios. Default is false. + :param pulumi.Input[str] charge_type: The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + :param pulumi.Input[str] configuration_code: Configuration code used for billing. + :param pulumi.Input[bool] deletion_protection: Whether enable deletion protection for ESCloud instance. Default is false. + :param pulumi.Input[bool] enable_https: Whether Https access is enabled. + :param pulumi.Input[bool] enable_pure_master: Whether the Master node is independent. + :param pulumi.Input[str] instance_name: The name of ESCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + :param pulumi.Input[str] maintenance_time: The maintainable time period for the instance. Works only on modified scenes. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NetworkSpecArgs']]]] network_specs: The public network config of the ESCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NodeSpecsAssignArgs']]]] node_specs_assigns: The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + :param pulumi.Input[int] period: Purchase duration in prepaid scenarios. Unit: Monthly. + :param pulumi.Input[str] project_name: The project name to which the ESCloud instance belongs. + :param pulumi.Input[str] subnet_id: The id of subnet, the subnet must belong to the AZ selected. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2TagArgs']]]] tags: Tags. + :param pulumi.Input[str] version: The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: InstanceV2Args, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", + instance_name="acc-test-escloud-instance", + version="V7_10", + zone_ids=[ + foo_zones.zones[0].id, + foo_zones.zones[1].id, + foo_zones.zones[2].id, + ], + subnet_id=foo_subnet.id, + enable_https=False, + admin_password="Password@@123", + charge_type="PostPaid", + auto_renew=False, + period=1, + configuration_code="es.standard", + enable_pure_master=True, + deletion_protection=False, + project_name="default", + node_specs_assigns=[ + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=20, + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Hot", + number=6, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.flexpl-standard", + storage_size=500, + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( + throughput=65, + ), + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + storage_spec_name="", + storage_size=0, + ), + ], + network_specs=[ + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Elasticsearch", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Kibana", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + ], + tags=[volcengine.escloud.InstanceV2TagArgs( + key="k1", + value="v1", + )]) + # maintenance_time = "02:00-08:00" + # maintenance_day = ["FRIDAY", "MONDAY"] + ``` + + ## Import + + EscloudInstanceV2 can be imported using the id, e.g. + + ```sh + $ pulumi import volcengine:escloud/instanceV2:InstanceV2 default resource_id + ``` + + :param str resource_name: The name of the resource. + :param InstanceV2Args args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(InstanceV2Args, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + admin_password: Optional[pulumi.Input[str]] = None, + auto_renew: Optional[pulumi.Input[bool]] = None, + charge_type: Optional[pulumi.Input[str]] = None, + configuration_code: Optional[pulumi.Input[str]] = None, + deletion_protection: Optional[pulumi.Input[bool]] = None, + enable_https: Optional[pulumi.Input[bool]] = None, + enable_pure_master: Optional[pulumi.Input[bool]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + maintenance_time: Optional[pulumi.Input[str]] = None, + network_specs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NetworkSpecArgs']]]]] = None, + node_specs_assigns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NodeSpecsAssignArgs']]]]] = None, + period: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2TagArgs']]]]] = None, + version: Optional[pulumi.Input[str]] = None, + zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = InstanceV2Args.__new__(InstanceV2Args) + + if admin_password is None and not opts.urn: + raise TypeError("Missing required property 'admin_password'") + __props__.__dict__["admin_password"] = None if admin_password is None else pulumi.Output.secret(admin_password) + __props__.__dict__["auto_renew"] = auto_renew + if charge_type is None and not opts.urn: + raise TypeError("Missing required property 'charge_type'") + __props__.__dict__["charge_type"] = charge_type + if configuration_code is None and not opts.urn: + raise TypeError("Missing required property 'configuration_code'") + __props__.__dict__["configuration_code"] = configuration_code + __props__.__dict__["deletion_protection"] = deletion_protection + if enable_https is None and not opts.urn: + raise TypeError("Missing required property 'enable_https'") + __props__.__dict__["enable_https"] = enable_https + __props__.__dict__["enable_pure_master"] = enable_pure_master + if instance_name is None and not opts.urn: + raise TypeError("Missing required property 'instance_name'") + __props__.__dict__["instance_name"] = instance_name + __props__.__dict__["maintenance_days"] = maintenance_days + __props__.__dict__["maintenance_time"] = maintenance_time + __props__.__dict__["network_specs"] = network_specs + if node_specs_assigns is None and not opts.urn: + raise TypeError("Missing required property 'node_specs_assigns'") + __props__.__dict__["node_specs_assigns"] = node_specs_assigns + __props__.__dict__["period"] = period + __props__.__dict__["project_name"] = project_name + if subnet_id is None and not opts.urn: + raise TypeError("Missing required property 'subnet_id'") + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["tags"] = tags + if version is None and not opts.urn: + raise TypeError("Missing required property 'version'") + __props__.__dict__["version"] = version + if zone_ids is None and not opts.urn: + raise TypeError("Missing required property 'zone_ids'") + __props__.__dict__["zone_ids"] = zone_ids + __props__.__dict__["cerebro_private_domain"] = None + __props__.__dict__["cerebro_public_domain"] = None + __props__.__dict__["es_eip"] = None + __props__.__dict__["es_eip_id"] = None + __props__.__dict__["es_private_domain"] = None + __props__.__dict__["es_private_endpoint"] = None + __props__.__dict__["es_private_ip_whitelist"] = None + __props__.__dict__["es_public_domain"] = None + __props__.__dict__["es_public_endpoint"] = None + __props__.__dict__["es_public_ip_whitelist"] = None + __props__.__dict__["kibana_eip"] = None + __props__.__dict__["kibana_eip_id"] = None + __props__.__dict__["kibana_private_domain"] = None + __props__.__dict__["kibana_private_ip_whitelist"] = None + __props__.__dict__["kibana_public_domain"] = None + __props__.__dict__["kibana_public_ip_whitelist"] = None + __props__.__dict__["main_zone_id"] = None + __props__.__dict__["status"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["adminPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(InstanceV2, __self__).__init__( + 'volcengine:escloud/instanceV2:InstanceV2', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + admin_password: Optional[pulumi.Input[str]] = None, + auto_renew: Optional[pulumi.Input[bool]] = None, + cerebro_private_domain: Optional[pulumi.Input[str]] = None, + cerebro_public_domain: Optional[pulumi.Input[str]] = None, + charge_type: Optional[pulumi.Input[str]] = None, + configuration_code: Optional[pulumi.Input[str]] = None, + deletion_protection: Optional[pulumi.Input[bool]] = None, + enable_https: Optional[pulumi.Input[bool]] = None, + enable_pure_master: Optional[pulumi.Input[bool]] = None, + es_eip: Optional[pulumi.Input[str]] = None, + es_eip_id: Optional[pulumi.Input[str]] = None, + es_private_domain: Optional[pulumi.Input[str]] = None, + es_private_endpoint: Optional[pulumi.Input[str]] = None, + es_private_ip_whitelist: Optional[pulumi.Input[str]] = None, + es_public_domain: Optional[pulumi.Input[str]] = None, + es_public_endpoint: Optional[pulumi.Input[str]] = None, + es_public_ip_whitelist: Optional[pulumi.Input[str]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + kibana_eip: Optional[pulumi.Input[str]] = None, + kibana_eip_id: Optional[pulumi.Input[str]] = None, + kibana_private_domain: Optional[pulumi.Input[str]] = None, + kibana_private_ip_whitelist: Optional[pulumi.Input[str]] = None, + kibana_public_domain: Optional[pulumi.Input[str]] = None, + kibana_public_ip_whitelist: Optional[pulumi.Input[str]] = None, + main_zone_id: Optional[pulumi.Input[str]] = None, + maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + maintenance_time: Optional[pulumi.Input[str]] = None, + network_specs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NetworkSpecArgs']]]]] = None, + node_specs_assigns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NodeSpecsAssignArgs']]]]] = None, + period: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2TagArgs']]]]] = None, + version: Optional[pulumi.Input[str]] = None, + zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'InstanceV2': + """ + Get an existing InstanceV2 resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] admin_password: The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + :param pulumi.Input[bool] auto_renew: Whether to automatically renew in prepaid scenarios. Default is false. + :param pulumi.Input[str] cerebro_private_domain: The cerebro private domain of instance. + :param pulumi.Input[str] cerebro_public_domain: The cerebro public domain of instance. + :param pulumi.Input[str] charge_type: The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + :param pulumi.Input[str] configuration_code: Configuration code used for billing. + :param pulumi.Input[bool] deletion_protection: Whether enable deletion protection for ESCloud instance. Default is false. + :param pulumi.Input[bool] enable_https: Whether Https access is enabled. + :param pulumi.Input[bool] enable_pure_master: Whether the Master node is independent. + :param pulumi.Input[str] es_eip: The eip address of instance. + :param pulumi.Input[str] es_eip_id: The eip id associated with the instance. + :param pulumi.Input[str] es_private_domain: The es private domain of instance. + :param pulumi.Input[str] es_private_endpoint: The es private endpoint of instance. + :param pulumi.Input[str] es_private_ip_whitelist: The whitelist of es private ip. + :param pulumi.Input[str] es_public_domain: The es public domain of instance. + :param pulumi.Input[str] es_public_endpoint: The es public endpoint of instance. + :param pulumi.Input[str] es_public_ip_whitelist: The whitelist of es public ip. + :param pulumi.Input[str] instance_name: The name of ESCloud instance. + :param pulumi.Input[str] kibana_eip: The eip address of kibana. + :param pulumi.Input[str] kibana_eip_id: The eip id associated with kibana. + :param pulumi.Input[str] kibana_private_domain: The kibana private domain of instance. + :param pulumi.Input[str] kibana_private_ip_whitelist: The whitelist of kibana private ip. + :param pulumi.Input[str] kibana_public_domain: The kibana public domain of instance. + :param pulumi.Input[str] kibana_public_ip_whitelist: The whitelist of kibana public ip. + :param pulumi.Input[str] main_zone_id: The main zone id of instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + :param pulumi.Input[str] maintenance_time: The maintainable time period for the instance. Works only on modified scenes. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NetworkSpecArgs']]]] network_specs: The public network config of the ESCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2NodeSpecsAssignArgs']]]] node_specs_assigns: The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + :param pulumi.Input[int] period: Purchase duration in prepaid scenarios. Unit: Monthly. + :param pulumi.Input[str] project_name: The project name to which the ESCloud instance belongs. + :param pulumi.Input[str] status: The status of instance. + :param pulumi.Input[str] subnet_id: The id of subnet, the subnet must belong to the AZ selected. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceV2TagArgs']]]] tags: Tags. + :param pulumi.Input[str] version: The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _InstanceV2State.__new__(_InstanceV2State) + + __props__.__dict__["admin_password"] = admin_password + __props__.__dict__["auto_renew"] = auto_renew + __props__.__dict__["cerebro_private_domain"] = cerebro_private_domain + __props__.__dict__["cerebro_public_domain"] = cerebro_public_domain + __props__.__dict__["charge_type"] = charge_type + __props__.__dict__["configuration_code"] = configuration_code + __props__.__dict__["deletion_protection"] = deletion_protection + __props__.__dict__["enable_https"] = enable_https + __props__.__dict__["enable_pure_master"] = enable_pure_master + __props__.__dict__["es_eip"] = es_eip + __props__.__dict__["es_eip_id"] = es_eip_id + __props__.__dict__["es_private_domain"] = es_private_domain + __props__.__dict__["es_private_endpoint"] = es_private_endpoint + __props__.__dict__["es_private_ip_whitelist"] = es_private_ip_whitelist + __props__.__dict__["es_public_domain"] = es_public_domain + __props__.__dict__["es_public_endpoint"] = es_public_endpoint + __props__.__dict__["es_public_ip_whitelist"] = es_public_ip_whitelist + __props__.__dict__["instance_name"] = instance_name + __props__.__dict__["kibana_eip"] = kibana_eip + __props__.__dict__["kibana_eip_id"] = kibana_eip_id + __props__.__dict__["kibana_private_domain"] = kibana_private_domain + __props__.__dict__["kibana_private_ip_whitelist"] = kibana_private_ip_whitelist + __props__.__dict__["kibana_public_domain"] = kibana_public_domain + __props__.__dict__["kibana_public_ip_whitelist"] = kibana_public_ip_whitelist + __props__.__dict__["main_zone_id"] = main_zone_id + __props__.__dict__["maintenance_days"] = maintenance_days + __props__.__dict__["maintenance_time"] = maintenance_time + __props__.__dict__["network_specs"] = network_specs + __props__.__dict__["node_specs_assigns"] = node_specs_assigns + __props__.__dict__["period"] = period + __props__.__dict__["project_name"] = project_name + __props__.__dict__["status"] = status + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["tags"] = tags + __props__.__dict__["version"] = version + __props__.__dict__["zone_ids"] = zone_ids + return InstanceV2(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> pulumi.Output[str]: + """ + The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields. + """ + return pulumi.get(self, "admin_password") + + @property + @pulumi.getter(name="autoRenew") + def auto_renew(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to automatically renew in prepaid scenarios. Default is false. + """ + return pulumi.get(self, "auto_renew") + + @property + @pulumi.getter(name="cerebroPrivateDomain") + def cerebro_private_domain(self) -> pulumi.Output[str]: + """ + The cerebro private domain of instance. + """ + return pulumi.get(self, "cerebro_private_domain") + + @property + @pulumi.getter(name="cerebroPublicDomain") + def cerebro_public_domain(self) -> pulumi.Output[str]: + """ + The cerebro public domain of instance. + """ + return pulumi.get(self, "cerebro_public_domain") + + @property + @pulumi.getter(name="chargeType") + def charge_type(self) -> pulumi.Output[str]: + """ + The charge type of ESCloud instance, valid values: `PostPaid`, `PrePaid`. + """ + return pulumi.get(self, "charge_type") + + @property + @pulumi.getter(name="configurationCode") + def configuration_code(self) -> pulumi.Output[str]: + """ + Configuration code used for billing. + """ + return pulumi.get(self, "configuration_code") + + @property + @pulumi.getter(name="deletionProtection") + def deletion_protection(self) -> pulumi.Output[Optional[bool]]: + """ + Whether enable deletion protection for ESCloud instance. Default is false. + """ + return pulumi.get(self, "deletion_protection") + + @property + @pulumi.getter(name="enableHttps") + def enable_https(self) -> pulumi.Output[bool]: + """ + Whether Https access is enabled. + """ + return pulumi.get(self, "enable_https") + + @property + @pulumi.getter(name="enablePureMaster") + def enable_pure_master(self) -> pulumi.Output[bool]: + """ + Whether the Master node is independent. + """ + return pulumi.get(self, "enable_pure_master") + + @property + @pulumi.getter(name="esEip") + def es_eip(self) -> pulumi.Output[str]: + """ + The eip address of instance. + """ + return pulumi.get(self, "es_eip") + + @property + @pulumi.getter(name="esEipId") + def es_eip_id(self) -> pulumi.Output[str]: + """ + The eip id associated with the instance. + """ + return pulumi.get(self, "es_eip_id") + + @property + @pulumi.getter(name="esPrivateDomain") + def es_private_domain(self) -> pulumi.Output[str]: + """ + The es private domain of instance. + """ + return pulumi.get(self, "es_private_domain") + + @property + @pulumi.getter(name="esPrivateEndpoint") + def es_private_endpoint(self) -> pulumi.Output[str]: + """ + The es private endpoint of instance. + """ + return pulumi.get(self, "es_private_endpoint") + + @property + @pulumi.getter(name="esPrivateIpWhitelist") + def es_private_ip_whitelist(self) -> pulumi.Output[str]: + """ + The whitelist of es private ip. + """ + return pulumi.get(self, "es_private_ip_whitelist") + + @property + @pulumi.getter(name="esPublicDomain") + def es_public_domain(self) -> pulumi.Output[str]: + """ + The es public domain of instance. + """ + return pulumi.get(self, "es_public_domain") + + @property + @pulumi.getter(name="esPublicEndpoint") + def es_public_endpoint(self) -> pulumi.Output[str]: + """ + The es public endpoint of instance. + """ + return pulumi.get(self, "es_public_endpoint") + + @property + @pulumi.getter(name="esPublicIpWhitelist") + def es_public_ip_whitelist(self) -> pulumi.Output[str]: + """ + The whitelist of es public ip. + """ + return pulumi.get(self, "es_public_ip_whitelist") + + @property + @pulumi.getter(name="instanceName") + def instance_name(self) -> pulumi.Output[str]: + """ + The name of ESCloud instance. + """ + return pulumi.get(self, "instance_name") + + @property + @pulumi.getter(name="kibanaEip") + def kibana_eip(self) -> pulumi.Output[str]: + """ + The eip address of kibana. + """ + return pulumi.get(self, "kibana_eip") + + @property + @pulumi.getter(name="kibanaEipId") + def kibana_eip_id(self) -> pulumi.Output[str]: + """ + The eip id associated with kibana. + """ + return pulumi.get(self, "kibana_eip_id") + + @property + @pulumi.getter(name="kibanaPrivateDomain") + def kibana_private_domain(self) -> pulumi.Output[str]: + """ + The kibana private domain of instance. + """ + return pulumi.get(self, "kibana_private_domain") + + @property + @pulumi.getter(name="kibanaPrivateIpWhitelist") + def kibana_private_ip_whitelist(self) -> pulumi.Output[str]: + """ + The whitelist of kibana private ip. + """ + return pulumi.get(self, "kibana_private_ip_whitelist") + + @property + @pulumi.getter(name="kibanaPublicDomain") + def kibana_public_domain(self) -> pulumi.Output[str]: + """ + The kibana public domain of instance. + """ + return pulumi.get(self, "kibana_public_domain") + + @property + @pulumi.getter(name="kibanaPublicIpWhitelist") + def kibana_public_ip_whitelist(self) -> pulumi.Output[str]: + """ + The whitelist of kibana public ip. + """ + return pulumi.get(self, "kibana_public_ip_whitelist") + + @property + @pulumi.getter(name="mainZoneId") + def main_zone_id(self) -> pulumi.Output[str]: + """ + The main zone id of instance. + """ + return pulumi.get(self, "main_zone_id") + + @property + @pulumi.getter(name="maintenanceDays") + def maintenance_days(self) -> pulumi.Output[Sequence[str]]: + """ + The maintainable day for the instance. Valid values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_days") + + @property + @pulumi.getter(name="maintenanceTime") + def maintenance_time(self) -> pulumi.Output[str]: + """ + The maintainable time period for the instance. Works only on modified scenes. + """ + return pulumi.get(self, "maintenance_time") + + @property + @pulumi.getter(name="networkSpecs") + def network_specs(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceV2NetworkSpec']]]: + """ + The public network config of the ESCloud instance. + """ + return pulumi.get(self, "network_specs") + + @property + @pulumi.getter(name="nodeSpecsAssigns") + def node_specs_assigns(self) -> pulumi.Output[Sequence['outputs.InstanceV2NodeSpecsAssign']]: + """ + The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified. + """ + return pulumi.get(self, "node_specs_assigns") + + @property + @pulumi.getter + def period(self) -> pulumi.Output[Optional[int]]: + """ + Purchase duration in prepaid scenarios. Unit: Monthly. + """ + return pulumi.get(self, "period") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> pulumi.Output[str]: + """ + The project name to which the ESCloud instance belongs. + """ + return pulumi.get(self, "project_name") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The status of instance. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Output[str]: + """ + The id of subnet, the subnet must belong to the AZ selected. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceV2Tag']]]: + """ + Tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[str]: + """ + The version of instance. When creating ESCloud instance, the valid value is `V6_7` or `V7_10`. When creating OpenSearch instance, the valid value is `OPEN_SEARCH_2_9`. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="zoneIds") + def zone_ids(self) -> pulumi.Output[Sequence[str]]: + """ + The zone id of the ESCloud instance. Support specifying multiple availability zones. + The first zone id is the primary availability zone, while the rest are backup availability zones. + """ + return pulumi.get(self, "zone_ids") + diff --git a/sdk/python/pulumi_volcengine/escloud/instances.py b/sdk/python/pulumi_volcengine/escloud/instances.py index d5c0c868..387b6f30 100644 --- a/sdk/python/pulumi_volcengine/escloud/instances.py +++ b/sdk/python/pulumi_volcengine/escloud/instances.py @@ -17,6 +17,8 @@ 'instances_output', ] +warnings.warn("""volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances""", DeprecationWarning) + @pulumi.output_type class InstancesResult: """ @@ -141,7 +143,7 @@ def instances(charge_types: Optional[Sequence[str]] = None, zone_ids: Optional[Sequence[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableInstancesResult: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances ## Example Usage ```python @@ -193,7 +195,7 @@ def instances(charge_types: Optional[Sequence[str]] = None, project_name="default", force_restart_after_scale=False, )) - foo_instances = volcengine.escloud.instances_output(ids=[foo_instance.id]) + foo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id]) ``` @@ -205,6 +207,7 @@ def instances(charge_types: Optional[Sequence[str]] = None, :param Sequence[str] versions: The versions of instance. :param Sequence[str] zone_ids: The available zone IDs of instance. """ + pulumi.log.warn("""instances is deprecated: volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances""") __args__ = dict() __args__['chargeTypes'] = charge_types __args__['ids'] = ids @@ -239,7 +242,7 @@ def instances_output(charge_types: Optional[pulumi.Input[Optional[Sequence[str]] zone_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[InstancesResult]: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud instances + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud instances ## Example Usage ```python @@ -291,7 +294,7 @@ def instances_output(charge_types: Optional[pulumi.Input[Optional[Sequence[str]] project_name="default", force_restart_after_scale=False, )) - foo_instances = volcengine.escloud.instances_output(ids=[foo_instance.id]) + foo_instances = volcengine.escloud.get_instances_output(ids=[foo_instance.id]) ``` @@ -303,4 +306,5 @@ def instances_output(charge_types: Optional[pulumi.Input[Optional[Sequence[str]] :param Sequence[str] versions: The versions of instance. :param Sequence[str] zone_ids: The available zone IDs of instance. """ + pulumi.log.warn("""instances is deprecated: volcengine.escloud/instances.Instances has been deprecated in favor of volcengine.escloud/getinstances.getInstances""") ... diff --git a/sdk/python/pulumi_volcengine/escloud/ip_white_list.py b/sdk/python/pulumi_volcengine/escloud/ip_white_list.py new file mode 100644 index 00000000..d0cb32ae --- /dev/null +++ b/sdk/python/pulumi_volcengine/escloud/ip_white_list.py @@ -0,0 +1,484 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['IpWhiteListArgs', 'IpWhiteList'] + +@pulumi.input_type +class IpWhiteListArgs: + def __init__(__self__, *, + component: pulumi.Input[str], + instance_id: pulumi.Input[str], + ip_lists: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[str]): + """ + The set of arguments for constructing a IpWhiteList resource. + :param pulumi.Input[str] component: The component of the ip white list. Valid values: `es`, `kibana`. + :param pulumi.Input[str] instance_id: The id of the EsCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_lists: The ip list of the ip white list. + :param pulumi.Input[str] type: The type of the ip white list. Valid values: `private`, `public`. + """ + pulumi.set(__self__, "component", component) + pulumi.set(__self__, "instance_id", instance_id) + pulumi.set(__self__, "ip_lists", ip_lists) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def component(self) -> pulumi.Input[str]: + """ + The component of the ip white list. Valid values: `es`, `kibana`. + """ + return pulumi.get(self, "component") + + @component.setter + def component(self, value: pulumi.Input[str]): + pulumi.set(self, "component", value) + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> pulumi.Input[str]: + """ + The id of the EsCloud instance. + """ + return pulumi.get(self, "instance_id") + + @instance_id.setter + def instance_id(self, value: pulumi.Input[str]): + pulumi.set(self, "instance_id", value) + + @property + @pulumi.getter(name="ipLists") + def ip_lists(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + The ip list of the ip white list. + """ + return pulumi.get(self, "ip_lists") + + @ip_lists.setter + def ip_lists(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "ip_lists", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the ip white list. Valid values: `private`, `public`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class _IpWhiteListState: + def __init__(__self__, *, + component: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering IpWhiteList resources. + :param pulumi.Input[str] component: The component of the ip white list. Valid values: `es`, `kibana`. + :param pulumi.Input[str] instance_id: The id of the EsCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_lists: The ip list of the ip white list. + :param pulumi.Input[str] type: The type of the ip white list. Valid values: `private`, `public`. + """ + if component is not None: + pulumi.set(__self__, "component", component) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + if ip_lists is not None: + pulumi.set(__self__, "ip_lists", ip_lists) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def component(self) -> Optional[pulumi.Input[str]]: + """ + The component of the ip white list. Valid values: `es`, `kibana`. + """ + return pulumi.get(self, "component") + + @component.setter + def component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component", value) + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[pulumi.Input[str]]: + """ + The id of the EsCloud instance. + """ + return pulumi.get(self, "instance_id") + + @instance_id.setter + def instance_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_id", value) + + @property + @pulumi.getter(name="ipLists") + def ip_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The ip list of the ip white list. + """ + return pulumi.get(self, "ip_lists") + + @ip_lists.setter + def ip_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ip_lists", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the ip white list. Valid values: `private`, `public`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +class IpWhiteList(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + component: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Provides a resource to manage escloud ip white list + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", + instance_name="acc-test-escloud-instance", + version="V7_10", + zone_ids=[ + foo_zones.zones[0].id, + foo_zones.zones[1].id, + foo_zones.zones[2].id, + ], + subnet_id=foo_subnet.id, + enable_https=False, + admin_password="Password@@123", + charge_type="PostPaid", + auto_renew=False, + period=1, + configuration_code="es.standard", + enable_pure_master=True, + deletion_protection=False, + project_name="default", + node_specs_assigns=[ + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=20, + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Hot", + number=6, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.flexpl-standard", + storage_size=500, + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( + throughput=65, + ), + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + storage_spec_name="", + storage_size=0, + ), + ], + network_specs=[ + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Elasticsearch", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Kibana", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + ], + tags=[volcengine.escloud.InstanceV2TagArgs( + key="k1", + value="v1", + )]) + foo_ip_white_list = volcengine.escloud.IpWhiteList("fooIpWhiteList", + instance_id=foo_instance_v2.id, + type="public", + component="es", + ip_lists=[ + "172.16.0.10", + "172.16.0.11", + "172.16.0.12", + ]) + ``` + + ## Import + + EscloudIpWhiteList can be imported using the instance_id:type:component, e.g. + + ```sh + $ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] component: The component of the ip white list. Valid values: `es`, `kibana`. + :param pulumi.Input[str] instance_id: The id of the EsCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_lists: The ip list of the ip white list. + :param pulumi.Input[str] type: The type of the ip white list. Valid values: `private`, `public`. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IpWhiteListArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Provides a resource to manage escloud ip white list + ## Example Usage + + ```python + import pulumi + import pulumi_volcengine as volcengine + + foo_zones = volcengine.ecs.zones() + foo_vpc = volcengine.vpc.Vpc("fooVpc", + vpc_name="acc-test-vpc", + cidr_block="172.16.0.0/16") + foo_subnet = volcengine.vpc.Subnet("fooSubnet", + subnet_name="acc-test-subnet", + description="tfdesc", + cidr_block="172.16.0.0/24", + zone_id=foo_zones.zones[0].id, + vpc_id=foo_vpc.id) + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", + instance_name="acc-test-escloud-instance", + version="V7_10", + zone_ids=[ + foo_zones.zones[0].id, + foo_zones.zones[1].id, + foo_zones.zones[2].id, + ], + subnet_id=foo_subnet.id, + enable_https=False, + admin_password="Password@@123", + charge_type="PostPaid", + auto_renew=False, + period=1, + configuration_code="es.standard", + enable_pure_master=True, + deletion_protection=False, + project_name="default", + node_specs_assigns=[ + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Master", + number=3, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.pl0", + storage_size=20, + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Hot", + number=6, + resource_spec_name="es.x2.medium", + storage_spec_name="es.volume.essd.flexpl-standard", + storage_size=500, + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( + throughput=65, + ), + ), + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( + type="Kibana", + number=1, + resource_spec_name="kibana.x2.small", + storage_spec_name="", + storage_size=0, + ), + ], + network_specs=[ + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Elasticsearch", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + volcengine.escloud.InstanceV2NetworkSpecArgs( + type="Kibana", + bandwidth=1, + is_open=True, + spec_name="es.eip.bgp_fixed_bandwidth", + ), + ], + tags=[volcengine.escloud.InstanceV2TagArgs( + key="k1", + value="v1", + )]) + foo_ip_white_list = volcengine.escloud.IpWhiteList("fooIpWhiteList", + instance_id=foo_instance_v2.id, + type="public", + component="es", + ip_lists=[ + "172.16.0.10", + "172.16.0.11", + "172.16.0.12", + ]) + ``` + + ## Import + + EscloudIpWhiteList can be imported using the instance_id:type:component, e.g. + + ```sh + $ pulumi import volcengine:escloud/ipWhiteList:IpWhiteList default resource_id + ``` + + :param str resource_name: The name of the resource. + :param IpWhiteListArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(IpWhiteListArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + component: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IpWhiteListArgs.__new__(IpWhiteListArgs) + + if component is None and not opts.urn: + raise TypeError("Missing required property 'component'") + __props__.__dict__["component"] = component + if instance_id is None and not opts.urn: + raise TypeError("Missing required property 'instance_id'") + __props__.__dict__["instance_id"] = instance_id + if ip_lists is None and not opts.urn: + raise TypeError("Missing required property 'ip_lists'") + __props__.__dict__["ip_lists"] = ip_lists + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IpWhiteList, __self__).__init__( + 'volcengine:escloud/ipWhiteList:IpWhiteList', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + component: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None) -> 'IpWhiteList': + """ + Get an existing IpWhiteList resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] component: The component of the ip white list. Valid values: `es`, `kibana`. + :param pulumi.Input[str] instance_id: The id of the EsCloud instance. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_lists: The ip list of the ip white list. + :param pulumi.Input[str] type: The type of the ip white list. Valid values: `private`, `public`. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _IpWhiteListState.__new__(_IpWhiteListState) + + __props__.__dict__["component"] = component + __props__.__dict__["instance_id"] = instance_id + __props__.__dict__["ip_lists"] = ip_lists + __props__.__dict__["type"] = type + return IpWhiteList(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def component(self) -> pulumi.Output[str]: + """ + The component of the ip white list. Valid values: `es`, `kibana`. + """ + return pulumi.get(self, "component") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> pulumi.Output[str]: + """ + The id of the EsCloud instance. + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="ipLists") + def ip_lists(self) -> pulumi.Output[Sequence[str]]: + """ + The ip list of the ip white list. + """ + return pulumi.get(self, "ip_lists") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the ip white list. Valid values: `private`, `public`. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_volcengine/escloud/outputs.py b/sdk/python/pulumi_volcengine/escloud/outputs.py index e6f44311..77434961 100644 --- a/sdk/python/pulumi_volcengine/escloud/outputs.py +++ b/sdk/python/pulumi_volcengine/escloud/outputs.py @@ -13,6 +13,10 @@ __all__ = [ 'InstanceInstanceConfiguration', 'InstanceInstanceConfigurationNodeSpecsAssign', + 'InstanceV2NetworkSpec', + 'InstanceV2NodeSpecsAssign', + 'InstanceV2NodeSpecsAssignExtraPerformance', + 'InstanceV2Tag', 'InstancesInstanceResult', 'InstancesInstanceInstanceConfigurationResult', 'InstancesInstanceInstanceConfigurationHotNodeResourceSpecResult', @@ -29,6 +33,44 @@ 'InstancesInstancePluginResult', 'RegionsRegionResult', 'ZonesZoneResult', + 'GetInstancesInstanceResult', + 'GetInstancesInstanceInstanceConfigurationResult', + 'GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult', + 'GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult', + 'GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult', + 'GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult', + 'GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult', + 'GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult', + 'GetInstancesInstanceInstanceConfigurationSubnetResult', + 'GetInstancesInstanceInstanceConfigurationVpcResult', + 'GetInstancesInstanceNodeResult', + 'GetInstancesInstanceNodeResourceSpecResult', + 'GetInstancesInstanceNodeStorageSpecResult', + 'GetInstancesInstancePluginResult', + 'GetInstancesV2InstanceResult', + 'GetInstancesV2InstanceInstanceConfigurationResult', + 'GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationSubnetResult', + 'GetInstancesV2InstanceInstanceConfigurationVpcResult', + 'GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult', + 'GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult', + 'GetInstancesV2InstanceNodeResult', + 'GetInstancesV2InstanceNodeResourceSpecResult', + 'GetInstancesV2InstanceNodeStorageSpecResult', + 'GetInstancesV2InstancePluginResult', + 'GetInstancesV2InstanceTagResult', + 'GetInstancesV2TagResult', + 'GetRegionsRegionResult', + 'GetZonesZoneResult', ] @pulumi.output_type @@ -364,6 +406,222 @@ def storage_spec_name(self) -> Optional[str]: return pulumi.get(self, "storage_spec_name") +@pulumi.output_type +class InstanceV2NetworkSpec(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isOpen": + suggest = "is_open" + elif key == "specName": + suggest = "spec_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InstanceV2NetworkSpec. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InstanceV2NetworkSpec.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InstanceV2NetworkSpec.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bandwidth: int, + is_open: bool, + spec_name: str, + type: str): + """ + :param int bandwidth: The bandwidth of the eip. Unit: Mbps. + :param bool is_open: Whether the eip is opened. + :param str spec_name: The spec name of public network. + :param str type: The type of public network, valid values: `Elasticsearch`, `Kibana`. + """ + pulumi.set(__self__, "bandwidth", bandwidth) + pulumi.set(__self__, "is_open", is_open) + pulumi.set(__self__, "spec_name", spec_name) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def bandwidth(self) -> int: + """ + The bandwidth of the eip. Unit: Mbps. + """ + return pulumi.get(self, "bandwidth") + + @property + @pulumi.getter(name="isOpen") + def is_open(self) -> bool: + """ + Whether the eip is opened. + """ + return pulumi.get(self, "is_open") + + @property + @pulumi.getter(name="specName") + def spec_name(self) -> str: + """ + The spec name of public network. + """ + return pulumi.get(self, "spec_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of public network, valid values: `Elasticsearch`, `Kibana`. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class InstanceV2NodeSpecsAssign(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceSpecName": + suggest = "resource_spec_name" + elif key == "storageSize": + suggest = "storage_size" + elif key == "storageSpecName": + suggest = "storage_spec_name" + elif key == "extraPerformance": + suggest = "extra_performance" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InstanceV2NodeSpecsAssign. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InstanceV2NodeSpecsAssign.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InstanceV2NodeSpecsAssign.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + number: int, + resource_spec_name: str, + storage_size: int, + storage_spec_name: str, + type: str, + extra_performance: Optional['outputs.InstanceV2NodeSpecsAssignExtraPerformance'] = None): + """ + :param int number: The number of node. + :param str resource_spec_name: The name of compute resource spec. + :param int storage_size: The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + :param str storage_spec_name: The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + :param str type: The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + :param 'InstanceV2NodeSpecsAssignExtraPerformanceArgs' extra_performance: The extra performance of FlexPL storage spec. + """ + pulumi.set(__self__, "number", number) + pulumi.set(__self__, "resource_spec_name", resource_spec_name) + pulumi.set(__self__, "storage_size", storage_size) + pulumi.set(__self__, "storage_spec_name", storage_spec_name) + pulumi.set(__self__, "type", type) + if extra_performance is not None: + pulumi.set(__self__, "extra_performance", extra_performance) + + @property + @pulumi.getter + def number(self) -> int: + """ + The number of node. + """ + return pulumi.get(self, "number") + + @property + @pulumi.getter(name="resourceSpecName") + def resource_spec_name(self) -> str: + """ + The name of compute resource spec. + """ + return pulumi.get(self, "resource_spec_name") + + @property + @pulumi.getter(name="storageSize") + def storage_size(self) -> int: + """ + The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0. + """ + return pulumi.get(self, "storage_size") + + @property + @pulumi.getter(name="storageSpecName") + def storage_spec_name(self) -> str: + """ + The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``. + """ + return pulumi.get(self, "storage_spec_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of node, valid values: `Master`, `Hot`, `Cold`, `Warm`, `Kibana`, `Coordinator`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="extraPerformance") + def extra_performance(self) -> Optional['outputs.InstanceV2NodeSpecsAssignExtraPerformance']: + """ + The extra performance of FlexPL storage spec. + """ + return pulumi.get(self, "extra_performance") + + +@pulumi.output_type +class InstanceV2NodeSpecsAssignExtraPerformance(dict): + def __init__(__self__, *, + throughput: int): + """ + :param int throughput: When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + The unit is MiB, and the adjustment step size is 10MiB. + """ + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter + def throughput(self) -> int: + """ + When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. + The unit is MiB, and the adjustment step size is 10MiB. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class InstanceV2Tag(dict): + def __init__(__self__, *, + key: str, + value: str): + """ + :param str key: The Key of Tags. + :param str value: The Value of Tags. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Key of Tags. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The Value of Tags. + """ + return pulumi.get(self, "value") + + @pulumi.output_type class InstancesInstanceResult(dict): def __init__(__self__, *, @@ -1785,3 +2043,3470 @@ def zone_name(self) -> str: return pulumi.get(self, "zone_name") +@pulumi.output_type +class GetInstancesInstanceResult(dict): + def __init__(__self__, *, + charge_enabled: bool, + create_time: str, + enable_es_private_network: bool, + enable_es_public_network: bool, + enable_kibana_private_network: bool, + enable_kibana_public_network: bool, + es_inner_endpoint: str, + es_private_domain: str, + es_private_endpoint: str, + es_public_domain: str, + es_public_endpoint: str, + expire_date: str, + id: str, + instance_configuration: 'outputs.GetInstancesInstanceInstanceConfigurationResult', + instance_id: str, + kibana_private_domain: str, + kibana_public_domain: str, + maintenance_days: Sequence[str], + maintenance_time: str, + namespace: str, + nodes: Sequence['outputs.GetInstancesInstanceNodeResult'], + plugins: Sequence['outputs.GetInstancesInstancePluginResult'], + status: str, + total_nodes: int, + user_id: str): + """ + :param bool charge_enabled: The charge status of instance. + :param str create_time: The create time of instance. + :param bool enable_es_private_network: whether enable es private network. + :param bool enable_es_public_network: whether enable es public network. + :param bool enable_kibana_private_network: whether enable kibana private network. + :param bool enable_kibana_public_network: whether enable kibana public network. + :param str es_inner_endpoint: The es inner endpoint of instance. + :param str es_private_domain: The es private domain of instance. + :param str es_private_endpoint: The es private endpoint of instance. + :param str es_public_domain: The es public domain of instance. + :param str es_public_endpoint: The es public endpoint of instance. + :param str expire_date: The expire time of instance. + :param str id: The Id of instance. + :param 'GetInstancesInstanceInstanceConfigurationArgs' instance_configuration: The configuration of instance. + :param str instance_id: The Id of instance. + :param str kibana_private_domain: The kibana private domain of instance. + :param str kibana_public_domain: The kibana public domain of instance. + :param Sequence[str] maintenance_days: The maintenance day of instance. + :param str maintenance_time: The maintenance time of instance. + :param str namespace: The namespace of instance. + :param Sequence['GetInstancesInstanceNodeArgs'] nodes: The nodes info of instance. + :param Sequence['GetInstancesInstancePluginArgs'] plugins: The plugin info of instance. + :param str status: The status of instance. + :param int total_nodes: The total nodes of instance. + :param str user_id: The user id of instance. + """ + pulumi.set(__self__, "charge_enabled", charge_enabled) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "enable_es_private_network", enable_es_private_network) + pulumi.set(__self__, "enable_es_public_network", enable_es_public_network) + pulumi.set(__self__, "enable_kibana_private_network", enable_kibana_private_network) + pulumi.set(__self__, "enable_kibana_public_network", enable_kibana_public_network) + pulumi.set(__self__, "es_inner_endpoint", es_inner_endpoint) + pulumi.set(__self__, "es_private_domain", es_private_domain) + pulumi.set(__self__, "es_private_endpoint", es_private_endpoint) + pulumi.set(__self__, "es_public_domain", es_public_domain) + pulumi.set(__self__, "es_public_endpoint", es_public_endpoint) + pulumi.set(__self__, "expire_date", expire_date) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "instance_configuration", instance_configuration) + pulumi.set(__self__, "instance_id", instance_id) + pulumi.set(__self__, "kibana_private_domain", kibana_private_domain) + pulumi.set(__self__, "kibana_public_domain", kibana_public_domain) + pulumi.set(__self__, "maintenance_days", maintenance_days) + pulumi.set(__self__, "maintenance_time", maintenance_time) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "nodes", nodes) + pulumi.set(__self__, "plugins", plugins) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "total_nodes", total_nodes) + pulumi.set(__self__, "user_id", user_id) + + @property + @pulumi.getter(name="chargeEnabled") + def charge_enabled(self) -> bool: + """ + The charge status of instance. + """ + return pulumi.get(self, "charge_enabled") + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The create time of instance. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter(name="enableEsPrivateNetwork") + def enable_es_private_network(self) -> bool: + """ + whether enable es private network. + """ + return pulumi.get(self, "enable_es_private_network") + + @property + @pulumi.getter(name="enableEsPublicNetwork") + def enable_es_public_network(self) -> bool: + """ + whether enable es public network. + """ + return pulumi.get(self, "enable_es_public_network") + + @property + @pulumi.getter(name="enableKibanaPrivateNetwork") + def enable_kibana_private_network(self) -> bool: + """ + whether enable kibana private network. + """ + return pulumi.get(self, "enable_kibana_private_network") + + @property + @pulumi.getter(name="enableKibanaPublicNetwork") + def enable_kibana_public_network(self) -> bool: + """ + whether enable kibana public network. + """ + return pulumi.get(self, "enable_kibana_public_network") + + @property + @pulumi.getter(name="esInnerEndpoint") + def es_inner_endpoint(self) -> str: + """ + The es inner endpoint of instance. + """ + return pulumi.get(self, "es_inner_endpoint") + + @property + @pulumi.getter(name="esPrivateDomain") + def es_private_domain(self) -> str: + """ + The es private domain of instance. + """ + return pulumi.get(self, "es_private_domain") + + @property + @pulumi.getter(name="esPrivateEndpoint") + def es_private_endpoint(self) -> str: + """ + The es private endpoint of instance. + """ + return pulumi.get(self, "es_private_endpoint") + + @property + @pulumi.getter(name="esPublicDomain") + def es_public_domain(self) -> str: + """ + The es public domain of instance. + """ + return pulumi.get(self, "es_public_domain") + + @property + @pulumi.getter(name="esPublicEndpoint") + def es_public_endpoint(self) -> str: + """ + The es public endpoint of instance. + """ + return pulumi.get(self, "es_public_endpoint") + + @property + @pulumi.getter(name="expireDate") + def expire_date(self) -> str: + """ + The expire time of instance. + """ + return pulumi.get(self, "expire_date") + + @property + @pulumi.getter + def id(self) -> str: + """ + The Id of instance. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="instanceConfiguration") + def instance_configuration(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationResult': + """ + The configuration of instance. + """ + return pulumi.get(self, "instance_configuration") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> str: + """ + The Id of instance. + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="kibanaPrivateDomain") + def kibana_private_domain(self) -> str: + """ + The kibana private domain of instance. + """ + return pulumi.get(self, "kibana_private_domain") + + @property + @pulumi.getter(name="kibanaPublicDomain") + def kibana_public_domain(self) -> str: + """ + The kibana public domain of instance. + """ + return pulumi.get(self, "kibana_public_domain") + + @property + @pulumi.getter(name="maintenanceDays") + def maintenance_days(self) -> Sequence[str]: + """ + The maintenance day of instance. + """ + return pulumi.get(self, "maintenance_days") + + @property + @pulumi.getter(name="maintenanceTime") + def maintenance_time(self) -> str: + """ + The maintenance time of instance. + """ + return pulumi.get(self, "maintenance_time") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + The namespace of instance. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter + def nodes(self) -> Sequence['outputs.GetInstancesInstanceNodeResult']: + """ + The nodes info of instance. + """ + return pulumi.get(self, "nodes") + + @property + @pulumi.getter + def plugins(self) -> Sequence['outputs.GetInstancesInstancePluginResult']: + """ + The plugin info of instance. + """ + return pulumi.get(self, "plugins") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of instance. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="totalNodes") + def total_nodes(self) -> int: + """ + The total nodes of instance. + """ + return pulumi.get(self, "total_nodes") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> str: + """ + The user id of instance. + """ + return pulumi.get(self, "user_id") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationResult(dict): + def __init__(__self__, *, + admin_user_name: str, + charge_type: str, + enable_https: bool, + enable_pure_master: bool, + hot_node_number: int, + hot_node_resource_spec: 'outputs.GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult', + hot_node_storage_spec: 'outputs.GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult', + instance_name: str, + kibana_node_number: int, + kibana_node_resource_spec: 'outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult', + kibana_node_storage_spec: 'outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult', + master_node_number: int, + master_node_resource_spec: 'outputs.GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult', + master_node_storage_spec: 'outputs.GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult', + period: int, + project_name: str, + region_id: str, + subnet: 'outputs.GetInstancesInstanceInstanceConfigurationSubnetResult', + version: str, + vpc: 'outputs.GetInstancesInstanceInstanceConfigurationVpcResult', + zone_id: str, + zone_number: int): + """ + :param str admin_user_name: The user name of instance. + :param str charge_type: The charge type of instance. + :param bool enable_https: whether enable https. + :param bool enable_pure_master: Whether enable pure master. + :param int hot_node_number: The node number of host. + :param 'GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecArgs' hot_node_resource_spec: The node resource spec of host. + :param 'GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecArgs' hot_node_storage_spec: The node storage spec of host. + :param str instance_name: The name of instance. + :param int kibana_node_number: The node number of kibana. + :param 'GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecArgs' kibana_node_resource_spec: The node resource spec of kibana. + :param 'GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecArgs' kibana_node_storage_spec: The node storage spec of kibana. + :param int master_node_number: The node number of master. + :param 'GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecArgs' master_node_resource_spec: The node resource spec of master. + :param 'GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecArgs' master_node_storage_spec: The node storage spec of master. + :param int period: The period of project. + :param str project_name: The name of project. + :param str region_id: The region info of instance. + :param 'GetInstancesInstanceInstanceConfigurationSubnetArgs' subnet: The subnet info. + :param str version: The version of plugin. + :param 'GetInstancesInstanceInstanceConfigurationVpcArgs' vpc: The vpc info. + :param str zone_id: The zoneId of instance. + :param int zone_number: The zone number of instance. + """ + pulumi.set(__self__, "admin_user_name", admin_user_name) + pulumi.set(__self__, "charge_type", charge_type) + pulumi.set(__self__, "enable_https", enable_https) + pulumi.set(__self__, "enable_pure_master", enable_pure_master) + pulumi.set(__self__, "hot_node_number", hot_node_number) + pulumi.set(__self__, "hot_node_resource_spec", hot_node_resource_spec) + pulumi.set(__self__, "hot_node_storage_spec", hot_node_storage_spec) + pulumi.set(__self__, "instance_name", instance_name) + pulumi.set(__self__, "kibana_node_number", kibana_node_number) + pulumi.set(__self__, "kibana_node_resource_spec", kibana_node_resource_spec) + pulumi.set(__self__, "kibana_node_storage_spec", kibana_node_storage_spec) + pulumi.set(__self__, "master_node_number", master_node_number) + pulumi.set(__self__, "master_node_resource_spec", master_node_resource_spec) + pulumi.set(__self__, "master_node_storage_spec", master_node_storage_spec) + pulumi.set(__self__, "period", period) + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "region_id", region_id) + pulumi.set(__self__, "subnet", subnet) + pulumi.set(__self__, "version", version) + pulumi.set(__self__, "vpc", vpc) + pulumi.set(__self__, "zone_id", zone_id) + pulumi.set(__self__, "zone_number", zone_number) + + @property + @pulumi.getter(name="adminUserName") + def admin_user_name(self) -> str: + """ + The user name of instance. + """ + return pulumi.get(self, "admin_user_name") + + @property + @pulumi.getter(name="chargeType") + def charge_type(self) -> str: + """ + The charge type of instance. + """ + return pulumi.get(self, "charge_type") + + @property + @pulumi.getter(name="enableHttps") + def enable_https(self) -> bool: + """ + whether enable https. + """ + return pulumi.get(self, "enable_https") + + @property + @pulumi.getter(name="enablePureMaster") + def enable_pure_master(self) -> bool: + """ + Whether enable pure master. + """ + return pulumi.get(self, "enable_pure_master") + + @property + @pulumi.getter(name="hotNodeNumber") + def hot_node_number(self) -> int: + """ + The node number of host. + """ + return pulumi.get(self, "hot_node_number") + + @property + @pulumi.getter(name="hotNodeResourceSpec") + def hot_node_resource_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult': + """ + The node resource spec of host. + """ + return pulumi.get(self, "hot_node_resource_spec") + + @property + @pulumi.getter(name="hotNodeStorageSpec") + def hot_node_storage_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult': + """ + The node storage spec of host. + """ + return pulumi.get(self, "hot_node_storage_spec") + + @property + @pulumi.getter(name="instanceName") + def instance_name(self) -> str: + """ + The name of instance. + """ + return pulumi.get(self, "instance_name") + + @property + @pulumi.getter(name="kibanaNodeNumber") + def kibana_node_number(self) -> int: + """ + The node number of kibana. + """ + return pulumi.get(self, "kibana_node_number") + + @property + @pulumi.getter(name="kibanaNodeResourceSpec") + def kibana_node_resource_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult': + """ + The node resource spec of kibana. + """ + return pulumi.get(self, "kibana_node_resource_spec") + + @property + @pulumi.getter(name="kibanaNodeStorageSpec") + def kibana_node_storage_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult': + """ + The node storage spec of kibana. + """ + return pulumi.get(self, "kibana_node_storage_spec") + + @property + @pulumi.getter(name="masterNodeNumber") + def master_node_number(self) -> int: + """ + The node number of master. + """ + return pulumi.get(self, "master_node_number") + + @property + @pulumi.getter(name="masterNodeResourceSpec") + def master_node_resource_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult': + """ + The node resource spec of master. + """ + return pulumi.get(self, "master_node_resource_spec") + + @property + @pulumi.getter(name="masterNodeStorageSpec") + def master_node_storage_spec(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult': + """ + The node storage spec of master. + """ + return pulumi.get(self, "master_node_storage_spec") + + @property + @pulumi.getter + def period(self) -> int: + """ + The period of project. + """ + return pulumi.get(self, "period") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> str: + """ + The name of project. + """ + return pulumi.get(self, "project_name") + + @property + @pulumi.getter(name="regionId") + def region_id(self) -> str: + """ + The region info of instance. + """ + return pulumi.get(self, "region_id") + + @property + @pulumi.getter + def subnet(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationSubnetResult': + """ + The subnet info. + """ + return pulumi.get(self, "subnet") + + @property + @pulumi.getter + def version(self) -> str: + """ + The version of plugin. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter + def vpc(self) -> 'outputs.GetInstancesInstanceInstanceConfigurationVpcResult': + """ + The vpc info. + """ + return pulumi.get(self, "vpc") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + """ + The zoneId of instance. + """ + return pulumi.get(self, "zone_id") + + @property + @pulumi.getter(name="zoneNumber") + def zone_number(self) -> int: + """ + The zone number of instance. + """ + return pulumi.get(self, "zone_number") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationHotNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int memory: The memory info of resource spec. + :param str name: The name of storage spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationHotNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int, + type: str): + """ + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + :param str type: The type of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of storage spec. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationKibanaNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int memory: The memory info of resource spec. + :param str name: The name of storage spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationKibanaNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int, + type: str): + """ + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + :param str type: The type of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of storage spec. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationMasterNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int memory: The memory info of resource spec. + :param str name: The name of storage spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationMasterNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int, + type: str): + """ + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + :param str type: The type of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of storage spec. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationSubnetResult(dict): + def __init__(__self__, *, + subnet_id: str, + subnet_name: str): + """ + :param str subnet_id: The id of subnet. + :param str subnet_name: The name of subnet. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "subnet_name", subnet_name) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The id of subnet. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="subnetName") + def subnet_name(self) -> str: + """ + The name of subnet. + """ + return pulumi.get(self, "subnet_name") + + +@pulumi.output_type +class GetInstancesInstanceInstanceConfigurationVpcResult(dict): + def __init__(__self__, *, + vpc_id: str, + vpc_name: str): + """ + :param str vpc_id: The id of vpc. + :param str vpc_name: The name of vpc. + """ + pulumi.set(__self__, "vpc_id", vpc_id) + pulumi.set(__self__, "vpc_name", vpc_name) + + @property + @pulumi.getter(name="vpcId") + def vpc_id(self) -> str: + """ + The id of vpc. + """ + return pulumi.get(self, "vpc_id") + + @property + @pulumi.getter(name="vpcName") + def vpc_name(self) -> str: + """ + The name of vpc. + """ + return pulumi.get(self, "vpc_name") + + +@pulumi.output_type +class GetInstancesInstanceNodeResult(dict): + def __init__(__self__, *, + is_cold: bool, + is_hot: bool, + is_kibana: bool, + is_master: bool, + is_warm: bool, + node_display_name: str, + node_name: str, + resource_spec: 'outputs.GetInstancesInstanceNodeResourceSpecResult', + restart_number: int, + start_time: str, + status: str, + storage_spec: 'outputs.GetInstancesInstanceNodeStorageSpecResult'): + """ + :param bool is_cold: Is cold node. + :param bool is_hot: Is hot node. + :param bool is_kibana: Is kibana node. + :param bool is_master: Is master node. + :param bool is_warm: Is warm node. + :param str node_display_name: The show name of node. + :param str node_name: The name of node. + :param 'GetInstancesInstanceNodeResourceSpecArgs' resource_spec: The node resource spec of master. + :param int restart_number: The restart times of node. + :param str start_time: The start time of node. + :param str status: The status of instance. + :param 'GetInstancesInstanceNodeStorageSpecArgs' storage_spec: The node storage spec of master. + """ + pulumi.set(__self__, "is_cold", is_cold) + pulumi.set(__self__, "is_hot", is_hot) + pulumi.set(__self__, "is_kibana", is_kibana) + pulumi.set(__self__, "is_master", is_master) + pulumi.set(__self__, "is_warm", is_warm) + pulumi.set(__self__, "node_display_name", node_display_name) + pulumi.set(__self__, "node_name", node_name) + pulumi.set(__self__, "resource_spec", resource_spec) + pulumi.set(__self__, "restart_number", restart_number) + pulumi.set(__self__, "start_time", start_time) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "storage_spec", storage_spec) + + @property + @pulumi.getter(name="isCold") + def is_cold(self) -> bool: + """ + Is cold node. + """ + return pulumi.get(self, "is_cold") + + @property + @pulumi.getter(name="isHot") + def is_hot(self) -> bool: + """ + Is hot node. + """ + return pulumi.get(self, "is_hot") + + @property + @pulumi.getter(name="isKibana") + def is_kibana(self) -> bool: + """ + Is kibana node. + """ + return pulumi.get(self, "is_kibana") + + @property + @pulumi.getter(name="isMaster") + def is_master(self) -> bool: + """ + Is master node. + """ + return pulumi.get(self, "is_master") + + @property + @pulumi.getter(name="isWarm") + def is_warm(self) -> bool: + """ + Is warm node. + """ + return pulumi.get(self, "is_warm") + + @property + @pulumi.getter(name="nodeDisplayName") + def node_display_name(self) -> str: + """ + The show name of node. + """ + return pulumi.get(self, "node_display_name") + + @property + @pulumi.getter(name="nodeName") + def node_name(self) -> str: + """ + The name of node. + """ + return pulumi.get(self, "node_name") + + @property + @pulumi.getter(name="resourceSpec") + def resource_spec(self) -> 'outputs.GetInstancesInstanceNodeResourceSpecResult': + """ + The node resource spec of master. + """ + return pulumi.get(self, "resource_spec") + + @property + @pulumi.getter(name="restartNumber") + def restart_number(self) -> int: + """ + The restart times of node. + """ + return pulumi.get(self, "restart_number") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> str: + """ + The start time of node. + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of instance. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="storageSpec") + def storage_spec(self) -> 'outputs.GetInstancesInstanceNodeStorageSpecResult': + """ + The node storage spec of master. + """ + return pulumi.get(self, "storage_spec") + + +@pulumi.output_type +class GetInstancesInstanceNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int memory: The memory info of resource spec. + :param str name: The name of storage spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesInstanceNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int, + type: str): + """ + :param str description: The description of plugin. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + :param str type: The type of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of storage spec. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetInstancesInstancePluginResult(dict): + def __init__(__self__, *, + description: str, + plugin_name: str, + version: str): + """ + :param str description: The description of plugin. + :param str plugin_name: The name of plugin. + :param str version: The version of plugin. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "plugin_name", plugin_name) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="pluginName") + def plugin_name(self) -> str: + """ + The name of plugin. + """ + return pulumi.get(self, "plugin_name") + + @property + @pulumi.getter + def version(self) -> str: + """ + The version of plugin. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetInstancesV2InstanceResult(dict): + def __init__(__self__, *, + cerebro_enabled: bool, + cerebro_private_domain: str, + cerebro_public_domain: str, + charge_enabled: bool, + cluster_id: str, + create_time: str, + deletion_protection: bool, + enable_es_private_domain_public: bool, + enable_es_private_network: bool, + enable_es_public_network: bool, + enable_kibana_private_domain_public: bool, + enable_kibana_private_network: bool, + enable_kibana_public_network: bool, + es_eip: str, + es_eip_id: str, + es_inner_endpoint: str, + es_private_domain: str, + es_private_endpoint: str, + es_private_ip_whitelist: str, + es_public_domain: str, + es_public_endpoint: str, + es_public_ip_whitelist: str, + expire_date: str, + id: str, + instance_configurations: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationResult'], + instance_id: str, + kibana_eip: str, + kibana_eip_id: str, + kibana_private_domain: str, + kibana_private_ip_whitelist: str, + kibana_public_domain: str, + kibana_public_ip_whitelist: str, + main_zone_id: str, + maintenance_days: Sequence[str], + maintenance_time: str, + nodes: Sequence['outputs.GetInstancesV2InstanceNodeResult'], + plugins: Sequence['outputs.GetInstancesV2InstancePluginResult'], + status: str, + support_code_node: bool, + tags: Sequence['outputs.GetInstancesV2InstanceTagResult'], + total_nodes: int, + user_id: str): + """ + :param bool cerebro_enabled: Whether to enable cerebro. + :param str cerebro_private_domain: The cerebro private domain of instance. + :param str cerebro_public_domain: The cerebro public domain of instance. + :param bool charge_enabled: The charge status of instance. + :param str cluster_id: The cluster id of instance. + :param str create_time: The create time of instance. + :param bool deletion_protection: Whether enable deletion protection for ESCloud instance. + :param bool enable_es_private_domain_public: whether enable es private domain public. + :param bool enable_es_private_network: whether enable es private network. + :param bool enable_es_public_network: whether enable es public network. + :param bool enable_kibana_private_domain_public: whether enable kibana private domain public. + :param bool enable_kibana_private_network: whether enable kibana private network. + :param bool enable_kibana_public_network: whether enable kibana public network. + :param str es_eip: The eip address of instance. + :param str es_eip_id: The eip id associated with the instance. + :param str es_inner_endpoint: The es inner endpoint of instance. + :param str es_private_domain: The es private domain of instance. + :param str es_private_endpoint: The es private endpoint of instance. + :param str es_private_ip_whitelist: The whitelist of es private ip. + :param str es_public_domain: The es public domain of instance. + :param str es_public_endpoint: The es public endpoint of instance. + :param str es_public_ip_whitelist: The whitelist of es public ip. + :param str expire_date: The expire time of instance. + :param str id: The id of instance. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationArgs'] instance_configurations: The configuration of instance. + :param str instance_id: The id of instance. + :param str kibana_eip: The eip address of kibana. + :param str kibana_eip_id: The eip id associated with kibana. + :param str kibana_private_domain: The kibana private domain of instance. + :param str kibana_private_ip_whitelist: The whitelist of kibana private ip. + :param str kibana_public_domain: The kibana public domain of instance. + :param str kibana_public_ip_whitelist: The whitelist of kibana public ip. + :param str main_zone_id: The main zone id of instance. + :param Sequence[str] maintenance_days: The maintenance day of instance. + :param str maintenance_time: The maintenance time of instance. + :param Sequence['GetInstancesV2InstanceNodeArgs'] nodes: The nodes info of instance. + :param Sequence['GetInstancesV2InstancePluginArgs'] plugins: The plugin info of instance. + :param str status: The status of instance. + :param bool support_code_node: Whether support code node. + :param Sequence['GetInstancesV2InstanceTagArgs'] tags: Tags. + :param int total_nodes: The total nodes of instance. + :param str user_id: The user id of instance. + """ + pulumi.set(__self__, "cerebro_enabled", cerebro_enabled) + pulumi.set(__self__, "cerebro_private_domain", cerebro_private_domain) + pulumi.set(__self__, "cerebro_public_domain", cerebro_public_domain) + pulumi.set(__self__, "charge_enabled", charge_enabled) + pulumi.set(__self__, "cluster_id", cluster_id) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "deletion_protection", deletion_protection) + pulumi.set(__self__, "enable_es_private_domain_public", enable_es_private_domain_public) + pulumi.set(__self__, "enable_es_private_network", enable_es_private_network) + pulumi.set(__self__, "enable_es_public_network", enable_es_public_network) + pulumi.set(__self__, "enable_kibana_private_domain_public", enable_kibana_private_domain_public) + pulumi.set(__self__, "enable_kibana_private_network", enable_kibana_private_network) + pulumi.set(__self__, "enable_kibana_public_network", enable_kibana_public_network) + pulumi.set(__self__, "es_eip", es_eip) + pulumi.set(__self__, "es_eip_id", es_eip_id) + pulumi.set(__self__, "es_inner_endpoint", es_inner_endpoint) + pulumi.set(__self__, "es_private_domain", es_private_domain) + pulumi.set(__self__, "es_private_endpoint", es_private_endpoint) + pulumi.set(__self__, "es_private_ip_whitelist", es_private_ip_whitelist) + pulumi.set(__self__, "es_public_domain", es_public_domain) + pulumi.set(__self__, "es_public_endpoint", es_public_endpoint) + pulumi.set(__self__, "es_public_ip_whitelist", es_public_ip_whitelist) + pulumi.set(__self__, "expire_date", expire_date) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "instance_configurations", instance_configurations) + pulumi.set(__self__, "instance_id", instance_id) + pulumi.set(__self__, "kibana_eip", kibana_eip) + pulumi.set(__self__, "kibana_eip_id", kibana_eip_id) + pulumi.set(__self__, "kibana_private_domain", kibana_private_domain) + pulumi.set(__self__, "kibana_private_ip_whitelist", kibana_private_ip_whitelist) + pulumi.set(__self__, "kibana_public_domain", kibana_public_domain) + pulumi.set(__self__, "kibana_public_ip_whitelist", kibana_public_ip_whitelist) + pulumi.set(__self__, "main_zone_id", main_zone_id) + pulumi.set(__self__, "maintenance_days", maintenance_days) + pulumi.set(__self__, "maintenance_time", maintenance_time) + pulumi.set(__self__, "nodes", nodes) + pulumi.set(__self__, "plugins", plugins) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "support_code_node", support_code_node) + pulumi.set(__self__, "tags", tags) + pulumi.set(__self__, "total_nodes", total_nodes) + pulumi.set(__self__, "user_id", user_id) + + @property + @pulumi.getter(name="cerebroEnabled") + def cerebro_enabled(self) -> bool: + """ + Whether to enable cerebro. + """ + return pulumi.get(self, "cerebro_enabled") + + @property + @pulumi.getter(name="cerebroPrivateDomain") + def cerebro_private_domain(self) -> str: + """ + The cerebro private domain of instance. + """ + return pulumi.get(self, "cerebro_private_domain") + + @property + @pulumi.getter(name="cerebroPublicDomain") + def cerebro_public_domain(self) -> str: + """ + The cerebro public domain of instance. + """ + return pulumi.get(self, "cerebro_public_domain") + + @property + @pulumi.getter(name="chargeEnabled") + def charge_enabled(self) -> bool: + """ + The charge status of instance. + """ + return pulumi.get(self, "charge_enabled") + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> str: + """ + The cluster id of instance. + """ + return pulumi.get(self, "cluster_id") + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The create time of instance. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter(name="deletionProtection") + def deletion_protection(self) -> bool: + """ + Whether enable deletion protection for ESCloud instance. + """ + return pulumi.get(self, "deletion_protection") + + @property + @pulumi.getter(name="enableEsPrivateDomainPublic") + def enable_es_private_domain_public(self) -> bool: + """ + whether enable es private domain public. + """ + return pulumi.get(self, "enable_es_private_domain_public") + + @property + @pulumi.getter(name="enableEsPrivateNetwork") + def enable_es_private_network(self) -> bool: + """ + whether enable es private network. + """ + return pulumi.get(self, "enable_es_private_network") + + @property + @pulumi.getter(name="enableEsPublicNetwork") + def enable_es_public_network(self) -> bool: + """ + whether enable es public network. + """ + return pulumi.get(self, "enable_es_public_network") + + @property + @pulumi.getter(name="enableKibanaPrivateDomainPublic") + def enable_kibana_private_domain_public(self) -> bool: + """ + whether enable kibana private domain public. + """ + return pulumi.get(self, "enable_kibana_private_domain_public") + + @property + @pulumi.getter(name="enableKibanaPrivateNetwork") + def enable_kibana_private_network(self) -> bool: + """ + whether enable kibana private network. + """ + return pulumi.get(self, "enable_kibana_private_network") + + @property + @pulumi.getter(name="enableKibanaPublicNetwork") + def enable_kibana_public_network(self) -> bool: + """ + whether enable kibana public network. + """ + return pulumi.get(self, "enable_kibana_public_network") + + @property + @pulumi.getter(name="esEip") + def es_eip(self) -> str: + """ + The eip address of instance. + """ + return pulumi.get(self, "es_eip") + + @property + @pulumi.getter(name="esEipId") + def es_eip_id(self) -> str: + """ + The eip id associated with the instance. + """ + return pulumi.get(self, "es_eip_id") + + @property + @pulumi.getter(name="esInnerEndpoint") + def es_inner_endpoint(self) -> str: + """ + The es inner endpoint of instance. + """ + return pulumi.get(self, "es_inner_endpoint") + + @property + @pulumi.getter(name="esPrivateDomain") + def es_private_domain(self) -> str: + """ + The es private domain of instance. + """ + return pulumi.get(self, "es_private_domain") + + @property + @pulumi.getter(name="esPrivateEndpoint") + def es_private_endpoint(self) -> str: + """ + The es private endpoint of instance. + """ + return pulumi.get(self, "es_private_endpoint") + + @property + @pulumi.getter(name="esPrivateIpWhitelist") + def es_private_ip_whitelist(self) -> str: + """ + The whitelist of es private ip. + """ + return pulumi.get(self, "es_private_ip_whitelist") + + @property + @pulumi.getter(name="esPublicDomain") + def es_public_domain(self) -> str: + """ + The es public domain of instance. + """ + return pulumi.get(self, "es_public_domain") + + @property + @pulumi.getter(name="esPublicEndpoint") + def es_public_endpoint(self) -> str: + """ + The es public endpoint of instance. + """ + return pulumi.get(self, "es_public_endpoint") + + @property + @pulumi.getter(name="esPublicIpWhitelist") + def es_public_ip_whitelist(self) -> str: + """ + The whitelist of es public ip. + """ + return pulumi.get(self, "es_public_ip_whitelist") + + @property + @pulumi.getter(name="expireDate") + def expire_date(self) -> str: + """ + The expire time of instance. + """ + return pulumi.get(self, "expire_date") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of instance. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="instanceConfigurations") + def instance_configurations(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationResult']: + """ + The configuration of instance. + """ + return pulumi.get(self, "instance_configurations") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> str: + """ + The id of instance. + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="kibanaEip") + def kibana_eip(self) -> str: + """ + The eip address of kibana. + """ + return pulumi.get(self, "kibana_eip") + + @property + @pulumi.getter(name="kibanaEipId") + def kibana_eip_id(self) -> str: + """ + The eip id associated with kibana. + """ + return pulumi.get(self, "kibana_eip_id") + + @property + @pulumi.getter(name="kibanaPrivateDomain") + def kibana_private_domain(self) -> str: + """ + The kibana private domain of instance. + """ + return pulumi.get(self, "kibana_private_domain") + + @property + @pulumi.getter(name="kibanaPrivateIpWhitelist") + def kibana_private_ip_whitelist(self) -> str: + """ + The whitelist of kibana private ip. + """ + return pulumi.get(self, "kibana_private_ip_whitelist") + + @property + @pulumi.getter(name="kibanaPublicDomain") + def kibana_public_domain(self) -> str: + """ + The kibana public domain of instance. + """ + return pulumi.get(self, "kibana_public_domain") + + @property + @pulumi.getter(name="kibanaPublicIpWhitelist") + def kibana_public_ip_whitelist(self) -> str: + """ + The whitelist of kibana public ip. + """ + return pulumi.get(self, "kibana_public_ip_whitelist") + + @property + @pulumi.getter(name="mainZoneId") + def main_zone_id(self) -> str: + """ + The main zone id of instance. + """ + return pulumi.get(self, "main_zone_id") + + @property + @pulumi.getter(name="maintenanceDays") + def maintenance_days(self) -> Sequence[str]: + """ + The maintenance day of instance. + """ + return pulumi.get(self, "maintenance_days") + + @property + @pulumi.getter(name="maintenanceTime") + def maintenance_time(self) -> str: + """ + The maintenance time of instance. + """ + return pulumi.get(self, "maintenance_time") + + @property + @pulumi.getter + def nodes(self) -> Sequence['outputs.GetInstancesV2InstanceNodeResult']: + """ + The nodes info of instance. + """ + return pulumi.get(self, "nodes") + + @property + @pulumi.getter + def plugins(self) -> Sequence['outputs.GetInstancesV2InstancePluginResult']: + """ + The plugin info of instance. + """ + return pulumi.get(self, "plugins") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of instance. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="supportCodeNode") + def support_code_node(self) -> bool: + """ + Whether support code node. + """ + return pulumi.get(self, "support_code_node") + + @property + @pulumi.getter + def tags(self) -> Sequence['outputs.GetInstancesV2InstanceTagResult']: + """ + Tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalNodes") + def total_nodes(self) -> int: + """ + The total nodes of instance. + """ + return pulumi.get(self, "total_nodes") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> str: + """ + The user id of instance. + """ + return pulumi.get(self, "user_id") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationResult(dict): + def __init__(__self__, *, + admin_user_name: str, + charge_type: str, + cold_node_number: int, + cold_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult'], + cold_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult'], + coordinator_node_number: int, + coordinator_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult'], + coordinator_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult'], + enable_https: bool, + enable_pure_master: bool, + hot_node_number: int, + hot_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult'], + hot_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult'], + instance_name: str, + kibana_node_number: int, + kibana_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult'], + kibana_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult'], + master_node_number: int, + master_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult'], + master_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult'], + period: int, + project_name: str, + region_id: str, + subnets: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationSubnetResult'], + version: str, + vpcs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationVpcResult'], + warm_node_number: int, + warm_node_resource_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult'], + warm_node_storage_specs: Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult'], + zone_id: str, + zone_number: int): + """ + :param str admin_user_name: The user name of instance. + :param str charge_type: The charge type of instance. + :param int cold_node_number: The node number of cold. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecArgs'] cold_node_resource_specs: The node resource spec of cold. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecArgs'] cold_node_storage_specs: The node storage spec of cold. + :param int coordinator_node_number: The node number of coordinator. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecArgs'] coordinator_node_resource_specs: The node resource spec of coordinator. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecArgs'] coordinator_node_storage_specs: The node storage spec of coordinator. + :param bool enable_https: whether enable https. + :param bool enable_pure_master: Whether enable pure master. + :param int hot_node_number: The node number of hot. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecArgs'] hot_node_resource_specs: The node resource spec of hot. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecArgs'] hot_node_storage_specs: The node storage spec of hot. + :param str instance_name: The name of instance. + :param int kibana_node_number: The node number of kibana. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecArgs'] kibana_node_resource_specs: The node resource spec of kibana. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecArgs'] kibana_node_storage_specs: The node storage spec of kibana. + :param int master_node_number: The node number of master. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecArgs'] master_node_resource_specs: The node resource spec of master. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecArgs'] master_node_storage_specs: The node storage spec of master. + :param int period: The period of project. + :param str project_name: The name of project. + :param str region_id: The region info of instance. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationSubnetArgs'] subnets: The subnet info. + :param str version: The version of instance. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationVpcArgs'] vpcs: The vpc info. + :param int warm_node_number: The node number of warm. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecArgs'] warm_node_resource_specs: The node resource spec of warm. + :param Sequence['GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecArgs'] warm_node_storage_specs: The node storage spec of warm. + :param str zone_id: The zoneId of instance. + :param int zone_number: The zone number of instance. + """ + pulumi.set(__self__, "admin_user_name", admin_user_name) + pulumi.set(__self__, "charge_type", charge_type) + pulumi.set(__self__, "cold_node_number", cold_node_number) + pulumi.set(__self__, "cold_node_resource_specs", cold_node_resource_specs) + pulumi.set(__self__, "cold_node_storage_specs", cold_node_storage_specs) + pulumi.set(__self__, "coordinator_node_number", coordinator_node_number) + pulumi.set(__self__, "coordinator_node_resource_specs", coordinator_node_resource_specs) + pulumi.set(__self__, "coordinator_node_storage_specs", coordinator_node_storage_specs) + pulumi.set(__self__, "enable_https", enable_https) + pulumi.set(__self__, "enable_pure_master", enable_pure_master) + pulumi.set(__self__, "hot_node_number", hot_node_number) + pulumi.set(__self__, "hot_node_resource_specs", hot_node_resource_specs) + pulumi.set(__self__, "hot_node_storage_specs", hot_node_storage_specs) + pulumi.set(__self__, "instance_name", instance_name) + pulumi.set(__self__, "kibana_node_number", kibana_node_number) + pulumi.set(__self__, "kibana_node_resource_specs", kibana_node_resource_specs) + pulumi.set(__self__, "kibana_node_storage_specs", kibana_node_storage_specs) + pulumi.set(__self__, "master_node_number", master_node_number) + pulumi.set(__self__, "master_node_resource_specs", master_node_resource_specs) + pulumi.set(__self__, "master_node_storage_specs", master_node_storage_specs) + pulumi.set(__self__, "period", period) + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "region_id", region_id) + pulumi.set(__self__, "subnets", subnets) + pulumi.set(__self__, "version", version) + pulumi.set(__self__, "vpcs", vpcs) + pulumi.set(__self__, "warm_node_number", warm_node_number) + pulumi.set(__self__, "warm_node_resource_specs", warm_node_resource_specs) + pulumi.set(__self__, "warm_node_storage_specs", warm_node_storage_specs) + pulumi.set(__self__, "zone_id", zone_id) + pulumi.set(__self__, "zone_number", zone_number) + + @property + @pulumi.getter(name="adminUserName") + def admin_user_name(self) -> str: + """ + The user name of instance. + """ + return pulumi.get(self, "admin_user_name") + + @property + @pulumi.getter(name="chargeType") + def charge_type(self) -> str: + """ + The charge type of instance. + """ + return pulumi.get(self, "charge_type") + + @property + @pulumi.getter(name="coldNodeNumber") + def cold_node_number(self) -> int: + """ + The node number of cold. + """ + return pulumi.get(self, "cold_node_number") + + @property + @pulumi.getter(name="coldNodeResourceSpecs") + def cold_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult']: + """ + The node resource spec of cold. + """ + return pulumi.get(self, "cold_node_resource_specs") + + @property + @pulumi.getter(name="coldNodeStorageSpecs") + def cold_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult']: + """ + The node storage spec of cold. + """ + return pulumi.get(self, "cold_node_storage_specs") + + @property + @pulumi.getter(name="coordinatorNodeNumber") + def coordinator_node_number(self) -> int: + """ + The node number of coordinator. + """ + return pulumi.get(self, "coordinator_node_number") + + @property + @pulumi.getter(name="coordinatorNodeResourceSpecs") + def coordinator_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult']: + """ + The node resource spec of coordinator. + """ + return pulumi.get(self, "coordinator_node_resource_specs") + + @property + @pulumi.getter(name="coordinatorNodeStorageSpecs") + def coordinator_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult']: + """ + The node storage spec of coordinator. + """ + return pulumi.get(self, "coordinator_node_storage_specs") + + @property + @pulumi.getter(name="enableHttps") + def enable_https(self) -> bool: + """ + whether enable https. + """ + return pulumi.get(self, "enable_https") + + @property + @pulumi.getter(name="enablePureMaster") + def enable_pure_master(self) -> bool: + """ + Whether enable pure master. + """ + return pulumi.get(self, "enable_pure_master") + + @property + @pulumi.getter(name="hotNodeNumber") + def hot_node_number(self) -> int: + """ + The node number of hot. + """ + return pulumi.get(self, "hot_node_number") + + @property + @pulumi.getter(name="hotNodeResourceSpecs") + def hot_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult']: + """ + The node resource spec of hot. + """ + return pulumi.get(self, "hot_node_resource_specs") + + @property + @pulumi.getter(name="hotNodeStorageSpecs") + def hot_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult']: + """ + The node storage spec of hot. + """ + return pulumi.get(self, "hot_node_storage_specs") + + @property + @pulumi.getter(name="instanceName") + def instance_name(self) -> str: + """ + The name of instance. + """ + return pulumi.get(self, "instance_name") + + @property + @pulumi.getter(name="kibanaNodeNumber") + def kibana_node_number(self) -> int: + """ + The node number of kibana. + """ + return pulumi.get(self, "kibana_node_number") + + @property + @pulumi.getter(name="kibanaNodeResourceSpecs") + def kibana_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult']: + """ + The node resource spec of kibana. + """ + return pulumi.get(self, "kibana_node_resource_specs") + + @property + @pulumi.getter(name="kibanaNodeStorageSpecs") + def kibana_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult']: + """ + The node storage spec of kibana. + """ + return pulumi.get(self, "kibana_node_storage_specs") + + @property + @pulumi.getter(name="masterNodeNumber") + def master_node_number(self) -> int: + """ + The node number of master. + """ + return pulumi.get(self, "master_node_number") + + @property + @pulumi.getter(name="masterNodeResourceSpecs") + def master_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult']: + """ + The node resource spec of master. + """ + return pulumi.get(self, "master_node_resource_specs") + + @property + @pulumi.getter(name="masterNodeStorageSpecs") + def master_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult']: + """ + The node storage spec of master. + """ + return pulumi.get(self, "master_node_storage_specs") + + @property + @pulumi.getter + def period(self) -> int: + """ + The period of project. + """ + return pulumi.get(self, "period") + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> str: + """ + The name of project. + """ + return pulumi.get(self, "project_name") + + @property + @pulumi.getter(name="regionId") + def region_id(self) -> str: + """ + The region info of instance. + """ + return pulumi.get(self, "region_id") + + @property + @pulumi.getter + def subnets(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationSubnetResult']: + """ + The subnet info. + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter + def version(self) -> str: + """ + The version of instance. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter + def vpcs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationVpcResult']: + """ + The vpc info. + """ + return pulumi.get(self, "vpcs") + + @property + @pulumi.getter(name="warmNodeNumber") + def warm_node_number(self) -> int: + """ + The node number of warm. + """ + return pulumi.get(self, "warm_node_number") + + @property + @pulumi.getter(name="warmNodeResourceSpecs") + def warm_node_resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult']: + """ + The node resource spec of warm. + """ + return pulumi.get(self, "warm_node_resource_specs") + + @property + @pulumi.getter(name="warmNodeStorageSpecs") + def warm_node_storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult']: + """ + The node storage spec of warm. + """ + return pulumi.get(self, "warm_node_storage_specs") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + """ + The zoneId of instance. + """ + return pulumi.get(self, "zone_id") + + @property + @pulumi.getter(name="zoneNumber") + def zone_number(self) -> int: + """ + The zone number of instance. + """ + return pulumi.get(self, "zone_number") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationColdNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationColdNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationCoordinatorNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationHotNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationHotNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationKibanaNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationKibanaNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationMasterNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationMasterNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationSubnetResult(dict): + def __init__(__self__, *, + subnet_id: str, + subnet_name: str): + """ + :param str subnet_id: The id of subnet. + :param str subnet_name: The name of subnet. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "subnet_name", subnet_name) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The id of subnet. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="subnetName") + def subnet_name(self) -> str: + """ + The name of subnet. + """ + return pulumi.get(self, "subnet_name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationVpcResult(dict): + def __init__(__self__, *, + vpc_id: str, + vpc_name: str): + """ + :param str vpc_id: The id of vpc. + :param str vpc_name: The name of vpc. + """ + pulumi.set(__self__, "vpc_id", vpc_id) + pulumi.set(__self__, "vpc_name", vpc_name) + + @property + @pulumi.getter(name="vpcId") + def vpc_id(self) -> str: + """ + The id of vpc. + """ + return pulumi.get(self, "vpc_id") + + @property + @pulumi.getter(name="vpcName") + def vpc_name(self) -> str: + """ + The name of vpc. + """ + return pulumi.get(self, "vpc_name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationWarmNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int, + name: str): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + :param str name: The name of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of resource spec. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetInstancesV2InstanceInstanceConfigurationWarmNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int, + name: str, + size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + :param str name: The name of storage spec. + :param int size: The size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of storage spec. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size of storage spec. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetInstancesV2InstanceNodeResult(dict): + def __init__(__self__, *, + is_cold: bool, + is_coordinator: bool, + is_hot: bool, + is_kibana: bool, + is_master: bool, + is_warm: bool, + node_display_name: str, + node_name: str, + resource_specs: Sequence['outputs.GetInstancesV2InstanceNodeResourceSpecResult'], + restart_number: int, + start_time: str, + status: str, + storage_specs: Sequence['outputs.GetInstancesV2InstanceNodeStorageSpecResult']): + """ + :param bool is_cold: Is cold node. + :param bool is_coordinator: Is coordinator node. + :param bool is_hot: Is hot node. + :param bool is_kibana: Is kibana node. + :param bool is_master: Is master node. + :param bool is_warm: Is warm node. + :param str node_display_name: The show name of node. + :param str node_name: The name of node. + :param Sequence['GetInstancesV2InstanceNodeResourceSpecArgs'] resource_specs: The node resource spec of master. + :param int restart_number: The restart times of node. + :param str start_time: The start time of node. + :param str status: The status of node. + :param Sequence['GetInstancesV2InstanceNodeStorageSpecArgs'] storage_specs: The node storage spec of master. + """ + pulumi.set(__self__, "is_cold", is_cold) + pulumi.set(__self__, "is_coordinator", is_coordinator) + pulumi.set(__self__, "is_hot", is_hot) + pulumi.set(__self__, "is_kibana", is_kibana) + pulumi.set(__self__, "is_master", is_master) + pulumi.set(__self__, "is_warm", is_warm) + pulumi.set(__self__, "node_display_name", node_display_name) + pulumi.set(__self__, "node_name", node_name) + pulumi.set(__self__, "resource_specs", resource_specs) + pulumi.set(__self__, "restart_number", restart_number) + pulumi.set(__self__, "start_time", start_time) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "storage_specs", storage_specs) + + @property + @pulumi.getter(name="isCold") + def is_cold(self) -> bool: + """ + Is cold node. + """ + return pulumi.get(self, "is_cold") + + @property + @pulumi.getter(name="isCoordinator") + def is_coordinator(self) -> bool: + """ + Is coordinator node. + """ + return pulumi.get(self, "is_coordinator") + + @property + @pulumi.getter(name="isHot") + def is_hot(self) -> bool: + """ + Is hot node. + """ + return pulumi.get(self, "is_hot") + + @property + @pulumi.getter(name="isKibana") + def is_kibana(self) -> bool: + """ + Is kibana node. + """ + return pulumi.get(self, "is_kibana") + + @property + @pulumi.getter(name="isMaster") + def is_master(self) -> bool: + """ + Is master node. + """ + return pulumi.get(self, "is_master") + + @property + @pulumi.getter(name="isWarm") + def is_warm(self) -> bool: + """ + Is warm node. + """ + return pulumi.get(self, "is_warm") + + @property + @pulumi.getter(name="nodeDisplayName") + def node_display_name(self) -> str: + """ + The show name of node. + """ + return pulumi.get(self, "node_display_name") + + @property + @pulumi.getter(name="nodeName") + def node_name(self) -> str: + """ + The name of node. + """ + return pulumi.get(self, "node_name") + + @property + @pulumi.getter(name="resourceSpecs") + def resource_specs(self) -> Sequence['outputs.GetInstancesV2InstanceNodeResourceSpecResult']: + """ + The node resource spec of master. + """ + return pulumi.get(self, "resource_specs") + + @property + @pulumi.getter(name="restartNumber") + def restart_number(self) -> int: + """ + The restart times of node. + """ + return pulumi.get(self, "restart_number") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> str: + """ + The start time of node. + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of node. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="storageSpecs") + def storage_specs(self) -> Sequence['outputs.GetInstancesV2InstanceNodeStorageSpecResult']: + """ + The node storage spec of master. + """ + return pulumi.get(self, "storage_specs") + + +@pulumi.output_type +class GetInstancesV2InstanceNodeResourceSpecResult(dict): + def __init__(__self__, *, + cpu: int, + description: str, + display_name: str, + memory: int): + """ + :param int cpu: The cpu info of resource spec. + :param str description: The description of resource spec. + :param str display_name: The show name of resource spec. + :param int memory: The memory info of resource spec. + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "memory", memory) + + @property + @pulumi.getter + def cpu(self) -> int: + """ + The cpu info of resource spec. + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of resource spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of resource spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def memory(self) -> int: + """ + The memory info of resource spec. + """ + return pulumi.get(self, "memory") + + +@pulumi.output_type +class GetInstancesV2InstanceNodeStorageSpecResult(dict): + def __init__(__self__, *, + description: str, + display_name: str, + max_size: int, + min_size: int): + """ + :param str description: The description of storage spec. + :param str display_name: The show name of storage spec. + :param int max_size: The max size of storage spec. + :param int min_size: The min size of storage spec. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "min_size", min_size) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of storage spec. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The show name of storage spec. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> int: + """ + The max size of storage spec. + """ + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> int: + """ + The min size of storage spec. + """ + return pulumi.get(self, "min_size") + + +@pulumi.output_type +class GetInstancesV2InstancePluginResult(dict): + def __init__(__self__, *, + description: str, + plugin_name: str, + status: str, + version: str): + """ + :param str description: The description of plugin. + :param str plugin_name: The name of plugin. + :param str status: The status of plugin. + :param str version: The version of plugin. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "plugin_name", plugin_name) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of plugin. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="pluginName") + def plugin_name(self) -> str: + """ + The name of plugin. + """ + return pulumi.get(self, "plugin_name") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of plugin. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def version(self) -> str: + """ + The version of plugin. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetInstancesV2InstanceTagResult(dict): + def __init__(__self__, *, + key: str, + value: str): + """ + :param str key: The Key of Tags. + :param str value: The Value of Tags. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Key of Tags. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The Value of Tags. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetInstancesV2TagResult(dict): + def __init__(__self__, *, + key: str, + values: Sequence[str]): + """ + :param str key: The Key of Tags. + :param Sequence[str] values: The Value of Tags. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Key of Tags. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + The Value of Tags. + """ + return pulumi.get(self, "values") + + +@pulumi.output_type +class GetRegionsRegionResult(dict): + def __init__(__self__, *, + region_id: str, + region_name: str): + """ + :param str region_id: The id of the region. + :param str region_name: The name of region. + """ + pulumi.set(__self__, "region_id", region_id) + pulumi.set(__self__, "region_name", region_name) + + @property + @pulumi.getter(name="regionId") + def region_id(self) -> str: + """ + The id of the region. + """ + return pulumi.get(self, "region_id") + + @property + @pulumi.getter(name="regionName") + def region_name(self) -> str: + """ + The name of region. + """ + return pulumi.get(self, "region_name") + + +@pulumi.output_type +class GetZonesZoneResult(dict): + def __init__(__self__, *, + id: str, + zone_id: str, + zone_name: str): + """ + :param str id: The id of the zone. + :param str zone_id: The id of the zone. + :param str zone_name: The name of the zone. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "zone_id", zone_id) + pulumi.set(__self__, "zone_name", zone_name) + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the zone. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + """ + The id of the zone. + """ + return pulumi.get(self, "zone_id") + + @property + @pulumi.getter(name="zoneName") + def zone_name(self) -> str: + """ + The name of the zone. + """ + return pulumi.get(self, "zone_name") + + diff --git a/sdk/python/pulumi_volcengine/escloud/regions.py b/sdk/python/pulumi_volcengine/escloud/regions.py index 4fe920b7..3013eee0 100644 --- a/sdk/python/pulumi_volcengine/escloud/regions.py +++ b/sdk/python/pulumi_volcengine/escloud/regions.py @@ -17,6 +17,8 @@ 'regions_output', ] +warnings.warn("""volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions""", DeprecationWarning) + @pulumi.output_type class RegionsResult: """ @@ -81,19 +83,20 @@ def __await__(self): def regions(output_file: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableRegionsResult: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions ## Example Usage ```python import pulumi import pulumi_volcengine as volcengine - default = volcengine.escloud.regions() + default = volcengine.escloud.get_regions() ``` :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""regions is deprecated: volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions""") __args__ = dict() __args__['outputFile'] = output_file opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -110,17 +113,18 @@ def regions(output_file: Optional[str] = None, def regions_output(output_file: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[RegionsResult]: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud regions + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud regions ## Example Usage ```python import pulumi import pulumi_volcengine as volcengine - default = volcengine.escloud.regions() + default = volcengine.escloud.get_regions() ``` :param str output_file: File name where to save data source results. """ + pulumi.log.warn("""regions is deprecated: volcengine.escloud/regions.Regions has been deprecated in favor of volcengine.escloud/getregions.getRegions""") ... diff --git a/sdk/python/pulumi_volcengine/escloud/zones.py b/sdk/python/pulumi_volcengine/escloud/zones.py index 41dd408d..a6b70cec 100644 --- a/sdk/python/pulumi_volcengine/escloud/zones.py +++ b/sdk/python/pulumi_volcengine/escloud/zones.py @@ -17,6 +17,8 @@ 'zones_output', ] +warnings.warn("""volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones""", DeprecationWarning) + @pulumi.output_type class ZonesResult: """ @@ -91,20 +93,21 @@ def zones(output_file: Optional[str] = None, region_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableZonesResult: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones ## Example Usage ```python import pulumi import pulumi_volcengine as volcengine - default = volcengine.escloud.zones(region_id="xxx") + default = volcengine.escloud.get_zones(region_id="xxx") ``` :param str output_file: File name where to save data source results. :param str region_id: The Id of Region. """ + pulumi.log.warn("""zones is deprecated: volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones""") __args__ = dict() __args__['outputFile'] = output_file __args__['regionId'] = region_id @@ -124,18 +127,19 @@ def zones_output(output_file: Optional[pulumi.Input[Optional[str]]] = None, region_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ZonesResult]: """ - (Deprecated! Recommend use escloud_v2.EscloudInstanceV2 replace) Use this data source to query detailed information of escloud zones + (Deprecated! Recommend use escloud.InstanceV2 replace) Use this data source to query detailed information of escloud zones ## Example Usage ```python import pulumi import pulumi_volcengine as volcengine - default = volcengine.escloud.zones(region_id="xxx") + default = volcengine.escloud.get_zones(region_id="xxx") ``` :param str output_file: File name where to save data source results. :param str region_id: The Id of Region. """ + pulumi.log.warn("""zones is deprecated: volcengine.escloud/zones.Zones has been deprecated in favor of volcengine.escloud/getzones.getZones""") ... diff --git a/sdk/python/pulumi_volcengine/escloud_v2/escloud_instance_v2.py b/sdk/python/pulumi_volcengine/escloud_v2/escloud_instance_v2.py index e1cd0009..8c32cf52 100644 --- a/sdk/python/pulumi_volcengine/escloud_v2/escloud_instance_v2.py +++ b/sdk/python/pulumi_volcengine/escloud_v2/escloud_instance_v2.py @@ -888,7 +888,12 @@ def zone_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "zone_ids", value) +warnings.warn("""volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2""", DeprecationWarning) + + class EscloudInstanceV2(pulumi.CustomResource): + warnings.warn("""volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2""", DeprecationWarning) + @overload def __init__(__self__, resource_name: str, @@ -929,7 +934,7 @@ def __init__(__self__, cidr_block="172.16.0.0/24", zone_id=foo_zones.zones[0].id, vpc_id=foo_vpc.id) - foo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", instance_name="acc-test-escloud-instance", version="V7_10", zone_ids=[ @@ -948,24 +953,24 @@ def __init__(__self__, deletion_protection=False, project_name="default", node_specs_assigns=[ - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Master", number=3, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.pl0", storage_size=20, ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Hot", number=6, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.flexpl-standard", storage_size=500, - extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs( + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( throughput=65, ), ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Kibana", number=1, resource_spec_name="kibana.x2.small", @@ -974,20 +979,20 @@ def __init__(__self__, ), ], network_specs=[ - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Elasticsearch", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Kibana", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), ], - tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs( + tags=[volcengine.escloud.InstanceV2TagArgs( key="k1", value="v1", )]) @@ -1048,7 +1053,7 @@ def __init__(__self__, cidr_block="172.16.0.0/24", zone_id=foo_zones.zones[0].id, vpc_id=foo_vpc.id) - foo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", instance_name="acc-test-escloud-instance", version="V7_10", zone_ids=[ @@ -1067,24 +1072,24 @@ def __init__(__self__, deletion_protection=False, project_name="default", node_specs_assigns=[ - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Master", number=3, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.pl0", storage_size=20, ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Hot", number=6, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.flexpl-standard", storage_size=500, - extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs( + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( throughput=65, ), ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Kibana", number=1, resource_spec_name="kibana.x2.small", @@ -1093,20 +1098,20 @@ def __init__(__self__, ), ], network_specs=[ - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Elasticsearch", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Kibana", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), ], - tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs( + tags=[volcengine.escloud.InstanceV2TagArgs( key="k1", value="v1", )]) @@ -1156,6 +1161,7 @@ def _internal_init(__self__, version: Optional[pulumi.Input[str]] = None, zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): + pulumi.log.warn("""EscloudInstanceV2 is deprecated: volcengine.escloud_v2/escloudinstancev2.EscloudInstanceV2 has been deprecated in favor of volcengine.escloud/instancev2.InstanceV2""") opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') diff --git a/sdk/python/pulumi_volcengine/escloud_v2/escloud_instances_v2.py b/sdk/python/pulumi_volcengine/escloud_v2/escloud_instances_v2.py index ffe3fbbc..409579ce 100644 --- a/sdk/python/pulumi_volcengine/escloud_v2/escloud_instances_v2.py +++ b/sdk/python/pulumi_volcengine/escloud_v2/escloud_instances_v2.py @@ -18,6 +18,8 @@ 'escloud_instances_v2_output', ] +warnings.warn("""volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2""", DeprecationWarning) + @pulumi.output_type class EscloudInstancesV2Result: """ @@ -158,6 +160,7 @@ def escloud_instances_v2(charge_types: Optional[Sequence[str]] = None, """ Use this data source to access information about an existing resource. """ + pulumi.log.warn("""escloud_instances_v2 is deprecated: volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2""") __args__ = dict() __args__['chargeTypes'] = charge_types __args__['ids'] = ids @@ -200,4 +203,5 @@ def escloud_instances_v2_output(charge_types: Optional[pulumi.Input[Optional[Seq """ Use this data source to access information about an existing resource. """ + pulumi.log.warn("""escloud_instances_v2 is deprecated: volcengine.escloud_v2/escloudinstancesv2.EscloudInstancesV2 has been deprecated in favor of volcengine.escloud/getinstancesv2.getInstancesV2""") ... diff --git a/sdk/python/pulumi_volcengine/escloud_v2/escloud_ip_white_list.py b/sdk/python/pulumi_volcengine/escloud_v2/escloud_ip_white_list.py index b04515d7..8d3d403b 100644 --- a/sdk/python/pulumi_volcengine/escloud_v2/escloud_ip_white_list.py +++ b/sdk/python/pulumi_volcengine/escloud_v2/escloud_ip_white_list.py @@ -151,7 +151,12 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +warnings.warn("""volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList""", DeprecationWarning) + + class EscloudIpWhiteList(pulumi.CustomResource): + warnings.warn("""volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList""", DeprecationWarning) + @overload def __init__(__self__, resource_name: str, @@ -179,7 +184,7 @@ def __init__(__self__, cidr_block="172.16.0.0/24", zone_id=foo_zones.zones[0].id, vpc_id=foo_vpc.id) - foo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", instance_name="acc-test-escloud-instance", version="V7_10", zone_ids=[ @@ -198,24 +203,24 @@ def __init__(__self__, deletion_protection=False, project_name="default", node_specs_assigns=[ - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Master", number=3, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.pl0", storage_size=20, ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Hot", number=6, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.flexpl-standard", storage_size=500, - extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs( + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( throughput=65, ), ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Kibana", number=1, resource_spec_name="kibana.x2.small", @@ -224,25 +229,25 @@ def __init__(__self__, ), ], network_specs=[ - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Elasticsearch", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Kibana", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), ], - tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs( + tags=[volcengine.escloud.InstanceV2TagArgs( key="k1", value="v1", )]) - foo_escloud_ip_white_list = volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", - instance_id=foo_escloud_instance_v2.id, + foo_ip_white_list = volcengine.escloud.IpWhiteList("fooIpWhiteList", + instance_id=foo_instance_v2.id, type="public", component="es", ip_lists=[ @@ -291,7 +296,7 @@ def __init__(__self__, cidr_block="172.16.0.0/24", zone_id=foo_zones.zones[0].id, vpc_id=foo_vpc.id) - foo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", + foo_instance_v2 = volcengine.escloud.InstanceV2("fooInstanceV2", instance_name="acc-test-escloud-instance", version="V7_10", zone_ids=[ @@ -310,24 +315,24 @@ def __init__(__self__, deletion_protection=False, project_name="default", node_specs_assigns=[ - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Master", number=3, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.pl0", storage_size=20, ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Hot", number=6, resource_spec_name="es.x2.medium", storage_spec_name="es.volume.essd.flexpl-standard", storage_size=500, - extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs( + extra_performance=volcengine.escloud.InstanceV2NodeSpecsAssignExtraPerformanceArgs( throughput=65, ), ), - volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs( + volcengine.escloud.InstanceV2NodeSpecsAssignArgs( type="Kibana", number=1, resource_spec_name="kibana.x2.small", @@ -336,25 +341,25 @@ def __init__(__self__, ), ], network_specs=[ - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Elasticsearch", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), - volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs( + volcengine.escloud.InstanceV2NetworkSpecArgs( type="Kibana", bandwidth=1, is_open=True, spec_name="es.eip.bgp_fixed_bandwidth", ), ], - tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs( + tags=[volcengine.escloud.InstanceV2TagArgs( key="k1", value="v1", )]) - foo_escloud_ip_white_list = volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", - instance_id=foo_escloud_instance_v2.id, + foo_ip_white_list = volcengine.escloud.IpWhiteList("fooIpWhiteList", + instance_id=foo_instance_v2.id, type="public", component="es", ip_lists=[ @@ -392,6 +397,7 @@ def _internal_init(__self__, ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, __props__=None): + pulumi.log.warn("""EscloudIpWhiteList is deprecated: volcengine.escloud_v2/escloudipwhitelist.EscloudIpWhiteList has been deprecated in favor of volcengine.escloud/ipwhitelist.IpWhiteList""") opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance')