apigateway

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	pulumi.CustomResourceState

	// Custom API description.
	ApiDesc pulumi.StringPtrOutput `pulumi:"apiDesc"`
	// Custom API name.
	ApiName pulumi.StringOutput `pulumi:"apiName"`
	// API authentication type. Valid values: `SECRET` (key pair authentication),`NONE` (no authentication). Default value: `NONE`.
	AuthType pulumi.StringPtrOutput `pulumi:"authType"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrOutput `pulumi:"enableCors"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntOutput `pulumi:"preLimit"`
	// API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntOutput `pulumi:"releaseLimit"`
	// Request frontend method configuration. Valid values: `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`. Default value: `GET`.
	RequestConfigMethod pulumi.StringPtrOutput `pulumi:"requestConfigMethod"`
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath pulumi.StringOutput `pulumi:"requestConfigPath"`
	// Frontend request parameters.
	RequestParameters ApiRequestParameterArrayOutput `pulumi:"requestParameters"`
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes ApiResponseErrorCodeArrayOutput `pulumi:"responseErrorCodes"`
	// Response failure sample of custom response configuration.
	ResponseFailExample pulumi.StringPtrOutput `pulumi:"responseFailExample"`
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringPtrOutput `pulumi:"responseSuccessExample"`
	// Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.
	ResponseType pulumi.StringOutput `pulumi:"responseType"`
	// API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.
	ServiceConfigMethod pulumi.StringPtrOutput `pulumi:"serviceConfigMethod"`
	// Returned information of API backend mocking. This parameter is required when `serviceConfigType` is `MOCK`.
	ServiceConfigMockReturnMessage pulumi.StringPtrOutput `pulumi:"serviceConfigMockReturnMessage"`
	// API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.
	ServiceConfigPath pulumi.StringPtrOutput `pulumi:"serviceConfigPath"`
	// Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.
	ServiceConfigProduct pulumi.StringPtrOutput `pulumi:"serviceConfigProduct"`
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName pulumi.StringPtrOutput `pulumi:"serviceConfigScfFunctionName"`
	// SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace pulumi.StringPtrOutput `pulumi:"serviceConfigScfFunctionNamespace"`
	// SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionQualifier pulumi.StringPtrOutput `pulumi:"serviceConfigScfFunctionQualifier"`
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrOutput `pulumi:"serviceConfigTimeout"`
	// API backend service type. Valid values: `WEBSOCKET`, `HTTP`, `SCF`, `MOCK`. Default value: `HTTP`.
	ServiceConfigType pulumi.StringPtrOutput `pulumi:"serviceConfigType"`
	// API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.
	ServiceConfigUrl pulumi.StringPtrOutput `pulumi:"serviceConfigUrl"`
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrOutput `pulumi:"serviceConfigVpcId"`
	// Which service this API belongs. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntOutput `pulumi:"testLimit"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Use this resource to create API of API gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("ck"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewApi(ctx, "api", &ApiGateway.ApiArgs{
			ServiceId:           service.ID(),
			ApiName:             pulumi.String("hello"),
			ApiDesc:             pulumi.String("my hello api"),
			AuthType:            pulumi.String("NONE"),
			Protocol:            pulumi.String("HTTP"),
			EnableCors:          pulumi.Bool(true),
			RequestConfigPath:   pulumi.String("/user/info"),
			RequestConfigMethod: pulumi.String("GET"),
			RequestParameters: apigateway.ApiRequestParameterArray{
				&apigateway.ApiRequestParameterArgs{
					Name:         pulumi.String("name"),
					Position:     pulumi.String("QUERY"),
					Type:         pulumi.String("string"),
					Desc:         pulumi.String("who are you?"),
					DefaultValue: pulumi.String("tom"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(15),
			ServiceConfigUrl:       pulumi.String("http://www.qq.com"),
			ServiceConfigPath:      pulumi.String("/user"),
			ServiceConfigMethod:    pulumi.String("GET"),
			ResponseType:           pulumi.String("HTML"),
			ResponseSuccessExample: pulumi.String("success"),
			ResponseFailExample:    pulumi.String("fail"),
			ResponseErrorCodes: apigateway.ApiResponseErrorCodeArray{
				&apigateway.ApiResponseErrorCodeArgs{
					Code:          pulumi.Int(100),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: -100,
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApi

func GetApi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiState, opts ...pulumi.ResourceOption) (*Api, error)

GetApi gets an existing Api 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 NewApi

func NewApi(ctx *pulumi.Context,
	name string, args *ApiArgs, opts ...pulumi.ResourceOption) (*Api, error)

NewApi registers a new resource with the given unique name, arguments, and options.

func (*Api) ElementType

func (*Api) ElementType() reflect.Type

func (*Api) ToApiOutput

func (i *Api) ToApiOutput() ApiOutput

func (*Api) ToApiOutputWithContext

func (i *Api) ToApiOutputWithContext(ctx context.Context) ApiOutput

type ApiArgs

type ApiArgs struct {
	// Custom API description.
	ApiDesc pulumi.StringPtrInput
	// Custom API name.
	ApiName pulumi.StringInput
	// API authentication type. Valid values: `SECRET` (key pair authentication),`NONE` (no authentication). Default value: `NONE`.
	AuthType pulumi.StringPtrInput
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntPtrInput
	// API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.
	Protocol pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntPtrInput
	// Request frontend method configuration. Valid values: `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`. Default value: `GET`.
	RequestConfigMethod pulumi.StringPtrInput
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath pulumi.StringInput
	// Frontend request parameters.
	RequestParameters ApiRequestParameterArrayInput
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes ApiResponseErrorCodeArrayInput
	// Response failure sample of custom response configuration.
	ResponseFailExample pulumi.StringPtrInput
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringPtrInput
	// Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.
	ResponseType pulumi.StringPtrInput
	// API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.
	ServiceConfigMethod pulumi.StringPtrInput
	// Returned information of API backend mocking. This parameter is required when `serviceConfigType` is `MOCK`.
	ServiceConfigMockReturnMessage pulumi.StringPtrInput
	// API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.
	ServiceConfigPath pulumi.StringPtrInput
	// Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.
	ServiceConfigProduct pulumi.StringPtrInput
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName pulumi.StringPtrInput
	// SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace pulumi.StringPtrInput
	// SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionQualifier pulumi.StringPtrInput
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrInput
	// API backend service type. Valid values: `WEBSOCKET`, `HTTP`, `SCF`, `MOCK`. Default value: `HTTP`.
	ServiceConfigType pulumi.StringPtrInput
	// API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.
	ServiceConfigUrl pulumi.StringPtrInput
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrInput
	// Which service this API belongs. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
}

The set of arguments for constructing a Api resource.

func (ApiArgs) ElementType

func (ApiArgs) ElementType() reflect.Type

type ApiArray

type ApiArray []ApiInput

func (ApiArray) ElementType

func (ApiArray) ElementType() reflect.Type

func (ApiArray) ToApiArrayOutput

func (i ApiArray) ToApiArrayOutput() ApiArrayOutput

func (ApiArray) ToApiArrayOutputWithContext

func (i ApiArray) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput

type ApiArrayInput

type ApiArrayInput interface {
	pulumi.Input

	ToApiArrayOutput() ApiArrayOutput
	ToApiArrayOutputWithContext(context.Context) ApiArrayOutput
}

ApiArrayInput is an input type that accepts ApiArray and ApiArrayOutput values. You can construct a concrete instance of `ApiArrayInput` via:

ApiArray{ ApiArgs{...} }

type ApiArrayOutput

type ApiArrayOutput struct{ *pulumi.OutputState }

func (ApiArrayOutput) ElementType

func (ApiArrayOutput) ElementType() reflect.Type

func (ApiArrayOutput) Index

func (ApiArrayOutput) ToApiArrayOutput

func (o ApiArrayOutput) ToApiArrayOutput() ApiArrayOutput

func (ApiArrayOutput) ToApiArrayOutputWithContext

func (o ApiArrayOutput) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput

type ApiInput

type ApiInput interface {
	pulumi.Input

	ToApiOutput() ApiOutput
	ToApiOutputWithContext(ctx context.Context) ApiOutput
}

type ApiKey

type ApiKey struct {
	pulumi.CustomResourceState

	// Created API key.
	AccessKeySecret pulumi.StringOutput `pulumi:"accessKeySecret"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringOutput `pulumi:"modifyTime"`
	// Custom key name.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// Key status. Valid values: `on`, `off`.
	Status pulumi.StringPtrOutput `pulumi:"status"`
}

Use this resource to create API gateway access key.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApiGateway.NewApiKey(ctx, "test", &ApiGateway.ApiKeyArgs{
			SecretName: pulumi.String("my_api_key"),
			Status:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

API gateway access key can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/apiKey:ApiKey test AKIDMZwceezso9ps5p8jkro8a9fwe1e7nzF2k50B

```

func GetApiKey

func GetApiKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*ApiKey, error)

GetApiKey gets an existing ApiKey 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 NewApiKey

func NewApiKey(ctx *pulumi.Context,
	name string, args *ApiKeyArgs, opts ...pulumi.ResourceOption) (*ApiKey, error)

NewApiKey registers a new resource with the given unique name, arguments, and options.

func (*ApiKey) ElementType

func (*ApiKey) ElementType() reflect.Type

func (*ApiKey) ToApiKeyOutput

func (i *ApiKey) ToApiKeyOutput() ApiKeyOutput

func (*ApiKey) ToApiKeyOutputWithContext

func (i *ApiKey) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

type ApiKeyArgs

type ApiKeyArgs struct {
	// Custom key name.
	SecretName pulumi.StringInput
	// Key status. Valid values: `on`, `off`.
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a ApiKey resource.

func (ApiKeyArgs) ElementType

func (ApiKeyArgs) ElementType() reflect.Type

type ApiKeyArray

type ApiKeyArray []ApiKeyInput

func (ApiKeyArray) ElementType

func (ApiKeyArray) ElementType() reflect.Type

func (ApiKeyArray) ToApiKeyArrayOutput

func (i ApiKeyArray) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArray) ToApiKeyArrayOutputWithContext

func (i ApiKeyArray) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyArrayInput

type ApiKeyArrayInput interface {
	pulumi.Input

	ToApiKeyArrayOutput() ApiKeyArrayOutput
	ToApiKeyArrayOutputWithContext(context.Context) ApiKeyArrayOutput
}

ApiKeyArrayInput is an input type that accepts ApiKeyArray and ApiKeyArrayOutput values. You can construct a concrete instance of `ApiKeyArrayInput` via:

ApiKeyArray{ ApiKeyArgs{...} }

type ApiKeyArrayOutput

type ApiKeyArrayOutput struct{ *pulumi.OutputState }

func (ApiKeyArrayOutput) ElementType

func (ApiKeyArrayOutput) ElementType() reflect.Type

func (ApiKeyArrayOutput) Index

func (ApiKeyArrayOutput) ToApiKeyArrayOutput

func (o ApiKeyArrayOutput) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext

func (o ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyAttachment

type ApiKeyAttachment struct {
	pulumi.CustomResourceState

	// ID of API key.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringOutput `pulumi:"usagePlanId"`
}

Use this resource to API gateway attach access key to usage plan.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		key, err := ApiGateway.NewApiKey(ctx, "key", &ApiGateway.ApiKeyArgs{
			SecretName: pulumi.String("my_api_key"),
			Status:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		plan, err := ApiGateway.NewUsagePlan(ctx, "plan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("my_plan"),
			UsagePlanDesc:       pulumi.String("nice plan"),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewApiKeyAttachment(ctx, "attach", &ApiGateway.ApiKeyAttachmentArgs{
			ApiKeyId:    key.ID(),
			UsagePlanId: plan.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

API gateway attach access key can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/apiKeyAttachment:ApiKeyAttachment attach AKID110b8Rmuw7t0fP1N8bi809n327023Is7xN8f#usagePlan-gyeafpab

```

func GetApiKeyAttachment

func GetApiKeyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiKeyAttachmentState, opts ...pulumi.ResourceOption) (*ApiKeyAttachment, error)

GetApiKeyAttachment gets an existing ApiKeyAttachment 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 NewApiKeyAttachment

func NewApiKeyAttachment(ctx *pulumi.Context,
	name string, args *ApiKeyAttachmentArgs, opts ...pulumi.ResourceOption) (*ApiKeyAttachment, error)

NewApiKeyAttachment registers a new resource with the given unique name, arguments, and options.

func (*ApiKeyAttachment) ElementType

func (*ApiKeyAttachment) ElementType() reflect.Type

func (*ApiKeyAttachment) ToApiKeyAttachmentOutput

func (i *ApiKeyAttachment) ToApiKeyAttachmentOutput() ApiKeyAttachmentOutput

func (*ApiKeyAttachment) ToApiKeyAttachmentOutputWithContext

func (i *ApiKeyAttachment) ToApiKeyAttachmentOutputWithContext(ctx context.Context) ApiKeyAttachmentOutput

type ApiKeyAttachmentArgs

type ApiKeyAttachmentArgs struct {
	// ID of API key.
	ApiKeyId pulumi.StringInput
	// ID of the usage plan.
	UsagePlanId pulumi.StringInput
}

The set of arguments for constructing a ApiKeyAttachment resource.

func (ApiKeyAttachmentArgs) ElementType

func (ApiKeyAttachmentArgs) ElementType() reflect.Type

type ApiKeyAttachmentArray

type ApiKeyAttachmentArray []ApiKeyAttachmentInput

func (ApiKeyAttachmentArray) ElementType

func (ApiKeyAttachmentArray) ElementType() reflect.Type

func (ApiKeyAttachmentArray) ToApiKeyAttachmentArrayOutput

func (i ApiKeyAttachmentArray) ToApiKeyAttachmentArrayOutput() ApiKeyAttachmentArrayOutput

func (ApiKeyAttachmentArray) ToApiKeyAttachmentArrayOutputWithContext

func (i ApiKeyAttachmentArray) ToApiKeyAttachmentArrayOutputWithContext(ctx context.Context) ApiKeyAttachmentArrayOutput

type ApiKeyAttachmentArrayInput

type ApiKeyAttachmentArrayInput interface {
	pulumi.Input

	ToApiKeyAttachmentArrayOutput() ApiKeyAttachmentArrayOutput
	ToApiKeyAttachmentArrayOutputWithContext(context.Context) ApiKeyAttachmentArrayOutput
}

ApiKeyAttachmentArrayInput is an input type that accepts ApiKeyAttachmentArray and ApiKeyAttachmentArrayOutput values. You can construct a concrete instance of `ApiKeyAttachmentArrayInput` via:

ApiKeyAttachmentArray{ ApiKeyAttachmentArgs{...} }

type ApiKeyAttachmentArrayOutput

type ApiKeyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ApiKeyAttachmentArrayOutput) ElementType

func (ApiKeyAttachmentArrayOutput) Index

func (ApiKeyAttachmentArrayOutput) ToApiKeyAttachmentArrayOutput

func (o ApiKeyAttachmentArrayOutput) ToApiKeyAttachmentArrayOutput() ApiKeyAttachmentArrayOutput

func (ApiKeyAttachmentArrayOutput) ToApiKeyAttachmentArrayOutputWithContext

func (o ApiKeyAttachmentArrayOutput) ToApiKeyAttachmentArrayOutputWithContext(ctx context.Context) ApiKeyAttachmentArrayOutput

type ApiKeyAttachmentInput

type ApiKeyAttachmentInput interface {
	pulumi.Input

	ToApiKeyAttachmentOutput() ApiKeyAttachmentOutput
	ToApiKeyAttachmentOutputWithContext(ctx context.Context) ApiKeyAttachmentOutput
}

type ApiKeyAttachmentMap

type ApiKeyAttachmentMap map[string]ApiKeyAttachmentInput

func (ApiKeyAttachmentMap) ElementType

func (ApiKeyAttachmentMap) ElementType() reflect.Type

func (ApiKeyAttachmentMap) ToApiKeyAttachmentMapOutput

func (i ApiKeyAttachmentMap) ToApiKeyAttachmentMapOutput() ApiKeyAttachmentMapOutput

func (ApiKeyAttachmentMap) ToApiKeyAttachmentMapOutputWithContext

func (i ApiKeyAttachmentMap) ToApiKeyAttachmentMapOutputWithContext(ctx context.Context) ApiKeyAttachmentMapOutput

type ApiKeyAttachmentMapInput

type ApiKeyAttachmentMapInput interface {
	pulumi.Input

	ToApiKeyAttachmentMapOutput() ApiKeyAttachmentMapOutput
	ToApiKeyAttachmentMapOutputWithContext(context.Context) ApiKeyAttachmentMapOutput
}

ApiKeyAttachmentMapInput is an input type that accepts ApiKeyAttachmentMap and ApiKeyAttachmentMapOutput values. You can construct a concrete instance of `ApiKeyAttachmentMapInput` via:

ApiKeyAttachmentMap{ "key": ApiKeyAttachmentArgs{...} }

type ApiKeyAttachmentMapOutput

type ApiKeyAttachmentMapOutput struct{ *pulumi.OutputState }

func (ApiKeyAttachmentMapOutput) ElementType

func (ApiKeyAttachmentMapOutput) ElementType() reflect.Type

func (ApiKeyAttachmentMapOutput) MapIndex

func (ApiKeyAttachmentMapOutput) ToApiKeyAttachmentMapOutput

func (o ApiKeyAttachmentMapOutput) ToApiKeyAttachmentMapOutput() ApiKeyAttachmentMapOutput

func (ApiKeyAttachmentMapOutput) ToApiKeyAttachmentMapOutputWithContext

func (o ApiKeyAttachmentMapOutput) ToApiKeyAttachmentMapOutputWithContext(ctx context.Context) ApiKeyAttachmentMapOutput

type ApiKeyAttachmentOutput

type ApiKeyAttachmentOutput struct{ *pulumi.OutputState }

func (ApiKeyAttachmentOutput) ApiKeyId

ID of API key.

func (ApiKeyAttachmentOutput) ElementType

func (ApiKeyAttachmentOutput) ElementType() reflect.Type

func (ApiKeyAttachmentOutput) ToApiKeyAttachmentOutput

func (o ApiKeyAttachmentOutput) ToApiKeyAttachmentOutput() ApiKeyAttachmentOutput

func (ApiKeyAttachmentOutput) ToApiKeyAttachmentOutputWithContext

func (o ApiKeyAttachmentOutput) ToApiKeyAttachmentOutputWithContext(ctx context.Context) ApiKeyAttachmentOutput

func (ApiKeyAttachmentOutput) UsagePlanId

func (o ApiKeyAttachmentOutput) UsagePlanId() pulumi.StringOutput

ID of the usage plan.

type ApiKeyAttachmentState

type ApiKeyAttachmentState struct {
	// ID of API key.
	ApiKeyId pulumi.StringPtrInput
	// ID of the usage plan.
	UsagePlanId pulumi.StringPtrInput
}

func (ApiKeyAttachmentState) ElementType

func (ApiKeyAttachmentState) ElementType() reflect.Type

type ApiKeyInput

type ApiKeyInput interface {
	pulumi.Input

	ToApiKeyOutput() ApiKeyOutput
	ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
}

type ApiKeyMap

type ApiKeyMap map[string]ApiKeyInput

func (ApiKeyMap) ElementType

func (ApiKeyMap) ElementType() reflect.Type

func (ApiKeyMap) ToApiKeyMapOutput

func (i ApiKeyMap) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMap) ToApiKeyMapOutputWithContext

func (i ApiKeyMap) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyMapInput

type ApiKeyMapInput interface {
	pulumi.Input

	ToApiKeyMapOutput() ApiKeyMapOutput
	ToApiKeyMapOutputWithContext(context.Context) ApiKeyMapOutput
}

ApiKeyMapInput is an input type that accepts ApiKeyMap and ApiKeyMapOutput values. You can construct a concrete instance of `ApiKeyMapInput` via:

ApiKeyMap{ "key": ApiKeyArgs{...} }

type ApiKeyMapOutput

type ApiKeyMapOutput struct{ *pulumi.OutputState }

func (ApiKeyMapOutput) ElementType

func (ApiKeyMapOutput) ElementType() reflect.Type

func (ApiKeyMapOutput) MapIndex

func (ApiKeyMapOutput) ToApiKeyMapOutput

func (o ApiKeyMapOutput) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMapOutput) ToApiKeyMapOutputWithContext

func (o ApiKeyMapOutput) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyOutput

type ApiKeyOutput struct{ *pulumi.OutputState }

func (ApiKeyOutput) AccessKeySecret

func (o ApiKeyOutput) AccessKeySecret() pulumi.StringOutput

Created API key.

func (ApiKeyOutput) CreateTime

func (o ApiKeyOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (ApiKeyOutput) ElementType

func (ApiKeyOutput) ElementType() reflect.Type

func (ApiKeyOutput) ModifyTime

func (o ApiKeyOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (ApiKeyOutput) SecretName

func (o ApiKeyOutput) SecretName() pulumi.StringOutput

Custom key name.

func (ApiKeyOutput) Status

func (o ApiKeyOutput) Status() pulumi.StringPtrOutput

Key status. Valid values: `on`, `off`.

func (ApiKeyOutput) ToApiKeyOutput

func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput

func (ApiKeyOutput) ToApiKeyOutputWithContext

func (o ApiKeyOutput) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

type ApiKeyState

type ApiKeyState struct {
	// Created API key.
	AccessKeySecret pulumi.StringPtrInput
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringPtrInput
	// Custom key name.
	SecretName pulumi.StringPtrInput
	// Key status. Valid values: `on`, `off`.
	Status pulumi.StringPtrInput
}

func (ApiKeyState) ElementType

func (ApiKeyState) ElementType() reflect.Type

type ApiMap

type ApiMap map[string]ApiInput

func (ApiMap) ElementType

func (ApiMap) ElementType() reflect.Type

func (ApiMap) ToApiMapOutput

func (i ApiMap) ToApiMapOutput() ApiMapOutput

func (ApiMap) ToApiMapOutputWithContext

func (i ApiMap) ToApiMapOutputWithContext(ctx context.Context) ApiMapOutput

type ApiMapInput

type ApiMapInput interface {
	pulumi.Input

	ToApiMapOutput() ApiMapOutput
	ToApiMapOutputWithContext(context.Context) ApiMapOutput
}

ApiMapInput is an input type that accepts ApiMap and ApiMapOutput values. You can construct a concrete instance of `ApiMapInput` via:

ApiMap{ "key": ApiArgs{...} }

type ApiMapOutput

type ApiMapOutput struct{ *pulumi.OutputState }

func (ApiMapOutput) ElementType

func (ApiMapOutput) ElementType() reflect.Type

func (ApiMapOutput) MapIndex

func (o ApiMapOutput) MapIndex(k pulumi.StringInput) ApiOutput

func (ApiMapOutput) ToApiMapOutput

func (o ApiMapOutput) ToApiMapOutput() ApiMapOutput

func (ApiMapOutput) ToApiMapOutputWithContext

func (o ApiMapOutput) ToApiMapOutputWithContext(ctx context.Context) ApiMapOutput

type ApiOutput

type ApiOutput struct{ *pulumi.OutputState }

func (ApiOutput) ApiDesc

func (o ApiOutput) ApiDesc() pulumi.StringPtrOutput

Custom API description.

func (ApiOutput) ApiName

func (o ApiOutput) ApiName() pulumi.StringOutput

Custom API name.

func (ApiOutput) AuthType

func (o ApiOutput) AuthType() pulumi.StringPtrOutput

API authentication type. Valid values: `SECRET` (key pair authentication),`NONE` (no authentication). Default value: `NONE`.

func (ApiOutput) CreateTime

func (o ApiOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (ApiOutput) ElementType

func (ApiOutput) ElementType() reflect.Type

func (ApiOutput) EnableCors

func (o ApiOutput) EnableCors() pulumi.BoolPtrOutput

Whether to enable CORS. Default value: `true`.

func (ApiOutput) PreLimit

func (o ApiOutput) PreLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ApiOutput) Protocol

func (o ApiOutput) Protocol() pulumi.StringPtrOutput

API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.

func (ApiOutput) ReleaseLimit

func (o ApiOutput) ReleaseLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ApiOutput) RequestConfigMethod

func (o ApiOutput) RequestConfigMethod() pulumi.StringPtrOutput

Request frontend method configuration. Valid values: `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`. Default value: `GET`.

func (ApiOutput) RequestConfigPath

func (o ApiOutput) RequestConfigPath() pulumi.StringOutput

Request frontend path configuration. Like `/user/getinfo`.

func (ApiOutput) RequestParameters

func (o ApiOutput) RequestParameters() ApiRequestParameterArrayOutput

Frontend request parameters.

func (ApiOutput) ResponseErrorCodes

func (o ApiOutput) ResponseErrorCodes() ApiResponseErrorCodeArrayOutput

Custom error code configuration. Must keep at least one after set.

func (ApiOutput) ResponseFailExample

func (o ApiOutput) ResponseFailExample() pulumi.StringPtrOutput

Response failure sample of custom response configuration.

func (ApiOutput) ResponseSuccessExample

func (o ApiOutput) ResponseSuccessExample() pulumi.StringPtrOutput

Successful response sample of custom response configuration.

func (ApiOutput) ResponseType

func (o ApiOutput) ResponseType() pulumi.StringOutput

Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.

func (ApiOutput) ServiceConfigMethod

func (o ApiOutput) ServiceConfigMethod() pulumi.StringPtrOutput

API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.

func (ApiOutput) ServiceConfigMockReturnMessage

func (o ApiOutput) ServiceConfigMockReturnMessage() pulumi.StringPtrOutput

Returned information of API backend mocking. This parameter is required when `serviceConfigType` is `MOCK`.

func (ApiOutput) ServiceConfigPath

func (o ApiOutput) ServiceConfigPath() pulumi.StringPtrOutput

API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.

func (ApiOutput) ServiceConfigProduct

func (o ApiOutput) ServiceConfigProduct() pulumi.StringPtrOutput

Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.

func (ApiOutput) ServiceConfigScfFunctionName

func (o ApiOutput) ServiceConfigScfFunctionName() pulumi.StringPtrOutput

SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.

func (ApiOutput) ServiceConfigScfFunctionNamespace

func (o ApiOutput) ServiceConfigScfFunctionNamespace() pulumi.StringPtrOutput

SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.

func (ApiOutput) ServiceConfigScfFunctionQualifier

func (o ApiOutput) ServiceConfigScfFunctionQualifier() pulumi.StringPtrOutput

SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.

func (ApiOutput) ServiceConfigTimeout

func (o ApiOutput) ServiceConfigTimeout() pulumi.IntPtrOutput

API backend service timeout period in seconds. Default value: `5`.

func (ApiOutput) ServiceConfigType

func (o ApiOutput) ServiceConfigType() pulumi.StringPtrOutput

API backend service type. Valid values: `WEBSOCKET`, `HTTP`, `SCF`, `MOCK`. Default value: `HTTP`.

func (ApiOutput) ServiceConfigUrl

func (o ApiOutput) ServiceConfigUrl() pulumi.StringPtrOutput

API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.

func (ApiOutput) ServiceConfigVpcId

func (o ApiOutput) ServiceConfigVpcId() pulumi.StringPtrOutput

Unique VPC ID.

func (ApiOutput) ServiceId

func (o ApiOutput) ServiceId() pulumi.StringOutput

Which service this API belongs. Refer to resource `ApiGateway.Service`.

func (ApiOutput) TestLimit

func (o ApiOutput) TestLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ApiOutput) ToApiOutput

func (o ApiOutput) ToApiOutput() ApiOutput

func (ApiOutput) ToApiOutputWithContext

func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput

func (ApiOutput) UpdateTime

func (o ApiOutput) UpdateTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

type ApiRequestParameter

type ApiRequestParameter struct {
	// Parameter default value.
	DefaultValue *string `pulumi:"defaultValue"`
	// Parameter description.
	Desc *string `pulumi:"desc"`
	// Parameter name.
	Name string `pulumi:"name"`
	// Parameter location.
	Position string `pulumi:"position"`
	// If this parameter required. Default value: `false`.
	Required *bool `pulumi:"required"`
	// Parameter type.
	Type string `pulumi:"type"`
}

type ApiRequestParameterArgs

type ApiRequestParameterArgs struct {
	// Parameter default value.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// Parameter description.
	Desc pulumi.StringPtrInput `pulumi:"desc"`
	// Parameter name.
	Name pulumi.StringInput `pulumi:"name"`
	// Parameter location.
	Position pulumi.StringInput `pulumi:"position"`
	// If this parameter required. Default value: `false`.
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// Parameter type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ApiRequestParameterArgs) ElementType

func (ApiRequestParameterArgs) ElementType() reflect.Type

func (ApiRequestParameterArgs) ToApiRequestParameterOutput

func (i ApiRequestParameterArgs) ToApiRequestParameterOutput() ApiRequestParameterOutput

func (ApiRequestParameterArgs) ToApiRequestParameterOutputWithContext

func (i ApiRequestParameterArgs) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput

type ApiRequestParameterArray

type ApiRequestParameterArray []ApiRequestParameterInput

func (ApiRequestParameterArray) ElementType

func (ApiRequestParameterArray) ElementType() reflect.Type

func (ApiRequestParameterArray) ToApiRequestParameterArrayOutput

func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput

func (ApiRequestParameterArray) ToApiRequestParameterArrayOutputWithContext

func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput

type ApiRequestParameterArrayInput

type ApiRequestParameterArrayInput interface {
	pulumi.Input

	ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput
	ToApiRequestParameterArrayOutputWithContext(context.Context) ApiRequestParameterArrayOutput
}

ApiRequestParameterArrayInput is an input type that accepts ApiRequestParameterArray and ApiRequestParameterArrayOutput values. You can construct a concrete instance of `ApiRequestParameterArrayInput` via:

ApiRequestParameterArray{ ApiRequestParameterArgs{...} }

type ApiRequestParameterArrayOutput

type ApiRequestParameterArrayOutput struct{ *pulumi.OutputState }

func (ApiRequestParameterArrayOutput) ElementType

func (ApiRequestParameterArrayOutput) Index

func (ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutput

func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput

func (ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutputWithContext

func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput

type ApiRequestParameterInput

type ApiRequestParameterInput interface {
	pulumi.Input

	ToApiRequestParameterOutput() ApiRequestParameterOutput
	ToApiRequestParameterOutputWithContext(context.Context) ApiRequestParameterOutput
}

ApiRequestParameterInput is an input type that accepts ApiRequestParameterArgs and ApiRequestParameterOutput values. You can construct a concrete instance of `ApiRequestParameterInput` via:

ApiRequestParameterArgs{...}

type ApiRequestParameterOutput

type ApiRequestParameterOutput struct{ *pulumi.OutputState }

func (ApiRequestParameterOutput) DefaultValue

Parameter default value.

func (ApiRequestParameterOutput) Desc

Parameter description.

func (ApiRequestParameterOutput) ElementType

func (ApiRequestParameterOutput) ElementType() reflect.Type

func (ApiRequestParameterOutput) Name

Parameter name.

func (ApiRequestParameterOutput) Position

Parameter location.

func (ApiRequestParameterOutput) Required

If this parameter required. Default value: `false`.

func (ApiRequestParameterOutput) ToApiRequestParameterOutput

func (o ApiRequestParameterOutput) ToApiRequestParameterOutput() ApiRequestParameterOutput

func (ApiRequestParameterOutput) ToApiRequestParameterOutputWithContext

func (o ApiRequestParameterOutput) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput

func (ApiRequestParameterOutput) Type

Parameter type.

type ApiResponseErrorCode

type ApiResponseErrorCode struct {
	// Custom response configuration error code.
	Code int `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode *int `pulumi:"convertedCode"`
	// Parameter description.
	Desc *string `pulumi:"desc"`
	// Custom response configuration error message.
	Msg string `pulumi:"msg"`
	// Whether to enable error code conversion. Default value: `false`.
	NeedConvert *bool `pulumi:"needConvert"`
}

type ApiResponseErrorCodeArgs

type ApiResponseErrorCodeArgs struct {
	// Custom response configuration error code.
	Code pulumi.IntInput `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode pulumi.IntPtrInput `pulumi:"convertedCode"`
	// Parameter description.
	Desc pulumi.StringPtrInput `pulumi:"desc"`
	// Custom response configuration error message.
	Msg pulumi.StringInput `pulumi:"msg"`
	// Whether to enable error code conversion. Default value: `false`.
	NeedConvert pulumi.BoolPtrInput `pulumi:"needConvert"`
}

func (ApiResponseErrorCodeArgs) ElementType

func (ApiResponseErrorCodeArgs) ElementType() reflect.Type

func (ApiResponseErrorCodeArgs) ToApiResponseErrorCodeOutput

func (i ApiResponseErrorCodeArgs) ToApiResponseErrorCodeOutput() ApiResponseErrorCodeOutput

func (ApiResponseErrorCodeArgs) ToApiResponseErrorCodeOutputWithContext

func (i ApiResponseErrorCodeArgs) ToApiResponseErrorCodeOutputWithContext(ctx context.Context) ApiResponseErrorCodeOutput

type ApiResponseErrorCodeArray

type ApiResponseErrorCodeArray []ApiResponseErrorCodeInput

func (ApiResponseErrorCodeArray) ElementType

func (ApiResponseErrorCodeArray) ElementType() reflect.Type

func (ApiResponseErrorCodeArray) ToApiResponseErrorCodeArrayOutput

func (i ApiResponseErrorCodeArray) ToApiResponseErrorCodeArrayOutput() ApiResponseErrorCodeArrayOutput

func (ApiResponseErrorCodeArray) ToApiResponseErrorCodeArrayOutputWithContext

func (i ApiResponseErrorCodeArray) ToApiResponseErrorCodeArrayOutputWithContext(ctx context.Context) ApiResponseErrorCodeArrayOutput

type ApiResponseErrorCodeArrayInput

type ApiResponseErrorCodeArrayInput interface {
	pulumi.Input

	ToApiResponseErrorCodeArrayOutput() ApiResponseErrorCodeArrayOutput
	ToApiResponseErrorCodeArrayOutputWithContext(context.Context) ApiResponseErrorCodeArrayOutput
}

ApiResponseErrorCodeArrayInput is an input type that accepts ApiResponseErrorCodeArray and ApiResponseErrorCodeArrayOutput values. You can construct a concrete instance of `ApiResponseErrorCodeArrayInput` via:

ApiResponseErrorCodeArray{ ApiResponseErrorCodeArgs{...} }

type ApiResponseErrorCodeArrayOutput

type ApiResponseErrorCodeArrayOutput struct{ *pulumi.OutputState }

func (ApiResponseErrorCodeArrayOutput) ElementType

func (ApiResponseErrorCodeArrayOutput) Index

func (ApiResponseErrorCodeArrayOutput) ToApiResponseErrorCodeArrayOutput

func (o ApiResponseErrorCodeArrayOutput) ToApiResponseErrorCodeArrayOutput() ApiResponseErrorCodeArrayOutput

func (ApiResponseErrorCodeArrayOutput) ToApiResponseErrorCodeArrayOutputWithContext

func (o ApiResponseErrorCodeArrayOutput) ToApiResponseErrorCodeArrayOutputWithContext(ctx context.Context) ApiResponseErrorCodeArrayOutput

type ApiResponseErrorCodeInput

type ApiResponseErrorCodeInput interface {
	pulumi.Input

	ToApiResponseErrorCodeOutput() ApiResponseErrorCodeOutput
	ToApiResponseErrorCodeOutputWithContext(context.Context) ApiResponseErrorCodeOutput
}

ApiResponseErrorCodeInput is an input type that accepts ApiResponseErrorCodeArgs and ApiResponseErrorCodeOutput values. You can construct a concrete instance of `ApiResponseErrorCodeInput` via:

ApiResponseErrorCodeArgs{...}

type ApiResponseErrorCodeOutput

type ApiResponseErrorCodeOutput struct{ *pulumi.OutputState }

func (ApiResponseErrorCodeOutput) Code

Custom response configuration error code.

func (ApiResponseErrorCodeOutput) ConvertedCode

Custom error code conversion.

func (ApiResponseErrorCodeOutput) Desc

Parameter description.

func (ApiResponseErrorCodeOutput) ElementType

func (ApiResponseErrorCodeOutput) ElementType() reflect.Type

func (ApiResponseErrorCodeOutput) Msg

Custom response configuration error message.

func (ApiResponseErrorCodeOutput) NeedConvert

Whether to enable error code conversion. Default value: `false`.

func (ApiResponseErrorCodeOutput) ToApiResponseErrorCodeOutput

func (o ApiResponseErrorCodeOutput) ToApiResponseErrorCodeOutput() ApiResponseErrorCodeOutput

func (ApiResponseErrorCodeOutput) ToApiResponseErrorCodeOutputWithContext

func (o ApiResponseErrorCodeOutput) ToApiResponseErrorCodeOutputWithContext(ctx context.Context) ApiResponseErrorCodeOutput

type ApiState

type ApiState struct {
	// Custom API description.
	ApiDesc pulumi.StringPtrInput
	// Custom API name.
	ApiName pulumi.StringPtrInput
	// API authentication type. Valid values: `SECRET` (key pair authentication),`NONE` (no authentication). Default value: `NONE`.
	AuthType pulumi.StringPtrInput
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntPtrInput
	// API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.
	Protocol pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntPtrInput
	// Request frontend method configuration. Valid values: `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`. Default value: `GET`.
	RequestConfigMethod pulumi.StringPtrInput
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath pulumi.StringPtrInput
	// Frontend request parameters.
	RequestParameters ApiRequestParameterArrayInput
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes ApiResponseErrorCodeArrayInput
	// Response failure sample of custom response configuration.
	ResponseFailExample pulumi.StringPtrInput
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringPtrInput
	// Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.
	ResponseType pulumi.StringPtrInput
	// API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.
	ServiceConfigMethod pulumi.StringPtrInput
	// Returned information of API backend mocking. This parameter is required when `serviceConfigType` is `MOCK`.
	ServiceConfigMockReturnMessage pulumi.StringPtrInput
	// API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.
	ServiceConfigPath pulumi.StringPtrInput
	// Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.
	ServiceConfigProduct pulumi.StringPtrInput
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName pulumi.StringPtrInput
	// SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace pulumi.StringPtrInput
	// SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionQualifier pulumi.StringPtrInput
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrInput
	// API backend service type. Valid values: `WEBSOCKET`, `HTTP`, `SCF`, `MOCK`. Default value: `HTTP`.
	ServiceConfigType pulumi.StringPtrInput
	// API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.
	ServiceConfigUrl pulumi.StringPtrInput
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrInput
	// Which service this API belongs. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	UpdateTime pulumi.StringPtrInput
}

func (ApiState) ElementType

func (ApiState) ElementType() reflect.Type

type CustomDomain

type CustomDomain struct {
	pulumi.CustomResourceState

	// Unique certificate ID of the custom domain name to be bound. You can choose to upload for the `protocol` attribute value `https` or `http&https`.
	CertificateId pulumi.StringOutput `pulumi:"certificateId"`
	// Default domain name.
	DefaultDomain pulumi.StringOutput `pulumi:"defaultDomain"`
	// Whether the default path mapping is used. The default value is `true`. When it is `false`, it means custom path mapping. In this case, the `pathMappings` attribute is required.
	IsDefaultMapping pulumi.BoolPtrOutput `pulumi:"isDefaultMapping"`
	// Network type. Valid values: `OUTER`, `INNER`.
	NetType pulumi.StringOutput `pulumi:"netType"`
	// Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`, `prepub`, and `release`.
	PathMappings pulumi.StringArrayOutput `pulumi:"pathMappings"`
	// Protocol supported by service. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Unique service ID.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// Domain name resolution status. `1` means normal analysis, `0` means parsing failed.
	Status pulumi.IntOutput `pulumi:"status"`
	// Custom domain name to be bound.
	SubDomain pulumi.StringOutput `pulumi:"subDomain"`
}

Use this resource to create custom domain of API gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApiGateway.NewCustomDomain(ctx, "foo", &ApiGateway.CustomDomainArgs{
			DefaultDomain:    pulumi.String("service-ohxqslqe-1259649581.gz.apigw.tencentcs.com"),
			IsDefaultMapping: pulumi.Bool(false),
			NetType:          pulumi.String("OUTER"),
			PathMappings: pulumi.StringArray{
				pulumi.String("/good#test"),
				pulumi.String("/root#release"),
			},
			Protocol:  pulumi.String("http"),
			ServiceId: pulumi.String("service-ohxqslqe"),
			SubDomain: pulumi.String("tic-test.dnsv1.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCustomDomain

func GetCustomDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDomainState, opts ...pulumi.ResourceOption) (*CustomDomain, error)

GetCustomDomain gets an existing CustomDomain 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 NewCustomDomain

func NewCustomDomain(ctx *pulumi.Context,
	name string, args *CustomDomainArgs, opts ...pulumi.ResourceOption) (*CustomDomain, error)

NewCustomDomain registers a new resource with the given unique name, arguments, and options.

func (*CustomDomain) ElementType

func (*CustomDomain) ElementType() reflect.Type

func (*CustomDomain) ToCustomDomainOutput

func (i *CustomDomain) ToCustomDomainOutput() CustomDomainOutput

func (*CustomDomain) ToCustomDomainOutputWithContext

func (i *CustomDomain) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

type CustomDomainArgs

type CustomDomainArgs struct {
	// Unique certificate ID of the custom domain name to be bound. You can choose to upload for the `protocol` attribute value `https` or `http&https`.
	CertificateId pulumi.StringPtrInput
	// Default domain name.
	DefaultDomain pulumi.StringInput
	// Whether the default path mapping is used. The default value is `true`. When it is `false`, it means custom path mapping. In this case, the `pathMappings` attribute is required.
	IsDefaultMapping pulumi.BoolPtrInput
	// Network type. Valid values: `OUTER`, `INNER`.
	NetType pulumi.StringInput
	// Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`, `prepub`, and `release`.
	PathMappings pulumi.StringArrayInput
	// Protocol supported by service. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringInput
	// Unique service ID.
	ServiceId pulumi.StringInput
	// Custom domain name to be bound.
	SubDomain pulumi.StringInput
}

The set of arguments for constructing a CustomDomain resource.

func (CustomDomainArgs) ElementType

func (CustomDomainArgs) ElementType() reflect.Type

type CustomDomainArray

type CustomDomainArray []CustomDomainInput

func (CustomDomainArray) ElementType

func (CustomDomainArray) ElementType() reflect.Type

func (CustomDomainArray) ToCustomDomainArrayOutput

func (i CustomDomainArray) ToCustomDomainArrayOutput() CustomDomainArrayOutput

func (CustomDomainArray) ToCustomDomainArrayOutputWithContext

func (i CustomDomainArray) ToCustomDomainArrayOutputWithContext(ctx context.Context) CustomDomainArrayOutput

type CustomDomainArrayInput

type CustomDomainArrayInput interface {
	pulumi.Input

	ToCustomDomainArrayOutput() CustomDomainArrayOutput
	ToCustomDomainArrayOutputWithContext(context.Context) CustomDomainArrayOutput
}

CustomDomainArrayInput is an input type that accepts CustomDomainArray and CustomDomainArrayOutput values. You can construct a concrete instance of `CustomDomainArrayInput` via:

CustomDomainArray{ CustomDomainArgs{...} }

type CustomDomainArrayOutput

type CustomDomainArrayOutput struct{ *pulumi.OutputState }

func (CustomDomainArrayOutput) ElementType

func (CustomDomainArrayOutput) ElementType() reflect.Type

func (CustomDomainArrayOutput) Index

func (CustomDomainArrayOutput) ToCustomDomainArrayOutput

func (o CustomDomainArrayOutput) ToCustomDomainArrayOutput() CustomDomainArrayOutput

func (CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext

func (o CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext(ctx context.Context) CustomDomainArrayOutput

type CustomDomainInput

type CustomDomainInput interface {
	pulumi.Input

	ToCustomDomainOutput() CustomDomainOutput
	ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
}

type CustomDomainMap

type CustomDomainMap map[string]CustomDomainInput

func (CustomDomainMap) ElementType

func (CustomDomainMap) ElementType() reflect.Type

func (CustomDomainMap) ToCustomDomainMapOutput

func (i CustomDomainMap) ToCustomDomainMapOutput() CustomDomainMapOutput

func (CustomDomainMap) ToCustomDomainMapOutputWithContext

func (i CustomDomainMap) ToCustomDomainMapOutputWithContext(ctx context.Context) CustomDomainMapOutput

type CustomDomainMapInput

type CustomDomainMapInput interface {
	pulumi.Input

	ToCustomDomainMapOutput() CustomDomainMapOutput
	ToCustomDomainMapOutputWithContext(context.Context) CustomDomainMapOutput
}

CustomDomainMapInput is an input type that accepts CustomDomainMap and CustomDomainMapOutput values. You can construct a concrete instance of `CustomDomainMapInput` via:

CustomDomainMap{ "key": CustomDomainArgs{...} }

type CustomDomainMapOutput

type CustomDomainMapOutput struct{ *pulumi.OutputState }

func (CustomDomainMapOutput) ElementType

func (CustomDomainMapOutput) ElementType() reflect.Type

func (CustomDomainMapOutput) MapIndex

func (CustomDomainMapOutput) ToCustomDomainMapOutput

func (o CustomDomainMapOutput) ToCustomDomainMapOutput() CustomDomainMapOutput

func (CustomDomainMapOutput) ToCustomDomainMapOutputWithContext

func (o CustomDomainMapOutput) ToCustomDomainMapOutputWithContext(ctx context.Context) CustomDomainMapOutput

type CustomDomainOutput

type CustomDomainOutput struct{ *pulumi.OutputState }

func (CustomDomainOutput) CertificateId

func (o CustomDomainOutput) CertificateId() pulumi.StringOutput

Unique certificate ID of the custom domain name to be bound. You can choose to upload for the `protocol` attribute value `https` or `http&https`.

func (CustomDomainOutput) DefaultDomain

func (o CustomDomainOutput) DefaultDomain() pulumi.StringOutput

Default domain name.

func (CustomDomainOutput) ElementType

func (CustomDomainOutput) ElementType() reflect.Type

func (CustomDomainOutput) IsDefaultMapping

func (o CustomDomainOutput) IsDefaultMapping() pulumi.BoolPtrOutput

Whether the default path mapping is used. The default value is `true`. When it is `false`, it means custom path mapping. In this case, the `pathMappings` attribute is required.

func (CustomDomainOutput) NetType

Network type. Valid values: `OUTER`, `INNER`.

func (CustomDomainOutput) PathMappings

func (o CustomDomainOutput) PathMappings() pulumi.StringArrayOutput

Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`, `prepub`, and `release`.

func (CustomDomainOutput) Protocol

func (o CustomDomainOutput) Protocol() pulumi.StringOutput

Protocol supported by service. Valid values: `http`, `https`, `http&https`.

func (CustomDomainOutput) ServiceId

func (o CustomDomainOutput) ServiceId() pulumi.StringOutput

Unique service ID.

func (CustomDomainOutput) Status

func (o CustomDomainOutput) Status() pulumi.IntOutput

Domain name resolution status. `1` means normal analysis, `0` means parsing failed.

func (CustomDomainOutput) SubDomain

func (o CustomDomainOutput) SubDomain() pulumi.StringOutput

Custom domain name to be bound.

func (CustomDomainOutput) ToCustomDomainOutput

func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput

func (CustomDomainOutput) ToCustomDomainOutputWithContext

func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

type CustomDomainState

type CustomDomainState struct {
	// Unique certificate ID of the custom domain name to be bound. You can choose to upload for the `protocol` attribute value `https` or `http&https`.
	CertificateId pulumi.StringPtrInput
	// Default domain name.
	DefaultDomain pulumi.StringPtrInput
	// Whether the default path mapping is used. The default value is `true`. When it is `false`, it means custom path mapping. In this case, the `pathMappings` attribute is required.
	IsDefaultMapping pulumi.BoolPtrInput
	// Network type. Valid values: `OUTER`, `INNER`.
	NetType pulumi.StringPtrInput
	// Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`, `prepub`, and `release`.
	PathMappings pulumi.StringArrayInput
	// Protocol supported by service. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringPtrInput
	// Unique service ID.
	ServiceId pulumi.StringPtrInput
	// Domain name resolution status. `1` means normal analysis, `0` means parsing failed.
	Status pulumi.IntPtrInput
	// Custom domain name to be bound.
	SubDomain pulumi.StringPtrInput
}

func (CustomDomainState) ElementType

func (CustomDomainState) ElementType() reflect.Type

type GetApiKeysArgs

type GetApiKeysArgs struct {
	// Created API key ID, this field is exactly the same as ID.
	ApiKeyId *string `pulumi:"apiKeyId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Custom key name.
	SecretName *string `pulumi:"secretName"`
}

A collection of arguments for invoking getApiKeys.

type GetApiKeysList

type GetApiKeysList struct {
	// Created API key.
	AccessKeySecret string `pulumi:"accessKeySecret"`
	// Created API key ID, this field is exactly the same as ID.
	ApiKeyId string `pulumi:"apiKeyId"`
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// Key status. Values: `on`, `off`.
	Status string `pulumi:"status"`
}

type GetApiKeysListArgs

type GetApiKeysListArgs struct {
	// Created API key.
	AccessKeySecret pulumi.StringInput `pulumi:"accessKeySecret"`
	// Created API key ID, this field is exactly the same as ID.
	ApiKeyId pulumi.StringInput `pulumi:"apiKeyId"`
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// Key status. Values: `on`, `off`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetApiKeysListArgs) ElementType

func (GetApiKeysListArgs) ElementType() reflect.Type

func (GetApiKeysListArgs) ToGetApiKeysListOutput

func (i GetApiKeysListArgs) ToGetApiKeysListOutput() GetApiKeysListOutput

func (GetApiKeysListArgs) ToGetApiKeysListOutputWithContext

func (i GetApiKeysListArgs) ToGetApiKeysListOutputWithContext(ctx context.Context) GetApiKeysListOutput

type GetApiKeysListArray

type GetApiKeysListArray []GetApiKeysListInput

func (GetApiKeysListArray) ElementType

func (GetApiKeysListArray) ElementType() reflect.Type

func (GetApiKeysListArray) ToGetApiKeysListArrayOutput

func (i GetApiKeysListArray) ToGetApiKeysListArrayOutput() GetApiKeysListArrayOutput

func (GetApiKeysListArray) ToGetApiKeysListArrayOutputWithContext

func (i GetApiKeysListArray) ToGetApiKeysListArrayOutputWithContext(ctx context.Context) GetApiKeysListArrayOutput

type GetApiKeysListArrayInput

type GetApiKeysListArrayInput interface {
	pulumi.Input

	ToGetApiKeysListArrayOutput() GetApiKeysListArrayOutput
	ToGetApiKeysListArrayOutputWithContext(context.Context) GetApiKeysListArrayOutput
}

GetApiKeysListArrayInput is an input type that accepts GetApiKeysListArray and GetApiKeysListArrayOutput values. You can construct a concrete instance of `GetApiKeysListArrayInput` via:

GetApiKeysListArray{ GetApiKeysListArgs{...} }

type GetApiKeysListArrayOutput

type GetApiKeysListArrayOutput struct{ *pulumi.OutputState }

func (GetApiKeysListArrayOutput) ElementType

func (GetApiKeysListArrayOutput) ElementType() reflect.Type

func (GetApiKeysListArrayOutput) Index

func (GetApiKeysListArrayOutput) ToGetApiKeysListArrayOutput

func (o GetApiKeysListArrayOutput) ToGetApiKeysListArrayOutput() GetApiKeysListArrayOutput

func (GetApiKeysListArrayOutput) ToGetApiKeysListArrayOutputWithContext

func (o GetApiKeysListArrayOutput) ToGetApiKeysListArrayOutputWithContext(ctx context.Context) GetApiKeysListArrayOutput

type GetApiKeysListInput

type GetApiKeysListInput interface {
	pulumi.Input

	ToGetApiKeysListOutput() GetApiKeysListOutput
	ToGetApiKeysListOutputWithContext(context.Context) GetApiKeysListOutput
}

GetApiKeysListInput is an input type that accepts GetApiKeysListArgs and GetApiKeysListOutput values. You can construct a concrete instance of `GetApiKeysListInput` via:

GetApiKeysListArgs{...}

type GetApiKeysListOutput

type GetApiKeysListOutput struct{ *pulumi.OutputState }

func (GetApiKeysListOutput) AccessKeySecret

func (o GetApiKeysListOutput) AccessKeySecret() pulumi.StringOutput

Created API key.

func (GetApiKeysListOutput) ApiKeyId

Created API key ID, this field is exactly the same as ID.

func (GetApiKeysListOutput) CreateTime

func (o GetApiKeysListOutput) CreateTime() pulumi.StringOutput

Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetApiKeysListOutput) ElementType

func (GetApiKeysListOutput) ElementType() reflect.Type

func (GetApiKeysListOutput) ModifyTime

func (o GetApiKeysListOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetApiKeysListOutput) Status

Key status. Values: `on`, `off`.

func (GetApiKeysListOutput) ToGetApiKeysListOutput

func (o GetApiKeysListOutput) ToGetApiKeysListOutput() GetApiKeysListOutput

func (GetApiKeysListOutput) ToGetApiKeysListOutputWithContext

func (o GetApiKeysListOutput) ToGetApiKeysListOutputWithContext(ctx context.Context) GetApiKeysListOutput

type GetApiKeysOutputArgs

type GetApiKeysOutputArgs struct {
	// Created API key ID, this field is exactly the same as ID.
	ApiKeyId pulumi.StringPtrInput `pulumi:"apiKeyId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Custom key name.
	SecretName pulumi.StringPtrInput `pulumi:"secretName"`
}

A collection of arguments for invoking getApiKeys.

func (GetApiKeysOutputArgs) ElementType

func (GetApiKeysOutputArgs) ElementType() reflect.Type

type GetApiKeysResult

type GetApiKeysResult struct {
	// API key ID.
	ApiKeyId *string `pulumi:"apiKeyId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of API keys.
	Lists            []GetApiKeysList `pulumi:"lists"`
	ResultOutputFile *string          `pulumi:"resultOutputFile"`
	SecretName       *string          `pulumi:"secretName"`
}

A collection of values returned by getApiKeys.

func GetApiKeys

func GetApiKeys(ctx *pulumi.Context, args *GetApiKeysArgs, opts ...pulumi.InvokeOption) (*GetApiKeysResult, error)

Use this data source to query API gateway access keys.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := ApiGateway.NewApiKey(ctx, "test", &ApiGateway.ApiKeyArgs{
			SecretName: pulumi.String("my_api_key"),
			Status:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetApiKeysOutput(ctx, apigateway.GetApiKeysOutputArgs{
			SecretName: test.SecretName,
		}, nil)
		_ = ApiGateway.GetApiKeysOutput(ctx, apigateway.GetApiKeysOutputArgs{
			ApiKeyId: test.ID(),
		}, nil)
		return nil
	})
}

```

type GetApiKeysResultOutput

type GetApiKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiKeys.

func (GetApiKeysResultOutput) ApiKeyId

API key ID.

func (GetApiKeysResultOutput) ElementType

func (GetApiKeysResultOutput) ElementType() reflect.Type

func (GetApiKeysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetApiKeysResultOutput) Lists

A list of API keys.

func (GetApiKeysResultOutput) ResultOutputFile

func (o GetApiKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetApiKeysResultOutput) SecretName

func (GetApiKeysResultOutput) ToGetApiKeysResultOutput

func (o GetApiKeysResultOutput) ToGetApiKeysResultOutput() GetApiKeysResultOutput

func (GetApiKeysResultOutput) ToGetApiKeysResultOutputWithContext

func (o GetApiKeysResultOutput) ToGetApiKeysResultOutputWithContext(ctx context.Context) GetApiKeysResultOutput

type GetApisArgs

type GetApisArgs struct {
	// Created API ID.
	ApiId *string `pulumi:"apiId"`
	// Custom API name.
	ApiName *string `pulumi:"apiName"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getApis.

type GetApisList

type GetApisList struct {
	// Custom API description.
	ApiDesc string `pulumi:"apiDesc"`
	// Custom API name.
	ApiName string `pulumi:"apiName"`
	// API authentication type. Valid values: `SECRET`, `NONE`. `SECRET` means key pair authentication, `NONE` means no authentication.
	AuthType string `pulumi:"authType"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// Whether to enable CORS.
	EnableCors bool `pulumi:"enableCors"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// API frontend request type, such as `HTTP`,`WEBSOCKET`.
	Protocol string `pulumi:"protocol"`
	// Request frontend method configuration. Like `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`.
	RequestConfigMethod string `pulumi:"requestConfigMethod"`
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath string `pulumi:"requestConfigPath"`
	// Frontend request parameters.
	RequestParameters []GetApisListRequestParameter `pulumi:"requestParameters"`
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes []GetApisListResponseErrorCode `pulumi:"responseErrorCodes"`
	// Response failure sample of custom response configuration.
	ResponseFailExample string `pulumi:"responseFailExample"`
	// Successful response sample of custom response configuration.
	ResponseSuccessExample string `pulumi:"responseSuccessExample"`
	// Return type.
	ResponseType string `pulumi:"responseType"`
	// API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.
	ServiceConfigMethod string `pulumi:"serviceConfigMethod"`
	// Returned information of API backend mocking.
	ServiceConfigMockReturnMessage string `pulumi:"serviceConfigMockReturnMessage"`
	// API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.
	ServiceConfigPath string `pulumi:"serviceConfigPath"`
	// Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.
	ServiceConfigProduct string `pulumi:"serviceConfigProduct"`
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName string `pulumi:"serviceConfigScfFunctionName"`
	// SCF function namespace. This parameter takes effect when  `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace string `pulumi:"serviceConfigScfFunctionNamespace"`
	// SCF function version. This parameter takes effect when `serviceConfigType`  is `SCF`.
	ServiceConfigScfFunctionQualifier string `pulumi:"serviceConfigScfFunctionQualifier"`
	// API backend service timeout period in seconds.
	ServiceConfigTimeout int `pulumi:"serviceConfigTimeout"`
	// API backend service type.
	ServiceConfigType string `pulumi:"serviceConfigType"`
	// API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.
	ServiceConfigUrl string `pulumi:"serviceConfigUrl"`
	// Unique VPC ID.
	ServiceConfigVpcId string `pulumi:"serviceConfigVpcId"`
	// Service ID for query.
	ServiceId string `pulumi:"serviceId"`
}

type GetApisListArgs

type GetApisListArgs struct {
	// Custom API description.
	ApiDesc pulumi.StringInput `pulumi:"apiDesc"`
	// Custom API name.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API authentication type. Valid values: `SECRET`, `NONE`. `SECRET` means key pair authentication, `NONE` means no authentication.
	AuthType pulumi.StringInput `pulumi:"authType"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Whether to enable CORS.
	EnableCors pulumi.BoolInput `pulumi:"enableCors"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// API frontend request type, such as `HTTP`,`WEBSOCKET`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Request frontend method configuration. Like `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`.
	RequestConfigMethod pulumi.StringInput `pulumi:"requestConfigMethod"`
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath pulumi.StringInput `pulumi:"requestConfigPath"`
	// Frontend request parameters.
	RequestParameters GetApisListRequestParameterArrayInput `pulumi:"requestParameters"`
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes GetApisListResponseErrorCodeArrayInput `pulumi:"responseErrorCodes"`
	// Response failure sample of custom response configuration.
	ResponseFailExample pulumi.StringInput `pulumi:"responseFailExample"`
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringInput `pulumi:"responseSuccessExample"`
	// Return type.
	ResponseType pulumi.StringInput `pulumi:"responseType"`
	// API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.
	ServiceConfigMethod pulumi.StringInput `pulumi:"serviceConfigMethod"`
	// Returned information of API backend mocking.
	ServiceConfigMockReturnMessage pulumi.StringInput `pulumi:"serviceConfigMockReturnMessage"`
	// API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.
	ServiceConfigPath pulumi.StringInput `pulumi:"serviceConfigPath"`
	// Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.
	ServiceConfigProduct pulumi.StringInput `pulumi:"serviceConfigProduct"`
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName pulumi.StringInput `pulumi:"serviceConfigScfFunctionName"`
	// SCF function namespace. This parameter takes effect when  `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace pulumi.StringInput `pulumi:"serviceConfigScfFunctionNamespace"`
	// SCF function version. This parameter takes effect when `serviceConfigType`  is `SCF`.
	ServiceConfigScfFunctionQualifier pulumi.StringInput `pulumi:"serviceConfigScfFunctionQualifier"`
	// API backend service timeout period in seconds.
	ServiceConfigTimeout pulumi.IntInput `pulumi:"serviceConfigTimeout"`
	// API backend service type.
	ServiceConfigType pulumi.StringInput `pulumi:"serviceConfigType"`
	// API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.
	ServiceConfigUrl pulumi.StringInput `pulumi:"serviceConfigUrl"`
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringInput `pulumi:"serviceConfigVpcId"`
	// Service ID for query.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (GetApisListArgs) ElementType

func (GetApisListArgs) ElementType() reflect.Type

func (GetApisListArgs) ToGetApisListOutput

func (i GetApisListArgs) ToGetApisListOutput() GetApisListOutput

func (GetApisListArgs) ToGetApisListOutputWithContext

func (i GetApisListArgs) ToGetApisListOutputWithContext(ctx context.Context) GetApisListOutput

type GetApisListArray

type GetApisListArray []GetApisListInput

func (GetApisListArray) ElementType

func (GetApisListArray) ElementType() reflect.Type

func (GetApisListArray) ToGetApisListArrayOutput

func (i GetApisListArray) ToGetApisListArrayOutput() GetApisListArrayOutput

func (GetApisListArray) ToGetApisListArrayOutputWithContext

func (i GetApisListArray) ToGetApisListArrayOutputWithContext(ctx context.Context) GetApisListArrayOutput

type GetApisListArrayInput

type GetApisListArrayInput interface {
	pulumi.Input

	ToGetApisListArrayOutput() GetApisListArrayOutput
	ToGetApisListArrayOutputWithContext(context.Context) GetApisListArrayOutput
}

GetApisListArrayInput is an input type that accepts GetApisListArray and GetApisListArrayOutput values. You can construct a concrete instance of `GetApisListArrayInput` via:

GetApisListArray{ GetApisListArgs{...} }

type GetApisListArrayOutput

type GetApisListArrayOutput struct{ *pulumi.OutputState }

func (GetApisListArrayOutput) ElementType

func (GetApisListArrayOutput) ElementType() reflect.Type

func (GetApisListArrayOutput) Index

func (GetApisListArrayOutput) ToGetApisListArrayOutput

func (o GetApisListArrayOutput) ToGetApisListArrayOutput() GetApisListArrayOutput

func (GetApisListArrayOutput) ToGetApisListArrayOutputWithContext

func (o GetApisListArrayOutput) ToGetApisListArrayOutputWithContext(ctx context.Context) GetApisListArrayOutput

type GetApisListInput

type GetApisListInput interface {
	pulumi.Input

	ToGetApisListOutput() GetApisListOutput
	ToGetApisListOutputWithContext(context.Context) GetApisListOutput
}

GetApisListInput is an input type that accepts GetApisListArgs and GetApisListOutput values. You can construct a concrete instance of `GetApisListInput` via:

GetApisListArgs{...}

type GetApisListOutput

type GetApisListOutput struct{ *pulumi.OutputState }

func (GetApisListOutput) ApiDesc

Custom API description.

func (GetApisListOutput) ApiName

Custom API name.

func (GetApisListOutput) AuthType

func (o GetApisListOutput) AuthType() pulumi.StringOutput

API authentication type. Valid values: `SECRET`, `NONE`. `SECRET` means key pair authentication, `NONE` means no authentication.

func (GetApisListOutput) CreateTime

func (o GetApisListOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetApisListOutput) ElementType

func (GetApisListOutput) ElementType() reflect.Type

func (GetApisListOutput) EnableCors

func (o GetApisListOutput) EnableCors() pulumi.BoolOutput

Whether to enable CORS.

func (GetApisListOutput) ModifyTime

func (o GetApisListOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetApisListOutput) Protocol

func (o GetApisListOutput) Protocol() pulumi.StringOutput

API frontend request type, such as `HTTP`,`WEBSOCKET`.

func (GetApisListOutput) RequestConfigMethod

func (o GetApisListOutput) RequestConfigMethod() pulumi.StringOutput

Request frontend method configuration. Like `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`.

func (GetApisListOutput) RequestConfigPath

func (o GetApisListOutput) RequestConfigPath() pulumi.StringOutput

Request frontend path configuration. Like `/user/getinfo`.

func (GetApisListOutput) RequestParameters

Frontend request parameters.

func (GetApisListOutput) ResponseErrorCodes

Custom error code configuration. Must keep at least one after set.

func (GetApisListOutput) ResponseFailExample

func (o GetApisListOutput) ResponseFailExample() pulumi.StringOutput

Response failure sample of custom response configuration.

func (GetApisListOutput) ResponseSuccessExample

func (o GetApisListOutput) ResponseSuccessExample() pulumi.StringOutput

Successful response sample of custom response configuration.

func (GetApisListOutput) ResponseType

func (o GetApisListOutput) ResponseType() pulumi.StringOutput

Return type.

func (GetApisListOutput) ServiceConfigMethod

func (o GetApisListOutput) ServiceConfigMethod() pulumi.StringOutput

API backend service request method, such as `GET`. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigMethod` and backend method `serviceConfigMethod` can be different.

func (GetApisListOutput) ServiceConfigMockReturnMessage

func (o GetApisListOutput) ServiceConfigMockReturnMessage() pulumi.StringOutput

Returned information of API backend mocking.

func (GetApisListOutput) ServiceConfigPath

func (o GetApisListOutput) ServiceConfigPath() pulumi.StringOutput

API backend service path, such as /path. If `serviceConfigType` is `HTTP`, this parameter will be required. The frontend `requestConfigPath` and backend path `serviceConfigPath` can be different.

func (GetApisListOutput) ServiceConfigProduct

func (o GetApisListOutput) ServiceConfigProduct() pulumi.StringOutput

Backend type. This parameter takes effect when VPC is enabled. Currently, only `clb` is supported.

func (GetApisListOutput) ServiceConfigScfFunctionName

func (o GetApisListOutput) ServiceConfigScfFunctionName() pulumi.StringOutput

SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.

func (GetApisListOutput) ServiceConfigScfFunctionNamespace

func (o GetApisListOutput) ServiceConfigScfFunctionNamespace() pulumi.StringOutput

SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.

func (GetApisListOutput) ServiceConfigScfFunctionQualifier

func (o GetApisListOutput) ServiceConfigScfFunctionQualifier() pulumi.StringOutput

SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.

func (GetApisListOutput) ServiceConfigTimeout

func (o GetApisListOutput) ServiceConfigTimeout() pulumi.IntOutput

API backend service timeout period in seconds.

func (GetApisListOutput) ServiceConfigType

func (o GetApisListOutput) ServiceConfigType() pulumi.StringOutput

API backend service type.

func (GetApisListOutput) ServiceConfigUrl

func (o GetApisListOutput) ServiceConfigUrl() pulumi.StringOutput

API backend service url. This parameter is required when `serviceConfigType` is `HTTP`.

func (GetApisListOutput) ServiceConfigVpcId

func (o GetApisListOutput) ServiceConfigVpcId() pulumi.StringOutput

Unique VPC ID.

func (GetApisListOutput) ServiceId

func (o GetApisListOutput) ServiceId() pulumi.StringOutput

Service ID for query.

func (GetApisListOutput) ToGetApisListOutput

func (o GetApisListOutput) ToGetApisListOutput() GetApisListOutput

func (GetApisListOutput) ToGetApisListOutputWithContext

func (o GetApisListOutput) ToGetApisListOutputWithContext(ctx context.Context) GetApisListOutput

type GetApisListRequestParameter

type GetApisListRequestParameter struct {
	// Parameter default value.
	DefaultValue string `pulumi:"defaultValue"`
	// Parameter description.
	Desc string `pulumi:"desc"`
	// Parameter name.
	Name string `pulumi:"name"`
	// Parameter location.
	Position string `pulumi:"position"`
	// If this parameter required.
	Required bool `pulumi:"required"`
	// Parameter type.
	Type string `pulumi:"type"`
}

type GetApisListRequestParameterArgs

type GetApisListRequestParameterArgs struct {
	// Parameter default value.
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// Parameter description.
	Desc pulumi.StringInput `pulumi:"desc"`
	// Parameter name.
	Name pulumi.StringInput `pulumi:"name"`
	// Parameter location.
	Position pulumi.StringInput `pulumi:"position"`
	// If this parameter required.
	Required pulumi.BoolInput `pulumi:"required"`
	// Parameter type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetApisListRequestParameterArgs) ElementType

func (GetApisListRequestParameterArgs) ToGetApisListRequestParameterOutput

func (i GetApisListRequestParameterArgs) ToGetApisListRequestParameterOutput() GetApisListRequestParameterOutput

func (GetApisListRequestParameterArgs) ToGetApisListRequestParameterOutputWithContext

func (i GetApisListRequestParameterArgs) ToGetApisListRequestParameterOutputWithContext(ctx context.Context) GetApisListRequestParameterOutput

type GetApisListRequestParameterArray

type GetApisListRequestParameterArray []GetApisListRequestParameterInput

func (GetApisListRequestParameterArray) ElementType

func (GetApisListRequestParameterArray) ToGetApisListRequestParameterArrayOutput

func (i GetApisListRequestParameterArray) ToGetApisListRequestParameterArrayOutput() GetApisListRequestParameterArrayOutput

func (GetApisListRequestParameterArray) ToGetApisListRequestParameterArrayOutputWithContext

func (i GetApisListRequestParameterArray) ToGetApisListRequestParameterArrayOutputWithContext(ctx context.Context) GetApisListRequestParameterArrayOutput

type GetApisListRequestParameterArrayInput

type GetApisListRequestParameterArrayInput interface {
	pulumi.Input

	ToGetApisListRequestParameterArrayOutput() GetApisListRequestParameterArrayOutput
	ToGetApisListRequestParameterArrayOutputWithContext(context.Context) GetApisListRequestParameterArrayOutput
}

GetApisListRequestParameterArrayInput is an input type that accepts GetApisListRequestParameterArray and GetApisListRequestParameterArrayOutput values. You can construct a concrete instance of `GetApisListRequestParameterArrayInput` via:

GetApisListRequestParameterArray{ GetApisListRequestParameterArgs{...} }

type GetApisListRequestParameterArrayOutput

type GetApisListRequestParameterArrayOutput struct{ *pulumi.OutputState }

func (GetApisListRequestParameterArrayOutput) ElementType

func (GetApisListRequestParameterArrayOutput) Index

func (GetApisListRequestParameterArrayOutput) ToGetApisListRequestParameterArrayOutput

func (o GetApisListRequestParameterArrayOutput) ToGetApisListRequestParameterArrayOutput() GetApisListRequestParameterArrayOutput

func (GetApisListRequestParameterArrayOutput) ToGetApisListRequestParameterArrayOutputWithContext

func (o GetApisListRequestParameterArrayOutput) ToGetApisListRequestParameterArrayOutputWithContext(ctx context.Context) GetApisListRequestParameterArrayOutput

type GetApisListRequestParameterInput

type GetApisListRequestParameterInput interface {
	pulumi.Input

	ToGetApisListRequestParameterOutput() GetApisListRequestParameterOutput
	ToGetApisListRequestParameterOutputWithContext(context.Context) GetApisListRequestParameterOutput
}

GetApisListRequestParameterInput is an input type that accepts GetApisListRequestParameterArgs and GetApisListRequestParameterOutput values. You can construct a concrete instance of `GetApisListRequestParameterInput` via:

GetApisListRequestParameterArgs{...}

type GetApisListRequestParameterOutput

type GetApisListRequestParameterOutput struct{ *pulumi.OutputState }

func (GetApisListRequestParameterOutput) DefaultValue

Parameter default value.

func (GetApisListRequestParameterOutput) Desc

Parameter description.

func (GetApisListRequestParameterOutput) ElementType

func (GetApisListRequestParameterOutput) Name

Parameter name.

func (GetApisListRequestParameterOutput) Position

Parameter location.

func (GetApisListRequestParameterOutput) Required

If this parameter required.

func (GetApisListRequestParameterOutput) ToGetApisListRequestParameterOutput

func (o GetApisListRequestParameterOutput) ToGetApisListRequestParameterOutput() GetApisListRequestParameterOutput

func (GetApisListRequestParameterOutput) ToGetApisListRequestParameterOutputWithContext

func (o GetApisListRequestParameterOutput) ToGetApisListRequestParameterOutputWithContext(ctx context.Context) GetApisListRequestParameterOutput

func (GetApisListRequestParameterOutput) Type

Parameter type.

type GetApisListResponseErrorCode

type GetApisListResponseErrorCode struct {
	// Custom response configuration error code.
	Code int `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode int `pulumi:"convertedCode"`
	// Parameter description.
	Desc string `pulumi:"desc"`
	// Custom response configuration error message.
	Msg string `pulumi:"msg"`
	// Whether to enable error code conversion. Default value: `false`.
	NeedConvert bool `pulumi:"needConvert"`
}

type GetApisListResponseErrorCodeArgs

type GetApisListResponseErrorCodeArgs struct {
	// Custom response configuration error code.
	Code pulumi.IntInput `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode pulumi.IntInput `pulumi:"convertedCode"`
	// Parameter description.
	Desc pulumi.StringInput `pulumi:"desc"`
	// Custom response configuration error message.
	Msg pulumi.StringInput `pulumi:"msg"`
	// Whether to enable error code conversion. Default value: `false`.
	NeedConvert pulumi.BoolInput `pulumi:"needConvert"`
}

func (GetApisListResponseErrorCodeArgs) ElementType

func (GetApisListResponseErrorCodeArgs) ToGetApisListResponseErrorCodeOutput

func (i GetApisListResponseErrorCodeArgs) ToGetApisListResponseErrorCodeOutput() GetApisListResponseErrorCodeOutput

func (GetApisListResponseErrorCodeArgs) ToGetApisListResponseErrorCodeOutputWithContext

func (i GetApisListResponseErrorCodeArgs) ToGetApisListResponseErrorCodeOutputWithContext(ctx context.Context) GetApisListResponseErrorCodeOutput

type GetApisListResponseErrorCodeArray

type GetApisListResponseErrorCodeArray []GetApisListResponseErrorCodeInput

func (GetApisListResponseErrorCodeArray) ElementType

func (GetApisListResponseErrorCodeArray) ToGetApisListResponseErrorCodeArrayOutput

func (i GetApisListResponseErrorCodeArray) ToGetApisListResponseErrorCodeArrayOutput() GetApisListResponseErrorCodeArrayOutput

func (GetApisListResponseErrorCodeArray) ToGetApisListResponseErrorCodeArrayOutputWithContext

func (i GetApisListResponseErrorCodeArray) ToGetApisListResponseErrorCodeArrayOutputWithContext(ctx context.Context) GetApisListResponseErrorCodeArrayOutput

type GetApisListResponseErrorCodeArrayInput

type GetApisListResponseErrorCodeArrayInput interface {
	pulumi.Input

	ToGetApisListResponseErrorCodeArrayOutput() GetApisListResponseErrorCodeArrayOutput
	ToGetApisListResponseErrorCodeArrayOutputWithContext(context.Context) GetApisListResponseErrorCodeArrayOutput
}

GetApisListResponseErrorCodeArrayInput is an input type that accepts GetApisListResponseErrorCodeArray and GetApisListResponseErrorCodeArrayOutput values. You can construct a concrete instance of `GetApisListResponseErrorCodeArrayInput` via:

GetApisListResponseErrorCodeArray{ GetApisListResponseErrorCodeArgs{...} }

type GetApisListResponseErrorCodeArrayOutput

type GetApisListResponseErrorCodeArrayOutput struct{ *pulumi.OutputState }

func (GetApisListResponseErrorCodeArrayOutput) ElementType

func (GetApisListResponseErrorCodeArrayOutput) Index

func (GetApisListResponseErrorCodeArrayOutput) ToGetApisListResponseErrorCodeArrayOutput

func (o GetApisListResponseErrorCodeArrayOutput) ToGetApisListResponseErrorCodeArrayOutput() GetApisListResponseErrorCodeArrayOutput

func (GetApisListResponseErrorCodeArrayOutput) ToGetApisListResponseErrorCodeArrayOutputWithContext

func (o GetApisListResponseErrorCodeArrayOutput) ToGetApisListResponseErrorCodeArrayOutputWithContext(ctx context.Context) GetApisListResponseErrorCodeArrayOutput

type GetApisListResponseErrorCodeInput

type GetApisListResponseErrorCodeInput interface {
	pulumi.Input

	ToGetApisListResponseErrorCodeOutput() GetApisListResponseErrorCodeOutput
	ToGetApisListResponseErrorCodeOutputWithContext(context.Context) GetApisListResponseErrorCodeOutput
}

GetApisListResponseErrorCodeInput is an input type that accepts GetApisListResponseErrorCodeArgs and GetApisListResponseErrorCodeOutput values. You can construct a concrete instance of `GetApisListResponseErrorCodeInput` via:

GetApisListResponseErrorCodeArgs{...}

type GetApisListResponseErrorCodeOutput

type GetApisListResponseErrorCodeOutput struct{ *pulumi.OutputState }

func (GetApisListResponseErrorCodeOutput) Code

Custom response configuration error code.

func (GetApisListResponseErrorCodeOutput) ConvertedCode

Custom error code conversion.

func (GetApisListResponseErrorCodeOutput) Desc

Parameter description.

func (GetApisListResponseErrorCodeOutput) ElementType

func (GetApisListResponseErrorCodeOutput) Msg

Custom response configuration error message.

func (GetApisListResponseErrorCodeOutput) NeedConvert

Whether to enable error code conversion. Default value: `false`.

func (GetApisListResponseErrorCodeOutput) ToGetApisListResponseErrorCodeOutput

func (o GetApisListResponseErrorCodeOutput) ToGetApisListResponseErrorCodeOutput() GetApisListResponseErrorCodeOutput

func (GetApisListResponseErrorCodeOutput) ToGetApisListResponseErrorCodeOutputWithContext

func (o GetApisListResponseErrorCodeOutput) ToGetApisListResponseErrorCodeOutputWithContext(ctx context.Context) GetApisListResponseErrorCodeOutput

type GetApisOutputArgs

type GetApisOutputArgs struct {
	// Created API ID.
	ApiId pulumi.StringPtrInput `pulumi:"apiId"`
	// Custom API name.
	ApiName pulumi.StringPtrInput `pulumi:"apiName"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getApis.

func (GetApisOutputArgs) ElementType

func (GetApisOutputArgs) ElementType() reflect.Type

type GetApisResult

type GetApisResult struct {
	ApiId *string `pulumi:"apiId"`
	// Custom API name.
	ApiName *string `pulumi:"apiName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of APIs.
	Lists            []GetApisList `pulumi:"lists"`
	ResultOutputFile *string       `pulumi:"resultOutputFile"`
	// Which service this API belongs. Refer to resource `ApiGateway.Service`.
	ServiceId string `pulumi:"serviceId"`
}

A collection of values returned by getApis.

func GetApis

func GetApis(ctx *pulumi.Context, args *GetApisArgs, opts ...pulumi.InvokeOption) (*GetApisResult, error)

Use this data source to query API gateway APIs.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("ck"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		api, err := ApiGateway.NewApi(ctx, "api", &ApiGateway.ApiArgs{
			ServiceId:              service.ID(),
			ApiName:                pulumi.String("hello"),
			ApiDesc:                pulumi.String("my hello api"),
			AuthType:               pulumi.String("NONE"),
			Protocol:               pulumi.String("HTTP"),
			EnableCors:             pulumi.Bool(true),
			RequestConfigPath:      pulumi.String("/user/info"),
			RequestConfigMethod:    pulumi.String("GET"),
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(15),
			ServiceConfigUrl:       pulumi.String("http://www.qq.com"),
			ServiceConfigPath:      pulumi.String("/user"),
			ServiceConfigMethod:    pulumi.String("GET"),
			ResponseType:           pulumi.String("HTML"),
			ResponseSuccessExample: pulumi.String("success"),
			ResponseFailExample:    pulumi.String("fail"),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetApisOutput(ctx, apigateway.GetApisOutputArgs{
			ServiceId: service.ID(),
			ApiId:     api.ID(),
		}, nil)
		_ = ApiGateway.GetApisOutput(ctx, apigateway.GetApisOutputArgs{
			ServiceId: service.ID(),
			ApiName:   api.ApiName,
		}, nil)
		return nil
	})
}

```

type GetApisResultOutput

type GetApisResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApis.

func (GetApisResultOutput) ApiId

func (GetApisResultOutput) ApiName

Custom API name.

func (GetApisResultOutput) ElementType

func (GetApisResultOutput) ElementType() reflect.Type

func (GetApisResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetApisResultOutput) Lists

A list of APIs.

func (GetApisResultOutput) ResultOutputFile

func (o GetApisResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetApisResultOutput) ServiceId

func (o GetApisResultOutput) ServiceId() pulumi.StringOutput

Which service this API belongs. Refer to resource `ApiGateway.Service`.

func (GetApisResultOutput) ToGetApisResultOutput

func (o GetApisResultOutput) ToGetApisResultOutput() GetApisResultOutput

func (GetApisResultOutput) ToGetApisResultOutputWithContext

func (o GetApisResultOutput) ToGetApisResultOutputWithContext(ctx context.Context) GetApisResultOutput

type GetCustomerDomainsArgs

type GetCustomerDomainsArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The service ID.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getCustomerDomains.

type GetCustomerDomainsList

type GetCustomerDomainsList struct {
	// The certificate ID.
	CertificateId string `pulumi:"certificateId"`
	// Domain name.
	DomainName string `pulumi:"domainName"`
	// Whether to use default path mapping. Valid values: `true`, `false`. `true` means to use default path mapping, `false` means to use custom path mapping.
	IsDefaultMapping bool `pulumi:"isDefaultMapping"`
	// Domain name resolution status. Valid values: `true`, `false`. `true` means normal parsing, `false` means parsing failed.
	IsStatusOn bool `pulumi:"isStatusOn"`
	// Network type.
	NetType string `pulumi:"netType"`
	// Domain name mapping path and environment list.
	PathMappings []GetCustomerDomainsListPathMapping `pulumi:"pathMappings"`
	// Custom domain name agreement type.
	Protocol string `pulumi:"protocol"`
}

type GetCustomerDomainsListArgs

type GetCustomerDomainsListArgs struct {
	// The certificate ID.
	CertificateId pulumi.StringInput `pulumi:"certificateId"`
	// Domain name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Whether to use default path mapping. Valid values: `true`, `false`. `true` means to use default path mapping, `false` means to use custom path mapping.
	IsDefaultMapping pulumi.BoolInput `pulumi:"isDefaultMapping"`
	// Domain name resolution status. Valid values: `true`, `false`. `true` means normal parsing, `false` means parsing failed.
	IsStatusOn pulumi.BoolInput `pulumi:"isStatusOn"`
	// Network type.
	NetType pulumi.StringInput `pulumi:"netType"`
	// Domain name mapping path and environment list.
	PathMappings GetCustomerDomainsListPathMappingArrayInput `pulumi:"pathMappings"`
	// Custom domain name agreement type.
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (GetCustomerDomainsListArgs) ElementType

func (GetCustomerDomainsListArgs) ElementType() reflect.Type

func (GetCustomerDomainsListArgs) ToGetCustomerDomainsListOutput

func (i GetCustomerDomainsListArgs) ToGetCustomerDomainsListOutput() GetCustomerDomainsListOutput

func (GetCustomerDomainsListArgs) ToGetCustomerDomainsListOutputWithContext

func (i GetCustomerDomainsListArgs) ToGetCustomerDomainsListOutputWithContext(ctx context.Context) GetCustomerDomainsListOutput

type GetCustomerDomainsListArray

type GetCustomerDomainsListArray []GetCustomerDomainsListInput

func (GetCustomerDomainsListArray) ElementType

func (GetCustomerDomainsListArray) ToGetCustomerDomainsListArrayOutput

func (i GetCustomerDomainsListArray) ToGetCustomerDomainsListArrayOutput() GetCustomerDomainsListArrayOutput

func (GetCustomerDomainsListArray) ToGetCustomerDomainsListArrayOutputWithContext

func (i GetCustomerDomainsListArray) ToGetCustomerDomainsListArrayOutputWithContext(ctx context.Context) GetCustomerDomainsListArrayOutput

type GetCustomerDomainsListArrayInput

type GetCustomerDomainsListArrayInput interface {
	pulumi.Input

	ToGetCustomerDomainsListArrayOutput() GetCustomerDomainsListArrayOutput
	ToGetCustomerDomainsListArrayOutputWithContext(context.Context) GetCustomerDomainsListArrayOutput
}

GetCustomerDomainsListArrayInput is an input type that accepts GetCustomerDomainsListArray and GetCustomerDomainsListArrayOutput values. You can construct a concrete instance of `GetCustomerDomainsListArrayInput` via:

GetCustomerDomainsListArray{ GetCustomerDomainsListArgs{...} }

type GetCustomerDomainsListArrayOutput

type GetCustomerDomainsListArrayOutput struct{ *pulumi.OutputState }

func (GetCustomerDomainsListArrayOutput) ElementType

func (GetCustomerDomainsListArrayOutput) Index

func (GetCustomerDomainsListArrayOutput) ToGetCustomerDomainsListArrayOutput

func (o GetCustomerDomainsListArrayOutput) ToGetCustomerDomainsListArrayOutput() GetCustomerDomainsListArrayOutput

func (GetCustomerDomainsListArrayOutput) ToGetCustomerDomainsListArrayOutputWithContext

func (o GetCustomerDomainsListArrayOutput) ToGetCustomerDomainsListArrayOutputWithContext(ctx context.Context) GetCustomerDomainsListArrayOutput

type GetCustomerDomainsListInput

type GetCustomerDomainsListInput interface {
	pulumi.Input

	ToGetCustomerDomainsListOutput() GetCustomerDomainsListOutput
	ToGetCustomerDomainsListOutputWithContext(context.Context) GetCustomerDomainsListOutput
}

GetCustomerDomainsListInput is an input type that accepts GetCustomerDomainsListArgs and GetCustomerDomainsListOutput values. You can construct a concrete instance of `GetCustomerDomainsListInput` via:

GetCustomerDomainsListArgs{...}

type GetCustomerDomainsListOutput

type GetCustomerDomainsListOutput struct{ *pulumi.OutputState }

func (GetCustomerDomainsListOutput) CertificateId

The certificate ID.

func (GetCustomerDomainsListOutput) DomainName

Domain name.

func (GetCustomerDomainsListOutput) ElementType

func (GetCustomerDomainsListOutput) IsDefaultMapping

func (o GetCustomerDomainsListOutput) IsDefaultMapping() pulumi.BoolOutput

Whether to use default path mapping. Valid values: `true`, `false`. `true` means to use default path mapping, `false` means to use custom path mapping.

func (GetCustomerDomainsListOutput) IsStatusOn

Domain name resolution status. Valid values: `true`, `false`. `true` means normal parsing, `false` means parsing failed.

func (GetCustomerDomainsListOutput) NetType

Network type.

func (GetCustomerDomainsListOutput) PathMappings

Domain name mapping path and environment list.

func (GetCustomerDomainsListOutput) Protocol

Custom domain name agreement type.

func (GetCustomerDomainsListOutput) ToGetCustomerDomainsListOutput

func (o GetCustomerDomainsListOutput) ToGetCustomerDomainsListOutput() GetCustomerDomainsListOutput

func (GetCustomerDomainsListOutput) ToGetCustomerDomainsListOutputWithContext

func (o GetCustomerDomainsListOutput) ToGetCustomerDomainsListOutputWithContext(ctx context.Context) GetCustomerDomainsListOutput

type GetCustomerDomainsListPathMapping

type GetCustomerDomainsListPathMapping struct {
	// Release environment.
	Environment string `pulumi:"environment"`
	// The domain mapping path.
	Path string `pulumi:"path"`
}

type GetCustomerDomainsListPathMappingArgs

type GetCustomerDomainsListPathMappingArgs struct {
	// Release environment.
	Environment pulumi.StringInput `pulumi:"environment"`
	// The domain mapping path.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetCustomerDomainsListPathMappingArgs) ElementType

func (GetCustomerDomainsListPathMappingArgs) ToGetCustomerDomainsListPathMappingOutput

func (i GetCustomerDomainsListPathMappingArgs) ToGetCustomerDomainsListPathMappingOutput() GetCustomerDomainsListPathMappingOutput

func (GetCustomerDomainsListPathMappingArgs) ToGetCustomerDomainsListPathMappingOutputWithContext

func (i GetCustomerDomainsListPathMappingArgs) ToGetCustomerDomainsListPathMappingOutputWithContext(ctx context.Context) GetCustomerDomainsListPathMappingOutput

type GetCustomerDomainsListPathMappingArray

type GetCustomerDomainsListPathMappingArray []GetCustomerDomainsListPathMappingInput

func (GetCustomerDomainsListPathMappingArray) ElementType

func (GetCustomerDomainsListPathMappingArray) ToGetCustomerDomainsListPathMappingArrayOutput

func (i GetCustomerDomainsListPathMappingArray) ToGetCustomerDomainsListPathMappingArrayOutput() GetCustomerDomainsListPathMappingArrayOutput

func (GetCustomerDomainsListPathMappingArray) ToGetCustomerDomainsListPathMappingArrayOutputWithContext

func (i GetCustomerDomainsListPathMappingArray) ToGetCustomerDomainsListPathMappingArrayOutputWithContext(ctx context.Context) GetCustomerDomainsListPathMappingArrayOutput

type GetCustomerDomainsListPathMappingArrayInput

type GetCustomerDomainsListPathMappingArrayInput interface {
	pulumi.Input

	ToGetCustomerDomainsListPathMappingArrayOutput() GetCustomerDomainsListPathMappingArrayOutput
	ToGetCustomerDomainsListPathMappingArrayOutputWithContext(context.Context) GetCustomerDomainsListPathMappingArrayOutput
}

GetCustomerDomainsListPathMappingArrayInput is an input type that accepts GetCustomerDomainsListPathMappingArray and GetCustomerDomainsListPathMappingArrayOutput values. You can construct a concrete instance of `GetCustomerDomainsListPathMappingArrayInput` via:

GetCustomerDomainsListPathMappingArray{ GetCustomerDomainsListPathMappingArgs{...} }

type GetCustomerDomainsListPathMappingArrayOutput

type GetCustomerDomainsListPathMappingArrayOutput struct{ *pulumi.OutputState }

func (GetCustomerDomainsListPathMappingArrayOutput) ElementType

func (GetCustomerDomainsListPathMappingArrayOutput) Index

func (GetCustomerDomainsListPathMappingArrayOutput) ToGetCustomerDomainsListPathMappingArrayOutput

func (o GetCustomerDomainsListPathMappingArrayOutput) ToGetCustomerDomainsListPathMappingArrayOutput() GetCustomerDomainsListPathMappingArrayOutput

func (GetCustomerDomainsListPathMappingArrayOutput) ToGetCustomerDomainsListPathMappingArrayOutputWithContext

func (o GetCustomerDomainsListPathMappingArrayOutput) ToGetCustomerDomainsListPathMappingArrayOutputWithContext(ctx context.Context) GetCustomerDomainsListPathMappingArrayOutput

type GetCustomerDomainsListPathMappingInput

type GetCustomerDomainsListPathMappingInput interface {
	pulumi.Input

	ToGetCustomerDomainsListPathMappingOutput() GetCustomerDomainsListPathMappingOutput
	ToGetCustomerDomainsListPathMappingOutputWithContext(context.Context) GetCustomerDomainsListPathMappingOutput
}

GetCustomerDomainsListPathMappingInput is an input type that accepts GetCustomerDomainsListPathMappingArgs and GetCustomerDomainsListPathMappingOutput values. You can construct a concrete instance of `GetCustomerDomainsListPathMappingInput` via:

GetCustomerDomainsListPathMappingArgs{...}

type GetCustomerDomainsListPathMappingOutput

type GetCustomerDomainsListPathMappingOutput struct{ *pulumi.OutputState }

func (GetCustomerDomainsListPathMappingOutput) ElementType

func (GetCustomerDomainsListPathMappingOutput) Environment

Release environment.

func (GetCustomerDomainsListPathMappingOutput) Path

The domain mapping path.

func (GetCustomerDomainsListPathMappingOutput) ToGetCustomerDomainsListPathMappingOutput

func (o GetCustomerDomainsListPathMappingOutput) ToGetCustomerDomainsListPathMappingOutput() GetCustomerDomainsListPathMappingOutput

func (GetCustomerDomainsListPathMappingOutput) ToGetCustomerDomainsListPathMappingOutputWithContext

func (o GetCustomerDomainsListPathMappingOutput) ToGetCustomerDomainsListPathMappingOutputWithContext(ctx context.Context) GetCustomerDomainsListPathMappingOutput

type GetCustomerDomainsOutputArgs

type GetCustomerDomainsOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The service ID.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getCustomerDomains.

func (GetCustomerDomainsOutputArgs) ElementType

type GetCustomerDomainsResult

type GetCustomerDomainsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Service custom domain name list.
	Lists            []GetCustomerDomainsList `pulumi:"lists"`
	ResultOutputFile *string                  `pulumi:"resultOutputFile"`
	ServiceId        string                   `pulumi:"serviceId"`
}

A collection of values returned by getCustomerDomains.

func GetCustomerDomains

func GetCustomerDomains(ctx *pulumi.Context, args *GetCustomerDomainsArgs, opts ...pulumi.InvokeOption) (*GetCustomerDomainsResult, error)

Use this data source to query API gateway domain list.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := ApiGateway.NewCustomDomain(ctx, "foo", &ApiGateway.CustomDomainArgs{
			ServiceId:        pulumi.String("service-ohxqslqe"),
			SubDomain:        pulumi.String("tic-test.dnsv1.com"),
			Protocol:         pulumi.String("http"),
			NetType:          pulumi.String("OUTER"),
			IsDefaultMapping: pulumi.Bool(false),
			DefaultDomain:    pulumi.String("service-ohxqslqe-1259649581.gz.apigw.tencentcs.com"),
			PathMappings: pulumi.StringArray{
				pulumi.String("/good#test"),
				pulumi.String("/root#release"),
			},
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetCustomerDomainsOutput(ctx, apigateway.GetCustomerDomainsOutputArgs{
			ServiceId: foo.ServiceId,
		}, nil)
		return nil
	})
}

```

type GetCustomerDomainsResultOutput

type GetCustomerDomainsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomerDomains.

func (GetCustomerDomainsResultOutput) ElementType

func (GetCustomerDomainsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCustomerDomainsResultOutput) Lists

Service custom domain name list.

func (GetCustomerDomainsResultOutput) ResultOutputFile

func (GetCustomerDomainsResultOutput) ServiceId

func (GetCustomerDomainsResultOutput) ToGetCustomerDomainsResultOutput

func (o GetCustomerDomainsResultOutput) ToGetCustomerDomainsResultOutput() GetCustomerDomainsResultOutput

func (GetCustomerDomainsResultOutput) ToGetCustomerDomainsResultOutputWithContext

func (o GetCustomerDomainsResultOutput) ToGetCustomerDomainsResultOutputWithContext(ctx context.Context) GetCustomerDomainsResultOutput

type GetIpStrategiesArgs

type GetIpStrategiesArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The service ID to be queried.
	ServiceId string `pulumi:"serviceId"`
	// Name of IP policy.
	StrategyName *string `pulumi:"strategyName"`
}

A collection of arguments for invoking getIpStrategies.

type GetIpStrategiesList

type GetIpStrategiesList struct {
	// List of bound API details.
	AttachLists []GetIpStrategiesListAttachList `pulumi:"attachLists"`
	// The number of API bound to the strategy.
	BindApiTotalCount int `pulumi:"bindApiTotalCount"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// The list of IP.
	IpList string `pulumi:"ipList"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// The service ID to be queried.
	ServiceId string `pulumi:"serviceId"`
	// The strategy ID.
	StrategyId string `pulumi:"strategyId"`
	// Name of IP policy.
	StrategyName string `pulumi:"strategyName"`
	// Type of the strategy.
	StrategyType string `pulumi:"strategyType"`
}

type GetIpStrategiesListArgs

type GetIpStrategiesListArgs struct {
	// List of bound API details.
	AttachLists GetIpStrategiesListAttachListArrayInput `pulumi:"attachLists"`
	// The number of API bound to the strategy.
	BindApiTotalCount pulumi.IntInput `pulumi:"bindApiTotalCount"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The list of IP.
	IpList pulumi.StringInput `pulumi:"ipList"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// The service ID to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// The strategy ID.
	StrategyId pulumi.StringInput `pulumi:"strategyId"`
	// Name of IP policy.
	StrategyName pulumi.StringInput `pulumi:"strategyName"`
	// Type of the strategy.
	StrategyType pulumi.StringInput `pulumi:"strategyType"`
}

func (GetIpStrategiesListArgs) ElementType

func (GetIpStrategiesListArgs) ElementType() reflect.Type

func (GetIpStrategiesListArgs) ToGetIpStrategiesListOutput

func (i GetIpStrategiesListArgs) ToGetIpStrategiesListOutput() GetIpStrategiesListOutput

func (GetIpStrategiesListArgs) ToGetIpStrategiesListOutputWithContext

func (i GetIpStrategiesListArgs) ToGetIpStrategiesListOutputWithContext(ctx context.Context) GetIpStrategiesListOutput

type GetIpStrategiesListArray

type GetIpStrategiesListArray []GetIpStrategiesListInput

func (GetIpStrategiesListArray) ElementType

func (GetIpStrategiesListArray) ElementType() reflect.Type

func (GetIpStrategiesListArray) ToGetIpStrategiesListArrayOutput

func (i GetIpStrategiesListArray) ToGetIpStrategiesListArrayOutput() GetIpStrategiesListArrayOutput

func (GetIpStrategiesListArray) ToGetIpStrategiesListArrayOutputWithContext

func (i GetIpStrategiesListArray) ToGetIpStrategiesListArrayOutputWithContext(ctx context.Context) GetIpStrategiesListArrayOutput

type GetIpStrategiesListArrayInput

type GetIpStrategiesListArrayInput interface {
	pulumi.Input

	ToGetIpStrategiesListArrayOutput() GetIpStrategiesListArrayOutput
	ToGetIpStrategiesListArrayOutputWithContext(context.Context) GetIpStrategiesListArrayOutput
}

GetIpStrategiesListArrayInput is an input type that accepts GetIpStrategiesListArray and GetIpStrategiesListArrayOutput values. You can construct a concrete instance of `GetIpStrategiesListArrayInput` via:

GetIpStrategiesListArray{ GetIpStrategiesListArgs{...} }

type GetIpStrategiesListArrayOutput

type GetIpStrategiesListArrayOutput struct{ *pulumi.OutputState }

func (GetIpStrategiesListArrayOutput) ElementType

func (GetIpStrategiesListArrayOutput) Index

func (GetIpStrategiesListArrayOutput) ToGetIpStrategiesListArrayOutput

func (o GetIpStrategiesListArrayOutput) ToGetIpStrategiesListArrayOutput() GetIpStrategiesListArrayOutput

func (GetIpStrategiesListArrayOutput) ToGetIpStrategiesListArrayOutputWithContext

func (o GetIpStrategiesListArrayOutput) ToGetIpStrategiesListArrayOutputWithContext(ctx context.Context) GetIpStrategiesListArrayOutput

type GetIpStrategiesListAttachList

type GetIpStrategiesListAttachList struct {
	// The type of oauth API. This field is valid when the `authType` is `OAUTH`, and the values are `NORMAL` (business API) and `OAUTH` (authorization API).
	ApiBusinessType string `pulumi:"apiBusinessType"`
	// API interface description.
	ApiDesc string `pulumi:"apiDesc"`
	// The API ID.
	ApiId string `pulumi:"apiId"`
	// API name.
	ApiName string `pulumi:"apiName"`
	// API type. Valid values: `NORMAL`, `TSF`. `NORMAL` means common API, `TSF` means microservice API.
	ApiType string `pulumi:"apiType"`
	// The unique ID of the associated authorization API, which takes effect when the authType is `OAUTH` and `ApiBusinessType` is normal. Identifies the unique ID of the oauth2.0 authorization API bound to the business API.
	AuthRelationApiId string `pulumi:"authRelationApiId"`
	// API authentication type. Valid values: `SECRET`, `NONE`, `OAUTH`. `SECRET` means key pair authentication, `NONE` means no authentication.
	AuthType string `pulumi:"authType"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// API request method.
	Method string `pulumi:"method"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// OAUTH configuration information. It takes effect when authType is `OAUTH`.
	OauthConfig map[string]interface{} `pulumi:"oauthConfig"`
	// API path.
	Path string `pulumi:"path"`
	// API protocol.
	Protocol string `pulumi:"protocol"`
	// List of business API associated with authorized API.
	RelationBusinessApiIds []string `pulumi:"relationBusinessApiIds"`
	// The service ID to be queried.
	ServiceId string `pulumi:"serviceId"`
	// The label information associated with the API.
	Tags []string `pulumi:"tags"`
	// VPC unique ID.
	UniqVpcId string `pulumi:"uniqVpcId"`
	// VPC ID.
	VpcId int `pulumi:"vpcId"`
}

type GetIpStrategiesListAttachListArgs

type GetIpStrategiesListAttachListArgs struct {
	// The type of oauth API. This field is valid when the `authType` is `OAUTH`, and the values are `NORMAL` (business API) and `OAUTH` (authorization API).
	ApiBusinessType pulumi.StringInput `pulumi:"apiBusinessType"`
	// API interface description.
	ApiDesc pulumi.StringInput `pulumi:"apiDesc"`
	// The API ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API name.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API type. Valid values: `NORMAL`, `TSF`. `NORMAL` means common API, `TSF` means microservice API.
	ApiType pulumi.StringInput `pulumi:"apiType"`
	// The unique ID of the associated authorization API, which takes effect when the authType is `OAUTH` and `ApiBusinessType` is normal. Identifies the unique ID of the oauth2.0 authorization API bound to the business API.
	AuthRelationApiId pulumi.StringInput `pulumi:"authRelationApiId"`
	// API authentication type. Valid values: `SECRET`, `NONE`, `OAUTH`. `SECRET` means key pair authentication, `NONE` means no authentication.
	AuthType pulumi.StringInput `pulumi:"authType"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// API request method.
	Method pulumi.StringInput `pulumi:"method"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// OAUTH configuration information. It takes effect when authType is `OAUTH`.
	OauthConfig pulumi.MapInput `pulumi:"oauthConfig"`
	// API path.
	Path pulumi.StringInput `pulumi:"path"`
	// API protocol.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// List of business API associated with authorized API.
	RelationBusinessApiIds pulumi.StringArrayInput `pulumi:"relationBusinessApiIds"`
	// The service ID to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// The label information associated with the API.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// VPC unique ID.
	UniqVpcId pulumi.StringInput `pulumi:"uniqVpcId"`
	// VPC ID.
	VpcId pulumi.IntInput `pulumi:"vpcId"`
}

func (GetIpStrategiesListAttachListArgs) ElementType

func (GetIpStrategiesListAttachListArgs) ToGetIpStrategiesListAttachListOutput

func (i GetIpStrategiesListAttachListArgs) ToGetIpStrategiesListAttachListOutput() GetIpStrategiesListAttachListOutput

func (GetIpStrategiesListAttachListArgs) ToGetIpStrategiesListAttachListOutputWithContext

func (i GetIpStrategiesListAttachListArgs) ToGetIpStrategiesListAttachListOutputWithContext(ctx context.Context) GetIpStrategiesListAttachListOutput

type GetIpStrategiesListAttachListArray

type GetIpStrategiesListAttachListArray []GetIpStrategiesListAttachListInput

func (GetIpStrategiesListAttachListArray) ElementType

func (GetIpStrategiesListAttachListArray) ToGetIpStrategiesListAttachListArrayOutput

func (i GetIpStrategiesListAttachListArray) ToGetIpStrategiesListAttachListArrayOutput() GetIpStrategiesListAttachListArrayOutput

func (GetIpStrategiesListAttachListArray) ToGetIpStrategiesListAttachListArrayOutputWithContext

func (i GetIpStrategiesListAttachListArray) ToGetIpStrategiesListAttachListArrayOutputWithContext(ctx context.Context) GetIpStrategiesListAttachListArrayOutput

type GetIpStrategiesListAttachListArrayInput

type GetIpStrategiesListAttachListArrayInput interface {
	pulumi.Input

	ToGetIpStrategiesListAttachListArrayOutput() GetIpStrategiesListAttachListArrayOutput
	ToGetIpStrategiesListAttachListArrayOutputWithContext(context.Context) GetIpStrategiesListAttachListArrayOutput
}

GetIpStrategiesListAttachListArrayInput is an input type that accepts GetIpStrategiesListAttachListArray and GetIpStrategiesListAttachListArrayOutput values. You can construct a concrete instance of `GetIpStrategiesListAttachListArrayInput` via:

GetIpStrategiesListAttachListArray{ GetIpStrategiesListAttachListArgs{...} }

type GetIpStrategiesListAttachListArrayOutput

type GetIpStrategiesListAttachListArrayOutput struct{ *pulumi.OutputState }

func (GetIpStrategiesListAttachListArrayOutput) ElementType

func (GetIpStrategiesListAttachListArrayOutput) Index

func (GetIpStrategiesListAttachListArrayOutput) ToGetIpStrategiesListAttachListArrayOutput

func (o GetIpStrategiesListAttachListArrayOutput) ToGetIpStrategiesListAttachListArrayOutput() GetIpStrategiesListAttachListArrayOutput

func (GetIpStrategiesListAttachListArrayOutput) ToGetIpStrategiesListAttachListArrayOutputWithContext

func (o GetIpStrategiesListAttachListArrayOutput) ToGetIpStrategiesListAttachListArrayOutputWithContext(ctx context.Context) GetIpStrategiesListAttachListArrayOutput

type GetIpStrategiesListAttachListInput

type GetIpStrategiesListAttachListInput interface {
	pulumi.Input

	ToGetIpStrategiesListAttachListOutput() GetIpStrategiesListAttachListOutput
	ToGetIpStrategiesListAttachListOutputWithContext(context.Context) GetIpStrategiesListAttachListOutput
}

GetIpStrategiesListAttachListInput is an input type that accepts GetIpStrategiesListAttachListArgs and GetIpStrategiesListAttachListOutput values. You can construct a concrete instance of `GetIpStrategiesListAttachListInput` via:

GetIpStrategiesListAttachListArgs{...}

type GetIpStrategiesListAttachListOutput

type GetIpStrategiesListAttachListOutput struct{ *pulumi.OutputState }

func (GetIpStrategiesListAttachListOutput) ApiBusinessType

The type of oauth API. This field is valid when the `authType` is `OAUTH`, and the values are `NORMAL` (business API) and `OAUTH` (authorization API).

func (GetIpStrategiesListAttachListOutput) ApiDesc

API interface description.

func (GetIpStrategiesListAttachListOutput) ApiId

The API ID.

func (GetIpStrategiesListAttachListOutput) ApiName

API name.

func (GetIpStrategiesListAttachListOutput) ApiType

API type. Valid values: `NORMAL`, `TSF`. `NORMAL` means common API, `TSF` means microservice API.

func (GetIpStrategiesListAttachListOutput) AuthRelationApiId

The unique ID of the associated authorization API, which takes effect when the authType is `OAUTH` and `ApiBusinessType` is normal. Identifies the unique ID of the oauth2.0 authorization API bound to the business API.

func (GetIpStrategiesListAttachListOutput) AuthType

API authentication type. Valid values: `SECRET`, `NONE`, `OAUTH`. `SECRET` means key pair authentication, `NONE` means no authentication.

func (GetIpStrategiesListAttachListOutput) CreateTime

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetIpStrategiesListAttachListOutput) ElementType

func (GetIpStrategiesListAttachListOutput) Method

API request method.

func (GetIpStrategiesListAttachListOutput) ModifyTime

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetIpStrategiesListAttachListOutput) OauthConfig

OAUTH configuration information. It takes effect when authType is `OAUTH`.

func (GetIpStrategiesListAttachListOutput) Path

API path.

func (GetIpStrategiesListAttachListOutput) Protocol

API protocol.

func (GetIpStrategiesListAttachListOutput) RelationBusinessApiIds

List of business API associated with authorized API.

func (GetIpStrategiesListAttachListOutput) ServiceId

The service ID to be queried.

func (GetIpStrategiesListAttachListOutput) Tags

The label information associated with the API.

func (GetIpStrategiesListAttachListOutput) ToGetIpStrategiesListAttachListOutput

func (o GetIpStrategiesListAttachListOutput) ToGetIpStrategiesListAttachListOutput() GetIpStrategiesListAttachListOutput

func (GetIpStrategiesListAttachListOutput) ToGetIpStrategiesListAttachListOutputWithContext

func (o GetIpStrategiesListAttachListOutput) ToGetIpStrategiesListAttachListOutputWithContext(ctx context.Context) GetIpStrategiesListAttachListOutput

func (GetIpStrategiesListAttachListOutput) UniqVpcId

VPC unique ID.

func (GetIpStrategiesListAttachListOutput) VpcId

VPC ID.

type GetIpStrategiesListInput

type GetIpStrategiesListInput interface {
	pulumi.Input

	ToGetIpStrategiesListOutput() GetIpStrategiesListOutput
	ToGetIpStrategiesListOutputWithContext(context.Context) GetIpStrategiesListOutput
}

GetIpStrategiesListInput is an input type that accepts GetIpStrategiesListArgs and GetIpStrategiesListOutput values. You can construct a concrete instance of `GetIpStrategiesListInput` via:

GetIpStrategiesListArgs{...}

type GetIpStrategiesListOutput

type GetIpStrategiesListOutput struct{ *pulumi.OutputState }

func (GetIpStrategiesListOutput) AttachLists

List of bound API details.

func (GetIpStrategiesListOutput) BindApiTotalCount

func (o GetIpStrategiesListOutput) BindApiTotalCount() pulumi.IntOutput

The number of API bound to the strategy.

func (GetIpStrategiesListOutput) CreateTime

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetIpStrategiesListOutput) ElementType

func (GetIpStrategiesListOutput) ElementType() reflect.Type

func (GetIpStrategiesListOutput) IpList

The list of IP.

func (GetIpStrategiesListOutput) ModifyTime

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetIpStrategiesListOutput) ServiceId

The service ID to be queried.

func (GetIpStrategiesListOutput) StrategyId

The strategy ID.

func (GetIpStrategiesListOutput) StrategyName

Name of IP policy.

func (GetIpStrategiesListOutput) StrategyType

Type of the strategy.

func (GetIpStrategiesListOutput) ToGetIpStrategiesListOutput

func (o GetIpStrategiesListOutput) ToGetIpStrategiesListOutput() GetIpStrategiesListOutput

func (GetIpStrategiesListOutput) ToGetIpStrategiesListOutputWithContext

func (o GetIpStrategiesListOutput) ToGetIpStrategiesListOutputWithContext(ctx context.Context) GetIpStrategiesListOutput

type GetIpStrategiesOutputArgs

type GetIpStrategiesOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The service ID to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Name of IP policy.
	StrategyName pulumi.StringPtrInput `pulumi:"strategyName"`
}

A collection of arguments for invoking getIpStrategies.

func (GetIpStrategiesOutputArgs) ElementType

func (GetIpStrategiesOutputArgs) ElementType() reflect.Type

type GetIpStrategiesResult

type GetIpStrategiesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of strategy.
	Lists            []GetIpStrategiesList `pulumi:"lists"`
	ResultOutputFile *string               `pulumi:"resultOutputFile"`
	// The service ID.
	ServiceId string `pulumi:"serviceId"`
	// Name of the strategy.
	StrategyName *string `pulumi:"strategyName"`
}

A collection of values returned by getIpStrategies.

func GetIpStrategies

func GetIpStrategies(ctx *pulumi.Context, args *GetIpStrategiesArgs, opts ...pulumi.InvokeOption) (*GetIpStrategiesResult, error)

Use this data source to query API gateway IP strategy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("ck"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		test, err := ApiGateway.NewIpStrategy(ctx, "test", &ApiGateway.IpStrategyArgs{
			ServiceId:    service.ID(),
			StrategyName: pulumi.String("tf_test"),
			StrategyType: pulumi.String("BLACK"),
			StrategyData: pulumi.String("9.9.9.9"),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetIpStrategiesOutput(ctx, apigateway.GetIpStrategiesOutputArgs{
			ServiceId: test.ServiceId,
		}, nil)
		_ = ApiGateway.GetIpStrategiesOutput(ctx, apigateway.GetIpStrategiesOutputArgs{
			ServiceId:    test.ServiceId,
			StrategyName: test.StrategyName,
		}, nil)
		return nil
	})
}

```

type GetIpStrategiesResultOutput

type GetIpStrategiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIpStrategies.

func (GetIpStrategiesResultOutput) ElementType

func (GetIpStrategiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIpStrategiesResultOutput) Lists

A list of strategy.

func (GetIpStrategiesResultOutput) ResultOutputFile

func (o GetIpStrategiesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetIpStrategiesResultOutput) ServiceId

The service ID.

func (GetIpStrategiesResultOutput) StrategyName

Name of the strategy.

func (GetIpStrategiesResultOutput) ToGetIpStrategiesResultOutput

func (o GetIpStrategiesResultOutput) ToGetIpStrategiesResultOutput() GetIpStrategiesResultOutput

func (GetIpStrategiesResultOutput) ToGetIpStrategiesResultOutputWithContext

func (o GetIpStrategiesResultOutput) ToGetIpStrategiesResultOutputWithContext(ctx context.Context) GetIpStrategiesResultOutput

type GetServicesArgs

type GetServicesArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId *string `pulumi:"serviceId"`
	// Service name for query.
	ServiceName *string `pulumi:"serviceName"`
}

A collection of arguments for invoking getServices.

type GetServicesList

type GetServicesList struct {
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	ExclusiveSetName string `pulumi:"exclusiveSetName"`
	// Port number for http access over private network.
	InnerHttpPort int `pulumi:"innerHttpPort"`
	// Port number for https access over private network.
	InnerHttpsPort int `pulumi:"innerHttpsPort"`
	// Private network access sub-domain name.
	InternalSubDomain string `pulumi:"internalSubDomain"`
	// IP version number.
	IpVersion string `pulumi:"ipVersion"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.
	NetTypes []string `pulumi:"netTypes"`
	// Public network access subdomain name.
	OuterSubDomain string `pulumi:"outerSubDomain"`
	// Service frontend request type. Valid values: `http`, `https`, `http&https`.
	Protocol string `pulumi:"protocol"`
	// Custom service description.
	ServiceDesc string `pulumi:"serviceDesc"`
	// Service ID for query.
	ServiceId string `pulumi:"serviceId"`
	// Service name for query.
	ServiceName string `pulumi:"serviceName"`
	// A list of attach usage plans. Each element contains the following attributes:
	UsagePlanLists []GetServicesListUsagePlanList `pulumi:"usagePlanLists"`
}

type GetServicesListArgs

type GetServicesListArgs struct {
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	ExclusiveSetName pulumi.StringInput `pulumi:"exclusiveSetName"`
	// Port number for http access over private network.
	InnerHttpPort pulumi.IntInput `pulumi:"innerHttpPort"`
	// Port number for https access over private network.
	InnerHttpsPort pulumi.IntInput `pulumi:"innerHttpsPort"`
	// Private network access sub-domain name.
	InternalSubDomain pulumi.StringInput `pulumi:"internalSubDomain"`
	// IP version number.
	IpVersion pulumi.StringInput `pulumi:"ipVersion"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.
	NetTypes pulumi.StringArrayInput `pulumi:"netTypes"`
	// Public network access subdomain name.
	OuterSubDomain pulumi.StringInput `pulumi:"outerSubDomain"`
	// Service frontend request type. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Custom service description.
	ServiceDesc pulumi.StringInput `pulumi:"serviceDesc"`
	// Service ID for query.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Service name for query.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// A list of attach usage plans. Each element contains the following attributes:
	UsagePlanLists GetServicesListUsagePlanListArrayInput `pulumi:"usagePlanLists"`
}

func (GetServicesListArgs) ElementType

func (GetServicesListArgs) ElementType() reflect.Type

func (GetServicesListArgs) ToGetServicesListOutput

func (i GetServicesListArgs) ToGetServicesListOutput() GetServicesListOutput

func (GetServicesListArgs) ToGetServicesListOutputWithContext

func (i GetServicesListArgs) ToGetServicesListOutputWithContext(ctx context.Context) GetServicesListOutput

type GetServicesListArray

type GetServicesListArray []GetServicesListInput

func (GetServicesListArray) ElementType

func (GetServicesListArray) ElementType() reflect.Type

func (GetServicesListArray) ToGetServicesListArrayOutput

func (i GetServicesListArray) ToGetServicesListArrayOutput() GetServicesListArrayOutput

func (GetServicesListArray) ToGetServicesListArrayOutputWithContext

func (i GetServicesListArray) ToGetServicesListArrayOutputWithContext(ctx context.Context) GetServicesListArrayOutput

type GetServicesListArrayInput

type GetServicesListArrayInput interface {
	pulumi.Input

	ToGetServicesListArrayOutput() GetServicesListArrayOutput
	ToGetServicesListArrayOutputWithContext(context.Context) GetServicesListArrayOutput
}

GetServicesListArrayInput is an input type that accepts GetServicesListArray and GetServicesListArrayOutput values. You can construct a concrete instance of `GetServicesListArrayInput` via:

GetServicesListArray{ GetServicesListArgs{...} }

type GetServicesListArrayOutput

type GetServicesListArrayOutput struct{ *pulumi.OutputState }

func (GetServicesListArrayOutput) ElementType

func (GetServicesListArrayOutput) ElementType() reflect.Type

func (GetServicesListArrayOutput) Index

func (GetServicesListArrayOutput) ToGetServicesListArrayOutput

func (o GetServicesListArrayOutput) ToGetServicesListArrayOutput() GetServicesListArrayOutput

func (GetServicesListArrayOutput) ToGetServicesListArrayOutputWithContext

func (o GetServicesListArrayOutput) ToGetServicesListArrayOutputWithContext(ctx context.Context) GetServicesListArrayOutput

type GetServicesListInput

type GetServicesListInput interface {
	pulumi.Input

	ToGetServicesListOutput() GetServicesListOutput
	ToGetServicesListOutputWithContext(context.Context) GetServicesListOutput
}

GetServicesListInput is an input type that accepts GetServicesListArgs and GetServicesListOutput values. You can construct a concrete instance of `GetServicesListInput` via:

GetServicesListArgs{...}

type GetServicesListOutput

type GetServicesListOutput struct{ *pulumi.OutputState }

func (GetServicesListOutput) CreateTime

func (o GetServicesListOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetServicesListOutput) ElementType

func (GetServicesListOutput) ElementType() reflect.Type

func (GetServicesListOutput) ExclusiveSetName

func (o GetServicesListOutput) ExclusiveSetName() pulumi.StringOutput

Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.

func (GetServicesListOutput) InnerHttpPort

func (o GetServicesListOutput) InnerHttpPort() pulumi.IntOutput

Port number for http access over private network.

func (GetServicesListOutput) InnerHttpsPort

func (o GetServicesListOutput) InnerHttpsPort() pulumi.IntOutput

Port number for https access over private network.

func (GetServicesListOutput) InternalSubDomain

func (o GetServicesListOutput) InternalSubDomain() pulumi.StringOutput

Private network access sub-domain name.

func (GetServicesListOutput) IpVersion

IP version number.

func (GetServicesListOutput) ModifyTime

func (o GetServicesListOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (GetServicesListOutput) NetTypes

Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.

func (GetServicesListOutput) OuterSubDomain

func (o GetServicesListOutput) OuterSubDomain() pulumi.StringOutput

Public network access subdomain name.

func (GetServicesListOutput) Protocol

Service frontend request type. Valid values: `http`, `https`, `http&https`.

func (GetServicesListOutput) ServiceDesc

func (o GetServicesListOutput) ServiceDesc() pulumi.StringOutput

Custom service description.

func (GetServicesListOutput) ServiceId

Service ID for query.

func (GetServicesListOutput) ServiceName

func (o GetServicesListOutput) ServiceName() pulumi.StringOutput

Service name for query.

func (GetServicesListOutput) ToGetServicesListOutput

func (o GetServicesListOutput) ToGetServicesListOutput() GetServicesListOutput

func (GetServicesListOutput) ToGetServicesListOutputWithContext

func (o GetServicesListOutput) ToGetServicesListOutputWithContext(ctx context.Context) GetServicesListOutput

func (GetServicesListOutput) UsagePlanLists

A list of attach usage plans. Each element contains the following attributes:

type GetServicesListUsagePlanList

type GetServicesListUsagePlanList struct {
	// ID of the API.
	ApiId string `pulumi:"apiId"`
	// Binding type.
	BindType string `pulumi:"bindType"`
	// ID of the usage plan.
	UsagePlanId string `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName string `pulumi:"usagePlanName"`
}

type GetServicesListUsagePlanListArgs

type GetServicesListUsagePlanListArgs struct {
	// ID of the API.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// Binding type.
	BindType pulumi.StringInput `pulumi:"bindType"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringInput `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName pulumi.StringInput `pulumi:"usagePlanName"`
}

func (GetServicesListUsagePlanListArgs) ElementType

func (GetServicesListUsagePlanListArgs) ToGetServicesListUsagePlanListOutput

func (i GetServicesListUsagePlanListArgs) ToGetServicesListUsagePlanListOutput() GetServicesListUsagePlanListOutput

func (GetServicesListUsagePlanListArgs) ToGetServicesListUsagePlanListOutputWithContext

func (i GetServicesListUsagePlanListArgs) ToGetServicesListUsagePlanListOutputWithContext(ctx context.Context) GetServicesListUsagePlanListOutput

type GetServicesListUsagePlanListArray

type GetServicesListUsagePlanListArray []GetServicesListUsagePlanListInput

func (GetServicesListUsagePlanListArray) ElementType

func (GetServicesListUsagePlanListArray) ToGetServicesListUsagePlanListArrayOutput

func (i GetServicesListUsagePlanListArray) ToGetServicesListUsagePlanListArrayOutput() GetServicesListUsagePlanListArrayOutput

func (GetServicesListUsagePlanListArray) ToGetServicesListUsagePlanListArrayOutputWithContext

func (i GetServicesListUsagePlanListArray) ToGetServicesListUsagePlanListArrayOutputWithContext(ctx context.Context) GetServicesListUsagePlanListArrayOutput

type GetServicesListUsagePlanListArrayInput

type GetServicesListUsagePlanListArrayInput interface {
	pulumi.Input

	ToGetServicesListUsagePlanListArrayOutput() GetServicesListUsagePlanListArrayOutput
	ToGetServicesListUsagePlanListArrayOutputWithContext(context.Context) GetServicesListUsagePlanListArrayOutput
}

GetServicesListUsagePlanListArrayInput is an input type that accepts GetServicesListUsagePlanListArray and GetServicesListUsagePlanListArrayOutput values. You can construct a concrete instance of `GetServicesListUsagePlanListArrayInput` via:

GetServicesListUsagePlanListArray{ GetServicesListUsagePlanListArgs{...} }

type GetServicesListUsagePlanListArrayOutput

type GetServicesListUsagePlanListArrayOutput struct{ *pulumi.OutputState }

func (GetServicesListUsagePlanListArrayOutput) ElementType

func (GetServicesListUsagePlanListArrayOutput) Index

func (GetServicesListUsagePlanListArrayOutput) ToGetServicesListUsagePlanListArrayOutput

func (o GetServicesListUsagePlanListArrayOutput) ToGetServicesListUsagePlanListArrayOutput() GetServicesListUsagePlanListArrayOutput

func (GetServicesListUsagePlanListArrayOutput) ToGetServicesListUsagePlanListArrayOutputWithContext

func (o GetServicesListUsagePlanListArrayOutput) ToGetServicesListUsagePlanListArrayOutputWithContext(ctx context.Context) GetServicesListUsagePlanListArrayOutput

type GetServicesListUsagePlanListInput

type GetServicesListUsagePlanListInput interface {
	pulumi.Input

	ToGetServicesListUsagePlanListOutput() GetServicesListUsagePlanListOutput
	ToGetServicesListUsagePlanListOutputWithContext(context.Context) GetServicesListUsagePlanListOutput
}

GetServicesListUsagePlanListInput is an input type that accepts GetServicesListUsagePlanListArgs and GetServicesListUsagePlanListOutput values. You can construct a concrete instance of `GetServicesListUsagePlanListInput` via:

GetServicesListUsagePlanListArgs{...}

type GetServicesListUsagePlanListOutput

type GetServicesListUsagePlanListOutput struct{ *pulumi.OutputState }

func (GetServicesListUsagePlanListOutput) ApiId

ID of the API.

func (GetServicesListUsagePlanListOutput) BindType

Binding type.

func (GetServicesListUsagePlanListOutput) ElementType

func (GetServicesListUsagePlanListOutput) ToGetServicesListUsagePlanListOutput

func (o GetServicesListUsagePlanListOutput) ToGetServicesListUsagePlanListOutput() GetServicesListUsagePlanListOutput

func (GetServicesListUsagePlanListOutput) ToGetServicesListUsagePlanListOutputWithContext

func (o GetServicesListUsagePlanListOutput) ToGetServicesListUsagePlanListOutputWithContext(ctx context.Context) GetServicesListUsagePlanListOutput

func (GetServicesListUsagePlanListOutput) UsagePlanId

ID of the usage plan.

func (GetServicesListUsagePlanListOutput) UsagePlanName

Name of the usage plan.

type GetServicesOutputArgs

type GetServicesOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId pulumi.StringPtrInput `pulumi:"serviceId"`
	// Service name for query.
	ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getServices.

func (GetServicesOutputArgs) ElementType

func (GetServicesOutputArgs) ElementType() reflect.Type

type GetServicesResult

type GetServicesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of services.
	Lists            []GetServicesList `pulumi:"lists"`
	ResultOutputFile *string           `pulumi:"resultOutputFile"`
	// Custom service ID.
	ServiceId *string `pulumi:"serviceId"`
	// Custom service name.
	ServiceName *string `pulumi:"serviceName"`
}

A collection of values returned by getServices.

func GetServices

func GetServices(ctx *pulumi.Context, args *GetServicesArgs, opts ...pulumi.InvokeOption) (*GetServicesResult, error)

Use this data source to query API gateway services.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetServicesOutput(ctx, apigateway.GetServicesOutputArgs{
			ServiceName: service.ServiceName,
		}, nil)
		_ = ApiGateway.GetServicesOutput(ctx, apigateway.GetServicesOutputArgs{
			ServiceId: service.ID(),
		}, nil)
		return nil
	})
}

```

type GetServicesResultOutput

type GetServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServices.

func (GetServicesResultOutput) ElementType

func (GetServicesResultOutput) ElementType() reflect.Type

func (GetServicesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServicesResultOutput) Lists

A list of services.

func (GetServicesResultOutput) ResultOutputFile

func (o GetServicesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetServicesResultOutput) ServiceId

Custom service ID.

func (GetServicesResultOutput) ServiceName

Custom service name.

func (GetServicesResultOutput) ToGetServicesResultOutput

func (o GetServicesResultOutput) ToGetServicesResultOutput() GetServicesResultOutput

func (GetServicesResultOutput) ToGetServicesResultOutputWithContext

func (o GetServicesResultOutput) ToGetServicesResultOutputWithContext(ctx context.Context) GetServicesResultOutput

type GetThrottlingApisArgs

type GetThrottlingApisArgs struct {
	// Environment list.
	EnvironmentNames []string `pulumi:"environmentNames"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Unique service ID of API.
	ServiceId *string `pulumi:"serviceId"`
}

A collection of arguments for invoking getThrottlingApis.

type GetThrottlingApisList

type GetThrottlingApisList struct {
	// List of throttling policies bound to API.
	ApiEnvironmentStrategies []GetThrottlingApisListApiEnvironmentStrategy `pulumi:"apiEnvironmentStrategies"`
	// Unique service ID of API.
	ServiceId string `pulumi:"serviceId"`
}

type GetThrottlingApisListApiEnvironmentStrategy

type GetThrottlingApisListApiEnvironmentStrategy struct {
	// Unique API ID.
	ApiId string `pulumi:"apiId"`
	// Custom API name.
	ApiName string `pulumi:"apiName"`
	// API method.
	Method string `pulumi:"method"`
	// API path.
	Path string `pulumi:"path"`
	// Environment throttling information.
	StrategyLists []GetThrottlingApisListApiEnvironmentStrategyStrategyList `pulumi:"strategyLists"`
}

type GetThrottlingApisListApiEnvironmentStrategyArgs

type GetThrottlingApisListApiEnvironmentStrategyArgs struct {
	// Unique API ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// Custom API name.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API method.
	Method pulumi.StringInput `pulumi:"method"`
	// API path.
	Path pulumi.StringInput `pulumi:"path"`
	// Environment throttling information.
	StrategyLists GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayInput `pulumi:"strategyLists"`
}

func (GetThrottlingApisListApiEnvironmentStrategyArgs) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyArgs) ToGetThrottlingApisListApiEnvironmentStrategyOutput

func (i GetThrottlingApisListApiEnvironmentStrategyArgs) ToGetThrottlingApisListApiEnvironmentStrategyOutput() GetThrottlingApisListApiEnvironmentStrategyOutput

func (GetThrottlingApisListApiEnvironmentStrategyArgs) ToGetThrottlingApisListApiEnvironmentStrategyOutputWithContext

func (i GetThrottlingApisListApiEnvironmentStrategyArgs) ToGetThrottlingApisListApiEnvironmentStrategyOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyOutput

type GetThrottlingApisListApiEnvironmentStrategyArray

type GetThrottlingApisListApiEnvironmentStrategyArray []GetThrottlingApisListApiEnvironmentStrategyInput

func (GetThrottlingApisListApiEnvironmentStrategyArray) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyArray) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutput

func (i GetThrottlingApisListApiEnvironmentStrategyArray) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutput() GetThrottlingApisListApiEnvironmentStrategyArrayOutput

func (GetThrottlingApisListApiEnvironmentStrategyArray) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutputWithContext

func (i GetThrottlingApisListApiEnvironmentStrategyArray) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyArrayInput

type GetThrottlingApisListApiEnvironmentStrategyArrayInput interface {
	pulumi.Input

	ToGetThrottlingApisListApiEnvironmentStrategyArrayOutput() GetThrottlingApisListApiEnvironmentStrategyArrayOutput
	ToGetThrottlingApisListApiEnvironmentStrategyArrayOutputWithContext(context.Context) GetThrottlingApisListApiEnvironmentStrategyArrayOutput
}

GetThrottlingApisListApiEnvironmentStrategyArrayInput is an input type that accepts GetThrottlingApisListApiEnvironmentStrategyArray and GetThrottlingApisListApiEnvironmentStrategyArrayOutput values. You can construct a concrete instance of `GetThrottlingApisListApiEnvironmentStrategyArrayInput` via:

GetThrottlingApisListApiEnvironmentStrategyArray{ GetThrottlingApisListApiEnvironmentStrategyArgs{...} }

type GetThrottlingApisListApiEnvironmentStrategyArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListApiEnvironmentStrategyArrayOutput) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyArrayOutput) Index

func (GetThrottlingApisListApiEnvironmentStrategyArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutput

func (GetThrottlingApisListApiEnvironmentStrategyArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutputWithContext

func (o GetThrottlingApisListApiEnvironmentStrategyArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyArrayOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyInput

type GetThrottlingApisListApiEnvironmentStrategyInput interface {
	pulumi.Input

	ToGetThrottlingApisListApiEnvironmentStrategyOutput() GetThrottlingApisListApiEnvironmentStrategyOutput
	ToGetThrottlingApisListApiEnvironmentStrategyOutputWithContext(context.Context) GetThrottlingApisListApiEnvironmentStrategyOutput
}

GetThrottlingApisListApiEnvironmentStrategyInput is an input type that accepts GetThrottlingApisListApiEnvironmentStrategyArgs and GetThrottlingApisListApiEnvironmentStrategyOutput values. You can construct a concrete instance of `GetThrottlingApisListApiEnvironmentStrategyInput` via:

GetThrottlingApisListApiEnvironmentStrategyArgs{...}

type GetThrottlingApisListApiEnvironmentStrategyOutput

type GetThrottlingApisListApiEnvironmentStrategyOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListApiEnvironmentStrategyOutput) ApiId

Unique API ID.

func (GetThrottlingApisListApiEnvironmentStrategyOutput) ApiName

Custom API name.

func (GetThrottlingApisListApiEnvironmentStrategyOutput) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyOutput) Method

API method.

func (GetThrottlingApisListApiEnvironmentStrategyOutput) Path

API path.

func (GetThrottlingApisListApiEnvironmentStrategyOutput) StrategyLists

Environment throttling information.

func (GetThrottlingApisListApiEnvironmentStrategyOutput) ToGetThrottlingApisListApiEnvironmentStrategyOutput

func (o GetThrottlingApisListApiEnvironmentStrategyOutput) ToGetThrottlingApisListApiEnvironmentStrategyOutput() GetThrottlingApisListApiEnvironmentStrategyOutput

func (GetThrottlingApisListApiEnvironmentStrategyOutput) ToGetThrottlingApisListApiEnvironmentStrategyOutputWithContext

func (o GetThrottlingApisListApiEnvironmentStrategyOutput) ToGetThrottlingApisListApiEnvironmentStrategyOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyList

type GetThrottlingApisListApiEnvironmentStrategyStrategyList struct {
	// Environment name.
	EnvironmentName string `pulumi:"environmentName"`
	// Throttling value.
	Quota int `pulumi:"quota"`
}

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs struct {
	// Environment name.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// Throttling value.
	Quota pulumi.IntInput `pulumi:"quota"`
}

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutput

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutputWithContext

func (i GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArray

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArray []GetThrottlingApisListApiEnvironmentStrategyStrategyListInput

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArray) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArray) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArray) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutputWithContext

func (i GetThrottlingApisListApiEnvironmentStrategyStrategyListArray) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayInput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayInput interface {
	pulumi.Input

	ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput() GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput
	ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutputWithContext(context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput
}

GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayInput is an input type that accepts GetThrottlingApisListApiEnvironmentStrategyStrategyListArray and GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput values. You can construct a concrete instance of `GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayInput` via:

GetThrottlingApisListApiEnvironmentStrategyStrategyListArray{ GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs{...} }

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput) Index

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutputWithContext

func (o GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListArrayOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListInput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListInput interface {
	pulumi.Input

	ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutput() GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput
	ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutputWithContext(context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput
}

GetThrottlingApisListApiEnvironmentStrategyStrategyListInput is an input type that accepts GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs and GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput values. You can construct a concrete instance of `GetThrottlingApisListApiEnvironmentStrategyStrategyListInput` via:

GetThrottlingApisListApiEnvironmentStrategyStrategyListArgs{...}

type GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput

type GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) ElementType

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) EnvironmentName

Environment name.

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) Quota

Throttling value.

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutput

func (GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutputWithContext

func (o GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput) ToGetThrottlingApisListApiEnvironmentStrategyStrategyListOutputWithContext(ctx context.Context) GetThrottlingApisListApiEnvironmentStrategyStrategyListOutput

type GetThrottlingApisListArgs

type GetThrottlingApisListArgs struct {
	// List of throttling policies bound to API.
	ApiEnvironmentStrategies GetThrottlingApisListApiEnvironmentStrategyArrayInput `pulumi:"apiEnvironmentStrategies"`
	// Unique service ID of API.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (GetThrottlingApisListArgs) ElementType

func (GetThrottlingApisListArgs) ElementType() reflect.Type

func (GetThrottlingApisListArgs) ToGetThrottlingApisListOutput

func (i GetThrottlingApisListArgs) ToGetThrottlingApisListOutput() GetThrottlingApisListOutput

func (GetThrottlingApisListArgs) ToGetThrottlingApisListOutputWithContext

func (i GetThrottlingApisListArgs) ToGetThrottlingApisListOutputWithContext(ctx context.Context) GetThrottlingApisListOutput

type GetThrottlingApisListArray

type GetThrottlingApisListArray []GetThrottlingApisListInput

func (GetThrottlingApisListArray) ElementType

func (GetThrottlingApisListArray) ElementType() reflect.Type

func (GetThrottlingApisListArray) ToGetThrottlingApisListArrayOutput

func (i GetThrottlingApisListArray) ToGetThrottlingApisListArrayOutput() GetThrottlingApisListArrayOutput

func (GetThrottlingApisListArray) ToGetThrottlingApisListArrayOutputWithContext

func (i GetThrottlingApisListArray) ToGetThrottlingApisListArrayOutputWithContext(ctx context.Context) GetThrottlingApisListArrayOutput

type GetThrottlingApisListArrayInput

type GetThrottlingApisListArrayInput interface {
	pulumi.Input

	ToGetThrottlingApisListArrayOutput() GetThrottlingApisListArrayOutput
	ToGetThrottlingApisListArrayOutputWithContext(context.Context) GetThrottlingApisListArrayOutput
}

GetThrottlingApisListArrayInput is an input type that accepts GetThrottlingApisListArray and GetThrottlingApisListArrayOutput values. You can construct a concrete instance of `GetThrottlingApisListArrayInput` via:

GetThrottlingApisListArray{ GetThrottlingApisListArgs{...} }

type GetThrottlingApisListArrayOutput

type GetThrottlingApisListArrayOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListArrayOutput) ElementType

func (GetThrottlingApisListArrayOutput) Index

func (GetThrottlingApisListArrayOutput) ToGetThrottlingApisListArrayOutput

func (o GetThrottlingApisListArrayOutput) ToGetThrottlingApisListArrayOutput() GetThrottlingApisListArrayOutput

func (GetThrottlingApisListArrayOutput) ToGetThrottlingApisListArrayOutputWithContext

func (o GetThrottlingApisListArrayOutput) ToGetThrottlingApisListArrayOutputWithContext(ctx context.Context) GetThrottlingApisListArrayOutput

type GetThrottlingApisListInput

type GetThrottlingApisListInput interface {
	pulumi.Input

	ToGetThrottlingApisListOutput() GetThrottlingApisListOutput
	ToGetThrottlingApisListOutputWithContext(context.Context) GetThrottlingApisListOutput
}

GetThrottlingApisListInput is an input type that accepts GetThrottlingApisListArgs and GetThrottlingApisListOutput values. You can construct a concrete instance of `GetThrottlingApisListInput` via:

GetThrottlingApisListArgs{...}

type GetThrottlingApisListOutput

type GetThrottlingApisListOutput struct{ *pulumi.OutputState }

func (GetThrottlingApisListOutput) ApiEnvironmentStrategies

List of throttling policies bound to API.

func (GetThrottlingApisListOutput) ElementType

func (GetThrottlingApisListOutput) ServiceId

Unique service ID of API.

func (GetThrottlingApisListOutput) ToGetThrottlingApisListOutput

func (o GetThrottlingApisListOutput) ToGetThrottlingApisListOutput() GetThrottlingApisListOutput

func (GetThrottlingApisListOutput) ToGetThrottlingApisListOutputWithContext

func (o GetThrottlingApisListOutput) ToGetThrottlingApisListOutputWithContext(ctx context.Context) GetThrottlingApisListOutput

type GetThrottlingApisOutputArgs

type GetThrottlingApisOutputArgs struct {
	// Environment list.
	EnvironmentNames pulumi.StringArrayInput `pulumi:"environmentNames"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Unique service ID of API.
	ServiceId pulumi.StringPtrInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getThrottlingApis.

func (GetThrottlingApisOutputArgs) ElementType

type GetThrottlingApisResult

type GetThrottlingApisResult struct {
	EnvironmentNames []string `pulumi:"environmentNames"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of policies bound to API.
	Lists            []GetThrottlingApisList `pulumi:"lists"`
	ResultOutputFile *string                 `pulumi:"resultOutputFile"`
	// Unique service ID of API.
	ServiceId *string `pulumi:"serviceId"`
}

A collection of values returned by getThrottlingApis.

func GetThrottlingApis

func GetThrottlingApis(ctx *pulumi.Context, args *GetThrottlingApisArgs, opts ...pulumi.InvokeOption) (*GetThrottlingApisResult, error)

Use this data source to query API gateway throttling APIs.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewApi(ctx, "api", &ApiGateway.ApiArgs{
			ServiceId:           service.ID(),
			ApiName:             pulumi.String("hello_update"),
			ApiDesc:             pulumi.String("my hello api update"),
			AuthType:            pulumi.String("SECRET"),
			Protocol:            pulumi.String("HTTP"),
			EnableCors:          pulumi.Bool(true),
			RequestConfigPath:   pulumi.String("/user/info"),
			RequestConfigMethod: pulumi.String("POST"),
			RequestParameters: apigateway.ApiRequestParameterArray{
				&apigateway.ApiRequestParameterArgs{
					Name:         pulumi.String("email"),
					Position:     pulumi.String("QUERY"),
					Type:         pulumi.String("string"),
					Desc:         pulumi.String("your email please?"),
					DefaultValue: pulumi.String("tom@qq.com"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(10),
			ServiceConfigUrl:       pulumi.String("http://www.tencent.com"),
			ServiceConfigPath:      pulumi.String("/user"),
			ServiceConfigMethod:    pulumi.String("POST"),
			ResponseType:           pulumi.String("XML"),
			ResponseSuccessExample: pulumi.String("<note>success</note>"),
			ResponseFailExample:    pulumi.String("<note>fail</note>"),
			ResponseErrorCodes: apigateway.ApiResponseErrorCodeArray{
				&apigateway.ApiResponseErrorCodeArgs{
					Code:          pulumi.Int(10),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: -10,
					NeedConvert:   pulumi.Bool(true),
				},
			},
			ReleaseLimit: pulumi.Int(100),
			PreLimit:     pulumi.Int(100),
			TestLimit:    pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.GetThrottlingApis(ctx, &apigateway.GetThrottlingApisArgs{
			ServiceId: pulumi.StringRef(tencentcloud_api_gateway_api.Service_id),
		}, nil)
		if err != nil {
			return err
		}
		_, err = ApiGateway.GetThrottlingApis(ctx, &apigateway.GetThrottlingApisArgs{
			ServiceId: pulumi.StringRef(tencentcloud_api_gateway_api.Service.Service_id),
			EnvironmentNames: []string{
				"release",
				"test",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetThrottlingApisResultOutput

type GetThrottlingApisResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getThrottlingApis.

func (GetThrottlingApisResultOutput) ElementType

func (GetThrottlingApisResultOutput) EnvironmentNames

func (GetThrottlingApisResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetThrottlingApisResultOutput) Lists

A list of policies bound to API.

func (GetThrottlingApisResultOutput) ResultOutputFile

func (GetThrottlingApisResultOutput) ServiceId

Unique service ID of API.

func (GetThrottlingApisResultOutput) ToGetThrottlingApisResultOutput

func (o GetThrottlingApisResultOutput) ToGetThrottlingApisResultOutput() GetThrottlingApisResultOutput

func (GetThrottlingApisResultOutput) ToGetThrottlingApisResultOutputWithContext

func (o GetThrottlingApisResultOutput) ToGetThrottlingApisResultOutputWithContext(ctx context.Context) GetThrottlingApisResultOutput

type GetThrottlingServicesArgs

type GetThrottlingServicesArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId *string `pulumi:"serviceId"`
}

A collection of arguments for invoking getThrottlingServices.

type GetThrottlingServicesList

type GetThrottlingServicesList struct {
	// A list of Throttling policy.
	Environments []GetThrottlingServicesListEnvironment `pulumi:"environments"`
	// Service ID for query.
	ServiceId string `pulumi:"serviceId"`
}

type GetThrottlingServicesListArgs

type GetThrottlingServicesListArgs struct {
	// A list of Throttling policy.
	Environments GetThrottlingServicesListEnvironmentArrayInput `pulumi:"environments"`
	// Service ID for query.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (GetThrottlingServicesListArgs) ElementType

func (GetThrottlingServicesListArgs) ToGetThrottlingServicesListOutput

func (i GetThrottlingServicesListArgs) ToGetThrottlingServicesListOutput() GetThrottlingServicesListOutput

func (GetThrottlingServicesListArgs) ToGetThrottlingServicesListOutputWithContext

func (i GetThrottlingServicesListArgs) ToGetThrottlingServicesListOutputWithContext(ctx context.Context) GetThrottlingServicesListOutput

type GetThrottlingServicesListArray

type GetThrottlingServicesListArray []GetThrottlingServicesListInput

func (GetThrottlingServicesListArray) ElementType

func (GetThrottlingServicesListArray) ToGetThrottlingServicesListArrayOutput

func (i GetThrottlingServicesListArray) ToGetThrottlingServicesListArrayOutput() GetThrottlingServicesListArrayOutput

func (GetThrottlingServicesListArray) ToGetThrottlingServicesListArrayOutputWithContext

func (i GetThrottlingServicesListArray) ToGetThrottlingServicesListArrayOutputWithContext(ctx context.Context) GetThrottlingServicesListArrayOutput

type GetThrottlingServicesListArrayInput

type GetThrottlingServicesListArrayInput interface {
	pulumi.Input

	ToGetThrottlingServicesListArrayOutput() GetThrottlingServicesListArrayOutput
	ToGetThrottlingServicesListArrayOutputWithContext(context.Context) GetThrottlingServicesListArrayOutput
}

GetThrottlingServicesListArrayInput is an input type that accepts GetThrottlingServicesListArray and GetThrottlingServicesListArrayOutput values. You can construct a concrete instance of `GetThrottlingServicesListArrayInput` via:

GetThrottlingServicesListArray{ GetThrottlingServicesListArgs{...} }

type GetThrottlingServicesListArrayOutput

type GetThrottlingServicesListArrayOutput struct{ *pulumi.OutputState }

func (GetThrottlingServicesListArrayOutput) ElementType

func (GetThrottlingServicesListArrayOutput) Index

func (GetThrottlingServicesListArrayOutput) ToGetThrottlingServicesListArrayOutput

func (o GetThrottlingServicesListArrayOutput) ToGetThrottlingServicesListArrayOutput() GetThrottlingServicesListArrayOutput

func (GetThrottlingServicesListArrayOutput) ToGetThrottlingServicesListArrayOutputWithContext

func (o GetThrottlingServicesListArrayOutput) ToGetThrottlingServicesListArrayOutputWithContext(ctx context.Context) GetThrottlingServicesListArrayOutput

type GetThrottlingServicesListEnvironment

type GetThrottlingServicesListEnvironment struct {
	// Environment name.
	EnvironmentName string `pulumi:"environmentName"`
	// Release status.
	Status int `pulumi:"status"`
	// Throttling value.
	Strategy int `pulumi:"strategy"`
	// Access service environment URL.
	Url string `pulumi:"url"`
	// Published version number.
	VersionName string `pulumi:"versionName"`
}

type GetThrottlingServicesListEnvironmentArgs

type GetThrottlingServicesListEnvironmentArgs struct {
	// Environment name.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// Release status.
	Status pulumi.IntInput `pulumi:"status"`
	// Throttling value.
	Strategy pulumi.IntInput `pulumi:"strategy"`
	// Access service environment URL.
	Url pulumi.StringInput `pulumi:"url"`
	// Published version number.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetThrottlingServicesListEnvironmentArgs) ElementType

func (GetThrottlingServicesListEnvironmentArgs) ToGetThrottlingServicesListEnvironmentOutput

func (i GetThrottlingServicesListEnvironmentArgs) ToGetThrottlingServicesListEnvironmentOutput() GetThrottlingServicesListEnvironmentOutput

func (GetThrottlingServicesListEnvironmentArgs) ToGetThrottlingServicesListEnvironmentOutputWithContext

func (i GetThrottlingServicesListEnvironmentArgs) ToGetThrottlingServicesListEnvironmentOutputWithContext(ctx context.Context) GetThrottlingServicesListEnvironmentOutput

type GetThrottlingServicesListEnvironmentArray

type GetThrottlingServicesListEnvironmentArray []GetThrottlingServicesListEnvironmentInput

func (GetThrottlingServicesListEnvironmentArray) ElementType

func (GetThrottlingServicesListEnvironmentArray) ToGetThrottlingServicesListEnvironmentArrayOutput

func (i GetThrottlingServicesListEnvironmentArray) ToGetThrottlingServicesListEnvironmentArrayOutput() GetThrottlingServicesListEnvironmentArrayOutput

func (GetThrottlingServicesListEnvironmentArray) ToGetThrottlingServicesListEnvironmentArrayOutputWithContext

func (i GetThrottlingServicesListEnvironmentArray) ToGetThrottlingServicesListEnvironmentArrayOutputWithContext(ctx context.Context) GetThrottlingServicesListEnvironmentArrayOutput

type GetThrottlingServicesListEnvironmentArrayInput

type GetThrottlingServicesListEnvironmentArrayInput interface {
	pulumi.Input

	ToGetThrottlingServicesListEnvironmentArrayOutput() GetThrottlingServicesListEnvironmentArrayOutput
	ToGetThrottlingServicesListEnvironmentArrayOutputWithContext(context.Context) GetThrottlingServicesListEnvironmentArrayOutput
}

GetThrottlingServicesListEnvironmentArrayInput is an input type that accepts GetThrottlingServicesListEnvironmentArray and GetThrottlingServicesListEnvironmentArrayOutput values. You can construct a concrete instance of `GetThrottlingServicesListEnvironmentArrayInput` via:

GetThrottlingServicesListEnvironmentArray{ GetThrottlingServicesListEnvironmentArgs{...} }

type GetThrottlingServicesListEnvironmentArrayOutput

type GetThrottlingServicesListEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (GetThrottlingServicesListEnvironmentArrayOutput) ElementType

func (GetThrottlingServicesListEnvironmentArrayOutput) Index

func (GetThrottlingServicesListEnvironmentArrayOutput) ToGetThrottlingServicesListEnvironmentArrayOutput

func (o GetThrottlingServicesListEnvironmentArrayOutput) ToGetThrottlingServicesListEnvironmentArrayOutput() GetThrottlingServicesListEnvironmentArrayOutput

func (GetThrottlingServicesListEnvironmentArrayOutput) ToGetThrottlingServicesListEnvironmentArrayOutputWithContext

func (o GetThrottlingServicesListEnvironmentArrayOutput) ToGetThrottlingServicesListEnvironmentArrayOutputWithContext(ctx context.Context) GetThrottlingServicesListEnvironmentArrayOutput

type GetThrottlingServicesListEnvironmentInput

type GetThrottlingServicesListEnvironmentInput interface {
	pulumi.Input

	ToGetThrottlingServicesListEnvironmentOutput() GetThrottlingServicesListEnvironmentOutput
	ToGetThrottlingServicesListEnvironmentOutputWithContext(context.Context) GetThrottlingServicesListEnvironmentOutput
}

GetThrottlingServicesListEnvironmentInput is an input type that accepts GetThrottlingServicesListEnvironmentArgs and GetThrottlingServicesListEnvironmentOutput values. You can construct a concrete instance of `GetThrottlingServicesListEnvironmentInput` via:

GetThrottlingServicesListEnvironmentArgs{...}

type GetThrottlingServicesListEnvironmentOutput

type GetThrottlingServicesListEnvironmentOutput struct{ *pulumi.OutputState }

func (GetThrottlingServicesListEnvironmentOutput) ElementType

func (GetThrottlingServicesListEnvironmentOutput) EnvironmentName

Environment name.

func (GetThrottlingServicesListEnvironmentOutput) Status

Release status.

func (GetThrottlingServicesListEnvironmentOutput) Strategy

Throttling value.

func (GetThrottlingServicesListEnvironmentOutput) ToGetThrottlingServicesListEnvironmentOutput

func (o GetThrottlingServicesListEnvironmentOutput) ToGetThrottlingServicesListEnvironmentOutput() GetThrottlingServicesListEnvironmentOutput

func (GetThrottlingServicesListEnvironmentOutput) ToGetThrottlingServicesListEnvironmentOutputWithContext

func (o GetThrottlingServicesListEnvironmentOutput) ToGetThrottlingServicesListEnvironmentOutputWithContext(ctx context.Context) GetThrottlingServicesListEnvironmentOutput

func (GetThrottlingServicesListEnvironmentOutput) Url

Access service environment URL.

func (GetThrottlingServicesListEnvironmentOutput) VersionName

Published version number.

type GetThrottlingServicesListInput

type GetThrottlingServicesListInput interface {
	pulumi.Input

	ToGetThrottlingServicesListOutput() GetThrottlingServicesListOutput
	ToGetThrottlingServicesListOutputWithContext(context.Context) GetThrottlingServicesListOutput
}

GetThrottlingServicesListInput is an input type that accepts GetThrottlingServicesListArgs and GetThrottlingServicesListOutput values. You can construct a concrete instance of `GetThrottlingServicesListInput` via:

GetThrottlingServicesListArgs{...}

type GetThrottlingServicesListOutput

type GetThrottlingServicesListOutput struct{ *pulumi.OutputState }

func (GetThrottlingServicesListOutput) ElementType

func (GetThrottlingServicesListOutput) Environments

A list of Throttling policy.

func (GetThrottlingServicesListOutput) ServiceId

Service ID for query.

func (GetThrottlingServicesListOutput) ToGetThrottlingServicesListOutput

func (o GetThrottlingServicesListOutput) ToGetThrottlingServicesListOutput() GetThrottlingServicesListOutput

func (GetThrottlingServicesListOutput) ToGetThrottlingServicesListOutputWithContext

func (o GetThrottlingServicesListOutput) ToGetThrottlingServicesListOutputWithContext(ctx context.Context) GetThrottlingServicesListOutput

type GetThrottlingServicesOutputArgs

type GetThrottlingServicesOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId pulumi.StringPtrInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getThrottlingServices.

func (GetThrottlingServicesOutputArgs) ElementType

type GetThrottlingServicesResult

type GetThrottlingServicesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Throttling policy.
	Lists            []GetThrottlingServicesList `pulumi:"lists"`
	ResultOutputFile *string                     `pulumi:"resultOutputFile"`
	// Service ID for query.
	ServiceId *string `pulumi:"serviceId"`
}

A collection of values returned by getThrottlingServices.

func GetThrottlingServices

func GetThrottlingServices(ctx *pulumi.Context, args *GetThrottlingServicesArgs, opts ...pulumi.InvokeOption) (*GetThrottlingServicesResult, error)

Use this data source to query API gateway throttling services.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion:    pulumi.String("IPv4"),
			ReleaseLimit: pulumi.Int(100),
			PreLimit:     pulumi.Int(100),
			TestLimit:    pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetThrottlingServicesOutput(ctx, apigateway.GetThrottlingServicesOutputArgs{
			ServiceId: service.ID(),
		}, nil)
		return nil
	})
}

```

type GetThrottlingServicesResultOutput

type GetThrottlingServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getThrottlingServices.

func (GetThrottlingServicesResultOutput) ElementType

func (GetThrottlingServicesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetThrottlingServicesResultOutput) Lists

A list of Throttling policy.

func (GetThrottlingServicesResultOutput) ResultOutputFile

func (GetThrottlingServicesResultOutput) ServiceId

Service ID for query.

func (GetThrottlingServicesResultOutput) ToGetThrottlingServicesResultOutput

func (o GetThrottlingServicesResultOutput) ToGetThrottlingServicesResultOutput() GetThrottlingServicesResultOutput

func (GetThrottlingServicesResultOutput) ToGetThrottlingServicesResultOutputWithContext

func (o GetThrottlingServicesResultOutput) ToGetThrottlingServicesResultOutputWithContext(ctx context.Context) GetThrottlingServicesResultOutput

type GetUsagePlanEnvironmentsArgs

type GetUsagePlanEnvironmentsArgs struct {
	// Binding type. Valid values: `API`, `SERVICE`. Default value: `SERVICE`.
	BindType *string `pulumi:"bindType"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the usage plan to be queried.
	UsagePlanId string `pulumi:"usagePlanId"`
}

A collection of arguments for invoking getUsagePlanEnvironments.

type GetUsagePlanEnvironmentsList

type GetUsagePlanEnvironmentsList struct {
	// The API ID, this value is empty if attach service.
	ApiId string `pulumi:"apiId"`
	// The API name, this value is empty if attach service.
	ApiName string `pulumi:"apiName"`
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// The environment name.
	Environment string `pulumi:"environment"`
	// The API method, this value is empty if attach service.
	Method string `pulumi:"method"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// The API path, this value is empty if attach service.
	Path string `pulumi:"path"`
	// The service ID.
	ServiceId string `pulumi:"serviceId"`
	// The service name.
	ServiceName string `pulumi:"serviceName"`
}

type GetUsagePlanEnvironmentsListArgs

type GetUsagePlanEnvironmentsListArgs struct {
	// The API ID, this value is empty if attach service.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// The API name, this value is empty if attach service.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The environment name.
	Environment pulumi.StringInput `pulumi:"environment"`
	// The API method, this value is empty if attach service.
	Method pulumi.StringInput `pulumi:"method"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// The API path, this value is empty if attach service.
	Path pulumi.StringInput `pulumi:"path"`
	// The service ID.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// The service name.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (GetUsagePlanEnvironmentsListArgs) ElementType

func (GetUsagePlanEnvironmentsListArgs) ToGetUsagePlanEnvironmentsListOutput

func (i GetUsagePlanEnvironmentsListArgs) ToGetUsagePlanEnvironmentsListOutput() GetUsagePlanEnvironmentsListOutput

func (GetUsagePlanEnvironmentsListArgs) ToGetUsagePlanEnvironmentsListOutputWithContext

func (i GetUsagePlanEnvironmentsListArgs) ToGetUsagePlanEnvironmentsListOutputWithContext(ctx context.Context) GetUsagePlanEnvironmentsListOutput

type GetUsagePlanEnvironmentsListArray

type GetUsagePlanEnvironmentsListArray []GetUsagePlanEnvironmentsListInput

func (GetUsagePlanEnvironmentsListArray) ElementType

func (GetUsagePlanEnvironmentsListArray) ToGetUsagePlanEnvironmentsListArrayOutput

func (i GetUsagePlanEnvironmentsListArray) ToGetUsagePlanEnvironmentsListArrayOutput() GetUsagePlanEnvironmentsListArrayOutput

func (GetUsagePlanEnvironmentsListArray) ToGetUsagePlanEnvironmentsListArrayOutputWithContext

func (i GetUsagePlanEnvironmentsListArray) ToGetUsagePlanEnvironmentsListArrayOutputWithContext(ctx context.Context) GetUsagePlanEnvironmentsListArrayOutput

type GetUsagePlanEnvironmentsListArrayInput

type GetUsagePlanEnvironmentsListArrayInput interface {
	pulumi.Input

	ToGetUsagePlanEnvironmentsListArrayOutput() GetUsagePlanEnvironmentsListArrayOutput
	ToGetUsagePlanEnvironmentsListArrayOutputWithContext(context.Context) GetUsagePlanEnvironmentsListArrayOutput
}

GetUsagePlanEnvironmentsListArrayInput is an input type that accepts GetUsagePlanEnvironmentsListArray and GetUsagePlanEnvironmentsListArrayOutput values. You can construct a concrete instance of `GetUsagePlanEnvironmentsListArrayInput` via:

GetUsagePlanEnvironmentsListArray{ GetUsagePlanEnvironmentsListArgs{...} }

type GetUsagePlanEnvironmentsListArrayOutput

type GetUsagePlanEnvironmentsListArrayOutput struct{ *pulumi.OutputState }

func (GetUsagePlanEnvironmentsListArrayOutput) ElementType

func (GetUsagePlanEnvironmentsListArrayOutput) Index

func (GetUsagePlanEnvironmentsListArrayOutput) ToGetUsagePlanEnvironmentsListArrayOutput

func (o GetUsagePlanEnvironmentsListArrayOutput) ToGetUsagePlanEnvironmentsListArrayOutput() GetUsagePlanEnvironmentsListArrayOutput

func (GetUsagePlanEnvironmentsListArrayOutput) ToGetUsagePlanEnvironmentsListArrayOutputWithContext

func (o GetUsagePlanEnvironmentsListArrayOutput) ToGetUsagePlanEnvironmentsListArrayOutputWithContext(ctx context.Context) GetUsagePlanEnvironmentsListArrayOutput

type GetUsagePlanEnvironmentsListInput

type GetUsagePlanEnvironmentsListInput interface {
	pulumi.Input

	ToGetUsagePlanEnvironmentsListOutput() GetUsagePlanEnvironmentsListOutput
	ToGetUsagePlanEnvironmentsListOutputWithContext(context.Context) GetUsagePlanEnvironmentsListOutput
}

GetUsagePlanEnvironmentsListInput is an input type that accepts GetUsagePlanEnvironmentsListArgs and GetUsagePlanEnvironmentsListOutput values. You can construct a concrete instance of `GetUsagePlanEnvironmentsListInput` via:

GetUsagePlanEnvironmentsListArgs{...}

type GetUsagePlanEnvironmentsListOutput

type GetUsagePlanEnvironmentsListOutput struct{ *pulumi.OutputState }

func (GetUsagePlanEnvironmentsListOutput) ApiId

The API ID, this value is empty if attach service.

func (GetUsagePlanEnvironmentsListOutput) ApiName

The API name, this value is empty if attach service.

func (GetUsagePlanEnvironmentsListOutput) CreateTime

Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetUsagePlanEnvironmentsListOutput) ElementType

func (GetUsagePlanEnvironmentsListOutput) Environment

The environment name.

func (GetUsagePlanEnvironmentsListOutput) Method

The API method, this value is empty if attach service.

func (GetUsagePlanEnvironmentsListOutput) ModifyTime

Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetUsagePlanEnvironmentsListOutput) Path

The API path, this value is empty if attach service.

func (GetUsagePlanEnvironmentsListOutput) ServiceId

The service ID.

func (GetUsagePlanEnvironmentsListOutput) ServiceName

The service name.

func (GetUsagePlanEnvironmentsListOutput) ToGetUsagePlanEnvironmentsListOutput

func (o GetUsagePlanEnvironmentsListOutput) ToGetUsagePlanEnvironmentsListOutput() GetUsagePlanEnvironmentsListOutput

func (GetUsagePlanEnvironmentsListOutput) ToGetUsagePlanEnvironmentsListOutputWithContext

func (o GetUsagePlanEnvironmentsListOutput) ToGetUsagePlanEnvironmentsListOutputWithContext(ctx context.Context) GetUsagePlanEnvironmentsListOutput

type GetUsagePlanEnvironmentsOutputArgs

type GetUsagePlanEnvironmentsOutputArgs struct {
	// Binding type. Valid values: `API`, `SERVICE`. Default value: `SERVICE`.
	BindType pulumi.StringPtrInput `pulumi:"bindType"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// ID of the usage plan to be queried.
	UsagePlanId pulumi.StringInput `pulumi:"usagePlanId"`
}

A collection of arguments for invoking getUsagePlanEnvironments.

func (GetUsagePlanEnvironmentsOutputArgs) ElementType

type GetUsagePlanEnvironmentsResult

type GetUsagePlanEnvironmentsResult struct {
	BindType *string `pulumi:"bindType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of usage plan binding details.
	Lists            []GetUsagePlanEnvironmentsList `pulumi:"lists"`
	ResultOutputFile *string                        `pulumi:"resultOutputFile"`
	UsagePlanId      string                         `pulumi:"usagePlanId"`
}

A collection of values returned by getUsagePlanEnvironments.

func GetUsagePlanEnvironments

func GetUsagePlanEnvironments(ctx *pulumi.Context, args *GetUsagePlanEnvironmentsArgs, opts ...pulumi.InvokeOption) (*GetUsagePlanEnvironmentsResult, error)

Used to query the environment list bound by the plan.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		plan, err := ApiGateway.NewUsagePlan(ctx, "plan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("my_plan"),
			UsagePlanDesc:       pulumi.String("nice plan"),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		attachService, err := ApiGateway.NewUsagePlanAttachment(ctx, "attachService", &ApiGateway.UsagePlanAttachmentArgs{
			UsagePlanId: plan.ID(),
			ServiceId:   service.ID(),
			Environment: pulumi.String("test"),
			BindType:    pulumi.String("SERVICE"),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetUsagePlanEnvironmentsOutput(ctx, apigateway.GetUsagePlanEnvironmentsOutputArgs{
			UsagePlanId: attachService.UsagePlanId,
			BindType:    pulumi.String("SERVICE"),
		}, nil)
		return nil
	})
}

```

type GetUsagePlanEnvironmentsResultOutput

type GetUsagePlanEnvironmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsagePlanEnvironments.

func (GetUsagePlanEnvironmentsResultOutput) BindType

func (GetUsagePlanEnvironmentsResultOutput) ElementType

func (GetUsagePlanEnvironmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsagePlanEnvironmentsResultOutput) Lists

A list of usage plan binding details.

func (GetUsagePlanEnvironmentsResultOutput) ResultOutputFile

func (GetUsagePlanEnvironmentsResultOutput) ToGetUsagePlanEnvironmentsResultOutput

func (o GetUsagePlanEnvironmentsResultOutput) ToGetUsagePlanEnvironmentsResultOutput() GetUsagePlanEnvironmentsResultOutput

func (GetUsagePlanEnvironmentsResultOutput) ToGetUsagePlanEnvironmentsResultOutputWithContext

func (o GetUsagePlanEnvironmentsResultOutput) ToGetUsagePlanEnvironmentsResultOutputWithContext(ctx context.Context) GetUsagePlanEnvironmentsResultOutput

func (GetUsagePlanEnvironmentsResultOutput) UsagePlanId

type GetUsagePlansArgs

type GetUsagePlansArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the usage plan.
	UsagePlanId *string `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName *string `pulumi:"usagePlanName"`
}

A collection of arguments for invoking getUsagePlans.

type GetUsagePlansList

type GetUsagePlansList struct {
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime string `pulumi:"createTime"`
	// Total number of requests allowed. Valid value formats: `-1`, `[1,99999999]`. The default value is -1, which indicates no limit.
	MaxRequestNum int `pulumi:"maxRequestNum"`
	// Limit of requests per second. Valid values formats: `-1`, `[1,2000]`. The default value is -1, which indicates no limit.
	MaxRequestNumPreSec int `pulumi:"maxRequestNumPreSec"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime string `pulumi:"modifyTime"`
	// Custom usage plan description.
	UsagePlanDesc string `pulumi:"usagePlanDesc"`
	// ID of the usage plan.
	UsagePlanId string `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName string `pulumi:"usagePlanName"`
}

type GetUsagePlansListArgs

type GetUsagePlansListArgs struct {
	// Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Total number of requests allowed. Valid value formats: `-1`, `[1,99999999]`. The default value is -1, which indicates no limit.
	MaxRequestNum pulumi.IntInput `pulumi:"maxRequestNum"`
	// Limit of requests per second. Valid values formats: `-1`, `[1,2000]`. The default value is -1, which indicates no limit.
	MaxRequestNumPreSec pulumi.IntInput `pulumi:"maxRequestNumPreSec"`
	// Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringInput `pulumi:"modifyTime"`
	// Custom usage plan description.
	UsagePlanDesc pulumi.StringInput `pulumi:"usagePlanDesc"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringInput `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName pulumi.StringInput `pulumi:"usagePlanName"`
}

func (GetUsagePlansListArgs) ElementType

func (GetUsagePlansListArgs) ElementType() reflect.Type

func (GetUsagePlansListArgs) ToGetUsagePlansListOutput

func (i GetUsagePlansListArgs) ToGetUsagePlansListOutput() GetUsagePlansListOutput

func (GetUsagePlansListArgs) ToGetUsagePlansListOutputWithContext

func (i GetUsagePlansListArgs) ToGetUsagePlansListOutputWithContext(ctx context.Context) GetUsagePlansListOutput

type GetUsagePlansListArray

type GetUsagePlansListArray []GetUsagePlansListInput

func (GetUsagePlansListArray) ElementType

func (GetUsagePlansListArray) ElementType() reflect.Type

func (GetUsagePlansListArray) ToGetUsagePlansListArrayOutput

func (i GetUsagePlansListArray) ToGetUsagePlansListArrayOutput() GetUsagePlansListArrayOutput

func (GetUsagePlansListArray) ToGetUsagePlansListArrayOutputWithContext

func (i GetUsagePlansListArray) ToGetUsagePlansListArrayOutputWithContext(ctx context.Context) GetUsagePlansListArrayOutput

type GetUsagePlansListArrayInput

type GetUsagePlansListArrayInput interface {
	pulumi.Input

	ToGetUsagePlansListArrayOutput() GetUsagePlansListArrayOutput
	ToGetUsagePlansListArrayOutputWithContext(context.Context) GetUsagePlansListArrayOutput
}

GetUsagePlansListArrayInput is an input type that accepts GetUsagePlansListArray and GetUsagePlansListArrayOutput values. You can construct a concrete instance of `GetUsagePlansListArrayInput` via:

GetUsagePlansListArray{ GetUsagePlansListArgs{...} }

type GetUsagePlansListArrayOutput

type GetUsagePlansListArrayOutput struct{ *pulumi.OutputState }

func (GetUsagePlansListArrayOutput) ElementType

func (GetUsagePlansListArrayOutput) Index

func (GetUsagePlansListArrayOutput) ToGetUsagePlansListArrayOutput

func (o GetUsagePlansListArrayOutput) ToGetUsagePlansListArrayOutput() GetUsagePlansListArrayOutput

func (GetUsagePlansListArrayOutput) ToGetUsagePlansListArrayOutputWithContext

func (o GetUsagePlansListArrayOutput) ToGetUsagePlansListArrayOutputWithContext(ctx context.Context) GetUsagePlansListArrayOutput

type GetUsagePlansListInput

type GetUsagePlansListInput interface {
	pulumi.Input

	ToGetUsagePlansListOutput() GetUsagePlansListOutput
	ToGetUsagePlansListOutputWithContext(context.Context) GetUsagePlansListOutput
}

GetUsagePlansListInput is an input type that accepts GetUsagePlansListArgs and GetUsagePlansListOutput values. You can construct a concrete instance of `GetUsagePlansListInput` via:

GetUsagePlansListArgs{...}

type GetUsagePlansListOutput

type GetUsagePlansListOutput struct{ *pulumi.OutputState }

func (GetUsagePlansListOutput) CreateTime

Creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetUsagePlansListOutput) ElementType

func (GetUsagePlansListOutput) ElementType() reflect.Type

func (GetUsagePlansListOutput) MaxRequestNum

func (o GetUsagePlansListOutput) MaxRequestNum() pulumi.IntOutput

Total number of requests allowed. Valid value formats: `-1`, `[1,99999999]`. The default value is -1, which indicates no limit.

func (GetUsagePlansListOutput) MaxRequestNumPreSec

func (o GetUsagePlansListOutput) MaxRequestNumPreSec() pulumi.IntOutput

Limit of requests per second. Valid values formats: `-1`, `[1,2000]`. The default value is -1, which indicates no limit.

func (GetUsagePlansListOutput) ModifyTime

Last modified time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.

func (GetUsagePlansListOutput) ToGetUsagePlansListOutput

func (o GetUsagePlansListOutput) ToGetUsagePlansListOutput() GetUsagePlansListOutput

func (GetUsagePlansListOutput) ToGetUsagePlansListOutputWithContext

func (o GetUsagePlansListOutput) ToGetUsagePlansListOutputWithContext(ctx context.Context) GetUsagePlansListOutput

func (GetUsagePlansListOutput) UsagePlanDesc

func (o GetUsagePlansListOutput) UsagePlanDesc() pulumi.StringOutput

Custom usage plan description.

func (GetUsagePlansListOutput) UsagePlanId

ID of the usage plan.

func (GetUsagePlansListOutput) UsagePlanName

func (o GetUsagePlansListOutput) UsagePlanName() pulumi.StringOutput

Name of the usage plan.

type GetUsagePlansOutputArgs

type GetUsagePlansOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringPtrInput `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName pulumi.StringPtrInput `pulumi:"usagePlanName"`
}

A collection of arguments for invoking getUsagePlans.

func (GetUsagePlansOutputArgs) ElementType

func (GetUsagePlansOutputArgs) ElementType() reflect.Type

type GetUsagePlansResult

type GetUsagePlansResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of usage plans.
	Lists            []GetUsagePlansList `pulumi:"lists"`
	ResultOutputFile *string             `pulumi:"resultOutputFile"`
	// ID of the usage plan.
	UsagePlanId *string `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName *string `pulumi:"usagePlanName"`
}

A collection of values returned by getUsagePlans.

func GetUsagePlans

func GetUsagePlans(ctx *pulumi.Context, args *GetUsagePlansArgs, opts ...pulumi.InvokeOption) (*GetUsagePlansResult, error)

Use this data source to query API gateway usage plans.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		plan, err := ApiGateway.NewUsagePlan(ctx, "plan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("my_plan"),
			UsagePlanDesc:       pulumi.String("nice plan"),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetUsagePlansOutput(ctx, apigateway.GetUsagePlansOutputArgs{
			UsagePlanName: plan.UsagePlanName,
		}, nil)
		_ = ApiGateway.GetUsagePlansOutput(ctx, apigateway.GetUsagePlansOutputArgs{
			UsagePlanId: plan.ID(),
		}, nil)
		return nil
	})
}

```

type GetUsagePlansResultOutput

type GetUsagePlansResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsagePlans.

func (GetUsagePlansResultOutput) ElementType

func (GetUsagePlansResultOutput) ElementType() reflect.Type

func (GetUsagePlansResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsagePlansResultOutput) Lists

A list of usage plans.

func (GetUsagePlansResultOutput) ResultOutputFile

func (o GetUsagePlansResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetUsagePlansResultOutput) ToGetUsagePlansResultOutput

func (o GetUsagePlansResultOutput) ToGetUsagePlansResultOutput() GetUsagePlansResultOutput

func (GetUsagePlansResultOutput) ToGetUsagePlansResultOutputWithContext

func (o GetUsagePlansResultOutput) ToGetUsagePlansResultOutputWithContext(ctx context.Context) GetUsagePlansResultOutput

func (GetUsagePlansResultOutput) UsagePlanId

ID of the usage plan.

func (GetUsagePlansResultOutput) UsagePlanName

Name of the usage plan.

type IpStrategy

type IpStrategy struct {
	pulumi.CustomResourceState

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The ID of the API gateway service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// IP address data.
	StrategyData pulumi.StringOutput `pulumi:"strategyData"`
	// IP policy ID.
	StrategyId pulumi.StringOutput `pulumi:"strategyId"`
	// User defined strategy name.
	StrategyName pulumi.StringOutput `pulumi:"strategyName"`
	// Blacklist or whitelist.
	StrategyType pulumi.StringOutput `pulumi:"strategyType"`
}

Use this resource to create IP strategy of API gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewIpStrategy(ctx, "test", &ApiGateway.IpStrategyArgs{
			ServiceId:    service.ID(),
			StrategyName: pulumi.String("tf_test"),
			StrategyType: pulumi.String("BLACK"),
			StrategyData: pulumi.String("9.9.9.9"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

IP strategy of API gateway can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/ipStrategy:IpStrategy test service-ohxqslqe#IPStrategy-q1lk8ud2

```

func GetIpStrategy

func GetIpStrategy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpStrategyState, opts ...pulumi.ResourceOption) (*IpStrategy, error)

GetIpStrategy gets an existing IpStrategy 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 NewIpStrategy

func NewIpStrategy(ctx *pulumi.Context,
	name string, args *IpStrategyArgs, opts ...pulumi.ResourceOption) (*IpStrategy, error)

NewIpStrategy registers a new resource with the given unique name, arguments, and options.

func (*IpStrategy) ElementType

func (*IpStrategy) ElementType() reflect.Type

func (*IpStrategy) ToIpStrategyOutput

func (i *IpStrategy) ToIpStrategyOutput() IpStrategyOutput

func (*IpStrategy) ToIpStrategyOutputWithContext

func (i *IpStrategy) ToIpStrategyOutputWithContext(ctx context.Context) IpStrategyOutput

type IpStrategyArgs

type IpStrategyArgs struct {
	// The ID of the API gateway service.
	ServiceId pulumi.StringInput
	// IP address data.
	StrategyData pulumi.StringInput
	// User defined strategy name.
	StrategyName pulumi.StringInput
	// Blacklist or whitelist.
	StrategyType pulumi.StringInput
}

The set of arguments for constructing a IpStrategy resource.

func (IpStrategyArgs) ElementType

func (IpStrategyArgs) ElementType() reflect.Type

type IpStrategyArray

type IpStrategyArray []IpStrategyInput

func (IpStrategyArray) ElementType

func (IpStrategyArray) ElementType() reflect.Type

func (IpStrategyArray) ToIpStrategyArrayOutput

func (i IpStrategyArray) ToIpStrategyArrayOutput() IpStrategyArrayOutput

func (IpStrategyArray) ToIpStrategyArrayOutputWithContext

func (i IpStrategyArray) ToIpStrategyArrayOutputWithContext(ctx context.Context) IpStrategyArrayOutput

type IpStrategyArrayInput

type IpStrategyArrayInput interface {
	pulumi.Input

	ToIpStrategyArrayOutput() IpStrategyArrayOutput
	ToIpStrategyArrayOutputWithContext(context.Context) IpStrategyArrayOutput
}

IpStrategyArrayInput is an input type that accepts IpStrategyArray and IpStrategyArrayOutput values. You can construct a concrete instance of `IpStrategyArrayInput` via:

IpStrategyArray{ IpStrategyArgs{...} }

type IpStrategyArrayOutput

type IpStrategyArrayOutput struct{ *pulumi.OutputState }

func (IpStrategyArrayOutput) ElementType

func (IpStrategyArrayOutput) ElementType() reflect.Type

func (IpStrategyArrayOutput) Index

func (IpStrategyArrayOutput) ToIpStrategyArrayOutput

func (o IpStrategyArrayOutput) ToIpStrategyArrayOutput() IpStrategyArrayOutput

func (IpStrategyArrayOutput) ToIpStrategyArrayOutputWithContext

func (o IpStrategyArrayOutput) ToIpStrategyArrayOutputWithContext(ctx context.Context) IpStrategyArrayOutput

type IpStrategyInput

type IpStrategyInput interface {
	pulumi.Input

	ToIpStrategyOutput() IpStrategyOutput
	ToIpStrategyOutputWithContext(ctx context.Context) IpStrategyOutput
}

type IpStrategyMap

type IpStrategyMap map[string]IpStrategyInput

func (IpStrategyMap) ElementType

func (IpStrategyMap) ElementType() reflect.Type

func (IpStrategyMap) ToIpStrategyMapOutput

func (i IpStrategyMap) ToIpStrategyMapOutput() IpStrategyMapOutput

func (IpStrategyMap) ToIpStrategyMapOutputWithContext

func (i IpStrategyMap) ToIpStrategyMapOutputWithContext(ctx context.Context) IpStrategyMapOutput

type IpStrategyMapInput

type IpStrategyMapInput interface {
	pulumi.Input

	ToIpStrategyMapOutput() IpStrategyMapOutput
	ToIpStrategyMapOutputWithContext(context.Context) IpStrategyMapOutput
}

IpStrategyMapInput is an input type that accepts IpStrategyMap and IpStrategyMapOutput values. You can construct a concrete instance of `IpStrategyMapInput` via:

IpStrategyMap{ "key": IpStrategyArgs{...} }

type IpStrategyMapOutput

type IpStrategyMapOutput struct{ *pulumi.OutputState }

func (IpStrategyMapOutput) ElementType

func (IpStrategyMapOutput) ElementType() reflect.Type

func (IpStrategyMapOutput) MapIndex

func (IpStrategyMapOutput) ToIpStrategyMapOutput

func (o IpStrategyMapOutput) ToIpStrategyMapOutput() IpStrategyMapOutput

func (IpStrategyMapOutput) ToIpStrategyMapOutputWithContext

func (o IpStrategyMapOutput) ToIpStrategyMapOutputWithContext(ctx context.Context) IpStrategyMapOutput

type IpStrategyOutput

type IpStrategyOutput struct{ *pulumi.OutputState }

func (IpStrategyOutput) CreateTime

func (o IpStrategyOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (IpStrategyOutput) ElementType

func (IpStrategyOutput) ElementType() reflect.Type

func (IpStrategyOutput) ServiceId

func (o IpStrategyOutput) ServiceId() pulumi.StringOutput

The ID of the API gateway service.

func (IpStrategyOutput) StrategyData

func (o IpStrategyOutput) StrategyData() pulumi.StringOutput

IP address data.

func (IpStrategyOutput) StrategyId

func (o IpStrategyOutput) StrategyId() pulumi.StringOutput

IP policy ID.

func (IpStrategyOutput) StrategyName

func (o IpStrategyOutput) StrategyName() pulumi.StringOutput

User defined strategy name.

func (IpStrategyOutput) StrategyType

func (o IpStrategyOutput) StrategyType() pulumi.StringOutput

Blacklist or whitelist.

func (IpStrategyOutput) ToIpStrategyOutput

func (o IpStrategyOutput) ToIpStrategyOutput() IpStrategyOutput

func (IpStrategyOutput) ToIpStrategyOutputWithContext

func (o IpStrategyOutput) ToIpStrategyOutputWithContext(ctx context.Context) IpStrategyOutput

type IpStrategyState

type IpStrategyState struct {
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// The ID of the API gateway service.
	ServiceId pulumi.StringPtrInput
	// IP address data.
	StrategyData pulumi.StringPtrInput
	// IP policy ID.
	StrategyId pulumi.StringPtrInput
	// User defined strategy name.
	StrategyName pulumi.StringPtrInput
	// Blacklist or whitelist.
	StrategyType pulumi.StringPtrInput
}

func (IpStrategyState) ElementType

func (IpStrategyState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// A list of APIs.
	ApiLists ServiceApiListArrayOutput `pulumi:"apiLists"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	ExclusiveSetName pulumi.StringPtrOutput `pulumi:"exclusiveSetName"`
	// Port number for http access over private network.
	InnerHttpPort pulumi.IntOutput `pulumi:"innerHttpPort"`
	// Port number for https access over private network.
	InnerHttpsPort pulumi.IntOutput `pulumi:"innerHttpsPort"`
	// Private network access subdomain name.
	InternalSubDomain pulumi.StringOutput `pulumi:"internalSubDomain"`
	// IP version number. Valid values: `IPv4`, `IPv6`. Default value: `IPv4`.
	IpVersion pulumi.StringPtrOutput `pulumi:"ipVersion"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringOutput `pulumi:"modifyTime"`
	// Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.
	NetTypes pulumi.StringArrayOutput `pulumi:"netTypes"`
	// Public network access subdomain name.
	OuterSubDomain pulumi.StringOutput `pulumi:"outerSubDomain"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntOutput `pulumi:"preLimit"`
	// Service frontend request type. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntOutput `pulumi:"releaseLimit"`
	// Custom service description.
	ServiceDesc pulumi.StringPtrOutput `pulumi:"serviceDesc"`
	// Custom service name.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntOutput `pulumi:"testLimit"`
	// A list of attach usage plans.
	UsagePlanLists ServiceUsagePlanListArrayOutput `pulumi:"usagePlanLists"`
}

Use this resource to create API gateway service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			IpVersion: pulumi.String("IPv4"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			PreLimit:     pulumi.Int(500),
			Protocol:     pulumi.String("http&https"),
			ReleaseLimit: pulumi.Int(500),
			ServiceDesc:  pulumi.String("your nice service"),
			ServiceName:  pulumi.String("niceservice"),
			TestLimit:    pulumi.Int(500),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

API gateway service can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/service:Service service service-pg6ud8pa

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceApiList

type ServiceApiList struct {
	// Description of the API.
	ApiDesc *string `pulumi:"apiDesc"`
	// ID of the API.
	ApiId *string `pulumi:"apiId"`
	// Name of the API.
	ApiName *string `pulumi:"apiName"`
	// Method of the API.
	Method *string `pulumi:"method"`
	// Path of the API.
	Path *string `pulumi:"path"`
}

type ServiceApiListArgs

type ServiceApiListArgs struct {
	// Description of the API.
	ApiDesc pulumi.StringPtrInput `pulumi:"apiDesc"`
	// ID of the API.
	ApiId pulumi.StringPtrInput `pulumi:"apiId"`
	// Name of the API.
	ApiName pulumi.StringPtrInput `pulumi:"apiName"`
	// Method of the API.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// Path of the API.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (ServiceApiListArgs) ElementType

func (ServiceApiListArgs) ElementType() reflect.Type

func (ServiceApiListArgs) ToServiceApiListOutput

func (i ServiceApiListArgs) ToServiceApiListOutput() ServiceApiListOutput

func (ServiceApiListArgs) ToServiceApiListOutputWithContext

func (i ServiceApiListArgs) ToServiceApiListOutputWithContext(ctx context.Context) ServiceApiListOutput

type ServiceApiListArray

type ServiceApiListArray []ServiceApiListInput

func (ServiceApiListArray) ElementType

func (ServiceApiListArray) ElementType() reflect.Type

func (ServiceApiListArray) ToServiceApiListArrayOutput

func (i ServiceApiListArray) ToServiceApiListArrayOutput() ServiceApiListArrayOutput

func (ServiceApiListArray) ToServiceApiListArrayOutputWithContext

func (i ServiceApiListArray) ToServiceApiListArrayOutputWithContext(ctx context.Context) ServiceApiListArrayOutput

type ServiceApiListArrayInput

type ServiceApiListArrayInput interface {
	pulumi.Input

	ToServiceApiListArrayOutput() ServiceApiListArrayOutput
	ToServiceApiListArrayOutputWithContext(context.Context) ServiceApiListArrayOutput
}

ServiceApiListArrayInput is an input type that accepts ServiceApiListArray and ServiceApiListArrayOutput values. You can construct a concrete instance of `ServiceApiListArrayInput` via:

ServiceApiListArray{ ServiceApiListArgs{...} }

type ServiceApiListArrayOutput

type ServiceApiListArrayOutput struct{ *pulumi.OutputState }

func (ServiceApiListArrayOutput) ElementType

func (ServiceApiListArrayOutput) ElementType() reflect.Type

func (ServiceApiListArrayOutput) Index

func (ServiceApiListArrayOutput) ToServiceApiListArrayOutput

func (o ServiceApiListArrayOutput) ToServiceApiListArrayOutput() ServiceApiListArrayOutput

func (ServiceApiListArrayOutput) ToServiceApiListArrayOutputWithContext

func (o ServiceApiListArrayOutput) ToServiceApiListArrayOutputWithContext(ctx context.Context) ServiceApiListArrayOutput

type ServiceApiListInput

type ServiceApiListInput interface {
	pulumi.Input

	ToServiceApiListOutput() ServiceApiListOutput
	ToServiceApiListOutputWithContext(context.Context) ServiceApiListOutput
}

ServiceApiListInput is an input type that accepts ServiceApiListArgs and ServiceApiListOutput values. You can construct a concrete instance of `ServiceApiListInput` via:

ServiceApiListArgs{...}

type ServiceApiListOutput

type ServiceApiListOutput struct{ *pulumi.OutputState }

func (ServiceApiListOutput) ApiDesc

Description of the API.

func (ServiceApiListOutput) ApiId

ID of the API.

func (ServiceApiListOutput) ApiName

Name of the API.

func (ServiceApiListOutput) ElementType

func (ServiceApiListOutput) ElementType() reflect.Type

func (ServiceApiListOutput) Method

Method of the API.

func (ServiceApiListOutput) Path

Path of the API.

func (ServiceApiListOutput) ToServiceApiListOutput

func (o ServiceApiListOutput) ToServiceApiListOutput() ServiceApiListOutput

func (ServiceApiListOutput) ToServiceApiListOutputWithContext

func (o ServiceApiListOutput) ToServiceApiListOutputWithContext(ctx context.Context) ServiceApiListOutput

type ServiceArgs

type ServiceArgs struct {
	// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	ExclusiveSetName pulumi.StringPtrInput
	// IP version number. Valid values: `IPv4`, `IPv6`. Default value: `IPv4`.
	IpVersion pulumi.StringPtrInput
	// Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.
	NetTypes pulumi.StringArrayInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntPtrInput
	// Service frontend request type. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntPtrInput
	// Custom service description.
	ServiceDesc pulumi.StringPtrInput
	// Custom service name.
	ServiceName pulumi.StringInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ApiLists

A list of APIs.

func (ServiceOutput) CreateTime

func (o ServiceOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ExclusiveSetName

func (o ServiceOutput) ExclusiveSetName() pulumi.StringPtrOutput

Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.

func (ServiceOutput) InnerHttpPort

func (o ServiceOutput) InnerHttpPort() pulumi.IntOutput

Port number for http access over private network.

func (ServiceOutput) InnerHttpsPort

func (o ServiceOutput) InnerHttpsPort() pulumi.IntOutput

Port number for https access over private network.

func (ServiceOutput) InternalSubDomain

func (o ServiceOutput) InternalSubDomain() pulumi.StringOutput

Private network access subdomain name.

func (ServiceOutput) IpVersion

func (o ServiceOutput) IpVersion() pulumi.StringPtrOutput

IP version number. Valid values: `IPv4`, `IPv6`. Default value: `IPv4`.

func (ServiceOutput) ModifyTime

func (o ServiceOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (ServiceOutput) NetTypes

func (o ServiceOutput) NetTypes() pulumi.StringArrayOutput

Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.

func (ServiceOutput) OuterSubDomain

func (o ServiceOutput) OuterSubDomain() pulumi.StringOutput

Public network access subdomain name.

func (ServiceOutput) PreLimit

func (o ServiceOutput) PreLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ServiceOutput) Protocol

func (o ServiceOutput) Protocol() pulumi.StringOutput

Service frontend request type. Valid values: `http`, `https`, `http&https`.

func (ServiceOutput) ReleaseLimit

func (o ServiceOutput) ReleaseLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ServiceOutput) ServiceDesc

func (o ServiceOutput) ServiceDesc() pulumi.StringPtrOutput

Custom service description.

func (ServiceOutput) ServiceName

func (o ServiceOutput) ServiceName() pulumi.StringOutput

Custom service name.

func (ServiceOutput) TestLimit

func (o ServiceOutput) TestLimit() pulumi.IntOutput

API QPS value. Enter a positive number to limit the API query rate per second `QPS`.

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) UsagePlanLists

A list of attach usage plans.

type ServiceRelease

type ServiceRelease struct {
	pulumi.CustomResourceState

	// API gateway service environment name to be released. Valid values: `test`, `prepub`, `release`.
	EnvironmentName pulumi.StringOutput `pulumi:"environmentName"`
	// This release description of the API gateway service.
	ReleaseDesc pulumi.StringOutput `pulumi:"releaseDesc"`
	// The release version.
	ReleaseVersion pulumi.StringOutput `pulumi:"releaseVersion"`
	// ID of API gateway service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
}

Use this resource to create API gateway service release.

## Import

API gateway service release can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/serviceRelease:ServiceRelease service service-jjt3fs3s#release#20201015121916d85fb161-eaec-4dda-a7e0-659aa5f401be

```

func GetServiceRelease

func GetServiceRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceReleaseState, opts ...pulumi.ResourceOption) (*ServiceRelease, error)

GetServiceRelease gets an existing ServiceRelease 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 NewServiceRelease

func NewServiceRelease(ctx *pulumi.Context,
	name string, args *ServiceReleaseArgs, opts ...pulumi.ResourceOption) (*ServiceRelease, error)

NewServiceRelease registers a new resource with the given unique name, arguments, and options.

func (*ServiceRelease) ElementType

func (*ServiceRelease) ElementType() reflect.Type

func (*ServiceRelease) ToServiceReleaseOutput

func (i *ServiceRelease) ToServiceReleaseOutput() ServiceReleaseOutput

func (*ServiceRelease) ToServiceReleaseOutputWithContext

func (i *ServiceRelease) ToServiceReleaseOutputWithContext(ctx context.Context) ServiceReleaseOutput

type ServiceReleaseArgs

type ServiceReleaseArgs struct {
	// API gateway service environment name to be released. Valid values: `test`, `prepub`, `release`.
	EnvironmentName pulumi.StringInput
	// This release description of the API gateway service.
	ReleaseDesc pulumi.StringInput
	// The release version.
	ReleaseVersion pulumi.StringPtrInput
	// ID of API gateway service.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a ServiceRelease resource.

func (ServiceReleaseArgs) ElementType

func (ServiceReleaseArgs) ElementType() reflect.Type

type ServiceReleaseArray

type ServiceReleaseArray []ServiceReleaseInput

func (ServiceReleaseArray) ElementType

func (ServiceReleaseArray) ElementType() reflect.Type

func (ServiceReleaseArray) ToServiceReleaseArrayOutput

func (i ServiceReleaseArray) ToServiceReleaseArrayOutput() ServiceReleaseArrayOutput

func (ServiceReleaseArray) ToServiceReleaseArrayOutputWithContext

func (i ServiceReleaseArray) ToServiceReleaseArrayOutputWithContext(ctx context.Context) ServiceReleaseArrayOutput

type ServiceReleaseArrayInput

type ServiceReleaseArrayInput interface {
	pulumi.Input

	ToServiceReleaseArrayOutput() ServiceReleaseArrayOutput
	ToServiceReleaseArrayOutputWithContext(context.Context) ServiceReleaseArrayOutput
}

ServiceReleaseArrayInput is an input type that accepts ServiceReleaseArray and ServiceReleaseArrayOutput values. You can construct a concrete instance of `ServiceReleaseArrayInput` via:

ServiceReleaseArray{ ServiceReleaseArgs{...} }

type ServiceReleaseArrayOutput

type ServiceReleaseArrayOutput struct{ *pulumi.OutputState }

func (ServiceReleaseArrayOutput) ElementType

func (ServiceReleaseArrayOutput) ElementType() reflect.Type

func (ServiceReleaseArrayOutput) Index

func (ServiceReleaseArrayOutput) ToServiceReleaseArrayOutput

func (o ServiceReleaseArrayOutput) ToServiceReleaseArrayOutput() ServiceReleaseArrayOutput

func (ServiceReleaseArrayOutput) ToServiceReleaseArrayOutputWithContext

func (o ServiceReleaseArrayOutput) ToServiceReleaseArrayOutputWithContext(ctx context.Context) ServiceReleaseArrayOutput

type ServiceReleaseInput

type ServiceReleaseInput interface {
	pulumi.Input

	ToServiceReleaseOutput() ServiceReleaseOutput
	ToServiceReleaseOutputWithContext(ctx context.Context) ServiceReleaseOutput
}

type ServiceReleaseMap

type ServiceReleaseMap map[string]ServiceReleaseInput

func (ServiceReleaseMap) ElementType

func (ServiceReleaseMap) ElementType() reflect.Type

func (ServiceReleaseMap) ToServiceReleaseMapOutput

func (i ServiceReleaseMap) ToServiceReleaseMapOutput() ServiceReleaseMapOutput

func (ServiceReleaseMap) ToServiceReleaseMapOutputWithContext

func (i ServiceReleaseMap) ToServiceReleaseMapOutputWithContext(ctx context.Context) ServiceReleaseMapOutput

type ServiceReleaseMapInput

type ServiceReleaseMapInput interface {
	pulumi.Input

	ToServiceReleaseMapOutput() ServiceReleaseMapOutput
	ToServiceReleaseMapOutputWithContext(context.Context) ServiceReleaseMapOutput
}

ServiceReleaseMapInput is an input type that accepts ServiceReleaseMap and ServiceReleaseMapOutput values. You can construct a concrete instance of `ServiceReleaseMapInput` via:

ServiceReleaseMap{ "key": ServiceReleaseArgs{...} }

type ServiceReleaseMapOutput

type ServiceReleaseMapOutput struct{ *pulumi.OutputState }

func (ServiceReleaseMapOutput) ElementType

func (ServiceReleaseMapOutput) ElementType() reflect.Type

func (ServiceReleaseMapOutput) MapIndex

func (ServiceReleaseMapOutput) ToServiceReleaseMapOutput

func (o ServiceReleaseMapOutput) ToServiceReleaseMapOutput() ServiceReleaseMapOutput

func (ServiceReleaseMapOutput) ToServiceReleaseMapOutputWithContext

func (o ServiceReleaseMapOutput) ToServiceReleaseMapOutputWithContext(ctx context.Context) ServiceReleaseMapOutput

type ServiceReleaseOutput

type ServiceReleaseOutput struct{ *pulumi.OutputState }

func (ServiceReleaseOutput) ElementType

func (ServiceReleaseOutput) ElementType() reflect.Type

func (ServiceReleaseOutput) EnvironmentName

func (o ServiceReleaseOutput) EnvironmentName() pulumi.StringOutput

API gateway service environment name to be released. Valid values: `test`, `prepub`, `release`.

func (ServiceReleaseOutput) ReleaseDesc

func (o ServiceReleaseOutput) ReleaseDesc() pulumi.StringOutput

This release description of the API gateway service.

func (ServiceReleaseOutput) ReleaseVersion

func (o ServiceReleaseOutput) ReleaseVersion() pulumi.StringOutput

The release version.

func (ServiceReleaseOutput) ServiceId

ID of API gateway service.

func (ServiceReleaseOutput) ToServiceReleaseOutput

func (o ServiceReleaseOutput) ToServiceReleaseOutput() ServiceReleaseOutput

func (ServiceReleaseOutput) ToServiceReleaseOutputWithContext

func (o ServiceReleaseOutput) ToServiceReleaseOutputWithContext(ctx context.Context) ServiceReleaseOutput

type ServiceReleaseState

type ServiceReleaseState struct {
	// API gateway service environment name to be released. Valid values: `test`, `prepub`, `release`.
	EnvironmentName pulumi.StringPtrInput
	// This release description of the API gateway service.
	ReleaseDesc pulumi.StringPtrInput
	// The release version.
	ReleaseVersion pulumi.StringPtrInput
	// ID of API gateway service.
	ServiceId pulumi.StringPtrInput
}

func (ServiceReleaseState) ElementType

func (ServiceReleaseState) ElementType() reflect.Type

type ServiceState

type ServiceState struct {
	// A list of APIs.
	ApiLists ServiceApiListArrayInput
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	ExclusiveSetName pulumi.StringPtrInput
	// Port number for http access over private network.
	InnerHttpPort pulumi.IntPtrInput
	// Port number for https access over private network.
	InnerHttpsPort pulumi.IntPtrInput
	// Private network access subdomain name.
	InternalSubDomain pulumi.StringPtrInput
	// IP version number. Valid values: `IPv4`, `IPv6`. Default value: `IPv4`.
	IpVersion pulumi.StringPtrInput
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringPtrInput
	// Network type list, which is used to specify the supported network types. Valid values: `INNER`, `OUTER`. `INNER` indicates access over private network, and `OUTER` indicates access over public network.
	NetTypes pulumi.StringArrayInput
	// Public network access subdomain name.
	OuterSubDomain pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	PreLimit pulumi.IntPtrInput
	// Service frontend request type. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	ReleaseLimit pulumi.IntPtrInput
	// Custom service description.
	ServiceDesc pulumi.StringPtrInput
	// Custom service name.
	ServiceName pulumi.StringPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// A list of attach usage plans.
	UsagePlanLists ServiceUsagePlanListArrayInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceUsagePlanList

type ServiceUsagePlanList struct {
	// ID of the API.
	ApiId *string `pulumi:"apiId"`
	// Binding type.
	BindType *string `pulumi:"bindType"`
	// ID of the usage plan.
	UsagePlanId *string `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName *string `pulumi:"usagePlanName"`
}

type ServiceUsagePlanListArgs

type ServiceUsagePlanListArgs struct {
	// ID of the API.
	ApiId pulumi.StringPtrInput `pulumi:"apiId"`
	// Binding type.
	BindType pulumi.StringPtrInput `pulumi:"bindType"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringPtrInput `pulumi:"usagePlanId"`
	// Name of the usage plan.
	UsagePlanName pulumi.StringPtrInput `pulumi:"usagePlanName"`
}

func (ServiceUsagePlanListArgs) ElementType

func (ServiceUsagePlanListArgs) ElementType() reflect.Type

func (ServiceUsagePlanListArgs) ToServiceUsagePlanListOutput

func (i ServiceUsagePlanListArgs) ToServiceUsagePlanListOutput() ServiceUsagePlanListOutput

func (ServiceUsagePlanListArgs) ToServiceUsagePlanListOutputWithContext

func (i ServiceUsagePlanListArgs) ToServiceUsagePlanListOutputWithContext(ctx context.Context) ServiceUsagePlanListOutput

type ServiceUsagePlanListArray

type ServiceUsagePlanListArray []ServiceUsagePlanListInput

func (ServiceUsagePlanListArray) ElementType

func (ServiceUsagePlanListArray) ElementType() reflect.Type

func (ServiceUsagePlanListArray) ToServiceUsagePlanListArrayOutput

func (i ServiceUsagePlanListArray) ToServiceUsagePlanListArrayOutput() ServiceUsagePlanListArrayOutput

func (ServiceUsagePlanListArray) ToServiceUsagePlanListArrayOutputWithContext

func (i ServiceUsagePlanListArray) ToServiceUsagePlanListArrayOutputWithContext(ctx context.Context) ServiceUsagePlanListArrayOutput

type ServiceUsagePlanListArrayInput

type ServiceUsagePlanListArrayInput interface {
	pulumi.Input

	ToServiceUsagePlanListArrayOutput() ServiceUsagePlanListArrayOutput
	ToServiceUsagePlanListArrayOutputWithContext(context.Context) ServiceUsagePlanListArrayOutput
}

ServiceUsagePlanListArrayInput is an input type that accepts ServiceUsagePlanListArray and ServiceUsagePlanListArrayOutput values. You can construct a concrete instance of `ServiceUsagePlanListArrayInput` via:

ServiceUsagePlanListArray{ ServiceUsagePlanListArgs{...} }

type ServiceUsagePlanListArrayOutput

type ServiceUsagePlanListArrayOutput struct{ *pulumi.OutputState }

func (ServiceUsagePlanListArrayOutput) ElementType

func (ServiceUsagePlanListArrayOutput) Index

func (ServiceUsagePlanListArrayOutput) ToServiceUsagePlanListArrayOutput

func (o ServiceUsagePlanListArrayOutput) ToServiceUsagePlanListArrayOutput() ServiceUsagePlanListArrayOutput

func (ServiceUsagePlanListArrayOutput) ToServiceUsagePlanListArrayOutputWithContext

func (o ServiceUsagePlanListArrayOutput) ToServiceUsagePlanListArrayOutputWithContext(ctx context.Context) ServiceUsagePlanListArrayOutput

type ServiceUsagePlanListInput

type ServiceUsagePlanListInput interface {
	pulumi.Input

	ToServiceUsagePlanListOutput() ServiceUsagePlanListOutput
	ToServiceUsagePlanListOutputWithContext(context.Context) ServiceUsagePlanListOutput
}

ServiceUsagePlanListInput is an input type that accepts ServiceUsagePlanListArgs and ServiceUsagePlanListOutput values. You can construct a concrete instance of `ServiceUsagePlanListInput` via:

ServiceUsagePlanListArgs{...}

type ServiceUsagePlanListOutput

type ServiceUsagePlanListOutput struct{ *pulumi.OutputState }

func (ServiceUsagePlanListOutput) ApiId

ID of the API.

func (ServiceUsagePlanListOutput) BindType

Binding type.

func (ServiceUsagePlanListOutput) ElementType

func (ServiceUsagePlanListOutput) ElementType() reflect.Type

func (ServiceUsagePlanListOutput) ToServiceUsagePlanListOutput

func (o ServiceUsagePlanListOutput) ToServiceUsagePlanListOutput() ServiceUsagePlanListOutput

func (ServiceUsagePlanListOutput) ToServiceUsagePlanListOutputWithContext

func (o ServiceUsagePlanListOutput) ToServiceUsagePlanListOutputWithContext(ctx context.Context) ServiceUsagePlanListOutput

func (ServiceUsagePlanListOutput) UsagePlanId

ID of the usage plan.

func (ServiceUsagePlanListOutput) UsagePlanName

Name of the usage plan.

type StrategyAttachment

type StrategyAttachment struct {
	pulumi.CustomResourceState

	// The API that needs to be bound.
	BindApiId pulumi.StringOutput `pulumi:"bindApiId"`
	// The environment of the strategy association. Valid values: `test`, `release`, `prepub`.
	EnvironmentName pulumi.StringOutput `pulumi:"environmentName"`
	// The ID of the API gateway service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// The ID of the API gateway strategy.
	StrategyId pulumi.StringOutput `pulumi:"strategyId"`
}

Use this resource to create IP strategy attachment of API gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		serviceService, err := ApiGateway.NewService(ctx, "serviceService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		testIpStrategy, err := ApiGateway.NewIpStrategy(ctx, "testIpStrategy", &ApiGateway.IpStrategyArgs{
			ServiceId:    serviceService.ID(),
			StrategyName: pulumi.String("tf_test"),
			StrategyType: pulumi.String("BLACK"),
			StrategyData: pulumi.String("9.9.9.9"),
		})
		if err != nil {
			return err
		}
		api, err := ApiGateway.NewApi(ctx, "api", &ApiGateway.ApiArgs{
			ServiceId:           serviceService.ID(),
			ApiName:             pulumi.String("hello_update"),
			ApiDesc:             pulumi.String("my hello api update"),
			AuthType:            pulumi.String("SECRET"),
			Protocol:            pulumi.String("HTTP"),
			EnableCors:          pulumi.Bool(true),
			RequestConfigPath:   pulumi.String("/user/info"),
			RequestConfigMethod: pulumi.String("POST"),
			RequestParameters: apigateway.ApiRequestParameterArray{
				&apigateway.ApiRequestParameterArgs{
					Name:         pulumi.String("email"),
					Position:     pulumi.String("QUERY"),
					Type:         pulumi.String("string"),
					Desc:         pulumi.String("your email please?"),
					DefaultValue: pulumi.String("tom@qq.com"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(10),
			ServiceConfigUrl:       pulumi.String("http://www.tencent.com"),
			ServiceConfigPath:      pulumi.String("/user"),
			ServiceConfigMethod:    pulumi.String("POST"),
			ResponseType:           pulumi.String("XML"),
			ResponseSuccessExample: pulumi.String("<note>success</note>"),
			ResponseFailExample:    pulumi.String("<note>fail</note>"),
			ResponseErrorCodes: apigateway.ApiResponseErrorCodeArray{
				&apigateway.ApiResponseErrorCodeArgs{
					Code:          pulumi.Int(10),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: -10,
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		serviceServiceRelease, err := ApiGateway.NewServiceRelease(ctx, "serviceServiceRelease", &ApiGateway.ServiceReleaseArgs{
			ServiceId:       serviceService.ID(),
			EnvironmentName: pulumi.String("release"),
			ReleaseDesc:     pulumi.String("test service release"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewStrategyAttachment(ctx, "testStrategyAttachment", &ApiGateway.StrategyAttachmentArgs{
			ServiceId:       serviceServiceRelease.ServiceId,
			StrategyId:      testIpStrategy.StrategyId,
			EnvironmentName: pulumi.String("release"),
			BindApiId:       api.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

IP strategy attachment of API gateway can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/strategyAttachment:StrategyAttachment test service-pk2r6bcc#IPStrategy-4kz2ljfi#api-h3wc5r0s#release

```

func GetStrategyAttachment

func GetStrategyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StrategyAttachmentState, opts ...pulumi.ResourceOption) (*StrategyAttachment, error)

GetStrategyAttachment gets an existing StrategyAttachment 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 NewStrategyAttachment

func NewStrategyAttachment(ctx *pulumi.Context,
	name string, args *StrategyAttachmentArgs, opts ...pulumi.ResourceOption) (*StrategyAttachment, error)

NewStrategyAttachment registers a new resource with the given unique name, arguments, and options.

func (*StrategyAttachment) ElementType

func (*StrategyAttachment) ElementType() reflect.Type

func (*StrategyAttachment) ToStrategyAttachmentOutput

func (i *StrategyAttachment) ToStrategyAttachmentOutput() StrategyAttachmentOutput

func (*StrategyAttachment) ToStrategyAttachmentOutputWithContext

func (i *StrategyAttachment) ToStrategyAttachmentOutputWithContext(ctx context.Context) StrategyAttachmentOutput

type StrategyAttachmentArgs

type StrategyAttachmentArgs struct {
	// The API that needs to be bound.
	BindApiId pulumi.StringInput
	// The environment of the strategy association. Valid values: `test`, `release`, `prepub`.
	EnvironmentName pulumi.StringInput
	// The ID of the API gateway service.
	ServiceId pulumi.StringInput
	// The ID of the API gateway strategy.
	StrategyId pulumi.StringInput
}

The set of arguments for constructing a StrategyAttachment resource.

func (StrategyAttachmentArgs) ElementType

func (StrategyAttachmentArgs) ElementType() reflect.Type

type StrategyAttachmentArray

type StrategyAttachmentArray []StrategyAttachmentInput

func (StrategyAttachmentArray) ElementType

func (StrategyAttachmentArray) ElementType() reflect.Type

func (StrategyAttachmentArray) ToStrategyAttachmentArrayOutput

func (i StrategyAttachmentArray) ToStrategyAttachmentArrayOutput() StrategyAttachmentArrayOutput

func (StrategyAttachmentArray) ToStrategyAttachmentArrayOutputWithContext

func (i StrategyAttachmentArray) ToStrategyAttachmentArrayOutputWithContext(ctx context.Context) StrategyAttachmentArrayOutput

type StrategyAttachmentArrayInput

type StrategyAttachmentArrayInput interface {
	pulumi.Input

	ToStrategyAttachmentArrayOutput() StrategyAttachmentArrayOutput
	ToStrategyAttachmentArrayOutputWithContext(context.Context) StrategyAttachmentArrayOutput
}

StrategyAttachmentArrayInput is an input type that accepts StrategyAttachmentArray and StrategyAttachmentArrayOutput values. You can construct a concrete instance of `StrategyAttachmentArrayInput` via:

StrategyAttachmentArray{ StrategyAttachmentArgs{...} }

type StrategyAttachmentArrayOutput

type StrategyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentArrayOutput) ElementType

func (StrategyAttachmentArrayOutput) Index

func (StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutput

func (o StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutput() StrategyAttachmentArrayOutput

func (StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutputWithContext

func (o StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutputWithContext(ctx context.Context) StrategyAttachmentArrayOutput

type StrategyAttachmentInput

type StrategyAttachmentInput interface {
	pulumi.Input

	ToStrategyAttachmentOutput() StrategyAttachmentOutput
	ToStrategyAttachmentOutputWithContext(ctx context.Context) StrategyAttachmentOutput
}

type StrategyAttachmentMap

type StrategyAttachmentMap map[string]StrategyAttachmentInput

func (StrategyAttachmentMap) ElementType

func (StrategyAttachmentMap) ElementType() reflect.Type

func (StrategyAttachmentMap) ToStrategyAttachmentMapOutput

func (i StrategyAttachmentMap) ToStrategyAttachmentMapOutput() StrategyAttachmentMapOutput

func (StrategyAttachmentMap) ToStrategyAttachmentMapOutputWithContext

func (i StrategyAttachmentMap) ToStrategyAttachmentMapOutputWithContext(ctx context.Context) StrategyAttachmentMapOutput

type StrategyAttachmentMapInput

type StrategyAttachmentMapInput interface {
	pulumi.Input

	ToStrategyAttachmentMapOutput() StrategyAttachmentMapOutput
	ToStrategyAttachmentMapOutputWithContext(context.Context) StrategyAttachmentMapOutput
}

StrategyAttachmentMapInput is an input type that accepts StrategyAttachmentMap and StrategyAttachmentMapOutput values. You can construct a concrete instance of `StrategyAttachmentMapInput` via:

StrategyAttachmentMap{ "key": StrategyAttachmentArgs{...} }

type StrategyAttachmentMapOutput

type StrategyAttachmentMapOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentMapOutput) ElementType

func (StrategyAttachmentMapOutput) MapIndex

func (StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutput

func (o StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutput() StrategyAttachmentMapOutput

func (StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutputWithContext

func (o StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutputWithContext(ctx context.Context) StrategyAttachmentMapOutput

type StrategyAttachmentOutput

type StrategyAttachmentOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentOutput) BindApiId

The API that needs to be bound.

func (StrategyAttachmentOutput) ElementType

func (StrategyAttachmentOutput) ElementType() reflect.Type

func (StrategyAttachmentOutput) EnvironmentName

func (o StrategyAttachmentOutput) EnvironmentName() pulumi.StringOutput

The environment of the strategy association. Valid values: `test`, `release`, `prepub`.

func (StrategyAttachmentOutput) ServiceId

The ID of the API gateway service.

func (StrategyAttachmentOutput) StrategyId

The ID of the API gateway strategy.

func (StrategyAttachmentOutput) ToStrategyAttachmentOutput

func (o StrategyAttachmentOutput) ToStrategyAttachmentOutput() StrategyAttachmentOutput

func (StrategyAttachmentOutput) ToStrategyAttachmentOutputWithContext

func (o StrategyAttachmentOutput) ToStrategyAttachmentOutputWithContext(ctx context.Context) StrategyAttachmentOutput

type StrategyAttachmentState

type StrategyAttachmentState struct {
	// The API that needs to be bound.
	BindApiId pulumi.StringPtrInput
	// The environment of the strategy association. Valid values: `test`, `release`, `prepub`.
	EnvironmentName pulumi.StringPtrInput
	// The ID of the API gateway service.
	ServiceId pulumi.StringPtrInput
	// The ID of the API gateway strategy.
	StrategyId pulumi.StringPtrInput
}

func (StrategyAttachmentState) ElementType

func (StrategyAttachmentState) ElementType() reflect.Type

type UsagePlan

type UsagePlan struct {
	pulumi.CustomResourceState

	// Attach API keys list.
	AttachApiKeys pulumi.StringArrayOutput `pulumi:"attachApiKeys"`
	// Attach service and API list.
	AttachLists UsagePlanAttachListArrayOutput `pulumi:"attachLists"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is -1, which indicates no limit.
	MaxRequestNum pulumi.IntPtrOutput `pulumi:"maxRequestNum"`
	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is -1, which indicates no limit.
	MaxRequestNumPreSec pulumi.IntPtrOutput `pulumi:"maxRequestNumPreSec"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringOutput `pulumi:"modifyTime"`
	// Custom usage plan description.
	UsagePlanDesc pulumi.StringPtrOutput `pulumi:"usagePlanDesc"`
	// Custom usage plan name.
	UsagePlanName pulumi.StringOutput `pulumi:"usagePlanName"`
}

Use this resource to create API gateway usage plan.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApiGateway.NewUsagePlan(ctx, "plan", &ApiGateway.UsagePlanArgs{
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
			UsagePlanDesc:       pulumi.String("nice plan"),
			UsagePlanName:       pulumi.String("my_plan"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

API gateway usage plan can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/usagePlan:UsagePlan plan usagePlan-gyeafpab

```

func GetUsagePlan

func GetUsagePlan(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UsagePlanState, opts ...pulumi.ResourceOption) (*UsagePlan, error)

GetUsagePlan gets an existing UsagePlan 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 NewUsagePlan

func NewUsagePlan(ctx *pulumi.Context,
	name string, args *UsagePlanArgs, opts ...pulumi.ResourceOption) (*UsagePlan, error)

NewUsagePlan registers a new resource with the given unique name, arguments, and options.

func (*UsagePlan) ElementType

func (*UsagePlan) ElementType() reflect.Type

func (*UsagePlan) ToUsagePlanOutput

func (i *UsagePlan) ToUsagePlanOutput() UsagePlanOutput

func (*UsagePlan) ToUsagePlanOutputWithContext

func (i *UsagePlan) ToUsagePlanOutputWithContext(ctx context.Context) UsagePlanOutput

type UsagePlanArgs

type UsagePlanArgs struct {
	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is -1, which indicates no limit.
	MaxRequestNum pulumi.IntPtrInput
	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is -1, which indicates no limit.
	MaxRequestNumPreSec pulumi.IntPtrInput
	// Custom usage plan description.
	UsagePlanDesc pulumi.StringPtrInput
	// Custom usage plan name.
	UsagePlanName pulumi.StringInput
}

The set of arguments for constructing a UsagePlan resource.

func (UsagePlanArgs) ElementType

func (UsagePlanArgs) ElementType() reflect.Type

type UsagePlanArray

type UsagePlanArray []UsagePlanInput

func (UsagePlanArray) ElementType

func (UsagePlanArray) ElementType() reflect.Type

func (UsagePlanArray) ToUsagePlanArrayOutput

func (i UsagePlanArray) ToUsagePlanArrayOutput() UsagePlanArrayOutput

func (UsagePlanArray) ToUsagePlanArrayOutputWithContext

func (i UsagePlanArray) ToUsagePlanArrayOutputWithContext(ctx context.Context) UsagePlanArrayOutput

type UsagePlanArrayInput

type UsagePlanArrayInput interface {
	pulumi.Input

	ToUsagePlanArrayOutput() UsagePlanArrayOutput
	ToUsagePlanArrayOutputWithContext(context.Context) UsagePlanArrayOutput
}

UsagePlanArrayInput is an input type that accepts UsagePlanArray and UsagePlanArrayOutput values. You can construct a concrete instance of `UsagePlanArrayInput` via:

UsagePlanArray{ UsagePlanArgs{...} }

type UsagePlanArrayOutput

type UsagePlanArrayOutput struct{ *pulumi.OutputState }

func (UsagePlanArrayOutput) ElementType

func (UsagePlanArrayOutput) ElementType() reflect.Type

func (UsagePlanArrayOutput) Index

func (UsagePlanArrayOutput) ToUsagePlanArrayOutput

func (o UsagePlanArrayOutput) ToUsagePlanArrayOutput() UsagePlanArrayOutput

func (UsagePlanArrayOutput) ToUsagePlanArrayOutputWithContext

func (o UsagePlanArrayOutput) ToUsagePlanArrayOutputWithContext(ctx context.Context) UsagePlanArrayOutput

type UsagePlanAttachList

type UsagePlanAttachList struct {
	// The API ID, this value is empty if attach service.
	ApiId *string `pulumi:"apiId"`
	// The API name, this value is empty if attach service.
	ApiName *string `pulumi:"apiName"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime *string `pulumi:"createTime"`
	// The environment name.
	Environment *string `pulumi:"environment"`
	// The API method, this value is empty if attach service.
	Method *string `pulumi:"method"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime *string `pulumi:"modifyTime"`
	// The API path, this value is empty if attach service.
	Path *string `pulumi:"path"`
	// The service ID.
	ServiceId *string `pulumi:"serviceId"`
	// The service name.
	ServiceName *string `pulumi:"serviceName"`
}

type UsagePlanAttachListArgs

type UsagePlanAttachListArgs struct {
	// The API ID, this value is empty if attach service.
	ApiId pulumi.StringPtrInput `pulumi:"apiId"`
	// The API name, this value is empty if attach service.
	ApiName pulumi.StringPtrInput `pulumi:"apiName"`
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// The environment name.
	Environment pulumi.StringPtrInput `pulumi:"environment"`
	// The API method, this value is empty if attach service.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringPtrInput `pulumi:"modifyTime"`
	// The API path, this value is empty if attach service.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The service ID.
	ServiceId pulumi.StringPtrInput `pulumi:"serviceId"`
	// The service name.
	ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
}

func (UsagePlanAttachListArgs) ElementType

func (UsagePlanAttachListArgs) ElementType() reflect.Type

func (UsagePlanAttachListArgs) ToUsagePlanAttachListOutput

func (i UsagePlanAttachListArgs) ToUsagePlanAttachListOutput() UsagePlanAttachListOutput

func (UsagePlanAttachListArgs) ToUsagePlanAttachListOutputWithContext

func (i UsagePlanAttachListArgs) ToUsagePlanAttachListOutputWithContext(ctx context.Context) UsagePlanAttachListOutput

type UsagePlanAttachListArray

type UsagePlanAttachListArray []UsagePlanAttachListInput

func (UsagePlanAttachListArray) ElementType

func (UsagePlanAttachListArray) ElementType() reflect.Type

func (UsagePlanAttachListArray) ToUsagePlanAttachListArrayOutput

func (i UsagePlanAttachListArray) ToUsagePlanAttachListArrayOutput() UsagePlanAttachListArrayOutput

func (UsagePlanAttachListArray) ToUsagePlanAttachListArrayOutputWithContext

func (i UsagePlanAttachListArray) ToUsagePlanAttachListArrayOutputWithContext(ctx context.Context) UsagePlanAttachListArrayOutput

type UsagePlanAttachListArrayInput

type UsagePlanAttachListArrayInput interface {
	pulumi.Input

	ToUsagePlanAttachListArrayOutput() UsagePlanAttachListArrayOutput
	ToUsagePlanAttachListArrayOutputWithContext(context.Context) UsagePlanAttachListArrayOutput
}

UsagePlanAttachListArrayInput is an input type that accepts UsagePlanAttachListArray and UsagePlanAttachListArrayOutput values. You can construct a concrete instance of `UsagePlanAttachListArrayInput` via:

UsagePlanAttachListArray{ UsagePlanAttachListArgs{...} }

type UsagePlanAttachListArrayOutput

type UsagePlanAttachListArrayOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachListArrayOutput) ElementType

func (UsagePlanAttachListArrayOutput) Index

func (UsagePlanAttachListArrayOutput) ToUsagePlanAttachListArrayOutput

func (o UsagePlanAttachListArrayOutput) ToUsagePlanAttachListArrayOutput() UsagePlanAttachListArrayOutput

func (UsagePlanAttachListArrayOutput) ToUsagePlanAttachListArrayOutputWithContext

func (o UsagePlanAttachListArrayOutput) ToUsagePlanAttachListArrayOutputWithContext(ctx context.Context) UsagePlanAttachListArrayOutput

type UsagePlanAttachListInput

type UsagePlanAttachListInput interface {
	pulumi.Input

	ToUsagePlanAttachListOutput() UsagePlanAttachListOutput
	ToUsagePlanAttachListOutputWithContext(context.Context) UsagePlanAttachListOutput
}

UsagePlanAttachListInput is an input type that accepts UsagePlanAttachListArgs and UsagePlanAttachListOutput values. You can construct a concrete instance of `UsagePlanAttachListInput` via:

UsagePlanAttachListArgs{...}

type UsagePlanAttachListOutput

type UsagePlanAttachListOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachListOutput) ApiId

The API ID, this value is empty if attach service.

func (UsagePlanAttachListOutput) ApiName

The API name, this value is empty if attach service.

func (UsagePlanAttachListOutput) CreateTime

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (UsagePlanAttachListOutput) ElementType

func (UsagePlanAttachListOutput) ElementType() reflect.Type

func (UsagePlanAttachListOutput) Environment

The environment name.

func (UsagePlanAttachListOutput) Method

The API method, this value is empty if attach service.

func (UsagePlanAttachListOutput) ModifyTime

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (UsagePlanAttachListOutput) Path

The API path, this value is empty if attach service.

func (UsagePlanAttachListOutput) ServiceId

The service ID.

func (UsagePlanAttachListOutput) ServiceName

The service name.

func (UsagePlanAttachListOutput) ToUsagePlanAttachListOutput

func (o UsagePlanAttachListOutput) ToUsagePlanAttachListOutput() UsagePlanAttachListOutput

func (UsagePlanAttachListOutput) ToUsagePlanAttachListOutputWithContext

func (o UsagePlanAttachListOutput) ToUsagePlanAttachListOutputWithContext(ctx context.Context) UsagePlanAttachListOutput

type UsagePlanAttachment

type UsagePlanAttachment struct {
	pulumi.CustomResourceState

	// ID of the API. This parameter will be required when `bindType` is `API`.
	ApiId pulumi.StringPtrOutput `pulumi:"apiId"`
	// Binding type. Valid values: `API`, `SERVICE`. Default value is `SERVICE`.
	BindType pulumi.StringPtrOutput `pulumi:"bindType"`
	// The environment to be bound. Valid values: `test`, `prepub`, `release`.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// ID of the service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// ID of the usage plan.
	UsagePlanId pulumi.StringOutput `pulumi:"usagePlanId"`
}

Use this resource to attach API gateway usage plan to service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		plan, err := ApiGateway.NewUsagePlan(ctx, "plan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("my_plan"),
			UsagePlanDesc:       pulumi.String("nice plan"),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		service, err := ApiGateway.NewService(ctx, "service", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("niceservice"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("your nice service"),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		api, err := ApiGateway.NewApi(ctx, "api", &ApiGateway.ApiArgs{
			ServiceId:           service.ID(),
			ApiName:             pulumi.String("hello_update"),
			ApiDesc:             pulumi.String("my hello api update"),
			AuthType:            pulumi.String("SECRET"),
			Protocol:            pulumi.String("HTTP"),
			EnableCors:          pulumi.Bool(true),
			RequestConfigPath:   pulumi.String("/user/info"),
			RequestConfigMethod: pulumi.String("POST"),
			RequestParameters: apigateway.ApiRequestParameterArray{
				&apigateway.ApiRequestParameterArgs{
					Name:         pulumi.String("email"),
					Position:     pulumi.String("QUERY"),
					Type:         pulumi.String("string"),
					Desc:         pulumi.String("your email please?"),
					DefaultValue: pulumi.String("tom@qq.com"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(10),
			ServiceConfigUrl:       pulumi.String("http://www.tencent.com"),
			ServiceConfigPath:      pulumi.String("/user"),
			ServiceConfigMethod:    pulumi.String("POST"),
			ResponseType:           pulumi.String("XML"),
			ResponseSuccessExample: pulumi.String("<note>success</note>"),
			ResponseFailExample:    pulumi.String("<note>fail</note>"),
			ResponseErrorCodes: apigateway.ApiResponseErrorCodeArray{
				&apigateway.ApiResponseErrorCodeArgs{
					Code:          pulumi.Int(10),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: -10,
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewUsagePlanAttachment(ctx, "attachService", &ApiGateway.UsagePlanAttachmentArgs{
			UsagePlanId: plan.ID(),
			ServiceId:   service.ID(),
			Environment: pulumi.String("release"),
			BindType:    pulumi.String("API"),
			ApiId:       api.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

API gateway usage plan attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/usagePlanAttachment:UsagePlanAttachment attach_service usagePlan-pe7fbdgn#service-kuqd6xqk#release#API#api-p8gtanvy

```

func GetUsagePlanAttachment

func GetUsagePlanAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UsagePlanAttachmentState, opts ...pulumi.ResourceOption) (*UsagePlanAttachment, error)

GetUsagePlanAttachment gets an existing UsagePlanAttachment 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 NewUsagePlanAttachment

func NewUsagePlanAttachment(ctx *pulumi.Context,
	name string, args *UsagePlanAttachmentArgs, opts ...pulumi.ResourceOption) (*UsagePlanAttachment, error)

NewUsagePlanAttachment registers a new resource with the given unique name, arguments, and options.

func (*UsagePlanAttachment) ElementType

func (*UsagePlanAttachment) ElementType() reflect.Type

func (*UsagePlanAttachment) ToUsagePlanAttachmentOutput

func (i *UsagePlanAttachment) ToUsagePlanAttachmentOutput() UsagePlanAttachmentOutput

func (*UsagePlanAttachment) ToUsagePlanAttachmentOutputWithContext

func (i *UsagePlanAttachment) ToUsagePlanAttachmentOutputWithContext(ctx context.Context) UsagePlanAttachmentOutput

type UsagePlanAttachmentArgs

type UsagePlanAttachmentArgs struct {
	// ID of the API. This parameter will be required when `bindType` is `API`.
	ApiId pulumi.StringPtrInput
	// Binding type. Valid values: `API`, `SERVICE`. Default value is `SERVICE`.
	BindType pulumi.StringPtrInput
	// The environment to be bound. Valid values: `test`, `prepub`, `release`.
	Environment pulumi.StringInput
	// ID of the service.
	ServiceId pulumi.StringInput
	// ID of the usage plan.
	UsagePlanId pulumi.StringInput
}

The set of arguments for constructing a UsagePlanAttachment resource.

func (UsagePlanAttachmentArgs) ElementType

func (UsagePlanAttachmentArgs) ElementType() reflect.Type

type UsagePlanAttachmentArray

type UsagePlanAttachmentArray []UsagePlanAttachmentInput

func (UsagePlanAttachmentArray) ElementType

func (UsagePlanAttachmentArray) ElementType() reflect.Type

func (UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutput

func (i UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutput() UsagePlanAttachmentArrayOutput

func (UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutputWithContext

func (i UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutputWithContext(ctx context.Context) UsagePlanAttachmentArrayOutput

type UsagePlanAttachmentArrayInput

type UsagePlanAttachmentArrayInput interface {
	pulumi.Input

	ToUsagePlanAttachmentArrayOutput() UsagePlanAttachmentArrayOutput
	ToUsagePlanAttachmentArrayOutputWithContext(context.Context) UsagePlanAttachmentArrayOutput
}

UsagePlanAttachmentArrayInput is an input type that accepts UsagePlanAttachmentArray and UsagePlanAttachmentArrayOutput values. You can construct a concrete instance of `UsagePlanAttachmentArrayInput` via:

UsagePlanAttachmentArray{ UsagePlanAttachmentArgs{...} }

type UsagePlanAttachmentArrayOutput

type UsagePlanAttachmentArrayOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentArrayOutput) ElementType

func (UsagePlanAttachmentArrayOutput) Index

func (UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutput

func (o UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutput() UsagePlanAttachmentArrayOutput

func (UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutputWithContext

func (o UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutputWithContext(ctx context.Context) UsagePlanAttachmentArrayOutput

type UsagePlanAttachmentInput

type UsagePlanAttachmentInput interface {
	pulumi.Input

	ToUsagePlanAttachmentOutput() UsagePlanAttachmentOutput
	ToUsagePlanAttachmentOutputWithContext(ctx context.Context) UsagePlanAttachmentOutput
}

type UsagePlanAttachmentMap

type UsagePlanAttachmentMap map[string]UsagePlanAttachmentInput

func (UsagePlanAttachmentMap) ElementType

func (UsagePlanAttachmentMap) ElementType() reflect.Type

func (UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutput

func (i UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutput() UsagePlanAttachmentMapOutput

func (UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutputWithContext

func (i UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutputWithContext(ctx context.Context) UsagePlanAttachmentMapOutput

type UsagePlanAttachmentMapInput

type UsagePlanAttachmentMapInput interface {
	pulumi.Input

	ToUsagePlanAttachmentMapOutput() UsagePlanAttachmentMapOutput
	ToUsagePlanAttachmentMapOutputWithContext(context.Context) UsagePlanAttachmentMapOutput
}

UsagePlanAttachmentMapInput is an input type that accepts UsagePlanAttachmentMap and UsagePlanAttachmentMapOutput values. You can construct a concrete instance of `UsagePlanAttachmentMapInput` via:

UsagePlanAttachmentMap{ "key": UsagePlanAttachmentArgs{...} }

type UsagePlanAttachmentMapOutput

type UsagePlanAttachmentMapOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentMapOutput) ElementType

func (UsagePlanAttachmentMapOutput) MapIndex

func (UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutput

func (o UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutput() UsagePlanAttachmentMapOutput

func (UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutputWithContext

func (o UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutputWithContext(ctx context.Context) UsagePlanAttachmentMapOutput

type UsagePlanAttachmentOutput

type UsagePlanAttachmentOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentOutput) ApiId

ID of the API. This parameter will be required when `bindType` is `API`.

func (UsagePlanAttachmentOutput) BindType

Binding type. Valid values: `API`, `SERVICE`. Default value is `SERVICE`.

func (UsagePlanAttachmentOutput) ElementType

func (UsagePlanAttachmentOutput) ElementType() reflect.Type

func (UsagePlanAttachmentOutput) Environment

The environment to be bound. Valid values: `test`, `prepub`, `release`.

func (UsagePlanAttachmentOutput) ServiceId

ID of the service.

func (UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutput

func (o UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutput() UsagePlanAttachmentOutput

func (UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutputWithContext

func (o UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutputWithContext(ctx context.Context) UsagePlanAttachmentOutput

func (UsagePlanAttachmentOutput) UsagePlanId

ID of the usage plan.

type UsagePlanAttachmentState

type UsagePlanAttachmentState struct {
	// ID of the API. This parameter will be required when `bindType` is `API`.
	ApiId pulumi.StringPtrInput
	// Binding type. Valid values: `API`, `SERVICE`. Default value is `SERVICE`.
	BindType pulumi.StringPtrInput
	// The environment to be bound. Valid values: `test`, `prepub`, `release`.
	Environment pulumi.StringPtrInput
	// ID of the service.
	ServiceId pulumi.StringPtrInput
	// ID of the usage plan.
	UsagePlanId pulumi.StringPtrInput
}

func (UsagePlanAttachmentState) ElementType

func (UsagePlanAttachmentState) ElementType() reflect.Type

type UsagePlanInput

type UsagePlanInput interface {
	pulumi.Input

	ToUsagePlanOutput() UsagePlanOutput
	ToUsagePlanOutputWithContext(ctx context.Context) UsagePlanOutput
}

type UsagePlanMap

type UsagePlanMap map[string]UsagePlanInput

func (UsagePlanMap) ElementType

func (UsagePlanMap) ElementType() reflect.Type

func (UsagePlanMap) ToUsagePlanMapOutput

func (i UsagePlanMap) ToUsagePlanMapOutput() UsagePlanMapOutput

func (UsagePlanMap) ToUsagePlanMapOutputWithContext

func (i UsagePlanMap) ToUsagePlanMapOutputWithContext(ctx context.Context) UsagePlanMapOutput

type UsagePlanMapInput

type UsagePlanMapInput interface {
	pulumi.Input

	ToUsagePlanMapOutput() UsagePlanMapOutput
	ToUsagePlanMapOutputWithContext(context.Context) UsagePlanMapOutput
}

UsagePlanMapInput is an input type that accepts UsagePlanMap and UsagePlanMapOutput values. You can construct a concrete instance of `UsagePlanMapInput` via:

UsagePlanMap{ "key": UsagePlanArgs{...} }

type UsagePlanMapOutput

type UsagePlanMapOutput struct{ *pulumi.OutputState }

func (UsagePlanMapOutput) ElementType

func (UsagePlanMapOutput) ElementType() reflect.Type

func (UsagePlanMapOutput) MapIndex

func (UsagePlanMapOutput) ToUsagePlanMapOutput

func (o UsagePlanMapOutput) ToUsagePlanMapOutput() UsagePlanMapOutput

func (UsagePlanMapOutput) ToUsagePlanMapOutputWithContext

func (o UsagePlanMapOutput) ToUsagePlanMapOutputWithContext(ctx context.Context) UsagePlanMapOutput

type UsagePlanOutput

type UsagePlanOutput struct{ *pulumi.OutputState }

func (UsagePlanOutput) AttachApiKeys

func (o UsagePlanOutput) AttachApiKeys() pulumi.StringArrayOutput

Attach API keys list.

func (UsagePlanOutput) AttachLists

Attach service and API list.

func (UsagePlanOutput) CreateTime

func (o UsagePlanOutput) CreateTime() pulumi.StringOutput

Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (UsagePlanOutput) ElementType

func (UsagePlanOutput) ElementType() reflect.Type

func (UsagePlanOutput) MaxRequestNum

func (o UsagePlanOutput) MaxRequestNum() pulumi.IntPtrOutput

Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is -1, which indicates no limit.

func (UsagePlanOutput) MaxRequestNumPreSec

func (o UsagePlanOutput) MaxRequestNumPreSec() pulumi.IntPtrOutput

Limit of requests per second. Valid values: -1, [1,2000]. The default value is -1, which indicates no limit.

func (UsagePlanOutput) ModifyTime

func (o UsagePlanOutput) ModifyTime() pulumi.StringOutput

Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.

func (UsagePlanOutput) ToUsagePlanOutput

func (o UsagePlanOutput) ToUsagePlanOutput() UsagePlanOutput

func (UsagePlanOutput) ToUsagePlanOutputWithContext

func (o UsagePlanOutput) ToUsagePlanOutputWithContext(ctx context.Context) UsagePlanOutput

func (UsagePlanOutput) UsagePlanDesc

func (o UsagePlanOutput) UsagePlanDesc() pulumi.StringPtrOutput

Custom usage plan description.

func (UsagePlanOutput) UsagePlanName

func (o UsagePlanOutput) UsagePlanName() pulumi.StringOutput

Custom usage plan name.

type UsagePlanState

type UsagePlanState struct {
	// Attach API keys list.
	AttachApiKeys pulumi.StringArrayInput
	// Attach service and API list.
	AttachLists UsagePlanAttachListArrayInput
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is -1, which indicates no limit.
	MaxRequestNum pulumi.IntPtrInput
	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is -1, which indicates no limit.
	MaxRequestNumPreSec pulumi.IntPtrInput
	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifyTime pulumi.StringPtrInput
	// Custom usage plan description.
	UsagePlanDesc pulumi.StringPtrInput
	// Custom usage plan name.
	UsagePlanName pulumi.StringPtrInput
}

func (UsagePlanState) ElementType

func (UsagePlanState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL