1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. apig
  5. GatewayService
Viewing docs for bytepluscc v0.0.20
published on Thursday, Mar 26, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.20
published on Thursday, Mar 26, 2026 by Byteplus

    服务是一组路由对外暴露的入口,用于区分流量的来源和协议,实现业务、环境、逻辑租户隔离。服务可以绑定独立的访问域名,以域名维度访问业务。

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      apigGatewayServiceDemo:
        type: bytepluscc:apig:GatewayService
        name: ApigGatewayServiceDemo
        properties:
          serviceName: ccapi-terraform-1
          gatewayId: gd6l9lbilgrmdxxxxxx
          protocols:
            - HTTP
            - HTTPS
          authSpec:
            enable: true
          comments: test
          serviceType: AIProvider
          serviceNetworkSpec:
            enable_public_network: true
            enable_private_network: false
            private_network_ip: []
    

    Create GatewayService Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GatewayService(name: string, args: GatewayServiceArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayService(resource_name: str,
                       args: GatewayServiceArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayService(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       auth_spec: Optional[GatewayServiceAuthSpecArgs] = None,
                       gateway_id: Optional[str] = None,
                       protocols: Optional[Sequence[str]] = None,
                       service_name: Optional[str] = None,
                       comments: Optional[str] = None,
                       custom_domains: Optional[Sequence[GatewayServiceCustomDomainArgs]] = None,
                       domain_type: Optional[str] = None,
                       service_network_spec: Optional[GatewayServiceServiceNetworkSpecArgs] = None,
                       service_type: Optional[str] = None)
    func NewGatewayService(ctx *Context, name string, args GatewayServiceArgs, opts ...ResourceOption) (*GatewayService, error)
    public GatewayService(string name, GatewayServiceArgs args, CustomResourceOptions? opts = null)
    public GatewayService(String name, GatewayServiceArgs args)
    public GatewayService(String name, GatewayServiceArgs args, CustomResourceOptions options)
    
    type: bytepluscc:apig:GatewayService
    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 GatewayServiceArgs
    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 GatewayServiceArgs
    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 GatewayServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayServiceArgs
    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 gatewayServiceResource = new Bytepluscc.Apig.GatewayService("gatewayServiceResource", new()
    {
        AuthSpec = new Bytepluscc.Apig.Inputs.GatewayServiceAuthSpecArgs
        {
            Enable = false,
        },
        GatewayId = "string",
        Protocols = new[]
        {
            "string",
        },
        ServiceName = "string",
        Comments = "string",
        CustomDomains = new[]
        {
            null,
        },
        DomainType = "string",
        ServiceNetworkSpec = new Bytepluscc.Apig.Inputs.GatewayServiceServiceNetworkSpecArgs
        {
            EnablePrivateNetwork = false,
            EnablePublicNetwork = false,
            PrivateNetworkIps = new[]
            {
                "string",
            },
        },
        ServiceType = "string",
    });
    
    example, err := apig.NewGatewayService(ctx, "gatewayServiceResource", &apig.GatewayServiceArgs{
    	AuthSpec: &apig.GatewayServiceAuthSpecArgs{
    		Enable: pulumi.Bool(false),
    	},
    	GatewayId: pulumi.String("string"),
    	Protocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceName: pulumi.String("string"),
    	Comments:    pulumi.String("string"),
    	CustomDomains: apig.GatewayServiceCustomDomainArray{
    		&apig.GatewayServiceCustomDomainArgs{},
    	},
    	DomainType: pulumi.String("string"),
    	ServiceNetworkSpec: &apig.GatewayServiceServiceNetworkSpecArgs{
    		EnablePrivateNetwork: pulumi.Bool(false),
    		EnablePublicNetwork:  pulumi.Bool(false),
    		PrivateNetworkIps: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	ServiceType: pulumi.String("string"),
    })
    
    var gatewayServiceResource = new GatewayService("gatewayServiceResource", GatewayServiceArgs.builder()
        .authSpec(GatewayServiceAuthSpecArgs.builder()
            .enable(false)
            .build())
        .gatewayId("string")
        .protocols("string")
        .serviceName("string")
        .comments("string")
        .customDomains(GatewayServiceCustomDomainArgs.builder()
            .build())
        .domainType("string")
        .serviceNetworkSpec(GatewayServiceServiceNetworkSpecArgs.builder()
            .enablePrivateNetwork(false)
            .enablePublicNetwork(false)
            .privateNetworkIps("string")
            .build())
        .serviceType("string")
        .build());
    
    gateway_service_resource = bytepluscc.apig.GatewayService("gatewayServiceResource",
        auth_spec={
            "enable": False,
        },
        gateway_id="string",
        protocols=["string"],
        service_name="string",
        comments="string",
        custom_domains=[{}],
        domain_type="string",
        service_network_spec={
            "enable_private_network": False,
            "enable_public_network": False,
            "private_network_ips": ["string"],
        },
        service_type="string")
    
    const gatewayServiceResource = new bytepluscc.apig.GatewayService("gatewayServiceResource", {
        authSpec: {
            enable: false,
        },
        gatewayId: "string",
        protocols: ["string"],
        serviceName: "string",
        comments: "string",
        customDomains: [{}],
        domainType: "string",
        serviceNetworkSpec: {
            enablePrivateNetwork: false,
            enablePublicNetwork: false,
            privateNetworkIps: ["string"],
        },
        serviceType: "string",
    });
    
    type: bytepluscc:apig:GatewayService
    properties:
        authSpec:
            enable: false
        comments: string
        customDomains:
            - {}
        domainType: string
        gatewayId: string
        protocols:
            - string
        serviceName: string
        serviceNetworkSpec:
            enablePrivateNetwork: false
            enablePublicNetwork: false
            privateNetworkIps:
                - string
        serviceType: string
    

    GatewayService 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 GatewayService resource accepts the following input properties:

    AuthSpec Byteplus.GatewayServiceAuthSpec
    认证配置。
    GatewayId string
    网关ID。
    Protocols List<string>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    ServiceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    Comments string
    备注,长度限制为0~253个字符。
    CustomDomains List<Byteplus.GatewayServiceCustomDomain>
    DomainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    ServiceNetworkSpec Byteplus.GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    ServiceType string
    服务类型,取值:AIProvider:AI模型代理。
    AuthSpec GatewayServiceAuthSpecArgs
    认证配置。
    GatewayId string
    网关ID。
    Protocols []string
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    ServiceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    Comments string
    备注,长度限制为0~253个字符。
    CustomDomains []GatewayServiceCustomDomainArgs
    DomainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    ServiceNetworkSpec GatewayServiceServiceNetworkSpecArgs
    服务默认域名网络配置。。
    ServiceType string
    服务类型,取值:AIProvider:AI模型代理。
    authSpec GatewayServiceAuthSpec
    认证配置。
    gatewayId String
    网关ID。
    protocols List<String>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceName String
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    comments String
    备注,长度限制为0~253个字符。
    customDomains List<GatewayServiceCustomDomain>
    domainType String
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    serviceNetworkSpec GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    serviceType String
    服务类型,取值:AIProvider:AI模型代理。
    authSpec GatewayServiceAuthSpec
    认证配置。
    gatewayId string
    网关ID。
    protocols string[]
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    comments string
    备注,长度限制为0~253个字符。
    customDomains GatewayServiceCustomDomain[]
    domainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    serviceNetworkSpec GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    serviceType string
    服务类型,取值:AIProvider:AI模型代理。
    auth_spec GatewayServiceAuthSpecArgs
    认证配置。
    gateway_id str
    网关ID。
    protocols Sequence[str]
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    service_name str
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    comments str
    备注,长度限制为0~253个字符。
    custom_domains Sequence[GatewayServiceCustomDomainArgs]
    domain_type str
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    service_network_spec GatewayServiceServiceNetworkSpecArgs
    服务默认域名网络配置。。
    service_type str
    服务类型,取值:AIProvider:AI模型代理。
    authSpec Property Map
    认证配置。
    gatewayId String
    网关ID。
    protocols List<String>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceName String
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    comments String
    备注,长度限制为0~253个字符。
    customDomains List<Property Map>
    domainType String
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    serviceNetworkSpec Property Map
    服务默认域名网络配置。。
    serviceType String
    服务类型,取值:AIProvider:AI模型代理。

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GatewayService resource produces the following output properties:

    CreatedTime string
    创建时间。
    DomainSpec Byteplus.GatewayServiceDomainSpec
    域名详情。
    Domains List<Byteplus.GatewayServiceDomain>
    GatewayName string
    网关名称。
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    服务创建失败、删除失败或异常时的错误信息。
    ServiceId string
    服务ID。
    Status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    CreatedTime string
    创建时间。
    DomainSpec GatewayServiceDomainSpec
    域名详情。
    Domains []GatewayServiceDomain
    GatewayName string
    网关名称。
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    服务创建失败、删除失败或异常时的错误信息。
    ServiceId string
    服务ID。
    Status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    createdTime String
    创建时间。
    domainSpec GatewayServiceDomainSpec
    域名详情。
    domains List<GatewayServiceDomain>
    gatewayName String
    网关名称。
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    服务创建失败、删除失败或异常时的错误信息。
    serviceId String
    服务ID。
    status String
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    createdTime string
    创建时间。
    domainSpec GatewayServiceDomainSpec
    域名详情。
    domains GatewayServiceDomain[]
    gatewayName string
    网关名称。
    id string
    The provider-assigned unique ID for this managed resource.
    message string
    服务创建失败、删除失败或异常时的错误信息。
    serviceId string
    服务ID。
    status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    created_time str
    创建时间。
    domain_spec GatewayServiceDomainSpec
    域名详情。
    domains Sequence[GatewayServiceDomain]
    gateway_name str
    网关名称。
    id str
    The provider-assigned unique ID for this managed resource.
    message str
    服务创建失败、删除失败或异常时的错误信息。
    service_id str
    服务ID。
    status str
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    createdTime String
    创建时间。
    domainSpec Property Map
    域名详情。
    domains List<Property Map>
    gatewayName String
    网关名称。
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    服务创建失败、删除失败或异常时的错误信息。
    serviceId String
    服务ID。
    status String
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。

    Look up Existing GatewayService Resource

    Get an existing GatewayService 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?: GatewayServiceState, opts?: CustomResourceOptions): GatewayService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_spec: Optional[GatewayServiceAuthSpecArgs] = None,
            comments: Optional[str] = None,
            created_time: Optional[str] = None,
            custom_domains: Optional[Sequence[GatewayServiceCustomDomainArgs]] = None,
            domain_spec: Optional[GatewayServiceDomainSpecArgs] = None,
            domain_type: Optional[str] = None,
            domains: Optional[Sequence[GatewayServiceDomainArgs]] = None,
            gateway_id: Optional[str] = None,
            gateway_name: Optional[str] = None,
            message: Optional[str] = None,
            protocols: Optional[Sequence[str]] = None,
            service_id: Optional[str] = None,
            service_name: Optional[str] = None,
            service_network_spec: Optional[GatewayServiceServiceNetworkSpecArgs] = None,
            service_type: Optional[str] = None,
            status: Optional[str] = None) -> GatewayService
    func GetGatewayService(ctx *Context, name string, id IDInput, state *GatewayServiceState, opts ...ResourceOption) (*GatewayService, error)
    public static GatewayService Get(string name, Input<string> id, GatewayServiceState? state, CustomResourceOptions? opts = null)
    public static GatewayService get(String name, Output<String> id, GatewayServiceState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:apig:GatewayService    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.
    The following state arguments are supported:
    AuthSpec Byteplus.GatewayServiceAuthSpec
    认证配置。
    Comments string
    备注,长度限制为0~253个字符。
    CreatedTime string
    创建时间。
    CustomDomains List<Byteplus.GatewayServiceCustomDomain>
    DomainSpec Byteplus.GatewayServiceDomainSpec
    域名详情。
    DomainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    Domains List<Byteplus.GatewayServiceDomain>
    GatewayId string
    网关ID。
    GatewayName string
    网关名称。
    Message string
    服务创建失败、删除失败或异常时的错误信息。
    Protocols List<string>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    ServiceId string
    服务ID。
    ServiceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    ServiceNetworkSpec Byteplus.GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    ServiceType string
    服务类型,取值:AIProvider:AI模型代理。
    Status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    AuthSpec GatewayServiceAuthSpecArgs
    认证配置。
    Comments string
    备注,长度限制为0~253个字符。
    CreatedTime string
    创建时间。
    CustomDomains []GatewayServiceCustomDomainArgs
    DomainSpec GatewayServiceDomainSpecArgs
    域名详情。
    DomainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    Domains []GatewayServiceDomainArgs
    GatewayId string
    网关ID。
    GatewayName string
    网关名称。
    Message string
    服务创建失败、删除失败或异常时的错误信息。
    Protocols []string
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    ServiceId string
    服务ID。
    ServiceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    ServiceNetworkSpec GatewayServiceServiceNetworkSpecArgs
    服务默认域名网络配置。。
    ServiceType string
    服务类型,取值:AIProvider:AI模型代理。
    Status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    authSpec GatewayServiceAuthSpec
    认证配置。
    comments String
    备注,长度限制为0~253个字符。
    createdTime String
    创建时间。
    customDomains List<GatewayServiceCustomDomain>
    domainSpec GatewayServiceDomainSpec
    域名详情。
    domainType String
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    domains List<GatewayServiceDomain>
    gatewayId String
    网关ID。
    gatewayName String
    网关名称。
    message String
    服务创建失败、删除失败或异常时的错误信息。
    protocols List<String>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceId String
    服务ID。
    serviceName String
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    serviceNetworkSpec GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    serviceType String
    服务类型,取值:AIProvider:AI模型代理。
    status String
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    authSpec GatewayServiceAuthSpec
    认证配置。
    comments string
    备注,长度限制为0~253个字符。
    createdTime string
    创建时间。
    customDomains GatewayServiceCustomDomain[]
    domainSpec GatewayServiceDomainSpec
    域名详情。
    domainType string
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    domains GatewayServiceDomain[]
    gatewayId string
    网关ID。
    gatewayName string
    网关名称。
    message string
    服务创建失败、删除失败或异常时的错误信息。
    protocols string[]
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceId string
    服务ID。
    serviceName string
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    serviceNetworkSpec GatewayServiceServiceNetworkSpec
    服务默认域名网络配置。。
    serviceType string
    服务类型,取值:AIProvider:AI模型代理。
    status string
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    auth_spec GatewayServiceAuthSpecArgs
    认证配置。
    comments str
    备注,长度限制为0~253个字符。
    created_time str
    创建时间。
    custom_domains Sequence[GatewayServiceCustomDomainArgs]
    domain_spec GatewayServiceDomainSpecArgs
    域名详情。
    domain_type str
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    domains Sequence[GatewayServiceDomainArgs]
    gateway_id str
    网关ID。
    gateway_name str
    网关名称。
    message str
    服务创建失败、删除失败或异常时的错误信息。
    protocols Sequence[str]
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    service_id str
    服务ID。
    service_name str
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    service_network_spec GatewayServiceServiceNetworkSpecArgs
    服务默认域名网络配置。。
    service_type str
    服务类型,取值:AIProvider:AI模型代理。
    status str
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。
    authSpec Property Map
    认证配置。
    comments String
    备注,长度限制为0~253个字符。
    createdTime String
    创建时间。
    customDomains List<Property Map>
    domainSpec Property Map
    域名详情。
    domainType String
    域名类型,取值:DefaultDomain:默认域名。CustomDomain:自定义域名。
    domains List<Property Map>
    gatewayId String
    网关ID。
    gatewayName String
    网关名称。
    message String
    服务创建失败、删除失败或异常时的错误信息。
    protocols List<String>
    服务支持的协议。取值:HTTP:HTTP。HTTPS:HTTPS。
    serviceId String
    服务ID。
    serviceName String
    服务名称。支持大小写字母、数字和中划线(-),长度限制为2~128个字符。不能以中划线(-)开头。
    serviceNetworkSpec Property Map
    服务默认域名网络配置。。
    serviceType String
    服务类型,取值:AIProvider:AI模型代理。
    status String
    Creating:创建中。CreatedFailed:创建失败。Running:运行中。Deleting:删除中。DeletedFailed:删除失败。Abnormal:异常。

    Supporting Types

    GatewayServiceAuthSpec, GatewayServiceAuthSpecArgs

    Enable bool
    是否开启认证。
    Enable bool
    是否开启认证。
    enable Boolean
    是否开启认证。
    enable boolean
    是否开启认证。
    enable bool
    是否开启认证。
    enable Boolean
    是否开启认证。

    GatewayServiceDomain, GatewayServiceDomainArgs

    Domain string
    域名。
    Type string
    域名类型。取值:public:公网。private:私网。
    Domain string
    域名。
    Type string
    域名类型。取值:public:公网。private:私网。
    domain String
    域名。
    type String
    域名类型。取值:public:公网。private:私网。
    domain string
    域名。
    type string
    域名类型。取值:public:公网。private:私网。
    domain str
    域名。
    type str
    域名类型。取值:public:公网。private:私网。
    domain String
    域名。
    type String
    域名类型。取值:public:公网。private:私网。

    GatewayServiceDomainSpec, GatewayServiceDomainSpecArgs

    EnablePublicResolution bool
    开启私网域名公网解析。
    EnablePublicResolution bool
    开启私网域名公网解析。
    enablePublicResolution Boolean
    开启私网域名公网解析。
    enablePublicResolution boolean
    开启私网域名公网解析。
    enable_public_resolution bool
    开启私网域名公网解析。
    enablePublicResolution Boolean
    开启私网域名公网解析。

    GatewayServiceServiceNetworkSpec, GatewayServiceServiceNetworkSpecArgs

    EnablePrivateNetwork bool
    开启私网。
    EnablePublicNetwork bool
    开启公网。
    PrivateNetworkIps List<string>
    私网域名解析的目标IP。
    EnablePrivateNetwork bool
    开启私网。
    EnablePublicNetwork bool
    开启公网。
    PrivateNetworkIps []string
    私网域名解析的目标IP。
    enablePrivateNetwork Boolean
    开启私网。
    enablePublicNetwork Boolean
    开启公网。
    privateNetworkIps List<String>
    私网域名解析的目标IP。
    enablePrivateNetwork boolean
    开启私网。
    enablePublicNetwork boolean
    开启公网。
    privateNetworkIps string[]
    私网域名解析的目标IP。
    enable_private_network bool
    开启私网。
    enable_public_network bool
    开启公网。
    private_network_ips Sequence[str]
    私网域名解析的目标IP。
    enablePrivateNetwork Boolean
    开启私网。
    enablePublicNetwork Boolean
    开启公网。
    privateNetworkIps List<String>
    私网域名解析的目标IP。

    Import

    $ pulumi import bytepluscc:apig/gatewayService:GatewayService example "service_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.20
    published on Thursday, Mar 26, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.