1. Packages
  2. Volcengine
  3. API Docs
  4. cen
  5. ServiceRouteEntries
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.cen.ServiceRouteEntries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Use this data source to query detailed information of cen service route entries

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Cen.ServiceRouteEntries.Invoke(new()
        {
            CenId = "cen-12ar8uclj68sg17q7y20v9gil",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cen.ServiceRouteEntries(ctx, &cen.ServiceRouteEntriesArgs{
    			CenId: pulumi.StringRef("cen-12ar8uclj68sg17q7y20v9gil"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cen.CenFunctions;
    import com.pulumi.volcengine.cen.inputs.ServiceRouteEntriesArgs;
    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 default = CenFunctions.ServiceRouteEntries(ServiceRouteEntriesArgs.builder()
                .cenId("cen-12ar8uclj68sg17q7y20v9gil")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.cen.service_route_entries(cen_id="cen-12ar8uclj68sg17q7y20v9gil")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.cen.ServiceRouteEntries({
        cenId: "cen-12ar8uclj68sg17q7y20v9gil",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:cen:ServiceRouteEntries
          Arguments:
            cenId: cen-12ar8uclj68sg17q7y20v9gil
    

    Using ServiceRouteEntries

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function serviceRouteEntries(args: ServiceRouteEntriesArgs, opts?: InvokeOptions): Promise<ServiceRouteEntriesResult>
    function serviceRouteEntriesOutput(args: ServiceRouteEntriesOutputArgs, opts?: InvokeOptions): Output<ServiceRouteEntriesResult>
    def service_route_entries(cen_id: Optional[str] = None,
                              destination_cidr_block: Optional[str] = None,
                              output_file: Optional[str] = None,
                              service_region_id: Optional[str] = None,
                              service_vpc_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> ServiceRouteEntriesResult
    def service_route_entries_output(cen_id: Optional[pulumi.Input[str]] = None,
                              destination_cidr_block: Optional[pulumi.Input[str]] = None,
                              output_file: Optional[pulumi.Input[str]] = None,
                              service_region_id: Optional[pulumi.Input[str]] = None,
                              service_vpc_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[ServiceRouteEntriesResult]
    func ServiceRouteEntries(ctx *Context, args *ServiceRouteEntriesArgs, opts ...InvokeOption) (*ServiceRouteEntriesResult, error)
    func ServiceRouteEntriesOutput(ctx *Context, args *ServiceRouteEntriesOutputArgs, opts ...InvokeOption) ServiceRouteEntriesResultOutput
    public static class ServiceRouteEntries 
    {
        public static Task<ServiceRouteEntriesResult> InvokeAsync(ServiceRouteEntriesArgs args, InvokeOptions? opts = null)
        public static Output<ServiceRouteEntriesResult> Invoke(ServiceRouteEntriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ServiceRouteEntriesResult> serviceRouteEntries(ServiceRouteEntriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cen:ServiceRouteEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    OutputFile string
    File name where to save data source results.
    ServiceRegionId string
    A service region id.
    ServiceVpcId string
    A service VPC id.
    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    OutputFile string
    File name where to save data source results.
    ServiceRegionId string
    A service region id.
    ServiceVpcId string
    A service VPC id.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    outputFile String
    File name where to save data source results.
    serviceRegionId String
    A service region id.
    serviceVpcId String
    A service VPC id.
    cenId string
    A cen ID.
    destinationCidrBlock string
    A destination cidr block.
    outputFile string
    File name where to save data source results.
    serviceRegionId string
    A service region id.
    serviceVpcId string
    A service VPC id.
    cen_id str
    A cen ID.
    destination_cidr_block str
    A destination cidr block.
    output_file str
    File name where to save data source results.
    service_region_id str
    A service region id.
    service_vpc_id str
    A service VPC id.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    outputFile String
    File name where to save data source results.
    serviceRegionId String
    A service region id.
    serviceVpcId String
    A service VPC id.

    ServiceRouteEntries Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceRouteEntries List<Volcengine.ServiceRouteEntriesServiceRouteEntry>
    The collection of cen service route entry query.
    TotalCount int
    The total count of cen service route entry.
    CenId string
    The cen ID of the cen service route entry.
    DestinationCidrBlock string
    The destination cidr block of the cen service route entry.
    OutputFile string
    ServiceRegionId string
    The service region id of the cen service route entry.
    ServiceVpcId string
    The service VPC id of the cen service route entry.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceRouteEntries []ServiceRouteEntriesServiceRouteEntry
    The collection of cen service route entry query.
    TotalCount int
    The total count of cen service route entry.
    CenId string
    The cen ID of the cen service route entry.
    DestinationCidrBlock string
    The destination cidr block of the cen service route entry.
    OutputFile string
    ServiceRegionId string
    The service region id of the cen service route entry.
    ServiceVpcId string
    The service VPC id of the cen service route entry.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceRouteEntries List<ServiceRouteEntriesServiceRouteEntry>
    The collection of cen service route entry query.
    totalCount Integer
    The total count of cen service route entry.
    cenId String
    The cen ID of the cen service route entry.
    destinationCidrBlock String
    The destination cidr block of the cen service route entry.
    outputFile String
    serviceRegionId String
    The service region id of the cen service route entry.
    serviceVpcId String
    The service VPC id of the cen service route entry.
    id string
    The provider-assigned unique ID for this managed resource.
    serviceRouteEntries ServiceRouteEntriesServiceRouteEntry[]
    The collection of cen service route entry query.
    totalCount number
    The total count of cen service route entry.
    cenId string
    The cen ID of the cen service route entry.
    destinationCidrBlock string
    The destination cidr block of the cen service route entry.
    outputFile string
    serviceRegionId string
    The service region id of the cen service route entry.
    serviceVpcId string
    The service VPC id of the cen service route entry.
    id str
    The provider-assigned unique ID for this managed resource.
    service_route_entries Sequence[ServiceRouteEntriesServiceRouteEntry]
    The collection of cen service route entry query.
    total_count int
    The total count of cen service route entry.
    cen_id str
    The cen ID of the cen service route entry.
    destination_cidr_block str
    The destination cidr block of the cen service route entry.
    output_file str
    service_region_id str
    The service region id of the cen service route entry.
    service_vpc_id str
    The service VPC id of the cen service route entry.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceRouteEntries List<Property Map>
    The collection of cen service route entry query.
    totalCount Number
    The total count of cen service route entry.
    cenId String
    The cen ID of the cen service route entry.
    destinationCidrBlock String
    The destination cidr block of the cen service route entry.
    outputFile String
    serviceRegionId String
    The service region id of the cen service route entry.
    serviceVpcId String
    The service VPC id of the cen service route entry.

    Supporting Types

    ServiceRouteEntriesServiceRouteEntry

    CenId string
    A cen ID.
    CreationTime string
    The create time of the cen service route entry.
    Description string
    The description of the cen service route entry.
    DestinationCidrBlock string
    A destination cidr block.
    PublishMode string
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    PublishToInstances List<Volcengine.ServiceRouteEntriesServiceRouteEntryPublishToInstance>
    The publish instances. A maximum of 100 can be uploaded in one request.
    ServiceRegionId string
    A service region id.
    ServiceVpcId string
    A service VPC id.
    Status string
    The status of the cen service route entry.
    CenId string
    A cen ID.
    CreationTime string
    The create time of the cen service route entry.
    Description string
    The description of the cen service route entry.
    DestinationCidrBlock string
    A destination cidr block.
    PublishMode string
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    PublishToInstances []ServiceRouteEntriesServiceRouteEntryPublishToInstance
    The publish instances. A maximum of 100 can be uploaded in one request.
    ServiceRegionId string
    A service region id.
    ServiceVpcId string
    A service VPC id.
    Status string
    The status of the cen service route entry.
    cenId String
    A cen ID.
    creationTime String
    The create time of the cen service route entry.
    description String
    The description of the cen service route entry.
    destinationCidrBlock String
    A destination cidr block.
    publishMode String
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    publishToInstances List<ServiceRouteEntriesServiceRouteEntryPublishToInstance>
    The publish instances. A maximum of 100 can be uploaded in one request.
    serviceRegionId String
    A service region id.
    serviceVpcId String
    A service VPC id.
    status String
    The status of the cen service route entry.
    cenId string
    A cen ID.
    creationTime string
    The create time of the cen service route entry.
    description string
    The description of the cen service route entry.
    destinationCidrBlock string
    A destination cidr block.
    publishMode string
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    publishToInstances ServiceRouteEntriesServiceRouteEntryPublishToInstance[]
    The publish instances. A maximum of 100 can be uploaded in one request.
    serviceRegionId string
    A service region id.
    serviceVpcId string
    A service VPC id.
    status string
    The status of the cen service route entry.
    cen_id str
    A cen ID.
    creation_time str
    The create time of the cen service route entry.
    description str
    The description of the cen service route entry.
    destination_cidr_block str
    A destination cidr block.
    publish_mode str
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    publish_to_instances Sequence[ServiceRouteEntriesServiceRouteEntryPublishToInstance]
    The publish instances. A maximum of 100 can be uploaded in one request.
    service_region_id str
    A service region id.
    service_vpc_id str
    A service VPC id.
    status str
    The status of the cen service route entry.
    cenId String
    A cen ID.
    creationTime String
    The create time of the cen service route entry.
    description String
    The description of the cen service route entry.
    destinationCidrBlock String
    A destination cidr block.
    publishMode String
    Publishing scope of cloud service access routes. Valid values are LocalDCGW(default), Custom.
    publishToInstances List<Property Map>
    The publish instances. A maximum of 100 can be uploaded in one request.
    serviceRegionId String
    A service region id.
    serviceVpcId String
    A service VPC id.
    status String
    The status of the cen service route entry.

    ServiceRouteEntriesServiceRouteEntryPublishToInstance

    InstanceId string
    Cloud service access routes need to publish the network instance ID.
    InstanceRegionId string
    The region where the cloud service access route needs to be published.
    InstanceType string
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.
    InstanceId string
    Cloud service access routes need to publish the network instance ID.
    InstanceRegionId string
    The region where the cloud service access route needs to be published.
    InstanceType string
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.
    instanceId String
    Cloud service access routes need to publish the network instance ID.
    instanceRegionId String
    The region where the cloud service access route needs to be published.
    instanceType String
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.
    instanceId string
    Cloud service access routes need to publish the network instance ID.
    instanceRegionId string
    The region where the cloud service access route needs to be published.
    instanceType string
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.
    instance_id str
    Cloud service access routes need to publish the network instance ID.
    instance_region_id str
    The region where the cloud service access route needs to be published.
    instance_type str
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.
    instanceId String
    Cloud service access routes need to publish the network instance ID.
    instanceRegionId String
    The region where the cloud service access route needs to be published.
    instanceType String
    The network instance type that needs to be published for cloud service access routes. The values are as follows: VPC, DCGW.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine