volcengine.privatelink.VpcEndpointService
Explore with Pulumi AI
Provides a resource to manage privatelink vpc endpoint service
Example Usage
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",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooClb = new volcengine.clb.Clb("fooClb", {
    type: "public",
    subnetId: fooSubnet.id,
    loadBalancerSpec: "small_1",
    description: "acc-test-demo",
    loadBalancerName: "acc-test-clb",
    loadBalancerBillingType: "PostPaid",
    eipBillingConfig: {
        isp: "BGP",
        eipBillingType: "PostPaidByBandwidth",
        bandwidth: 1,
    },
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
const fooVpcEndpointService = new volcengine.privatelink.VpcEndpointService("fooVpcEndpointService", {
    resources: [{
        resourceId: fooClb.id,
        resourceType: "CLB",
    }],
    description: "acc-test",
    autoAcceptEnabled: true,
});
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",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_clb = volcengine.clb.Clb("fooClb",
    type="public",
    subnet_id=foo_subnet.id,
    load_balancer_spec="small_1",
    description="acc-test-demo",
    load_balancer_name="acc-test-clb",
    load_balancer_billing_type="PostPaid",
    eip_billing_config=volcengine.clb.ClbEipBillingConfigArgs(
        isp="BGP",
        eip_billing_type="PostPaidByBandwidth",
        bandwidth=1,
    ),
    tags=[volcengine.clb.ClbTagArgs(
        key="k1",
        value="v1",
    )])
foo_vpc_endpoint_service = volcengine.privatelink.VpcEndpointService("fooVpcEndpointService",
    resources=[volcengine.privatelink.VpcEndpointServiceResourceArgs(
        resource_id=foo_clb.id,
        resource_type="CLB",
    )],
    description="acc-test",
    auto_accept_enabled=True)
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/privatelink"
	"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"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:                    pulumi.String("public"),
			SubnetId:                fooSubnet.ID(),
			LoadBalancerSpec:        pulumi.String("small_1"),
			Description:             pulumi.String("acc-test-demo"),
			LoadBalancerName:        pulumi.String("acc-test-clb"),
			LoadBalancerBillingType: pulumi.String("PostPaid"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
			Tags: clb.ClbTagArray{
				&clb.ClbTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = privatelink.NewVpcEndpointService(ctx, "fooVpcEndpointService", &privatelink.VpcEndpointServiceArgs{
			Resources: privatelink.VpcEndpointServiceResourceTypeArray{
				&privatelink.VpcEndpointServiceResourceTypeArgs{
					ResourceId:   fooClb.ID(),
					ResourceType: pulumi.String("CLB"),
				},
			},
			Description:       pulumi.String("acc-test"),
			AutoAcceptEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });
    var fooClb = new Volcengine.Clb.Clb("fooClb", new()
    {
        Type = "public",
        SubnetId = fooSubnet.Id,
        LoadBalancerSpec = "small_1",
        Description = "acc-test-demo",
        LoadBalancerName = "acc-test-clb",
        LoadBalancerBillingType = "PostPaid",
        EipBillingConfig = new Volcengine.Clb.Inputs.ClbEipBillingConfigArgs
        {
            Isp = "BGP",
            EipBillingType = "PostPaidByBandwidth",
            Bandwidth = 1,
        },
        Tags = new[]
        {
            new Volcengine.Clb.Inputs.ClbTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });
    var fooVpcEndpointService = new Volcengine.Privatelink.VpcEndpointService("fooVpcEndpointService", new()
    {
        Resources = new[]
        {
            new Volcengine.Privatelink.Inputs.VpcEndpointServiceResourceArgs
            {
                ResourceId = fooClb.Id,
                ResourceType = "CLB",
            },
        },
        Description = "acc-test",
        AutoAcceptEnabled = true,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.clb.Clb;
import com.pulumi.volcengine.clb.ClbArgs;
import com.pulumi.volcengine.clb.inputs.ClbEipBillingConfigArgs;
import com.pulumi.volcengine.clb.inputs.ClbTagArgs;
import com.pulumi.volcengine.privatelink.VpcEndpointService;
import com.pulumi.volcengine.privatelink.VpcEndpointServiceArgs;
import com.pulumi.volcengine.privatelink.inputs.VpcEndpointServiceResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var fooZones = EcsFunctions.Zones();
        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());
        var fooClb = new Clb("fooClb", ClbArgs.builder()        
            .type("public")
            .subnetId(fooSubnet.id())
            .loadBalancerSpec("small_1")
            .description("acc-test-demo")
            .loadBalancerName("acc-test-clb")
            .loadBalancerBillingType("PostPaid")
            .eipBillingConfig(ClbEipBillingConfigArgs.builder()
                .isp("BGP")
                .eipBillingType("PostPaidByBandwidth")
                .bandwidth(1)
                .build())
            .tags(ClbTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());
        var fooVpcEndpointService = new VpcEndpointService("fooVpcEndpointService", VpcEndpointServiceArgs.builder()        
            .resources(VpcEndpointServiceResourceArgs.builder()
                .resourceId(fooClb.id())
                .resourceType("CLB")
                .build())
            .description("acc-test")
            .autoAcceptEnabled(true)
            .build());
    }
}
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: ${fooZones.zones[0].id}
      vpcId: ${fooVpc.id}
  fooClb:
    type: volcengine:clb:Clb
    properties:
      type: public
      subnetId: ${fooSubnet.id}
      loadBalancerSpec: small_1
      description: acc-test-demo
      loadBalancerName: acc-test-clb
      loadBalancerBillingType: PostPaid
      eipBillingConfig:
        isp: BGP
        eipBillingType: PostPaidByBandwidth
        bandwidth: 1
      tags:
        - key: k1
          value: v1
  fooVpcEndpointService:
    type: volcengine:privatelink:VpcEndpointService
    properties:
      resources:
        - resourceId: ${fooClb.id}
          resourceType: CLB
      description: acc-test
      autoAcceptEnabled: true
variables:
  fooZones:
    fn::invoke:
      Function: volcengine:ecs:Zones
      Arguments: {}
Create VpcEndpointService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcEndpointService(name: string, args: VpcEndpointServiceArgs, opts?: CustomResourceOptions);@overload
def VpcEndpointService(resource_name: str,
                       args: VpcEndpointServiceArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def VpcEndpointService(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resources: Optional[Sequence[VpcEndpointServiceResourceArgs]] = None,
                       auto_accept_enabled: Optional[bool] = None,
                       description: Optional[str] = None)func NewVpcEndpointService(ctx *Context, name string, args VpcEndpointServiceArgs, opts ...ResourceOption) (*VpcEndpointService, error)public VpcEndpointService(string name, VpcEndpointServiceArgs args, CustomResourceOptions? opts = null)
public VpcEndpointService(String name, VpcEndpointServiceArgs args)
public VpcEndpointService(String name, VpcEndpointServiceArgs args, CustomResourceOptions options)
type: volcengine:privatelink:VpcEndpointService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcEndpointServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcEndpointServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcEndpointServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcEndpointServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcEndpointServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcEndpointServiceResource = new Volcengine.Privatelink.VpcEndpointService("vpcEndpointServiceResource", new()
{
    Resources = new[]
    {
        new Volcengine.Privatelink.Inputs.VpcEndpointServiceResourceArgs
        {
            ResourceId = "string",
            ResourceType = "string",
        },
    },
    AutoAcceptEnabled = false,
    Description = "string",
});
example, err := privatelink.NewVpcEndpointService(ctx, "vpcEndpointServiceResource", &privatelink.VpcEndpointServiceArgs{
	Resources: privatelink.VpcEndpointServiceResourceTypeArray{
		&privatelink.VpcEndpointServiceResourceTypeArgs{
			ResourceId:   pulumi.String("string"),
			ResourceType: pulumi.String("string"),
		},
	},
	AutoAcceptEnabled: pulumi.Bool(false),
	Description:       pulumi.String("string"),
})
var vpcEndpointServiceResource = new VpcEndpointService("vpcEndpointServiceResource", VpcEndpointServiceArgs.builder()
    .resources(VpcEndpointServiceResourceArgs.builder()
        .resourceId("string")
        .resourceType("string")
        .build())
    .autoAcceptEnabled(false)
    .description("string")
    .build());
vpc_endpoint_service_resource = volcengine.privatelink.VpcEndpointService("vpcEndpointServiceResource",
    resources=[{
        "resource_id": "string",
        "resource_type": "string",
    }],
    auto_accept_enabled=False,
    description="string")
const vpcEndpointServiceResource = new volcengine.privatelink.VpcEndpointService("vpcEndpointServiceResource", {
    resources: [{
        resourceId: "string",
        resourceType: "string",
    }],
    autoAcceptEnabled: false,
    description: "string",
});
type: volcengine:privatelink:VpcEndpointService
properties:
    autoAcceptEnabled: false
    description: string
    resources:
        - resourceId: string
          resourceType: string
VpcEndpointService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcEndpointService resource accepts the following input properties:
- Resources
List<VpcEndpoint Service Resource> 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- AutoAccept boolEnabled 
- Whether auto accept node connect.
- Description string
- The description of service.
- Resources
[]VpcEndpoint Service Resource Type Args 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- AutoAccept boolEnabled 
- Whether auto accept node connect.
- Description string
- The description of service.
- resources
List<VpcEndpoint Service Resource> 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- autoAccept BooleanEnabled 
- Whether auto accept node connect.
- description String
- The description of service.
- resources
VpcEndpoint Service Resource[] 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- autoAccept booleanEnabled 
- Whether auto accept node connect.
- description string
- The description of service.
- resources
Sequence[VpcEndpoint Service Resource Args] 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- auto_accept_ boolenabled 
- Whether auto accept node connect.
- description str
- The description of service.
- resources List<Property Map>
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- autoAccept BooleanEnabled 
- Whether auto accept node connect.
- description String
- The description of service.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcEndpointService resource produces the following output properties:
- CreationTime string
- The create time of service.
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceDomain string
- The domain of service.
- ServiceId string
- The Id of service.
- ServiceName string
- The name of service.
- ServiceResource stringType 
- The resource type of service.
- ServiceType string
- The type of service.
- Status string
- The status of service.
- UpdateTime string
- The update time of service.
- ZoneIds List<string>
- The IDs of zones.
- CreationTime string
- The create time of service.
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceDomain string
- The domain of service.
- ServiceId string
- The Id of service.
- ServiceName string
- The name of service.
- ServiceResource stringType 
- The resource type of service.
- ServiceType string
- The type of service.
- Status string
- The status of service.
- UpdateTime string
- The update time of service.
- ZoneIds []string
- The IDs of zones.
- creationTime String
- The create time of service.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceDomain String
- The domain of service.
- serviceId String
- The Id of service.
- serviceName String
- The name of service.
- serviceResource StringType 
- The resource type of service.
- serviceType String
- The type of service.
- status String
- The status of service.
- updateTime String
- The update time of service.
- zoneIds List<String>
- The IDs of zones.
- creationTime string
- The create time of service.
- id string
- The provider-assigned unique ID for this managed resource.
- serviceDomain string
- The domain of service.
- serviceId string
- The Id of service.
- serviceName string
- The name of service.
- serviceResource stringType 
- The resource type of service.
- serviceType string
- The type of service.
- status string
- The status of service.
- updateTime string
- The update time of service.
- zoneIds string[]
- The IDs of zones.
- creation_time str
- The create time of service.
- id str
- The provider-assigned unique ID for this managed resource.
- service_domain str
- The domain of service.
- service_id str
- The Id of service.
- service_name str
- The name of service.
- service_resource_ strtype 
- The resource type of service.
- service_type str
- The type of service.
- status str
- The status of service.
- update_time str
- The update time of service.
- zone_ids Sequence[str]
- The IDs of zones.
- creationTime String
- The create time of service.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceDomain String
- The domain of service.
- serviceId String
- The Id of service.
- serviceName String
- The name of service.
- serviceResource StringType 
- The resource type of service.
- serviceType String
- The type of service.
- status String
- The status of service.
- updateTime String
- The update time of service.
- zoneIds List<String>
- The IDs of zones.
Look up Existing VpcEndpointService Resource
Get an existing VpcEndpointService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcEndpointServiceState, opts?: CustomResourceOptions): VpcEndpointService@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_accept_enabled: Optional[bool] = None,
        creation_time: Optional[str] = None,
        description: Optional[str] = None,
        resources: Optional[Sequence[VpcEndpointServiceResourceArgs]] = None,
        service_domain: Optional[str] = None,
        service_id: Optional[str] = None,
        service_name: Optional[str] = None,
        service_resource_type: Optional[str] = None,
        service_type: Optional[str] = None,
        status: Optional[str] = None,
        update_time: Optional[str] = None,
        zone_ids: Optional[Sequence[str]] = None) -> VpcEndpointServicefunc GetVpcEndpointService(ctx *Context, name string, id IDInput, state *VpcEndpointServiceState, opts ...ResourceOption) (*VpcEndpointService, error)public static VpcEndpointService Get(string name, Input<string> id, VpcEndpointServiceState? state, CustomResourceOptions? opts = null)public static VpcEndpointService get(String name, Output<String> id, VpcEndpointServiceState state, CustomResourceOptions options)resources:  _:    type: volcengine:privatelink:VpcEndpointService    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AutoAccept boolEnabled 
- Whether auto accept node connect.
- CreationTime string
- The create time of service.
- Description string
- The description of service.
- Resources
List<VpcEndpoint Service Resource> 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- ServiceDomain string
- The domain of service.
- ServiceId string
- The Id of service.
- ServiceName string
- The name of service.
- ServiceResource stringType 
- The resource type of service.
- ServiceType string
- The type of service.
- Status string
- The status of service.
- UpdateTime string
- The update time of service.
- ZoneIds List<string>
- The IDs of zones.
- AutoAccept boolEnabled 
- Whether auto accept node connect.
- CreationTime string
- The create time of service.
- Description string
- The description of service.
- Resources
[]VpcEndpoint Service Resource Type Args 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- ServiceDomain string
- The domain of service.
- ServiceId string
- The Id of service.
- ServiceName string
- The name of service.
- ServiceResource stringType 
- The resource type of service.
- ServiceType string
- The type of service.
- Status string
- The status of service.
- UpdateTime string
- The update time of service.
- ZoneIds []string
- The IDs of zones.
- autoAccept BooleanEnabled 
- Whether auto accept node connect.
- creationTime String
- The create time of service.
- description String
- The description of service.
- resources
List<VpcEndpoint Service Resource> 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- serviceDomain String
- The domain of service.
- serviceId String
- The Id of service.
- serviceName String
- The name of service.
- serviceResource StringType 
- The resource type of service.
- serviceType String
- The type of service.
- status String
- The status of service.
- updateTime String
- The update time of service.
- zoneIds List<String>
- The IDs of zones.
- autoAccept booleanEnabled 
- Whether auto accept node connect.
- creationTime string
- The create time of service.
- description string
- The description of service.
- resources
VpcEndpoint Service Resource[] 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- serviceDomain string
- The domain of service.
- serviceId string
- The Id of service.
- serviceName string
- The name of service.
- serviceResource stringType 
- The resource type of service.
- serviceType string
- The type of service.
- status string
- The status of service.
- updateTime string
- The update time of service.
- zoneIds string[]
- The IDs of zones.
- auto_accept_ boolenabled 
- Whether auto accept node connect.
- creation_time str
- The create time of service.
- description str
- The description of service.
- resources
Sequence[VpcEndpoint Service Resource Args] 
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- service_domain str
- The domain of service.
- service_id str
- The Id of service.
- service_name str
- The name of service.
- service_resource_ strtype 
- The resource type of service.
- service_type str
- The type of service.
- status str
- The status of service.
- update_time str
- The update time of service.
- zone_ids Sequence[str]
- The IDs of zones.
- autoAccept BooleanEnabled 
- Whether auto accept node connect.
- creationTime String
- The create time of service.
- description String
- The description of service.
- resources List<Property Map>
- The resources info. When create vpc endpoint service, the resource must exist. It is recommended to bind resources using the resources' field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
- serviceDomain String
- The domain of service.
- serviceId String
- The Id of service.
- serviceName String
- The name of service.
- serviceResource StringType 
- The resource type of service.
- serviceType String
- The type of service.
- status String
- The status of service.
- updateTime String
- The update time of service.
- zoneIds List<String>
- The IDs of zones.
Supporting Types
VpcEndpointServiceResource, VpcEndpointServiceResourceArgs        
- ResourceId string
- The id of resource.
- ResourceType string
- The type of resource.
- ResourceId string
- The id of resource.
- ResourceType string
- The type of resource.
- resourceId String
- The id of resource.
- resourceType String
- The type of resource.
- resourceId string
- The id of resource.
- resourceType string
- The type of resource.
- resource_id str
- The id of resource.
- resource_type str
- The type of resource.
- resourceId String
- The id of resource.
- resourceType String
- The type of resource.
Import
VpcEndpointService can be imported using the id, e.g.
$ pulumi import volcengine:privatelink/vpcEndpointService:VpcEndpointService default epsvc-2fe630gurkl37k5gfuy33****
It is recommended to bind resources using the resources’ field in this resource instead of using vpc_endpoint_service_resource. For operations that jointly use this resource and vpc_endpoint_service_resource, use lifecycle ignore_changes to suppress changes to the resources field.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.