published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Cloud service access.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
cENServiceRouteEntryDemo:
type: volcenginecc:cen:ServiceRouteEntry
name: CENServiceRouteEntryDemo
properties:
cenId: cen-2v73nw1h8a03k6x7exxxxxx
destinationCidrBlock: 100.x.0.0/11
serviceVpcId: vpc-iirjlwem73eo74o8cxxxxx
description: ccapi-test
publishMode: Custom
publishToInstances:
- instance_region_id: cn-hongkong
instance_type: VPC
instance_id: vpc-2uzvkdpoof7cw17q7y2xxxxx
- instance_region_id: cn-shanghai
instance_type: VPC
instance_id: vpc-33glll2z1gem86k70bxxxxx
Create ServiceRouteEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceRouteEntry(name: string, args: ServiceRouteEntryArgs, opts?: CustomResourceOptions);@overload
def ServiceRouteEntry(resource_name: str,
args: ServiceRouteEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceRouteEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
cen_id: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
service_vpc_id: Optional[str] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
publish_mode: Optional[str] = None,
publish_to_instances: Optional[Sequence[ServiceRouteEntryPublishToInstanceArgs]] = None)func NewServiceRouteEntry(ctx *Context, name string, args ServiceRouteEntryArgs, opts ...ResourceOption) (*ServiceRouteEntry, error)public ServiceRouteEntry(string name, ServiceRouteEntryArgs args, CustomResourceOptions? opts = null)
public ServiceRouteEntry(String name, ServiceRouteEntryArgs args)
public ServiceRouteEntry(String name, ServiceRouteEntryArgs args, CustomResourceOptions options)
type: volcenginecc:cen:ServiceRouteEntry
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 ServiceRouteEntryArgs
- 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 ServiceRouteEntryArgs
- 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 ServiceRouteEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceRouteEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceRouteEntryArgs
- 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 serviceRouteEntryResource = new Volcenginecc.Cen.ServiceRouteEntry("serviceRouteEntryResource", new()
{
CenId = "string",
DestinationCidrBlock = "string",
ServiceVpcId = "string",
CreationTime = "string",
Description = "string",
PublishMode = "string",
PublishToInstances = new[]
{
new Volcenginecc.Cen.Inputs.ServiceRouteEntryPublishToInstanceArgs
{
InstanceId = "string",
InstanceRegionId = "string",
InstanceType = "string",
},
},
});
example, err := cen.NewServiceRouteEntry(ctx, "serviceRouteEntryResource", &cen.ServiceRouteEntryArgs{
CenId: pulumi.String("string"),
DestinationCidrBlock: pulumi.String("string"),
ServiceVpcId: pulumi.String("string"),
CreationTime: pulumi.String("string"),
Description: pulumi.String("string"),
PublishMode: pulumi.String("string"),
PublishToInstances: cen.ServiceRouteEntryPublishToInstanceArray{
&cen.ServiceRouteEntryPublishToInstanceArgs{
InstanceId: pulumi.String("string"),
InstanceRegionId: pulumi.String("string"),
InstanceType: pulumi.String("string"),
},
},
})
var serviceRouteEntryResource = new ServiceRouteEntry("serviceRouteEntryResource", ServiceRouteEntryArgs.builder()
.cenId("string")
.destinationCidrBlock("string")
.serviceVpcId("string")
.creationTime("string")
.description("string")
.publishMode("string")
.publishToInstances(ServiceRouteEntryPublishToInstanceArgs.builder()
.instanceId("string")
.instanceRegionId("string")
.instanceType("string")
.build())
.build());
service_route_entry_resource = volcenginecc.cen.ServiceRouteEntry("serviceRouteEntryResource",
cen_id="string",
destination_cidr_block="string",
service_vpc_id="string",
creation_time="string",
description="string",
publish_mode="string",
publish_to_instances=[{
"instance_id": "string",
"instance_region_id": "string",
"instance_type": "string",
}])
const serviceRouteEntryResource = new volcenginecc.cen.ServiceRouteEntry("serviceRouteEntryResource", {
cenId: "string",
destinationCidrBlock: "string",
serviceVpcId: "string",
creationTime: "string",
description: "string",
publishMode: "string",
publishToInstances: [{
instanceId: "string",
instanceRegionId: "string",
instanceType: "string",
}],
});
type: volcenginecc:cen:ServiceRouteEntry
properties:
cenId: string
creationTime: string
description: string
destinationCidrBlock: string
publishMode: string
publishToInstances:
- instanceId: string
instanceRegionId: string
instanceType: string
serviceVpcId: string
ServiceRouteEntry 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 ServiceRouteEntry resource accepts the following input properties:
- Cen
Id string - Cloud Enterprise Network instance ID.
- Destination
Cidr stringBlock - Address range where the cloud service is deployed.
- Service
Vpc stringId - Private network ID bound to the backend cloud service.
- Creation
Time string - Resource creation time.
- Description string
- Custom remarks for the route.
- Publish
Mode string - Route publishing scope mode.
- Publish
To List<Volcengine.Instances Service Route Entry Publish To Instance>
- Cen
Id string - Cloud Enterprise Network instance ID.
- Destination
Cidr stringBlock - Address range where the cloud service is deployed.
- Service
Vpc stringId - Private network ID bound to the backend cloud service.
- Creation
Time string - Resource creation time.
- Description string
- Custom remarks for the route.
- Publish
Mode string - Route publishing scope mode.
- Publish
To []ServiceInstances Route Entry Publish To Instance Args
- cen
Id String - Cloud Enterprise Network instance ID.
- destination
Cidr StringBlock - Address range where the cloud service is deployed.
- service
Vpc StringId - Private network ID bound to the backend cloud service.
- creation
Time String - Resource creation time.
- description String
- Custom remarks for the route.
- publish
Mode String - Route publishing scope mode.
- publish
To List<ServiceInstances Route Entry Publish To Instance>
- cen
Id string - Cloud Enterprise Network instance ID.
- destination
Cidr stringBlock - Address range where the cloud service is deployed.
- service
Vpc stringId - Private network ID bound to the backend cloud service.
- creation
Time string - Resource creation time.
- description string
- Custom remarks for the route.
- publish
Mode string - Route publishing scope mode.
- publish
To ServiceInstances Route Entry Publish To Instance[]
- cen_
id str - Cloud Enterprise Network instance ID.
- destination_
cidr_ strblock - Address range where the cloud service is deployed.
- service_
vpc_ strid - Private network ID bound to the backend cloud service.
- creation_
time str - Resource creation time.
- description str
- Custom remarks for the route.
- publish_
mode str - Route publishing scope mode.
- publish_
to_ Sequence[Serviceinstances Route Entry Publish To Instance Args]
- cen
Id String - Cloud Enterprise Network instance ID.
- destination
Cidr StringBlock - Address range where the cloud service is deployed.
- service
Vpc StringId - Private network ID bound to the backend cloud service.
- creation
Time String - Resource creation time.
- description String
- Custom remarks for the route.
- publish
Mode String - Route publishing scope mode.
- publish
To List<Property Map>Instances
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceRouteEntry resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Region stringId - Region where the cloud service is located.
- Status string
- Cloud service access route status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Region stringId - Region where the cloud service is located.
- Status string
- Cloud service access route status.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Region StringId - Region where the cloud service is located.
- status String
- Cloud service access route status.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Region stringId - Region where the cloud service is located.
- status string
- Cloud service access route status.
- id str
- The provider-assigned unique ID for this managed resource.
- service_
region_ strid - Region where the cloud service is located.
- status str
- Cloud service access route status.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Region StringId - Region where the cloud service is located.
- status String
- Cloud service access route status.
Look up Existing ServiceRouteEntry Resource
Get an existing ServiceRouteEntry 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?: ServiceRouteEntryState, opts?: CustomResourceOptions): ServiceRouteEntry@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cen_id: Optional[str] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
publish_mode: Optional[str] = None,
publish_to_instances: Optional[Sequence[ServiceRouteEntryPublishToInstanceArgs]] = None,
service_region_id: Optional[str] = None,
service_vpc_id: Optional[str] = None,
status: Optional[str] = None) -> ServiceRouteEntryfunc GetServiceRouteEntry(ctx *Context, name string, id IDInput, state *ServiceRouteEntryState, opts ...ResourceOption) (*ServiceRouteEntry, error)public static ServiceRouteEntry Get(string name, Input<string> id, ServiceRouteEntryState? state, CustomResourceOptions? opts = null)public static ServiceRouteEntry get(String name, Output<String> id, ServiceRouteEntryState state, CustomResourceOptions options)resources: _: type: volcenginecc:cen:ServiceRouteEntry 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.
- Cen
Id string - Cloud Enterprise Network instance ID.
- Creation
Time string - Resource creation time.
- Description string
- Custom remarks for the route.
- Destination
Cidr stringBlock - Address range where the cloud service is deployed.
- Publish
Mode string - Route publishing scope mode.
- Publish
To List<Volcengine.Instances Service Route Entry Publish To Instance> - Service
Region stringId - Region where the cloud service is located.
- Service
Vpc stringId - Private network ID bound to the backend cloud service.
- Status string
- Cloud service access route status.
- Cen
Id string - Cloud Enterprise Network instance ID.
- Creation
Time string - Resource creation time.
- Description string
- Custom remarks for the route.
- Destination
Cidr stringBlock - Address range where the cloud service is deployed.
- Publish
Mode string - Route publishing scope mode.
- Publish
To []ServiceInstances Route Entry Publish To Instance Args - Service
Region stringId - Region where the cloud service is located.
- Service
Vpc stringId - Private network ID bound to the backend cloud service.
- Status string
- Cloud service access route status.
- cen
Id String - Cloud Enterprise Network instance ID.
- creation
Time String - Resource creation time.
- description String
- Custom remarks for the route.
- destination
Cidr StringBlock - Address range where the cloud service is deployed.
- publish
Mode String - Route publishing scope mode.
- publish
To List<ServiceInstances Route Entry Publish To Instance> - service
Region StringId - Region where the cloud service is located.
- service
Vpc StringId - Private network ID bound to the backend cloud service.
- status String
- Cloud service access route status.
- cen
Id string - Cloud Enterprise Network instance ID.
- creation
Time string - Resource creation time.
- description string
- Custom remarks for the route.
- destination
Cidr stringBlock - Address range where the cloud service is deployed.
- publish
Mode string - Route publishing scope mode.
- publish
To ServiceInstances Route Entry Publish To Instance[] - service
Region stringId - Region where the cloud service is located.
- service
Vpc stringId - Private network ID bound to the backend cloud service.
- status string
- Cloud service access route status.
- cen_
id str - Cloud Enterprise Network instance ID.
- creation_
time str - Resource creation time.
- description str
- Custom remarks for the route.
- destination_
cidr_ strblock - Address range where the cloud service is deployed.
- publish_
mode str - Route publishing scope mode.
- publish_
to_ Sequence[Serviceinstances Route Entry Publish To Instance Args] - service_
region_ strid - Region where the cloud service is located.
- service_
vpc_ strid - Private network ID bound to the backend cloud service.
- status str
- Cloud service access route status.
- cen
Id String - Cloud Enterprise Network instance ID.
- creation
Time String - Resource creation time.
- description String
- Custom remarks for the route.
- destination
Cidr StringBlock - Address range where the cloud service is deployed.
- publish
Mode String - Route publishing scope mode.
- publish
To List<Property Map>Instances - service
Region StringId - Region where the cloud service is located.
- service
Vpc StringId - Private network ID bound to the backend cloud service.
- status String
- Cloud service access route status.
Supporting Types
ServiceRouteEntryPublishToInstance, ServiceRouteEntryPublishToInstanceArgs
- Instance
Id string - Network instance ID for published cloud service access route.
- Instance
Region stringId - Region for published cloud service access route.
- Instance
Type string - Network instance type for published cloud service access route.
- Instance
Id string - Network instance ID for published cloud service access route.
- Instance
Region stringId - Region for published cloud service access route.
- Instance
Type string - Network instance type for published cloud service access route.
- instance
Id String - Network instance ID for published cloud service access route.
- instance
Region StringId - Region for published cloud service access route.
- instance
Type String - Network instance type for published cloud service access route.
- instance
Id string - Network instance ID for published cloud service access route.
- instance
Region stringId - Region for published cloud service access route.
- instance
Type string - Network instance type for published cloud service access route.
- instance_
id str - Network instance ID for published cloud service access route.
- instance_
region_ strid - Region for published cloud service access route.
- instance_
type str - Network instance type for published cloud service access route.
- instance
Id String - Network instance ID for published cloud service access route.
- instance
Region StringId - Region for published cloud service access route.
- instance
Type String - Network instance type for published cloud service access route.
Import
$ pulumi import volcenginecc:cen/serviceRouteEntry:ServiceRouteEntry example "cen_id|destination_cidr_block"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
