apigateway

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Api

type Api struct {
	pulumi.CustomResourceState

	// When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.
	ApiBusinessType pulumi.StringOutput `pulumi:"apiBusinessType"`
	// Custom API description.
	ApiDesc pulumi.StringPtrOutput `pulumi:"apiDesc"`
	// Custom API name.
	ApiName pulumi.StringOutput `pulumi:"apiName"`
	// API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
	ApiType pulumi.StringPtrOutput `pulumi:"apiType"`
	// The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
	AuthRelationApiId pulumi.StringOutput `pulumi:"authRelationApiId"`
	// API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
	AuthType pulumi.StringPtrOutput `pulumi:"authType"`
	// Constant parameter.
	ConstantParameters ApiConstantParameterArrayOutput `pulumi:"constantParameters"`
	// 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"`
	// EIAM application ID.
	EiamAppId pulumi.StringPtrOutput `pulumi:"eiamAppId"`
	// EIAM application type.
	EiamAppType pulumi.StringPtrOutput `pulumi:"eiamAppType"`
	// The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
	EiamAuthType pulumi.StringPtrOutput `pulumi:"eiamAuthType"`
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrOutput `pulumi:"enableCors"`
	// Event bus ID.
	EventBusId pulumi.StringPtrOutput `pulumi:"eventBusId"`
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolOutput `pulumi:"isBase64Encoded"`
	// Charge after starting debugging. (Cloud Market Reserved Fields).
	IsDebugAfterCharge pulumi.BoolOutput `pulumi:"isDebugAfterCharge"`
	// Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
	IsDeleteResponseErrorCodes pulumi.BoolOutput `pulumi:"isDeleteResponseErrorCodes"`
	// API bound microservice list.
	MicroServices ApiMicroServiceArrayOutput `pulumi:"microServices"`
	// OAuth configuration. Effective when AuthType is OAUTH.
	OauthConfig ApiOauthConfigPtrOutput `pulumi:"oauthConfig"`
	// Owner of resources.
	Owner pulumi.StringPtrOutput `pulumi:"owner"`
	// 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.StringOutput `pulumi:"responseFailExample"`
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringOutput `pulumi:"responseSuccessExample"`
	// Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.
	ResponseType pulumi.StringOutput `pulumi:"responseType"`
	// API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigCosConfig ApiServiceConfigCosConfigPtrOutput `pulumi:"serviceConfigCosConfig"`
	// 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. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
	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"`
	// Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
	ServiceConfigScfFunctionType pulumi.StringPtrOutput `pulumi:"serviceConfigScfFunctionType"`
	// Whether to enable response integration. Effective when the backend type is SCF.
	ServiceConfigScfIsIntegratedResponse pulumi.BoolPtrOutput `pulumi:"serviceConfigScfIsIntegratedResponse"`
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrOutput `pulumi:"serviceConfigTimeout"`
	// The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
	ServiceConfigType pulumi.StringPtrOutput `pulumi:"serviceConfigType"`
	// Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigUpstreamId pulumi.StringPtrOutput `pulumi:"serviceConfigUpstreamId"`
	// The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
	ServiceConfigUrl pulumi.StringPtrOutput `pulumi:"serviceConfigUrl"`
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrOutput `pulumi:"serviceConfigVpcId"`
	// Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionName pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketCleanupFunctionName"`
	// Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionNamespace pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketCleanupFunctionNamespace"`
	// Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionQualifier pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketCleanupFunctionQualifier"`
	// Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionName pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketRegisterFunctionName"`
	// Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionNamespace pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketRegisterFunctionNamespace"`
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionQualifier pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketRegisterFunctionQualifier"`
	// Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionName pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketTransportFunctionName"`
	// Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionNamespace pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketTransportFunctionNamespace"`
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionQualifier pulumi.StringPtrOutput `pulumi:"serviceConfigWebsocketTransportFunctionQualifier"`
	// The unique ID of the service where the API is located. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// The backend service parameters of the API.
	ServiceParameters ApiServiceParameterArrayOutput `pulumi:"serviceParameters"`
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConf ApiServiceTsfHealthCheckConfPtrOutput `pulumi:"serviceTsfHealthCheckConf"`
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConf ApiServiceTsfLoadBalanceConfPtrOutput `pulumi:"serviceTsfLoadBalanceConf"`
	// Tsf serverless namespace ID. (In internal testing).
	TargetNamespaceId pulumi.StringPtrOutput `pulumi:"targetNamespaceId"`
	// Target type backend resource information. (Internal testing stage).
	TargetServices ApiTargetServiceArrayOutput `pulumi:"targetServices"`
	// Target health check configuration. (Internal testing stage).
	TargetServicesHealthCheckConf ApiTargetServicesHealthCheckConfPtrOutput `pulumi:"targetServicesHealthCheckConf"`
	// Target type load balancing configuration. (Internal testing stage).
	TargetServicesLoadBalanceConf pulumi.IntPtrOutput `pulumi:"targetServicesLoadBalanceConf"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntOutput `pulumi:"testLimit"`
	// The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
	TokenTimeout pulumi.IntPtrOutput `pulumi:"tokenTimeout"`
	// 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"`
	// User type.
	UserType pulumi.StringPtrOutput `pulumi:"userType"`
}

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 {
		example, err := ApiGateway.NewService(ctx, "example", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf-example"),
			Protocol:    pulumi.String("http&https"),
			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:           example.ID(),
			ApiName:             pulumi.String("tf-example"),
			ApiDesc:             pulumi.String("desc."),
			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(500),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: pulumi.Int(5000),
					NeedConvert:   pulumi.Bool(true),
				},
			},
			ReleaseLimit: pulumi.Int(500),
			PreLimit:     pulumi.Int(500),
			TestLimit:    pulumi.Int(500),
		})
		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 ApiApp added in v0.1.3

type ApiApp struct {
	pulumi.CustomResourceState

	// App description.
	ApiAppDesc pulumi.StringOutput `pulumi:"apiAppDesc"`
	// Api app ID.
	ApiAppId pulumi.StringOutput `pulumi:"apiAppId"`
	// Api app key.
	ApiAppKey pulumi.StringOutput `pulumi:"apiAppKey"`
	// Api app name.
	ApiAppName pulumi.StringOutput `pulumi:"apiAppName"`
	// Api app secret.
	ApiAppSecret pulumi.StringOutput `pulumi:"apiAppSecret"`
	// Api app created time.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Api app modified time.
	ModifiedTime pulumi.StringOutput `pulumi:"modifiedTime"`
	// Tag description list.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to create a APIGateway ApiApp

## Example Usage ### Create a basic apigateway apiApp

```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.NewApiApp(ctx, "example", &ApiGateway.ApiAppArgs{
			ApiAppDesc: pulumi.String("app desc."),
			ApiAppName: pulumi.String("tf_example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bind Tag

```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.NewApiApp(ctx, "example", &ApiGateway.ApiAppArgs{
			ApiAppDesc: pulumi.String("app desc."),
			ApiAppName: pulumi.String("tf_example"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

apigateway api_app can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/apiApp:ApiApp example app-poe0pyex

```

func GetApiApp added in v0.1.3

func GetApiApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiAppState, opts ...pulumi.ResourceOption) (*ApiApp, error)

GetApiApp gets an existing ApiApp 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 NewApiApp added in v0.1.3

func NewApiApp(ctx *pulumi.Context,
	name string, args *ApiAppArgs, opts ...pulumi.ResourceOption) (*ApiApp, error)

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

func (*ApiApp) ElementType added in v0.1.3

func (*ApiApp) ElementType() reflect.Type

func (*ApiApp) ToApiAppOutput added in v0.1.3

func (i *ApiApp) ToApiAppOutput() ApiAppOutput

func (*ApiApp) ToApiAppOutputWithContext added in v0.1.3

func (i *ApiApp) ToApiAppOutputWithContext(ctx context.Context) ApiAppOutput

type ApiAppArgs added in v0.1.3

type ApiAppArgs struct {
	// App description.
	ApiAppDesc pulumi.StringPtrInput
	// Api app name.
	ApiAppName pulumi.StringInput
	// Tag description list.
	Tags pulumi.MapInput
}

The set of arguments for constructing a ApiApp resource.

func (ApiAppArgs) ElementType added in v0.1.3

func (ApiAppArgs) ElementType() reflect.Type

type ApiAppArray added in v0.1.3

type ApiAppArray []ApiAppInput

func (ApiAppArray) ElementType added in v0.1.3

func (ApiAppArray) ElementType() reflect.Type

func (ApiAppArray) ToApiAppArrayOutput added in v0.1.3

func (i ApiAppArray) ToApiAppArrayOutput() ApiAppArrayOutput

func (ApiAppArray) ToApiAppArrayOutputWithContext added in v0.1.3

func (i ApiAppArray) ToApiAppArrayOutputWithContext(ctx context.Context) ApiAppArrayOutput

type ApiAppArrayInput added in v0.1.3

type ApiAppArrayInput interface {
	pulumi.Input

	ToApiAppArrayOutput() ApiAppArrayOutput
	ToApiAppArrayOutputWithContext(context.Context) ApiAppArrayOutput
}

ApiAppArrayInput is an input type that accepts ApiAppArray and ApiAppArrayOutput values. You can construct a concrete instance of `ApiAppArrayInput` via:

ApiAppArray{ ApiAppArgs{...} }

type ApiAppArrayOutput added in v0.1.3

type ApiAppArrayOutput struct{ *pulumi.OutputState }

func (ApiAppArrayOutput) ElementType added in v0.1.3

func (ApiAppArrayOutput) ElementType() reflect.Type

func (ApiAppArrayOutput) Index added in v0.1.3

func (ApiAppArrayOutput) ToApiAppArrayOutput added in v0.1.3

func (o ApiAppArrayOutput) ToApiAppArrayOutput() ApiAppArrayOutput

func (ApiAppArrayOutput) ToApiAppArrayOutputWithContext added in v0.1.3

func (o ApiAppArrayOutput) ToApiAppArrayOutputWithContext(ctx context.Context) ApiAppArrayOutput

type ApiAppAttachment added in v0.1.8

type ApiAppAttachment struct {
	pulumi.CustomResourceState

	// The unique ID of the application to be bound.
	ApiAppId pulumi.StringOutput `pulumi:"apiAppId"`
	// The unique ID of the API to be bound.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The environment to be bound.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// The unique ID of the service to be bound.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
}

Provides a resource to create a apigateway apiAppAttachment

## 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 {
		exampleApiApp, err := ApiGateway.NewApiApp(ctx, "exampleApiApp", &ApiGateway.ApiAppArgs{
			ApiAppName: pulumi.String("tf_example"),
			ApiAppDesc: pulumi.String("app desc."),
		})
		if err != nil {
			return err
		}
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example_service"),
			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
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.ID(),
			ApiName:             pulumi.String("tf_example_api"),
			ApiDesc:             pulumi.String("desc."),
			AuthType:            pulumi.String("APP"),
			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("desc."),
					DefaultValue: pulumi.String("terraform"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(15),
			ServiceConfigUrl:       pulumi.String("https://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(400),
					Msg:           pulumi.String("system error msg."),
					Desc:          pulumi.String("system error desc."),
					ConvertedCode: pulumi.Int(407),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewApiAppAttachment(ctx, "exampleApiAppAttachment", &ApiGateway.ApiAppAttachmentArgs{
			ApiAppId:    exampleApiApp.ID(),
			Environment: pulumi.String("test"),
			ServiceId:   exampleService.ID(),
			ApiId:       exampleApi.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

apigateway api_app_attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/apiAppAttachment:ApiAppAttachment example app-f2dxx0lv#test#service-h0trno8e#api-grsomg0w

```

func GetApiAppAttachment added in v0.1.8

func GetApiAppAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiAppAttachmentState, opts ...pulumi.ResourceOption) (*ApiAppAttachment, error)

GetApiAppAttachment gets an existing ApiAppAttachment 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 NewApiAppAttachment added in v0.1.8

func NewApiAppAttachment(ctx *pulumi.Context,
	name string, args *ApiAppAttachmentArgs, opts ...pulumi.ResourceOption) (*ApiAppAttachment, error)

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

func (*ApiAppAttachment) ElementType added in v0.1.8

func (*ApiAppAttachment) ElementType() reflect.Type

func (*ApiAppAttachment) ToApiAppAttachmentOutput added in v0.1.8

func (i *ApiAppAttachment) ToApiAppAttachmentOutput() ApiAppAttachmentOutput

func (*ApiAppAttachment) ToApiAppAttachmentOutputWithContext added in v0.1.8

func (i *ApiAppAttachment) ToApiAppAttachmentOutputWithContext(ctx context.Context) ApiAppAttachmentOutput

type ApiAppAttachmentArgs added in v0.1.8

type ApiAppAttachmentArgs struct {
	// The unique ID of the application to be bound.
	ApiAppId pulumi.StringInput
	// The unique ID of the API to be bound.
	ApiId pulumi.StringInput
	// The environment to be bound.
	Environment pulumi.StringInput
	// The unique ID of the service to be bound.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a ApiAppAttachment resource.

func (ApiAppAttachmentArgs) ElementType added in v0.1.8

func (ApiAppAttachmentArgs) ElementType() reflect.Type

type ApiAppAttachmentArray added in v0.1.8

type ApiAppAttachmentArray []ApiAppAttachmentInput

func (ApiAppAttachmentArray) ElementType added in v0.1.8

func (ApiAppAttachmentArray) ElementType() reflect.Type

func (ApiAppAttachmentArray) ToApiAppAttachmentArrayOutput added in v0.1.8

func (i ApiAppAttachmentArray) ToApiAppAttachmentArrayOutput() ApiAppAttachmentArrayOutput

func (ApiAppAttachmentArray) ToApiAppAttachmentArrayOutputWithContext added in v0.1.8

func (i ApiAppAttachmentArray) ToApiAppAttachmentArrayOutputWithContext(ctx context.Context) ApiAppAttachmentArrayOutput

type ApiAppAttachmentArrayInput added in v0.1.8

type ApiAppAttachmentArrayInput interface {
	pulumi.Input

	ToApiAppAttachmentArrayOutput() ApiAppAttachmentArrayOutput
	ToApiAppAttachmentArrayOutputWithContext(context.Context) ApiAppAttachmentArrayOutput
}

ApiAppAttachmentArrayInput is an input type that accepts ApiAppAttachmentArray and ApiAppAttachmentArrayOutput values. You can construct a concrete instance of `ApiAppAttachmentArrayInput` via:

ApiAppAttachmentArray{ ApiAppAttachmentArgs{...} }

type ApiAppAttachmentArrayOutput added in v0.1.8

type ApiAppAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ApiAppAttachmentArrayOutput) ElementType added in v0.1.8

func (ApiAppAttachmentArrayOutput) Index added in v0.1.8

func (ApiAppAttachmentArrayOutput) ToApiAppAttachmentArrayOutput added in v0.1.8

func (o ApiAppAttachmentArrayOutput) ToApiAppAttachmentArrayOutput() ApiAppAttachmentArrayOutput

func (ApiAppAttachmentArrayOutput) ToApiAppAttachmentArrayOutputWithContext added in v0.1.8

func (o ApiAppAttachmentArrayOutput) ToApiAppAttachmentArrayOutputWithContext(ctx context.Context) ApiAppAttachmentArrayOutput

type ApiAppAttachmentInput added in v0.1.8

type ApiAppAttachmentInput interface {
	pulumi.Input

	ToApiAppAttachmentOutput() ApiAppAttachmentOutput
	ToApiAppAttachmentOutputWithContext(ctx context.Context) ApiAppAttachmentOutput
}

type ApiAppAttachmentMap added in v0.1.8

type ApiAppAttachmentMap map[string]ApiAppAttachmentInput

func (ApiAppAttachmentMap) ElementType added in v0.1.8

func (ApiAppAttachmentMap) ElementType() reflect.Type

func (ApiAppAttachmentMap) ToApiAppAttachmentMapOutput added in v0.1.8

func (i ApiAppAttachmentMap) ToApiAppAttachmentMapOutput() ApiAppAttachmentMapOutput

func (ApiAppAttachmentMap) ToApiAppAttachmentMapOutputWithContext added in v0.1.8

func (i ApiAppAttachmentMap) ToApiAppAttachmentMapOutputWithContext(ctx context.Context) ApiAppAttachmentMapOutput

type ApiAppAttachmentMapInput added in v0.1.8

type ApiAppAttachmentMapInput interface {
	pulumi.Input

	ToApiAppAttachmentMapOutput() ApiAppAttachmentMapOutput
	ToApiAppAttachmentMapOutputWithContext(context.Context) ApiAppAttachmentMapOutput
}

ApiAppAttachmentMapInput is an input type that accepts ApiAppAttachmentMap and ApiAppAttachmentMapOutput values. You can construct a concrete instance of `ApiAppAttachmentMapInput` via:

ApiAppAttachmentMap{ "key": ApiAppAttachmentArgs{...} }

type ApiAppAttachmentMapOutput added in v0.1.8

type ApiAppAttachmentMapOutput struct{ *pulumi.OutputState }

func (ApiAppAttachmentMapOutput) ElementType added in v0.1.8

func (ApiAppAttachmentMapOutput) ElementType() reflect.Type

func (ApiAppAttachmentMapOutput) MapIndex added in v0.1.8

func (ApiAppAttachmentMapOutput) ToApiAppAttachmentMapOutput added in v0.1.8

func (o ApiAppAttachmentMapOutput) ToApiAppAttachmentMapOutput() ApiAppAttachmentMapOutput

func (ApiAppAttachmentMapOutput) ToApiAppAttachmentMapOutputWithContext added in v0.1.8

func (o ApiAppAttachmentMapOutput) ToApiAppAttachmentMapOutputWithContext(ctx context.Context) ApiAppAttachmentMapOutput

type ApiAppAttachmentOutput added in v0.1.8

type ApiAppAttachmentOutput struct{ *pulumi.OutputState }

func (ApiAppAttachmentOutput) ApiAppId added in v0.1.8

The unique ID of the application to be bound.

func (ApiAppAttachmentOutput) ApiId added in v0.1.8

The unique ID of the API to be bound.

func (ApiAppAttachmentOutput) ElementType added in v0.1.8

func (ApiAppAttachmentOutput) ElementType() reflect.Type

func (ApiAppAttachmentOutput) Environment added in v0.1.8

func (o ApiAppAttachmentOutput) Environment() pulumi.StringOutput

The environment to be bound.

func (ApiAppAttachmentOutput) ServiceId added in v0.1.8

The unique ID of the service to be bound.

func (ApiAppAttachmentOutput) ToApiAppAttachmentOutput added in v0.1.8

func (o ApiAppAttachmentOutput) ToApiAppAttachmentOutput() ApiAppAttachmentOutput

func (ApiAppAttachmentOutput) ToApiAppAttachmentOutputWithContext added in v0.1.8

func (o ApiAppAttachmentOutput) ToApiAppAttachmentOutputWithContext(ctx context.Context) ApiAppAttachmentOutput

type ApiAppAttachmentState added in v0.1.8

type ApiAppAttachmentState struct {
	// The unique ID of the application to be bound.
	ApiAppId pulumi.StringPtrInput
	// The unique ID of the API to be bound.
	ApiId pulumi.StringPtrInput
	// The environment to be bound.
	Environment pulumi.StringPtrInput
	// The unique ID of the service to be bound.
	ServiceId pulumi.StringPtrInput
}

func (ApiAppAttachmentState) ElementType added in v0.1.8

func (ApiAppAttachmentState) ElementType() reflect.Type

type ApiAppInput added in v0.1.3

type ApiAppInput interface {
	pulumi.Input

	ToApiAppOutput() ApiAppOutput
	ToApiAppOutputWithContext(ctx context.Context) ApiAppOutput
}

type ApiAppMap added in v0.1.3

type ApiAppMap map[string]ApiAppInput

func (ApiAppMap) ElementType added in v0.1.3

func (ApiAppMap) ElementType() reflect.Type

func (ApiAppMap) ToApiAppMapOutput added in v0.1.3

func (i ApiAppMap) ToApiAppMapOutput() ApiAppMapOutput

func (ApiAppMap) ToApiAppMapOutputWithContext added in v0.1.3

func (i ApiAppMap) ToApiAppMapOutputWithContext(ctx context.Context) ApiAppMapOutput

type ApiAppMapInput added in v0.1.3

type ApiAppMapInput interface {
	pulumi.Input

	ToApiAppMapOutput() ApiAppMapOutput
	ToApiAppMapOutputWithContext(context.Context) ApiAppMapOutput
}

ApiAppMapInput is an input type that accepts ApiAppMap and ApiAppMapOutput values. You can construct a concrete instance of `ApiAppMapInput` via:

ApiAppMap{ "key": ApiAppArgs{...} }

type ApiAppMapOutput added in v0.1.3

type ApiAppMapOutput struct{ *pulumi.OutputState }

func (ApiAppMapOutput) ElementType added in v0.1.3

func (ApiAppMapOutput) ElementType() reflect.Type

func (ApiAppMapOutput) MapIndex added in v0.1.3

func (ApiAppMapOutput) ToApiAppMapOutput added in v0.1.3

func (o ApiAppMapOutput) ToApiAppMapOutput() ApiAppMapOutput

func (ApiAppMapOutput) ToApiAppMapOutputWithContext added in v0.1.3

func (o ApiAppMapOutput) ToApiAppMapOutputWithContext(ctx context.Context) ApiAppMapOutput

type ApiAppOutput added in v0.1.3

type ApiAppOutput struct{ *pulumi.OutputState }

func (ApiAppOutput) ApiAppDesc added in v0.1.3

func (o ApiAppOutput) ApiAppDesc() pulumi.StringOutput

App description.

func (ApiAppOutput) ApiAppId added in v0.1.3

func (o ApiAppOutput) ApiAppId() pulumi.StringOutput

Api app ID.

func (ApiAppOutput) ApiAppKey added in v0.1.3

func (o ApiAppOutput) ApiAppKey() pulumi.StringOutput

Api app key.

func (ApiAppOutput) ApiAppName added in v0.1.3

func (o ApiAppOutput) ApiAppName() pulumi.StringOutput

Api app name.

func (ApiAppOutput) ApiAppSecret added in v0.1.3

func (o ApiAppOutput) ApiAppSecret() pulumi.StringOutput

Api app secret.

func (ApiAppOutput) CreatedTime added in v0.1.3

func (o ApiAppOutput) CreatedTime() pulumi.StringOutput

Api app created time.

func (ApiAppOutput) ElementType added in v0.1.3

func (ApiAppOutput) ElementType() reflect.Type

func (ApiAppOutput) ModifiedTime added in v0.1.3

func (o ApiAppOutput) ModifiedTime() pulumi.StringOutput

Api app modified time.

func (ApiAppOutput) Tags added in v0.1.8

func (o ApiAppOutput) Tags() pulumi.MapOutput

Tag description list.

func (ApiAppOutput) ToApiAppOutput added in v0.1.3

func (o ApiAppOutput) ToApiAppOutput() ApiAppOutput

func (ApiAppOutput) ToApiAppOutputWithContext added in v0.1.3

func (o ApiAppOutput) ToApiAppOutputWithContext(ctx context.Context) ApiAppOutput

type ApiAppState added in v0.1.3

type ApiAppState struct {
	// App description.
	ApiAppDesc pulumi.StringPtrInput
	// Api app ID.
	ApiAppId pulumi.StringPtrInput
	// Api app key.
	ApiAppKey pulumi.StringPtrInput
	// Api app name.
	ApiAppName pulumi.StringPtrInput
	// Api app secret.
	ApiAppSecret pulumi.StringPtrInput
	// Api app created time.
	CreatedTime pulumi.StringPtrInput
	// Api app modified time.
	ModifiedTime pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
}

func (ApiAppState) ElementType added in v0.1.3

func (ApiAppState) ElementType() reflect.Type

type ApiArgs

type ApiArgs struct {
	// When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.
	ApiBusinessType pulumi.StringPtrInput
	// Custom API description.
	ApiDesc pulumi.StringPtrInput
	// Custom API name.
	ApiName pulumi.StringInput
	// API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
	ApiType pulumi.StringPtrInput
	// The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
	AuthRelationApiId pulumi.StringPtrInput
	// API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
	AuthType pulumi.StringPtrInput
	// Constant parameter.
	ConstantParameters ApiConstantParameterArrayInput
	// EIAM application ID.
	EiamAppId pulumi.StringPtrInput
	// EIAM application type.
	EiamAppType pulumi.StringPtrInput
	// The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
	EiamAuthType pulumi.StringPtrInput
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrInput
	// Event bus ID.
	EventBusId pulumi.StringPtrInput
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolPtrInput
	// Charge after starting debugging. (Cloud Market Reserved Fields).
	IsDebugAfterCharge pulumi.BoolPtrInput
	// Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
	IsDeleteResponseErrorCodes pulumi.BoolPtrInput
	// API bound microservice list.
	MicroServices ApiMicroServiceArrayInput
	// OAuth configuration. Effective when AuthType is OAUTH.
	OauthConfig ApiOauthConfigPtrInput
	// Owner of resources.
	Owner pulumi.StringPtrInput
	// 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 COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigCosConfig ApiServiceConfigCosConfigPtrInput
	// 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. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
	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
	// Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
	ServiceConfigScfFunctionType pulumi.StringPtrInput
	// Whether to enable response integration. Effective when the backend type is SCF.
	ServiceConfigScfIsIntegratedResponse pulumi.BoolPtrInput
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrInput
	// The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
	ServiceConfigType pulumi.StringPtrInput
	// Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigUpstreamId pulumi.StringPtrInput
	// The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
	ServiceConfigUrl pulumi.StringPtrInput
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrInput
	// Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionName pulumi.StringPtrInput
	// Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionNamespace pulumi.StringPtrInput
	// Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionQualifier pulumi.StringPtrInput
	// Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionName pulumi.StringPtrInput
	// Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionQualifier pulumi.StringPtrInput
	// Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionName pulumi.StringPtrInput
	// Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionQualifier pulumi.StringPtrInput
	// The unique ID of the service where the API is located. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringInput
	// The backend service parameters of the API.
	ServiceParameters ApiServiceParameterArrayInput
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConf ApiServiceTsfHealthCheckConfPtrInput
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConf ApiServiceTsfLoadBalanceConfPtrInput
	// Tsf serverless namespace ID. (In internal testing).
	TargetNamespaceId pulumi.StringPtrInput
	// Target type backend resource information. (Internal testing stage).
	TargetServices ApiTargetServiceArrayInput
	// Target health check configuration. (Internal testing stage).
	TargetServicesHealthCheckConf ApiTargetServicesHealthCheckConfPtrInput
	// Target type load balancing configuration. (Internal testing stage).
	TargetServicesLoadBalanceConf pulumi.IntPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
	TokenTimeout pulumi.IntPtrInput
	// User type.
	UserType pulumi.StringPtrInput
}

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 ApiConstantParameter added in v0.1.8

type ApiConstantParameter struct {
	// Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue *string `pulumi:"defaultValue"`
	// Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Desc *string `pulumi:"desc"`
	// Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name *string `pulumi:"name"`
	// Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position *string `pulumi:"position"`
}

type ApiConstantParameterArgs added in v0.1.8

type ApiConstantParameterArgs struct {
	// Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Desc pulumi.StringPtrInput `pulumi:"desc"`
	// Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position pulumi.StringPtrInput `pulumi:"position"`
}

func (ApiConstantParameterArgs) ElementType added in v0.1.8

func (ApiConstantParameterArgs) ElementType() reflect.Type

func (ApiConstantParameterArgs) ToApiConstantParameterOutput added in v0.1.8

func (i ApiConstantParameterArgs) ToApiConstantParameterOutput() ApiConstantParameterOutput

func (ApiConstantParameterArgs) ToApiConstantParameterOutputWithContext added in v0.1.8

func (i ApiConstantParameterArgs) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput

type ApiConstantParameterArray added in v0.1.8

type ApiConstantParameterArray []ApiConstantParameterInput

func (ApiConstantParameterArray) ElementType added in v0.1.8

func (ApiConstantParameterArray) ElementType() reflect.Type

func (ApiConstantParameterArray) ToApiConstantParameterArrayOutput added in v0.1.8

func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput

func (ApiConstantParameterArray) ToApiConstantParameterArrayOutputWithContext added in v0.1.8

func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput

type ApiConstantParameterArrayInput added in v0.1.8

type ApiConstantParameterArrayInput interface {
	pulumi.Input

	ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput
	ToApiConstantParameterArrayOutputWithContext(context.Context) ApiConstantParameterArrayOutput
}

ApiConstantParameterArrayInput is an input type that accepts ApiConstantParameterArray and ApiConstantParameterArrayOutput values. You can construct a concrete instance of `ApiConstantParameterArrayInput` via:

ApiConstantParameterArray{ ApiConstantParameterArgs{...} }

type ApiConstantParameterArrayOutput added in v0.1.8

type ApiConstantParameterArrayOutput struct{ *pulumi.OutputState }

func (ApiConstantParameterArrayOutput) ElementType added in v0.1.8

func (ApiConstantParameterArrayOutput) Index added in v0.1.8

func (ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutput added in v0.1.8

func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput

func (ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutputWithContext added in v0.1.8

func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput

type ApiConstantParameterInput added in v0.1.8

type ApiConstantParameterInput interface {
	pulumi.Input

	ToApiConstantParameterOutput() ApiConstantParameterOutput
	ToApiConstantParameterOutputWithContext(context.Context) ApiConstantParameterOutput
}

ApiConstantParameterInput is an input type that accepts ApiConstantParameterArgs and ApiConstantParameterOutput values. You can construct a concrete instance of `ApiConstantParameterInput` via:

ApiConstantParameterArgs{...}

type ApiConstantParameterOutput added in v0.1.8

type ApiConstantParameterOutput struct{ *pulumi.OutputState }

func (ApiConstantParameterOutput) DefaultValue added in v0.1.8

Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiConstantParameterOutput) Desc added in v0.1.8

Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiConstantParameterOutput) ElementType added in v0.1.8

func (ApiConstantParameterOutput) ElementType() reflect.Type

func (ApiConstantParameterOutput) Name added in v0.1.8

Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiConstantParameterOutput) Position added in v0.1.8

Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiConstantParameterOutput) ToApiConstantParameterOutput added in v0.1.8

func (o ApiConstantParameterOutput) ToApiConstantParameterOutput() ApiConstantParameterOutput

func (ApiConstantParameterOutput) ToApiConstantParameterOutputWithContext added in v0.1.8

func (o ApiConstantParameterOutput) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput

type ApiDoc added in v0.1.3

type ApiDoc struct {
	pulumi.CustomResourceState

	// Api Document count.
	ApiCount pulumi.IntOutput `pulumi:"apiCount"`
	// Api Document ID.
	ApiDocId pulumi.StringOutput `pulumi:"apiDocId"`
	// Api Document name.
	ApiDocName pulumi.StringOutput `pulumi:"apiDocName"`
	// API Document Build Status.
	ApiDocStatus pulumi.StringOutput `pulumi:"apiDocStatus"`
	// API Document Access URI.
	ApiDocUri pulumi.StringOutput `pulumi:"apiDocUri"`
	// List of APIs for generating documents.
	ApiIds pulumi.StringArrayOutput `pulumi:"apiIds"`
	// List of names for generating documents.
	ApiNames pulumi.StringArrayOutput `pulumi:"apiNames"`
	// Env name.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// Number of API document releases.
	ReleaseCount pulumi.IntOutput `pulumi:"releaseCount"`
	// Service name.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// API Document service name.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// API Document Sharing Password.
	SharePassword pulumi.StringOutput `pulumi:"sharePassword"`
	// API Document update time.
	UpdatedTime pulumi.StringOutput `pulumi:"updatedTime"`
	// API Document Viewing Times.
	ViewCount pulumi.IntOutput `pulumi:"viewCount"`
}

Provides a resource to create a APIGateway ApiDoc

## 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.NewApiDoc(ctx, "myApiDoc", &ApiGateway.ApiDocArgs{
			ApiDocName: pulumi.String("doc_test1"),
			ApiIds: pulumi.StringArray{
				pulumi.String("api-test1"),
				pulumi.String("api-test2"),
			},
			Environment: pulumi.String("release"),
			ServiceId:   pulumi.String("service_test1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApiDoc added in v0.1.3

func GetApiDoc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiDocState, opts ...pulumi.ResourceOption) (*ApiDoc, error)

GetApiDoc gets an existing ApiDoc 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 NewApiDoc added in v0.1.3

func NewApiDoc(ctx *pulumi.Context,
	name string, args *ApiDocArgs, opts ...pulumi.ResourceOption) (*ApiDoc, error)

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

func (*ApiDoc) ElementType added in v0.1.3

func (*ApiDoc) ElementType() reflect.Type

func (*ApiDoc) ToApiDocOutput added in v0.1.3

func (i *ApiDoc) ToApiDocOutput() ApiDocOutput

func (*ApiDoc) ToApiDocOutputWithContext added in v0.1.3

func (i *ApiDoc) ToApiDocOutputWithContext(ctx context.Context) ApiDocOutput

type ApiDocArgs added in v0.1.3

type ApiDocArgs struct {
	// Api Document name.
	ApiDocName pulumi.StringInput
	// List of APIs for generating documents.
	ApiIds pulumi.StringArrayInput
	// Env name.
	Environment pulumi.StringInput
	// Service name.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a ApiDoc resource.

func (ApiDocArgs) ElementType added in v0.1.3

func (ApiDocArgs) ElementType() reflect.Type

type ApiDocArray added in v0.1.3

type ApiDocArray []ApiDocInput

func (ApiDocArray) ElementType added in v0.1.3

func (ApiDocArray) ElementType() reflect.Type

func (ApiDocArray) ToApiDocArrayOutput added in v0.1.3

func (i ApiDocArray) ToApiDocArrayOutput() ApiDocArrayOutput

func (ApiDocArray) ToApiDocArrayOutputWithContext added in v0.1.3

func (i ApiDocArray) ToApiDocArrayOutputWithContext(ctx context.Context) ApiDocArrayOutput

type ApiDocArrayInput added in v0.1.3

type ApiDocArrayInput interface {
	pulumi.Input

	ToApiDocArrayOutput() ApiDocArrayOutput
	ToApiDocArrayOutputWithContext(context.Context) ApiDocArrayOutput
}

ApiDocArrayInput is an input type that accepts ApiDocArray and ApiDocArrayOutput values. You can construct a concrete instance of `ApiDocArrayInput` via:

ApiDocArray{ ApiDocArgs{...} }

type ApiDocArrayOutput added in v0.1.3

type ApiDocArrayOutput struct{ *pulumi.OutputState }

func (ApiDocArrayOutput) ElementType added in v0.1.3

func (ApiDocArrayOutput) ElementType() reflect.Type

func (ApiDocArrayOutput) Index added in v0.1.3

func (ApiDocArrayOutput) ToApiDocArrayOutput added in v0.1.3

func (o ApiDocArrayOutput) ToApiDocArrayOutput() ApiDocArrayOutput

func (ApiDocArrayOutput) ToApiDocArrayOutputWithContext added in v0.1.3

func (o ApiDocArrayOutput) ToApiDocArrayOutputWithContext(ctx context.Context) ApiDocArrayOutput

type ApiDocInput added in v0.1.3

type ApiDocInput interface {
	pulumi.Input

	ToApiDocOutput() ApiDocOutput
	ToApiDocOutputWithContext(ctx context.Context) ApiDocOutput
}

type ApiDocMap added in v0.1.3

type ApiDocMap map[string]ApiDocInput

func (ApiDocMap) ElementType added in v0.1.3

func (ApiDocMap) ElementType() reflect.Type

func (ApiDocMap) ToApiDocMapOutput added in v0.1.3

func (i ApiDocMap) ToApiDocMapOutput() ApiDocMapOutput

func (ApiDocMap) ToApiDocMapOutputWithContext added in v0.1.3

func (i ApiDocMap) ToApiDocMapOutputWithContext(ctx context.Context) ApiDocMapOutput

type ApiDocMapInput added in v0.1.3

type ApiDocMapInput interface {
	pulumi.Input

	ToApiDocMapOutput() ApiDocMapOutput
	ToApiDocMapOutputWithContext(context.Context) ApiDocMapOutput
}

ApiDocMapInput is an input type that accepts ApiDocMap and ApiDocMapOutput values. You can construct a concrete instance of `ApiDocMapInput` via:

ApiDocMap{ "key": ApiDocArgs{...} }

type ApiDocMapOutput added in v0.1.3

type ApiDocMapOutput struct{ *pulumi.OutputState }

func (ApiDocMapOutput) ElementType added in v0.1.3

func (ApiDocMapOutput) ElementType() reflect.Type

func (ApiDocMapOutput) MapIndex added in v0.1.3

func (ApiDocMapOutput) ToApiDocMapOutput added in v0.1.3

func (o ApiDocMapOutput) ToApiDocMapOutput() ApiDocMapOutput

func (ApiDocMapOutput) ToApiDocMapOutputWithContext added in v0.1.3

func (o ApiDocMapOutput) ToApiDocMapOutputWithContext(ctx context.Context) ApiDocMapOutput

type ApiDocOutput added in v0.1.3

type ApiDocOutput struct{ *pulumi.OutputState }

func (ApiDocOutput) ApiCount added in v0.1.3

func (o ApiDocOutput) ApiCount() pulumi.IntOutput

Api Document count.

func (ApiDocOutput) ApiDocId added in v0.1.3

func (o ApiDocOutput) ApiDocId() pulumi.StringOutput

Api Document ID.

func (ApiDocOutput) ApiDocName added in v0.1.3

func (o ApiDocOutput) ApiDocName() pulumi.StringOutput

Api Document name.

func (ApiDocOutput) ApiDocStatus added in v0.1.3

func (o ApiDocOutput) ApiDocStatus() pulumi.StringOutput

API Document Build Status.

func (ApiDocOutput) ApiDocUri added in v0.1.3

func (o ApiDocOutput) ApiDocUri() pulumi.StringOutput

API Document Access URI.

func (ApiDocOutput) ApiIds added in v0.1.3

List of APIs for generating documents.

func (ApiDocOutput) ApiNames added in v0.1.3

func (o ApiDocOutput) ApiNames() pulumi.StringArrayOutput

List of names for generating documents.

func (ApiDocOutput) ElementType added in v0.1.3

func (ApiDocOutput) ElementType() reflect.Type

func (ApiDocOutput) Environment added in v0.1.3

func (o ApiDocOutput) Environment() pulumi.StringOutput

Env name.

func (ApiDocOutput) ReleaseCount added in v0.1.3

func (o ApiDocOutput) ReleaseCount() pulumi.IntOutput

Number of API document releases.

func (ApiDocOutput) ServiceId added in v0.1.3

func (o ApiDocOutput) ServiceId() pulumi.StringOutput

Service name.

func (ApiDocOutput) ServiceName added in v0.1.3

func (o ApiDocOutput) ServiceName() pulumi.StringOutput

API Document service name.

func (ApiDocOutput) SharePassword added in v0.1.3

func (o ApiDocOutput) SharePassword() pulumi.StringOutput

API Document Sharing Password.

func (ApiDocOutput) ToApiDocOutput added in v0.1.3

func (o ApiDocOutput) ToApiDocOutput() ApiDocOutput

func (ApiDocOutput) ToApiDocOutputWithContext added in v0.1.3

func (o ApiDocOutput) ToApiDocOutputWithContext(ctx context.Context) ApiDocOutput

func (ApiDocOutput) UpdatedTime added in v0.1.3

func (o ApiDocOutput) UpdatedTime() pulumi.StringOutput

API Document update time.

func (ApiDocOutput) ViewCount added in v0.1.3

func (o ApiDocOutput) ViewCount() pulumi.IntOutput

API Document Viewing Times.

type ApiDocState added in v0.1.3

type ApiDocState struct {
	// Api Document count.
	ApiCount pulumi.IntPtrInput
	// Api Document ID.
	ApiDocId pulumi.StringPtrInput
	// Api Document name.
	ApiDocName pulumi.StringPtrInput
	// API Document Build Status.
	ApiDocStatus pulumi.StringPtrInput
	// API Document Access URI.
	ApiDocUri pulumi.StringPtrInput
	// List of APIs for generating documents.
	ApiIds pulumi.StringArrayInput
	// List of names for generating documents.
	ApiNames pulumi.StringArrayInput
	// Env name.
	Environment pulumi.StringPtrInput
	// Number of API document releases.
	ReleaseCount pulumi.IntPtrInput
	// Service name.
	ServiceId pulumi.StringPtrInput
	// API Document service name.
	ServiceName pulumi.StringPtrInput
	// API Document Sharing Password.
	SharePassword pulumi.StringPtrInput
	// API Document update time.
	UpdatedTime pulumi.StringPtrInput
	// API Document Viewing Times.
	ViewCount pulumi.IntPtrInput
}

func (ApiDocState) ElementType added in v0.1.3

func (ApiDocState) ElementType() reflect.Type

type ApiInput

type ApiInput interface {
	pulumi.Input

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

type ApiKey

type ApiKey struct {
	pulumi.CustomResourceState

	// User defined key ID, required when accessKeyType is manual. The length is 5-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"`
	// The user-defined key must be passed when the accessKeyType is manual. The length is 10-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeySecret pulumi.StringOutput `pulumi:"accessKeySecret"`
	// Key type, supports both auto and manual (custom keys), defaults to auto.
	AccessKeyType pulumi.StringPtrOutput `pulumi:"accessKeyType"`
	// 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 ### Automatically generate key for API gateway access key.

```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, "exampleAuto", &ApiGateway.ApiKeyArgs{
			SecretName: pulumi.String("tf_example_auto"),
			Status:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Manually generate a secret key for API gateway access key.

```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, "exampleManual", &ApiGateway.ApiKeyArgs{
			AccessKeyId:     pulumi.String("28e287e340507fa147b2c8284dab542f"),
			AccessKeySecret: pulumi.String("0198a4b8c3105080f4acd9e507599eff"),
			AccessKeyType:   pulumi.String("manual"),
			SecretName:      pulumi.String("tf_example_manual"),
			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 {
	// User defined key ID, required when accessKeyType is manual. The length is 5-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeyId pulumi.StringPtrInput
	// The user-defined key must be passed when the accessKeyType is manual. The length is 10-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeySecret pulumi.StringPtrInput
	// Key type, supports both auto and manual (custom keys), defaults to auto.
	AccessKeyType pulumi.StringPtrInput
	// 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) AccessKeyId added in v0.1.8

func (o ApiKeyOutput) AccessKeyId() pulumi.StringOutput

User defined key ID, required when accessKeyType is manual. The length is 5-50 characters, consisting of letters, numbers, and English underscores.

func (ApiKeyOutput) AccessKeySecret

func (o ApiKeyOutput) AccessKeySecret() pulumi.StringOutput

The user-defined key must be passed when the accessKeyType is manual. The length is 10-50 characters, consisting of letters, numbers, and English underscores.

func (ApiKeyOutput) AccessKeyType added in v0.1.8

func (o ApiKeyOutput) AccessKeyType() pulumi.StringPtrOutput

Key type, supports both auto and manual (custom keys), defaults to auto.

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 {
	// User defined key ID, required when accessKeyType is manual. The length is 5-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeyId pulumi.StringPtrInput
	// The user-defined key must be passed when the accessKeyType is manual. The length is 10-50 characters, consisting of letters, numbers, and English underscores.
	AccessKeySecret pulumi.StringPtrInput
	// Key type, supports both auto and manual (custom keys), defaults to auto.
	AccessKeyType 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 ApiMicroService added in v0.1.8

type ApiMicroService struct {
	// Micro service cluster.
	ClusterId string `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName string `pulumi:"microServiceName"`
	// Microservice namespace.
	NamespaceId string `pulumi:"namespaceId"`
}

type ApiMicroServiceArgs added in v0.1.8

type ApiMicroServiceArgs struct {
	// Micro service cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName pulumi.StringInput `pulumi:"microServiceName"`
	// Microservice namespace.
	NamespaceId pulumi.StringInput `pulumi:"namespaceId"`
}

func (ApiMicroServiceArgs) ElementType added in v0.1.8

func (ApiMicroServiceArgs) ElementType() reflect.Type

func (ApiMicroServiceArgs) ToApiMicroServiceOutput added in v0.1.8

func (i ApiMicroServiceArgs) ToApiMicroServiceOutput() ApiMicroServiceOutput

func (ApiMicroServiceArgs) ToApiMicroServiceOutputWithContext added in v0.1.8

func (i ApiMicroServiceArgs) ToApiMicroServiceOutputWithContext(ctx context.Context) ApiMicroServiceOutput

type ApiMicroServiceArray added in v0.1.8

type ApiMicroServiceArray []ApiMicroServiceInput

func (ApiMicroServiceArray) ElementType added in v0.1.8

func (ApiMicroServiceArray) ElementType() reflect.Type

func (ApiMicroServiceArray) ToApiMicroServiceArrayOutput added in v0.1.8

func (i ApiMicroServiceArray) ToApiMicroServiceArrayOutput() ApiMicroServiceArrayOutput

func (ApiMicroServiceArray) ToApiMicroServiceArrayOutputWithContext added in v0.1.8

func (i ApiMicroServiceArray) ToApiMicroServiceArrayOutputWithContext(ctx context.Context) ApiMicroServiceArrayOutput

type ApiMicroServiceArrayInput added in v0.1.8

type ApiMicroServiceArrayInput interface {
	pulumi.Input

	ToApiMicroServiceArrayOutput() ApiMicroServiceArrayOutput
	ToApiMicroServiceArrayOutputWithContext(context.Context) ApiMicroServiceArrayOutput
}

ApiMicroServiceArrayInput is an input type that accepts ApiMicroServiceArray and ApiMicroServiceArrayOutput values. You can construct a concrete instance of `ApiMicroServiceArrayInput` via:

ApiMicroServiceArray{ ApiMicroServiceArgs{...} }

type ApiMicroServiceArrayOutput added in v0.1.8

type ApiMicroServiceArrayOutput struct{ *pulumi.OutputState }

func (ApiMicroServiceArrayOutput) ElementType added in v0.1.8

func (ApiMicroServiceArrayOutput) ElementType() reflect.Type

func (ApiMicroServiceArrayOutput) Index added in v0.1.8

func (ApiMicroServiceArrayOutput) ToApiMicroServiceArrayOutput added in v0.1.8

func (o ApiMicroServiceArrayOutput) ToApiMicroServiceArrayOutput() ApiMicroServiceArrayOutput

func (ApiMicroServiceArrayOutput) ToApiMicroServiceArrayOutputWithContext added in v0.1.8

func (o ApiMicroServiceArrayOutput) ToApiMicroServiceArrayOutputWithContext(ctx context.Context) ApiMicroServiceArrayOutput

type ApiMicroServiceInput added in v0.1.8

type ApiMicroServiceInput interface {
	pulumi.Input

	ToApiMicroServiceOutput() ApiMicroServiceOutput
	ToApiMicroServiceOutputWithContext(context.Context) ApiMicroServiceOutput
}

ApiMicroServiceInput is an input type that accepts ApiMicroServiceArgs and ApiMicroServiceOutput values. You can construct a concrete instance of `ApiMicroServiceInput` via:

ApiMicroServiceArgs{...}

type ApiMicroServiceOutput added in v0.1.8

type ApiMicroServiceOutput struct{ *pulumi.OutputState }

func (ApiMicroServiceOutput) ClusterId added in v0.1.8

Micro service cluster.

func (ApiMicroServiceOutput) ElementType added in v0.1.8

func (ApiMicroServiceOutput) ElementType() reflect.Type

func (ApiMicroServiceOutput) MicroServiceName added in v0.1.8

func (o ApiMicroServiceOutput) MicroServiceName() pulumi.StringOutput

Microservice name.

func (ApiMicroServiceOutput) NamespaceId added in v0.1.8

func (o ApiMicroServiceOutput) NamespaceId() pulumi.StringOutput

Microservice namespace.

func (ApiMicroServiceOutput) ToApiMicroServiceOutput added in v0.1.8

func (o ApiMicroServiceOutput) ToApiMicroServiceOutput() ApiMicroServiceOutput

func (ApiMicroServiceOutput) ToApiMicroServiceOutputWithContext added in v0.1.8

func (o ApiMicroServiceOutput) ToApiMicroServiceOutputWithContext(ctx context.Context) ApiMicroServiceOutput

type ApiOauthConfig added in v0.1.8

type ApiOauthConfig struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl *string `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey string `pulumi:"publicKey"`
	// Token passes the position.
	TokenLocation string `pulumi:"tokenLocation"`
}

type ApiOauthConfigArgs added in v0.1.8

type ApiOauthConfigArgs struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl pulumi.StringPtrInput `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
	// Token passes the position.
	TokenLocation pulumi.StringInput `pulumi:"tokenLocation"`
}

func (ApiOauthConfigArgs) ElementType added in v0.1.8

func (ApiOauthConfigArgs) ElementType() reflect.Type

func (ApiOauthConfigArgs) ToApiOauthConfigOutput added in v0.1.8

func (i ApiOauthConfigArgs) ToApiOauthConfigOutput() ApiOauthConfigOutput

func (ApiOauthConfigArgs) ToApiOauthConfigOutputWithContext added in v0.1.8

func (i ApiOauthConfigArgs) ToApiOauthConfigOutputWithContext(ctx context.Context) ApiOauthConfigOutput

func (ApiOauthConfigArgs) ToApiOauthConfigPtrOutput added in v0.1.8

func (i ApiOauthConfigArgs) ToApiOauthConfigPtrOutput() ApiOauthConfigPtrOutput

func (ApiOauthConfigArgs) ToApiOauthConfigPtrOutputWithContext added in v0.1.8

func (i ApiOauthConfigArgs) ToApiOauthConfigPtrOutputWithContext(ctx context.Context) ApiOauthConfigPtrOutput

type ApiOauthConfigInput added in v0.1.8

type ApiOauthConfigInput interface {
	pulumi.Input

	ToApiOauthConfigOutput() ApiOauthConfigOutput
	ToApiOauthConfigOutputWithContext(context.Context) ApiOauthConfigOutput
}

ApiOauthConfigInput is an input type that accepts ApiOauthConfigArgs and ApiOauthConfigOutput values. You can construct a concrete instance of `ApiOauthConfigInput` via:

ApiOauthConfigArgs{...}

type ApiOauthConfigOutput added in v0.1.8

type ApiOauthConfigOutput struct{ *pulumi.OutputState }

func (ApiOauthConfigOutput) ElementType added in v0.1.8

func (ApiOauthConfigOutput) ElementType() reflect.Type

func (ApiOauthConfigOutput) LoginRedirectUrl added in v0.1.8

func (o ApiOauthConfigOutput) LoginRedirectUrl() pulumi.StringPtrOutput

Redirect address, used to guide users in login operations.

func (ApiOauthConfigOutput) PublicKey added in v0.1.8

Public key, used to verify user tokens.

func (ApiOauthConfigOutput) ToApiOauthConfigOutput added in v0.1.8

func (o ApiOauthConfigOutput) ToApiOauthConfigOutput() ApiOauthConfigOutput

func (ApiOauthConfigOutput) ToApiOauthConfigOutputWithContext added in v0.1.8

func (o ApiOauthConfigOutput) ToApiOauthConfigOutputWithContext(ctx context.Context) ApiOauthConfigOutput

func (ApiOauthConfigOutput) ToApiOauthConfigPtrOutput added in v0.1.8

func (o ApiOauthConfigOutput) ToApiOauthConfigPtrOutput() ApiOauthConfigPtrOutput

func (ApiOauthConfigOutput) ToApiOauthConfigPtrOutputWithContext added in v0.1.8

func (o ApiOauthConfigOutput) ToApiOauthConfigPtrOutputWithContext(ctx context.Context) ApiOauthConfigPtrOutput

func (ApiOauthConfigOutput) TokenLocation added in v0.1.8

func (o ApiOauthConfigOutput) TokenLocation() pulumi.StringOutput

Token passes the position.

type ApiOauthConfigPtrInput added in v0.1.8

type ApiOauthConfigPtrInput interface {
	pulumi.Input

	ToApiOauthConfigPtrOutput() ApiOauthConfigPtrOutput
	ToApiOauthConfigPtrOutputWithContext(context.Context) ApiOauthConfigPtrOutput
}

ApiOauthConfigPtrInput is an input type that accepts ApiOauthConfigArgs, ApiOauthConfigPtr and ApiOauthConfigPtrOutput values. You can construct a concrete instance of `ApiOauthConfigPtrInput` via:

        ApiOauthConfigArgs{...}

or:

        nil

func ApiOauthConfigPtr added in v0.1.8

func ApiOauthConfigPtr(v *ApiOauthConfigArgs) ApiOauthConfigPtrInput

type ApiOauthConfigPtrOutput added in v0.1.8

type ApiOauthConfigPtrOutput struct{ *pulumi.OutputState }

func (ApiOauthConfigPtrOutput) Elem added in v0.1.8

func (ApiOauthConfigPtrOutput) ElementType added in v0.1.8

func (ApiOauthConfigPtrOutput) ElementType() reflect.Type

func (ApiOauthConfigPtrOutput) LoginRedirectUrl added in v0.1.8

func (o ApiOauthConfigPtrOutput) LoginRedirectUrl() pulumi.StringPtrOutput

Redirect address, used to guide users in login operations.

func (ApiOauthConfigPtrOutput) PublicKey added in v0.1.8

Public key, used to verify user tokens.

func (ApiOauthConfigPtrOutput) ToApiOauthConfigPtrOutput added in v0.1.8

func (o ApiOauthConfigPtrOutput) ToApiOauthConfigPtrOutput() ApiOauthConfigPtrOutput

func (ApiOauthConfigPtrOutput) ToApiOauthConfigPtrOutputWithContext added in v0.1.8

func (o ApiOauthConfigPtrOutput) ToApiOauthConfigPtrOutputWithContext(ctx context.Context) ApiOauthConfigPtrOutput

func (ApiOauthConfigPtrOutput) TokenLocation added in v0.1.8

Token passes the position.

type ApiOutput

type ApiOutput struct{ *pulumi.OutputState }

func (ApiOutput) ApiBusinessType added in v0.1.8

func (o ApiOutput) ApiBusinessType() pulumi.StringOutput

When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.

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) ApiType added in v0.1.8

func (o ApiOutput) ApiType() pulumi.StringPtrOutput

API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.

func (ApiOutput) AuthRelationApiId added in v0.1.8

func (o ApiOutput) AuthRelationApiId() pulumi.StringOutput

The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.

func (ApiOutput) AuthType

func (o ApiOutput) AuthType() pulumi.StringPtrOutput

API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.

func (ApiOutput) ConstantParameters added in v0.1.8

func (o ApiOutput) ConstantParameters() ApiConstantParameterArrayOutput

Constant parameter.

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) EiamAppId added in v0.1.8

func (o ApiOutput) EiamAppId() pulumi.StringPtrOutput

EIAM application ID.

func (ApiOutput) EiamAppType added in v0.1.8

func (o ApiOutput) EiamAppType() pulumi.StringPtrOutput

EIAM application type.

func (ApiOutput) EiamAuthType added in v0.1.8

func (o ApiOutput) EiamAuthType() pulumi.StringPtrOutput

The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.

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) EventBusId added in v0.1.8

func (o ApiOutput) EventBusId() pulumi.StringPtrOutput

Event bus ID.

func (ApiOutput) IsBase64Encoded added in v0.1.8

func (o ApiOutput) IsBase64Encoded() pulumi.BoolOutput

Whether to enable Base64 encoding will only take effect when the backend is scf.

func (ApiOutput) IsDebugAfterCharge added in v0.1.8

func (o ApiOutput) IsDebugAfterCharge() pulumi.BoolOutput

Charge after starting debugging. (Cloud Market Reserved Fields).

func (ApiOutput) IsDeleteResponseErrorCodes added in v0.1.8

func (o ApiOutput) IsDeleteResponseErrorCodes() pulumi.BoolOutput

Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.

func (ApiOutput) MicroServices added in v0.1.8

func (o ApiOutput) MicroServices() ApiMicroServiceArrayOutput

API bound microservice list.

func (ApiOutput) OauthConfig added in v0.1.8

func (o ApiOutput) OauthConfig() ApiOauthConfigPtrOutput

OAuth configuration. Effective when AuthType is OAUTH.

func (ApiOutput) Owner added in v0.1.8

func (o ApiOutput) Owner() pulumi.StringPtrOutput

Owner of resources.

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.StringOutput

Response failure sample of custom response configuration.

func (ApiOutput) ResponseSuccessExample

func (o ApiOutput) ResponseSuccessExample() pulumi.StringOutput

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) ServiceConfigCosConfig added in v0.1.8

func (o ApiOutput) ServiceConfigCosConfig() ApiServiceConfigCosConfigPtrOutput

API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.

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. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.

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) ServiceConfigScfFunctionType added in v0.1.8

func (o ApiOutput) ServiceConfigScfFunctionType() pulumi.StringPtrOutput

Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).

func (ApiOutput) ServiceConfigScfIsIntegratedResponse added in v0.1.8

func (o ApiOutput) ServiceConfigScfIsIntegratedResponse() pulumi.BoolPtrOutput

Whether to enable response integration. Effective when the backend type 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

The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).

func (ApiOutput) ServiceConfigUpstreamId added in v0.1.8

func (o ApiOutput) ServiceConfigUpstreamId() pulumi.StringPtrOutput

Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.

func (ApiOutput) ServiceConfigUrl

func (o ApiOutput) ServiceConfigUrl() pulumi.StringPtrOutput

The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.

func (ApiOutput) ServiceConfigVpcId

func (o ApiOutput) ServiceConfigVpcId() pulumi.StringPtrOutput

Unique VPC ID.

func (ApiOutput) ServiceConfigWebsocketCleanupFunctionName added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketCleanupFunctionName() pulumi.StringPtrOutput

Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketCleanupFunctionNamespace added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketCleanupFunctionNamespace() pulumi.StringPtrOutput

Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketCleanupFunctionQualifier added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketCleanupFunctionQualifier() pulumi.StringPtrOutput

Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketRegisterFunctionName added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketRegisterFunctionName() pulumi.StringPtrOutput

Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketRegisterFunctionNamespace added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketRegisterFunctionNamespace() pulumi.StringPtrOutput

Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketRegisterFunctionQualifier added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketRegisterFunctionQualifier() pulumi.StringPtrOutput

Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketTransportFunctionName added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketTransportFunctionName() pulumi.StringPtrOutput

Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketTransportFunctionNamespace added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketTransportFunctionNamespace() pulumi.StringPtrOutput

Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceConfigWebsocketTransportFunctionQualifier added in v0.1.8

func (o ApiOutput) ServiceConfigWebsocketTransportFunctionQualifier() pulumi.StringPtrOutput

Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ApiOutput) ServiceId

func (o ApiOutput) ServiceId() pulumi.StringOutput

The unique ID of the service where the API is located. Refer to resource `ApiGateway.Service`.

func (ApiOutput) ServiceParameters added in v0.1.8

func (o ApiOutput) ServiceParameters() ApiServiceParameterArrayOutput

The backend service parameters of the API.

func (ApiOutput) ServiceTsfHealthCheckConf added in v0.1.8

func (o ApiOutput) ServiceTsfHealthCheckConf() ApiServiceTsfHealthCheckConfPtrOutput

Health check configuration for microservices.

func (ApiOutput) ServiceTsfLoadBalanceConf added in v0.1.8

func (o ApiOutput) ServiceTsfLoadBalanceConf() ApiServiceTsfLoadBalanceConfPtrOutput

Load balancing configuration for microservices.

func (ApiOutput) TargetNamespaceId added in v0.1.8

func (o ApiOutput) TargetNamespaceId() pulumi.StringPtrOutput

Tsf serverless namespace ID. (In internal testing).

func (ApiOutput) TargetServices added in v0.1.8

func (o ApiOutput) TargetServices() ApiTargetServiceArrayOutput

Target type backend resource information. (Internal testing stage).

func (ApiOutput) TargetServicesHealthCheckConf added in v0.1.8

func (o ApiOutput) TargetServicesHealthCheckConf() ApiTargetServicesHealthCheckConfPtrOutput

Target health check configuration. (Internal testing stage).

func (ApiOutput) TargetServicesLoadBalanceConf added in v0.1.8

func (o ApiOutput) TargetServicesLoadBalanceConf() pulumi.IntPtrOutput

Target type load balancing configuration. (Internal testing stage).

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) TokenTimeout added in v0.1.8

func (o ApiOutput) TokenTimeout() pulumi.IntPtrOutput

The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.

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.

func (ApiOutput) UserType added in v0.1.8

func (o ApiOutput) UserType() pulumi.StringPtrOutput

User type.

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 ApiServiceConfigCosConfig added in v0.1.8

type ApiServiceConfigCosConfig struct {
	// The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
	Action string `pulumi:"action"`
	// The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
	Authorization *bool `pulumi:"authorization"`
	// The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
	BucketName string `pulumi:"bucketName"`
	// Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
	PathMatchMode *string `pulumi:"pathMatchMode"`
}

type ApiServiceConfigCosConfigArgs added in v0.1.8

type ApiServiceConfigCosConfigArgs struct {
	// The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
	Action pulumi.StringInput `pulumi:"action"`
	// The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
	Authorization pulumi.BoolPtrInput `pulumi:"authorization"`
	// The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
	PathMatchMode pulumi.StringPtrInput `pulumi:"pathMatchMode"`
}

func (ApiServiceConfigCosConfigArgs) ElementType added in v0.1.8

func (ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigOutput added in v0.1.8

func (i ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigOutput() ApiServiceConfigCosConfigOutput

func (ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigOutputWithContext added in v0.1.8

func (i ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigOutputWithContext(ctx context.Context) ApiServiceConfigCosConfigOutput

func (ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigPtrOutput added in v0.1.8

func (i ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigPtrOutput() ApiServiceConfigCosConfigPtrOutput

func (ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigPtrOutputWithContext added in v0.1.8

func (i ApiServiceConfigCosConfigArgs) ToApiServiceConfigCosConfigPtrOutputWithContext(ctx context.Context) ApiServiceConfigCosConfigPtrOutput

type ApiServiceConfigCosConfigInput added in v0.1.8

type ApiServiceConfigCosConfigInput interface {
	pulumi.Input

	ToApiServiceConfigCosConfigOutput() ApiServiceConfigCosConfigOutput
	ToApiServiceConfigCosConfigOutputWithContext(context.Context) ApiServiceConfigCosConfigOutput
}

ApiServiceConfigCosConfigInput is an input type that accepts ApiServiceConfigCosConfigArgs and ApiServiceConfigCosConfigOutput values. You can construct a concrete instance of `ApiServiceConfigCosConfigInput` via:

ApiServiceConfigCosConfigArgs{...}

type ApiServiceConfigCosConfigOutput added in v0.1.8

type ApiServiceConfigCosConfigOutput struct{ *pulumi.OutputState }

func (ApiServiceConfigCosConfigOutput) Action added in v0.1.8

The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigOutput) Authorization added in v0.1.8

The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigOutput) BucketName added in v0.1.8

The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigOutput) ElementType added in v0.1.8

func (ApiServiceConfigCosConfigOutput) PathMatchMode added in v0.1.8

Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigOutput added in v0.1.8

func (o ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigOutput() ApiServiceConfigCosConfigOutput

func (ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigOutputWithContext added in v0.1.8

func (o ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigOutputWithContext(ctx context.Context) ApiServiceConfigCosConfigOutput

func (ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigPtrOutput added in v0.1.8

func (o ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigPtrOutput() ApiServiceConfigCosConfigPtrOutput

func (ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigPtrOutputWithContext added in v0.1.8

func (o ApiServiceConfigCosConfigOutput) ToApiServiceConfigCosConfigPtrOutputWithContext(ctx context.Context) ApiServiceConfigCosConfigPtrOutput

type ApiServiceConfigCosConfigPtrInput added in v0.1.8

type ApiServiceConfigCosConfigPtrInput interface {
	pulumi.Input

	ToApiServiceConfigCosConfigPtrOutput() ApiServiceConfigCosConfigPtrOutput
	ToApiServiceConfigCosConfigPtrOutputWithContext(context.Context) ApiServiceConfigCosConfigPtrOutput
}

ApiServiceConfigCosConfigPtrInput is an input type that accepts ApiServiceConfigCosConfigArgs, ApiServiceConfigCosConfigPtr and ApiServiceConfigCosConfigPtrOutput values. You can construct a concrete instance of `ApiServiceConfigCosConfigPtrInput` via:

        ApiServiceConfigCosConfigArgs{...}

or:

        nil

func ApiServiceConfigCosConfigPtr added in v0.1.8

type ApiServiceConfigCosConfigPtrOutput added in v0.1.8

type ApiServiceConfigCosConfigPtrOutput struct{ *pulumi.OutputState }

func (ApiServiceConfigCosConfigPtrOutput) Action added in v0.1.8

The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigPtrOutput) Authorization added in v0.1.8

The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigPtrOutput) BucketName added in v0.1.8

The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigPtrOutput) Elem added in v0.1.8

func (ApiServiceConfigCosConfigPtrOutput) ElementType added in v0.1.8

func (ApiServiceConfigCosConfigPtrOutput) PathMatchMode added in v0.1.8

Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceConfigCosConfigPtrOutput) ToApiServiceConfigCosConfigPtrOutput added in v0.1.8

func (o ApiServiceConfigCosConfigPtrOutput) ToApiServiceConfigCosConfigPtrOutput() ApiServiceConfigCosConfigPtrOutput

func (ApiServiceConfigCosConfigPtrOutput) ToApiServiceConfigCosConfigPtrOutputWithContext added in v0.1.8

func (o ApiServiceConfigCosConfigPtrOutput) ToApiServiceConfigCosConfigPtrOutputWithContext(ctx context.Context) ApiServiceConfigCosConfigPtrOutput

type ApiServiceParameter added in v0.1.8

type ApiServiceParameter struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue *string `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name *string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position *string `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterDesc *string `pulumi:"relevantRequestParameterDesc"`
	// The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterName *string `pulumi:"relevantRequestParameterName"`
	// The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterPosition *string `pulumi:"relevantRequestParameterPosition"`
	// The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterType *string `pulumi:"relevantRequestParameterType"`
}

type ApiServiceParameterArgs added in v0.1.8

type ApiServiceParameterArgs struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position pulumi.StringPtrInput `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterDesc pulumi.StringPtrInput `pulumi:"relevantRequestParameterDesc"`
	// The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterName pulumi.StringPtrInput `pulumi:"relevantRequestParameterName"`
	// The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterPosition pulumi.StringPtrInput `pulumi:"relevantRequestParameterPosition"`
	// The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterType pulumi.StringPtrInput `pulumi:"relevantRequestParameterType"`
}

func (ApiServiceParameterArgs) ElementType added in v0.1.8

func (ApiServiceParameterArgs) ElementType() reflect.Type

func (ApiServiceParameterArgs) ToApiServiceParameterOutput added in v0.1.8

func (i ApiServiceParameterArgs) ToApiServiceParameterOutput() ApiServiceParameterOutput

func (ApiServiceParameterArgs) ToApiServiceParameterOutputWithContext added in v0.1.8

func (i ApiServiceParameterArgs) ToApiServiceParameterOutputWithContext(ctx context.Context) ApiServiceParameterOutput

type ApiServiceParameterArray added in v0.1.8

type ApiServiceParameterArray []ApiServiceParameterInput

func (ApiServiceParameterArray) ElementType added in v0.1.8

func (ApiServiceParameterArray) ElementType() reflect.Type

func (ApiServiceParameterArray) ToApiServiceParameterArrayOutput added in v0.1.8

func (i ApiServiceParameterArray) ToApiServiceParameterArrayOutput() ApiServiceParameterArrayOutput

func (ApiServiceParameterArray) ToApiServiceParameterArrayOutputWithContext added in v0.1.8

func (i ApiServiceParameterArray) ToApiServiceParameterArrayOutputWithContext(ctx context.Context) ApiServiceParameterArrayOutput

type ApiServiceParameterArrayInput added in v0.1.8

type ApiServiceParameterArrayInput interface {
	pulumi.Input

	ToApiServiceParameterArrayOutput() ApiServiceParameterArrayOutput
	ToApiServiceParameterArrayOutputWithContext(context.Context) ApiServiceParameterArrayOutput
}

ApiServiceParameterArrayInput is an input type that accepts ApiServiceParameterArray and ApiServiceParameterArrayOutput values. You can construct a concrete instance of `ApiServiceParameterArrayInput` via:

ApiServiceParameterArray{ ApiServiceParameterArgs{...} }

type ApiServiceParameterArrayOutput added in v0.1.8

type ApiServiceParameterArrayOutput struct{ *pulumi.OutputState }

func (ApiServiceParameterArrayOutput) ElementType added in v0.1.8

func (ApiServiceParameterArrayOutput) Index added in v0.1.8

func (ApiServiceParameterArrayOutput) ToApiServiceParameterArrayOutput added in v0.1.8

func (o ApiServiceParameterArrayOutput) ToApiServiceParameterArrayOutput() ApiServiceParameterArrayOutput

func (ApiServiceParameterArrayOutput) ToApiServiceParameterArrayOutputWithContext added in v0.1.8

func (o ApiServiceParameterArrayOutput) ToApiServiceParameterArrayOutputWithContext(ctx context.Context) ApiServiceParameterArrayOutput

type ApiServiceParameterInput added in v0.1.8

type ApiServiceParameterInput interface {
	pulumi.Input

	ToApiServiceParameterOutput() ApiServiceParameterOutput
	ToApiServiceParameterOutputWithContext(context.Context) ApiServiceParameterOutput
}

ApiServiceParameterInput is an input type that accepts ApiServiceParameterArgs and ApiServiceParameterOutput values. You can construct a concrete instance of `ApiServiceParameterInput` via:

ApiServiceParameterArgs{...}

type ApiServiceParameterOutput added in v0.1.8

type ApiServiceParameterOutput struct{ *pulumi.OutputState }

func (ApiServiceParameterOutput) DefaultValue added in v0.1.8

The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) ElementType added in v0.1.8

func (ApiServiceParameterOutput) ElementType() reflect.Type

func (ApiServiceParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) RelevantRequestParameterDesc added in v0.1.8

func (o ApiServiceParameterOutput) RelevantRequestParameterDesc() pulumi.StringPtrOutput

Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) RelevantRequestParameterName added in v0.1.8

func (o ApiServiceParameterOutput) RelevantRequestParameterName() pulumi.StringPtrOutput

The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) RelevantRequestParameterPosition added in v0.1.8

func (o ApiServiceParameterOutput) RelevantRequestParameterPosition() pulumi.StringPtrOutput

The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) RelevantRequestParameterType added in v0.1.8

func (o ApiServiceParameterOutput) RelevantRequestParameterType() pulumi.StringPtrOutput

The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceParameterOutput) ToApiServiceParameterOutput added in v0.1.8

func (o ApiServiceParameterOutput) ToApiServiceParameterOutput() ApiServiceParameterOutput

func (ApiServiceParameterOutput) ToApiServiceParameterOutputWithContext added in v0.1.8

func (o ApiServiceParameterOutput) ToApiServiceParameterOutputWithContext(ctx context.Context) ApiServiceParameterOutput

type ApiServiceTsfHealthCheckConf added in v0.1.8

type ApiServiceTsfHealthCheckConf struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage *int `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck *bool `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold *int `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds *int `pulumi:"sleepWindowInMilliseconds"`
}

type ApiServiceTsfHealthCheckConfArgs added in v0.1.8

type ApiServiceTsfHealthCheckConfArgs struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage pulumi.IntPtrInput `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck pulumi.BoolPtrInput `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold pulumi.IntPtrInput `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds pulumi.IntPtrInput `pulumi:"sleepWindowInMilliseconds"`
}

func (ApiServiceTsfHealthCheckConfArgs) ElementType added in v0.1.8

func (ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfOutput added in v0.1.8

func (i ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfOutput() ApiServiceTsfHealthCheckConfOutput

func (ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (i ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) ApiServiceTsfHealthCheckConfOutput

func (ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfPtrOutput added in v0.1.8

func (i ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfPtrOutput() ApiServiceTsfHealthCheckConfPtrOutput

func (ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfPtrOutputWithContext added in v0.1.8

func (i ApiServiceTsfHealthCheckConfArgs) ToApiServiceTsfHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfHealthCheckConfPtrOutput

type ApiServiceTsfHealthCheckConfInput added in v0.1.8

type ApiServiceTsfHealthCheckConfInput interface {
	pulumi.Input

	ToApiServiceTsfHealthCheckConfOutput() ApiServiceTsfHealthCheckConfOutput
	ToApiServiceTsfHealthCheckConfOutputWithContext(context.Context) ApiServiceTsfHealthCheckConfOutput
}

ApiServiceTsfHealthCheckConfInput is an input type that accepts ApiServiceTsfHealthCheckConfArgs and ApiServiceTsfHealthCheckConfOutput values. You can construct a concrete instance of `ApiServiceTsfHealthCheckConfInput` via:

ApiServiceTsfHealthCheckConfArgs{...}

type ApiServiceTsfHealthCheckConfOutput added in v0.1.8

type ApiServiceTsfHealthCheckConfOutput struct{ *pulumi.OutputState }

func (ApiServiceTsfHealthCheckConfOutput) ElementType added in v0.1.8

func (ApiServiceTsfHealthCheckConfOutput) ErrorThresholdPercentage added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) ErrorThresholdPercentage() pulumi.IntPtrOutput

Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfOutput) IsHealthCheck added in v0.1.8

Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfOutput) RequestVolumeThreshold added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) RequestVolumeThreshold() pulumi.IntPtrOutput

Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfOutput) SleepWindowInMilliseconds added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) SleepWindowInMilliseconds() pulumi.IntPtrOutput

Window size.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfOutput added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfOutput() ApiServiceTsfHealthCheckConfOutput

func (ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) ApiServiceTsfHealthCheckConfOutput

func (ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfPtrOutput added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfPtrOutput() ApiServiceTsfHealthCheckConfPtrOutput

func (ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfPtrOutputWithContext added in v0.1.8

func (o ApiServiceTsfHealthCheckConfOutput) ToApiServiceTsfHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfHealthCheckConfPtrOutput

type ApiServiceTsfHealthCheckConfPtrInput added in v0.1.8

type ApiServiceTsfHealthCheckConfPtrInput interface {
	pulumi.Input

	ToApiServiceTsfHealthCheckConfPtrOutput() ApiServiceTsfHealthCheckConfPtrOutput
	ToApiServiceTsfHealthCheckConfPtrOutputWithContext(context.Context) ApiServiceTsfHealthCheckConfPtrOutput
}

ApiServiceTsfHealthCheckConfPtrInput is an input type that accepts ApiServiceTsfHealthCheckConfArgs, ApiServiceTsfHealthCheckConfPtr and ApiServiceTsfHealthCheckConfPtrOutput values. You can construct a concrete instance of `ApiServiceTsfHealthCheckConfPtrInput` via:

        ApiServiceTsfHealthCheckConfArgs{...}

or:

        nil

type ApiServiceTsfHealthCheckConfPtrOutput added in v0.1.8

type ApiServiceTsfHealthCheckConfPtrOutput struct{ *pulumi.OutputState }

func (ApiServiceTsfHealthCheckConfPtrOutput) Elem added in v0.1.8

func (ApiServiceTsfHealthCheckConfPtrOutput) ElementType added in v0.1.8

func (ApiServiceTsfHealthCheckConfPtrOutput) ErrorThresholdPercentage added in v0.1.8

func (o ApiServiceTsfHealthCheckConfPtrOutput) ErrorThresholdPercentage() pulumi.IntPtrOutput

Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfPtrOutput) IsHealthCheck added in v0.1.8

Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfPtrOutput) RequestVolumeThreshold added in v0.1.8

func (o ApiServiceTsfHealthCheckConfPtrOutput) RequestVolumeThreshold() pulumi.IntPtrOutput

Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfPtrOutput) SleepWindowInMilliseconds added in v0.1.8

func (o ApiServiceTsfHealthCheckConfPtrOutput) SleepWindowInMilliseconds() pulumi.IntPtrOutput

Window size.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfHealthCheckConfPtrOutput) ToApiServiceTsfHealthCheckConfPtrOutput added in v0.1.8

func (o ApiServiceTsfHealthCheckConfPtrOutput) ToApiServiceTsfHealthCheckConfPtrOutput() ApiServiceTsfHealthCheckConfPtrOutput

func (ApiServiceTsfHealthCheckConfPtrOutput) ToApiServiceTsfHealthCheckConfPtrOutputWithContext added in v0.1.8

func (o ApiServiceTsfHealthCheckConfPtrOutput) ToApiServiceTsfHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfHealthCheckConfPtrOutput

type ApiServiceTsfLoadBalanceConf added in v0.1.8

type ApiServiceTsfLoadBalanceConf struct {
	// Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsLoadBalance *bool `pulumi:"isLoadBalance"`
	// Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method *string `pulumi:"method"`
	// Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickRequired *bool `pulumi:"sessionStickRequired"`
	// Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickTimeout *int `pulumi:"sessionStickTimeout"`
}

type ApiServiceTsfLoadBalanceConfArgs added in v0.1.8

type ApiServiceTsfLoadBalanceConfArgs struct {
	// Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsLoadBalance pulumi.BoolPtrInput `pulumi:"isLoadBalance"`
	// Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickRequired pulumi.BoolPtrInput `pulumi:"sessionStickRequired"`
	// Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickTimeout pulumi.IntPtrInput `pulumi:"sessionStickTimeout"`
}

func (ApiServiceTsfLoadBalanceConfArgs) ElementType added in v0.1.8

func (ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfOutput added in v0.1.8

func (i ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfOutput() ApiServiceTsfLoadBalanceConfOutput

func (ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (i ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) ApiServiceTsfLoadBalanceConfOutput

func (ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfPtrOutput added in v0.1.8

func (i ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfPtrOutput() ApiServiceTsfLoadBalanceConfPtrOutput

func (ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext added in v0.1.8

func (i ApiServiceTsfLoadBalanceConfArgs) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfLoadBalanceConfPtrOutput

type ApiServiceTsfLoadBalanceConfInput added in v0.1.8

type ApiServiceTsfLoadBalanceConfInput interface {
	pulumi.Input

	ToApiServiceTsfLoadBalanceConfOutput() ApiServiceTsfLoadBalanceConfOutput
	ToApiServiceTsfLoadBalanceConfOutputWithContext(context.Context) ApiServiceTsfLoadBalanceConfOutput
}

ApiServiceTsfLoadBalanceConfInput is an input type that accepts ApiServiceTsfLoadBalanceConfArgs and ApiServiceTsfLoadBalanceConfOutput values. You can construct a concrete instance of `ApiServiceTsfLoadBalanceConfInput` via:

ApiServiceTsfLoadBalanceConfArgs{...}

type ApiServiceTsfLoadBalanceConfOutput added in v0.1.8

type ApiServiceTsfLoadBalanceConfOutput struct{ *pulumi.OutputState }

func (ApiServiceTsfLoadBalanceConfOutput) ElementType added in v0.1.8

func (ApiServiceTsfLoadBalanceConfOutput) IsLoadBalance added in v0.1.8

Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfOutput) Method added in v0.1.8

Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfOutput) SessionStickRequired added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) SessionStickRequired() pulumi.BoolPtrOutput

Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfOutput) SessionStickTimeout added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) SessionStickTimeout() pulumi.IntPtrOutput

Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfOutput added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfOutput() ApiServiceTsfLoadBalanceConfOutput

func (ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) ApiServiceTsfLoadBalanceConfOutput

func (ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfPtrOutput added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfPtrOutput() ApiServiceTsfLoadBalanceConfPtrOutput

func (ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfOutput) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfLoadBalanceConfPtrOutput

type ApiServiceTsfLoadBalanceConfPtrInput added in v0.1.8

type ApiServiceTsfLoadBalanceConfPtrInput interface {
	pulumi.Input

	ToApiServiceTsfLoadBalanceConfPtrOutput() ApiServiceTsfLoadBalanceConfPtrOutput
	ToApiServiceTsfLoadBalanceConfPtrOutputWithContext(context.Context) ApiServiceTsfLoadBalanceConfPtrOutput
}

ApiServiceTsfLoadBalanceConfPtrInput is an input type that accepts ApiServiceTsfLoadBalanceConfArgs, ApiServiceTsfLoadBalanceConfPtr and ApiServiceTsfLoadBalanceConfPtrOutput values. You can construct a concrete instance of `ApiServiceTsfLoadBalanceConfPtrInput` via:

        ApiServiceTsfLoadBalanceConfArgs{...}

or:

        nil

type ApiServiceTsfLoadBalanceConfPtrOutput added in v0.1.8

type ApiServiceTsfLoadBalanceConfPtrOutput struct{ *pulumi.OutputState }

func (ApiServiceTsfLoadBalanceConfPtrOutput) Elem added in v0.1.8

func (ApiServiceTsfLoadBalanceConfPtrOutput) ElementType added in v0.1.8

func (ApiServiceTsfLoadBalanceConfPtrOutput) IsLoadBalance added in v0.1.8

Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfPtrOutput) Method added in v0.1.8

Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfPtrOutput) SessionStickRequired added in v0.1.8

Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfPtrOutput) SessionStickTimeout added in v0.1.8

Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiServiceTsfLoadBalanceConfPtrOutput) ToApiServiceTsfLoadBalanceConfPtrOutput added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfPtrOutput) ToApiServiceTsfLoadBalanceConfPtrOutput() ApiServiceTsfLoadBalanceConfPtrOutput

func (ApiServiceTsfLoadBalanceConfPtrOutput) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext added in v0.1.8

func (o ApiServiceTsfLoadBalanceConfPtrOutput) ToApiServiceTsfLoadBalanceConfPtrOutputWithContext(ctx context.Context) ApiServiceTsfLoadBalanceConfPtrOutput

type ApiState

type ApiState struct {
	// When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.
	ApiBusinessType pulumi.StringPtrInput
	// Custom API description.
	ApiDesc pulumi.StringPtrInput
	// Custom API name.
	ApiName pulumi.StringPtrInput
	// API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
	ApiType pulumi.StringPtrInput
	// The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
	AuthRelationApiId pulumi.StringPtrInput
	// API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
	AuthType pulumi.StringPtrInput
	// Constant parameter.
	ConstantParameters ApiConstantParameterArrayInput
	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreateTime pulumi.StringPtrInput
	// EIAM application ID.
	EiamAppId pulumi.StringPtrInput
	// EIAM application type.
	EiamAppType pulumi.StringPtrInput
	// The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
	EiamAuthType pulumi.StringPtrInput
	// Whether to enable CORS. Default value: `true`.
	EnableCors pulumi.BoolPtrInput
	// Event bus ID.
	EventBusId pulumi.StringPtrInput
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolPtrInput
	// Charge after starting debugging. (Cloud Market Reserved Fields).
	IsDebugAfterCharge pulumi.BoolPtrInput
	// Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
	IsDeleteResponseErrorCodes pulumi.BoolPtrInput
	// API bound microservice list.
	MicroServices ApiMicroServiceArrayInput
	// OAuth configuration. Effective when AuthType is OAUTH.
	OauthConfig ApiOauthConfigPtrInput
	// Owner of resources.
	Owner pulumi.StringPtrInput
	// 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 COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigCosConfig ApiServiceConfigCosConfigPtrInput
	// 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. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
	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
	// Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
	ServiceConfigScfFunctionType pulumi.StringPtrInput
	// Whether to enable response integration. Effective when the backend type is SCF.
	ServiceConfigScfIsIntegratedResponse pulumi.BoolPtrInput
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrInput
	// The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
	ServiceConfigType pulumi.StringPtrInput
	// Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigUpstreamId pulumi.StringPtrInput
	// The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
	ServiceConfigUrl pulumi.StringPtrInput
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrInput
	// Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionName pulumi.StringPtrInput
	// Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionNamespace pulumi.StringPtrInput
	// Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionQualifier pulumi.StringPtrInput
	// Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionName pulumi.StringPtrInput
	// Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionQualifier pulumi.StringPtrInput
	// Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionName pulumi.StringPtrInput
	// Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionQualifier pulumi.StringPtrInput
	// The unique ID of the service where the API is located. Refer to resource `ApiGateway.Service`.
	ServiceId pulumi.StringPtrInput
	// The backend service parameters of the API.
	ServiceParameters ApiServiceParameterArrayInput
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConf ApiServiceTsfHealthCheckConfPtrInput
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConf ApiServiceTsfLoadBalanceConfPtrInput
	// Tsf serverless namespace ID. (In internal testing).
	TargetNamespaceId pulumi.StringPtrInput
	// Target type backend resource information. (Internal testing stage).
	TargetServices ApiTargetServiceArrayInput
	// Target health check configuration. (Internal testing stage).
	TargetServicesHealthCheckConf ApiTargetServicesHealthCheckConfPtrInput
	// Target type load balancing configuration. (Internal testing stage).
	TargetServicesLoadBalanceConf pulumi.IntPtrInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
	TokenTimeout 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
	// User type.
	UserType pulumi.StringPtrInput
}

func (ApiState) ElementType

func (ApiState) ElementType() reflect.Type

type ApiTargetService added in v0.1.8

type ApiTargetService struct {
	// docker ip.
	DockerIp *string `pulumi:"dockerIp"`
	// Host IP of the CVM.
	HostIp string `pulumi:"hostIp"`
	// vm ip.
	VmIp string `pulumi:"vmIp"`
	// vm port.
	VmPort int `pulumi:"vmPort"`
	// vpc id.
	VpcId string `pulumi:"vpcId"`
}

type ApiTargetServiceArgs added in v0.1.8

type ApiTargetServiceArgs struct {
	// docker ip.
	DockerIp pulumi.StringPtrInput `pulumi:"dockerIp"`
	// Host IP of the CVM.
	HostIp pulumi.StringInput `pulumi:"hostIp"`
	// vm ip.
	VmIp pulumi.StringInput `pulumi:"vmIp"`
	// vm port.
	VmPort pulumi.IntInput `pulumi:"vmPort"`
	// vpc id.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (ApiTargetServiceArgs) ElementType added in v0.1.8

func (ApiTargetServiceArgs) ElementType() reflect.Type

func (ApiTargetServiceArgs) ToApiTargetServiceOutput added in v0.1.8

func (i ApiTargetServiceArgs) ToApiTargetServiceOutput() ApiTargetServiceOutput

func (ApiTargetServiceArgs) ToApiTargetServiceOutputWithContext added in v0.1.8

func (i ApiTargetServiceArgs) ToApiTargetServiceOutputWithContext(ctx context.Context) ApiTargetServiceOutput

type ApiTargetServiceArray added in v0.1.8

type ApiTargetServiceArray []ApiTargetServiceInput

func (ApiTargetServiceArray) ElementType added in v0.1.8

func (ApiTargetServiceArray) ElementType() reflect.Type

func (ApiTargetServiceArray) ToApiTargetServiceArrayOutput added in v0.1.8

func (i ApiTargetServiceArray) ToApiTargetServiceArrayOutput() ApiTargetServiceArrayOutput

func (ApiTargetServiceArray) ToApiTargetServiceArrayOutputWithContext added in v0.1.8

func (i ApiTargetServiceArray) ToApiTargetServiceArrayOutputWithContext(ctx context.Context) ApiTargetServiceArrayOutput

type ApiTargetServiceArrayInput added in v0.1.8

type ApiTargetServiceArrayInput interface {
	pulumi.Input

	ToApiTargetServiceArrayOutput() ApiTargetServiceArrayOutput
	ToApiTargetServiceArrayOutputWithContext(context.Context) ApiTargetServiceArrayOutput
}

ApiTargetServiceArrayInput is an input type that accepts ApiTargetServiceArray and ApiTargetServiceArrayOutput values. You can construct a concrete instance of `ApiTargetServiceArrayInput` via:

ApiTargetServiceArray{ ApiTargetServiceArgs{...} }

type ApiTargetServiceArrayOutput added in v0.1.8

type ApiTargetServiceArrayOutput struct{ *pulumi.OutputState }

func (ApiTargetServiceArrayOutput) ElementType added in v0.1.8

func (ApiTargetServiceArrayOutput) Index added in v0.1.8

func (ApiTargetServiceArrayOutput) ToApiTargetServiceArrayOutput added in v0.1.8

func (o ApiTargetServiceArrayOutput) ToApiTargetServiceArrayOutput() ApiTargetServiceArrayOutput

func (ApiTargetServiceArrayOutput) ToApiTargetServiceArrayOutputWithContext added in v0.1.8

func (o ApiTargetServiceArrayOutput) ToApiTargetServiceArrayOutputWithContext(ctx context.Context) ApiTargetServiceArrayOutput

type ApiTargetServiceInput added in v0.1.8

type ApiTargetServiceInput interface {
	pulumi.Input

	ToApiTargetServiceOutput() ApiTargetServiceOutput
	ToApiTargetServiceOutputWithContext(context.Context) ApiTargetServiceOutput
}

ApiTargetServiceInput is an input type that accepts ApiTargetServiceArgs and ApiTargetServiceOutput values. You can construct a concrete instance of `ApiTargetServiceInput` via:

ApiTargetServiceArgs{...}

type ApiTargetServiceOutput added in v0.1.8

type ApiTargetServiceOutput struct{ *pulumi.OutputState }

func (ApiTargetServiceOutput) DockerIp added in v0.1.8

docker ip.

func (ApiTargetServiceOutput) ElementType added in v0.1.8

func (ApiTargetServiceOutput) ElementType() reflect.Type

func (ApiTargetServiceOutput) HostIp added in v0.1.8

Host IP of the CVM.

func (ApiTargetServiceOutput) ToApiTargetServiceOutput added in v0.1.8

func (o ApiTargetServiceOutput) ToApiTargetServiceOutput() ApiTargetServiceOutput

func (ApiTargetServiceOutput) ToApiTargetServiceOutputWithContext added in v0.1.8

func (o ApiTargetServiceOutput) ToApiTargetServiceOutputWithContext(ctx context.Context) ApiTargetServiceOutput

func (ApiTargetServiceOutput) VmIp added in v0.1.8

vm ip.

func (ApiTargetServiceOutput) VmPort added in v0.1.8

vm port.

func (ApiTargetServiceOutput) VpcId added in v0.1.8

vpc id.

type ApiTargetServicesHealthCheckConf added in v0.1.8

type ApiTargetServicesHealthCheckConf struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage *int `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck *bool `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold *int `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds *int `pulumi:"sleepWindowInMilliseconds"`
}

type ApiTargetServicesHealthCheckConfArgs added in v0.1.8

type ApiTargetServicesHealthCheckConfArgs struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage pulumi.IntPtrInput `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck pulumi.BoolPtrInput `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold pulumi.IntPtrInput `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds pulumi.IntPtrInput `pulumi:"sleepWindowInMilliseconds"`
}

func (ApiTargetServicesHealthCheckConfArgs) ElementType added in v0.1.8

func (ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfOutput added in v0.1.8

func (i ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfOutput() ApiTargetServicesHealthCheckConfOutput

func (ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfOutputWithContext added in v0.1.8

func (i ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfOutputWithContext(ctx context.Context) ApiTargetServicesHealthCheckConfOutput

func (ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfPtrOutput added in v0.1.8

func (i ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfPtrOutput() ApiTargetServicesHealthCheckConfPtrOutput

func (ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfPtrOutputWithContext added in v0.1.8

func (i ApiTargetServicesHealthCheckConfArgs) ToApiTargetServicesHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiTargetServicesHealthCheckConfPtrOutput

type ApiTargetServicesHealthCheckConfInput added in v0.1.8

type ApiTargetServicesHealthCheckConfInput interface {
	pulumi.Input

	ToApiTargetServicesHealthCheckConfOutput() ApiTargetServicesHealthCheckConfOutput
	ToApiTargetServicesHealthCheckConfOutputWithContext(context.Context) ApiTargetServicesHealthCheckConfOutput
}

ApiTargetServicesHealthCheckConfInput is an input type that accepts ApiTargetServicesHealthCheckConfArgs and ApiTargetServicesHealthCheckConfOutput values. You can construct a concrete instance of `ApiTargetServicesHealthCheckConfInput` via:

ApiTargetServicesHealthCheckConfArgs{...}

type ApiTargetServicesHealthCheckConfOutput added in v0.1.8

type ApiTargetServicesHealthCheckConfOutput struct{ *pulumi.OutputState }

func (ApiTargetServicesHealthCheckConfOutput) ElementType added in v0.1.8

func (ApiTargetServicesHealthCheckConfOutput) ErrorThresholdPercentage added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) ErrorThresholdPercentage() pulumi.IntPtrOutput

Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfOutput) IsHealthCheck added in v0.1.8

Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfOutput) RequestVolumeThreshold added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) RequestVolumeThreshold() pulumi.IntPtrOutput

Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfOutput) SleepWindowInMilliseconds added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) SleepWindowInMilliseconds() pulumi.IntPtrOutput

Window size.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfOutput added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfOutput() ApiTargetServicesHealthCheckConfOutput

func (ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfOutputWithContext added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfOutputWithContext(ctx context.Context) ApiTargetServicesHealthCheckConfOutput

func (ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfPtrOutput added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfPtrOutput() ApiTargetServicesHealthCheckConfPtrOutput

func (ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfPtrOutputWithContext added in v0.1.8

func (o ApiTargetServicesHealthCheckConfOutput) ToApiTargetServicesHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiTargetServicesHealthCheckConfPtrOutput

type ApiTargetServicesHealthCheckConfPtrInput added in v0.1.8

type ApiTargetServicesHealthCheckConfPtrInput interface {
	pulumi.Input

	ToApiTargetServicesHealthCheckConfPtrOutput() ApiTargetServicesHealthCheckConfPtrOutput
	ToApiTargetServicesHealthCheckConfPtrOutputWithContext(context.Context) ApiTargetServicesHealthCheckConfPtrOutput
}

ApiTargetServicesHealthCheckConfPtrInput is an input type that accepts ApiTargetServicesHealthCheckConfArgs, ApiTargetServicesHealthCheckConfPtr and ApiTargetServicesHealthCheckConfPtrOutput values. You can construct a concrete instance of `ApiTargetServicesHealthCheckConfPtrInput` via:

        ApiTargetServicesHealthCheckConfArgs{...}

or:

        nil

type ApiTargetServicesHealthCheckConfPtrOutput added in v0.1.8

type ApiTargetServicesHealthCheckConfPtrOutput struct{ *pulumi.OutputState }

func (ApiTargetServicesHealthCheckConfPtrOutput) Elem added in v0.1.8

func (ApiTargetServicesHealthCheckConfPtrOutput) ElementType added in v0.1.8

func (ApiTargetServicesHealthCheckConfPtrOutput) ErrorThresholdPercentage added in v0.1.8

func (o ApiTargetServicesHealthCheckConfPtrOutput) ErrorThresholdPercentage() pulumi.IntPtrOutput

Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfPtrOutput) IsHealthCheck added in v0.1.8

Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfPtrOutput) RequestVolumeThreshold added in v0.1.8

Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfPtrOutput) SleepWindowInMilliseconds added in v0.1.8

func (o ApiTargetServicesHealthCheckConfPtrOutput) SleepWindowInMilliseconds() pulumi.IntPtrOutput

Window size.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ApiTargetServicesHealthCheckConfPtrOutput) ToApiTargetServicesHealthCheckConfPtrOutput added in v0.1.8

func (o ApiTargetServicesHealthCheckConfPtrOutput) ToApiTargetServicesHealthCheckConfPtrOutput() ApiTargetServicesHealthCheckConfPtrOutput

func (ApiTargetServicesHealthCheckConfPtrOutput) ToApiTargetServicesHealthCheckConfPtrOutputWithContext added in v0.1.8

func (o ApiTargetServicesHealthCheckConfPtrOutput) ToApiTargetServicesHealthCheckConfPtrOutputWithContext(ctx context.Context) ApiTargetServicesHealthCheckConfPtrOutput

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"`
	// Whether to force HTTP requests to jump to HTTPS, default to false. When the parameter is true, the API gateway will redirect all HTTP protocol requests using the custom domain name to the HTTPS protocol for forwarding.
	IsForcedHttps pulumi.BoolPtrOutput `pulumi:"isForcedHttps"`
	// 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
	// Whether to force HTTP requests to jump to HTTPS, default to false. When the parameter is true, the API gateway will redirect all HTTP protocol requests using the custom domain name to the HTTPS protocol for forwarding.
	IsForcedHttps 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) IsForcedHttps added in v0.1.3

func (o CustomDomainOutput) IsForcedHttps() pulumi.BoolPtrOutput

Whether to force HTTP requests to jump to HTTPS, default to false. When the parameter is true, the API gateway will redirect all HTTP protocol requests using the custom domain name to the HTTPS protocol for forwarding.

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
	// Whether to force HTTP requests to jump to HTTPS, default to false. When the parameter is true, the API gateway will redirect all HTTP protocol requests using the custom domain name to the HTTPS protocol for forwarding.
	IsForcedHttps 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 GetApiAppApiResult added in v0.1.8

type GetApiAppApiResult struct {
	// Type of OAUTH API. Possible values are NORMAL (Business API), �OAUTH (Authorization API).
	ApiBusinessType string `pulumi:"apiBusinessType"`
	// Description of the API interface.
	ApiDesc string `pulumi:"apiDesc"`
	// API interface unique ID.
	ApiId string `pulumi:"apiId"`
	// The name of the API interface.
	ApiName string `pulumi:"apiName"`
	// API type. Possible values are NORMAL (normal API) and TSF (microservice API).
	ApiType string `pulumi:"apiType"`
	// OAUTH The unique ID of the authorization API associated with the business API.
	AuthRelationApiId string `pulumi:"authRelationApiId"`
	// API authentication type. Possible values are SECRET (key pair authentication), NONE (authentication-free), and OAUTH.
	AuthType string `pulumi:"authType"`
	// Header triggers rules, and the total number of rules does not exceed 10.
	Base64EncodedTriggerRules []GetApiAppApiResultBase64EncodedTriggerRule `pulumi:"base64EncodedTriggerRules"`
	// Constant parameters.
	ConstantParameters []GetApiAppApiResultConstantParameter `pulumi:"constantParameters"`
	// Creation time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	CreatedTime string `pulumi:"createdTime"`
	// Whether to enable cross-domain.
	EnableCors bool `pulumi:"enableCors"`
	// API published environment information.
	Environments []string `pulumi:"environments"`
	// WEBSOCKET pushback address.
	InternalDomain string `pulumi:"internalDomain"`
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded bool `pulumi:"isBase64Encoded"`
	// Whether to enable Base64-encoded header triggering will only take effect when the backend is scf.
	IsBase64Trigger bool `pulumi:"isBase64Trigger"`
	// Whether to debug after purchase (parameters reserved in the cloud market).
	IsDebugAfterCharge bool `pulumi:"isDebugAfterCharge"`
	// API binding microservice list.
	MicroServices []GetApiAppApiResultMicroService `pulumi:"microServices"`
	// Microservice information details.
	MicroServicesInfos []int `pulumi:"microServicesInfos"`
	// Last modification time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	ModifiedTime string `pulumi:"modifiedTime"`
	// OAUTH configuration.
	OauthConfigs []GetApiAppApiResultOauthConfig `pulumi:"oauthConfigs"`
	// The front-end request type of the API, such as HTTP or HTTPS or HTTP and HTTPS.
	Protocol string `pulumi:"protocol"`
	// The requested frontend configuration.
	RequestConfigs []GetApiAppApiResultRequestConfig `pulumi:"requestConfigs"`
	// Front-end request parameters.
	RequestParameters []GetApiAppApiResultRequestParameter `pulumi:"requestParameters"`
	// User-defined error code configuration.
	ResponseErrorCodes []GetApiAppApiResultResponseErrorCode `pulumi:"responseErrorCodes"`
	// Custom response configuration failure response example.
	ResponseFailExample string `pulumi:"responseFailExample"`
	// Custom response configuration successful response example.
	ResponseSuccessExample string `pulumi:"responseSuccessExample"`
	// Return type.
	ResponseType string `pulumi:"responseType"`
	// Backend service configuration for the API.
	ServiceConfigs []GetApiAppApiResultServiceConfig `pulumi:"serviceConfigs"`
	// A description of the service where the API resides.
	ServiceDesc string `pulumi:"serviceDesc"`
	// The unique ID of the service where the API resides.
	ServiceId string `pulumi:"serviceId"`
	// APIs backend Mock returns information. If ServiceType is Mock, this parameter must be passed.
	ServiceMockReturnMessage string `pulumi:"serviceMockReturnMessage"`
	// The name of the service where the API resides.
	ServiceName string `pulumi:"serviceName"`
	// API backend service parameters.
	ServiceParameters []GetApiAppApiResultServiceParameter `pulumi:"serviceParameters"`
	// Scf function name. Effective when the backend type is SCF.
	ServiceScfFunctionName string `pulumi:"serviceScfFunctionName"`
	// Scf function namespace. Effective when the backend type is SCF.
	ServiceScfFunctionNamespace string `pulumi:"serviceScfFunctionNamespace"`
	// Scf function version. Effective when the backend type is SCF.
	ServiceScfFunctionQualifier string `pulumi:"serviceScfFunctionQualifier"`
	// Whether to enable integrated response.
	ServiceScfIsIntegratedResponse bool `pulumi:"serviceScfIsIntegratedResponse"`
	// The backend service timeout of the API, in seconds.
	ServiceTimeout int `pulumi:"serviceTimeout"`
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConfs []GetApiAppApiResultServiceTsfHealthCheckConf `pulumi:"serviceTsfHealthCheckConfs"`
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConfs []GetApiAppApiResultServiceTsfLoadBalanceConf `pulumi:"serviceTsfLoadBalanceConfs"`
	// The backend service type of the API. Possible values are HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, and TARGET (internal testing).
	ServiceType string `pulumi:"serviceType"`
	// Scf websocket cleaning function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionName string `pulumi:"serviceWebsocketCleanupFunctionName"`
	// Scf websocket cleanup function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionNamespace string `pulumi:"serviceWebsocketCleanupFunctionNamespace"`
	// Scf websocket cleanup function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionQualifier string `pulumi:"serviceWebsocketCleanupFunctionQualifier"`
	// Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionName string `pulumi:"serviceWebsocketRegisterFunctionName"`
	// Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionNamespace string `pulumi:"serviceWebsocketRegisterFunctionNamespace"`
	// Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionQualifier string `pulumi:"serviceWebsocketRegisterFunctionQualifier"`
	// Scf websocket transfer function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionName string `pulumi:"serviceWebsocketTransportFunctionName"`
	// Scf websocket transfer function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionNamespace string `pulumi:"serviceWebsocketTransportFunctionNamespace"`
	// Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionQualifier string `pulumi:"serviceWebsocketTransportFunctionQualifier"`
	// API binding tag information.
	Tags []GetApiAppApiResultTag `pulumi:"tags"`
}

type GetApiAppApiResultArgs added in v0.1.8

type GetApiAppApiResultArgs struct {
	// Type of OAUTH API. Possible values are NORMAL (Business API), �OAUTH (Authorization API).
	ApiBusinessType pulumi.StringInput `pulumi:"apiBusinessType"`
	// Description of the API interface.
	ApiDesc pulumi.StringInput `pulumi:"apiDesc"`
	// API interface unique ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// The name of the API interface.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API type. Possible values are NORMAL (normal API) and TSF (microservice API).
	ApiType pulumi.StringInput `pulumi:"apiType"`
	// OAUTH The unique ID of the authorization API associated with the business API.
	AuthRelationApiId pulumi.StringInput `pulumi:"authRelationApiId"`
	// API authentication type. Possible values are SECRET (key pair authentication), NONE (authentication-free), and OAUTH.
	AuthType pulumi.StringInput `pulumi:"authType"`
	// Header triggers rules, and the total number of rules does not exceed 10.
	Base64EncodedTriggerRules GetApiAppApiResultBase64EncodedTriggerRuleArrayInput `pulumi:"base64EncodedTriggerRules"`
	// Constant parameters.
	ConstantParameters GetApiAppApiResultConstantParameterArrayInput `pulumi:"constantParameters"`
	// Creation time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Whether to enable cross-domain.
	EnableCors pulumi.BoolInput `pulumi:"enableCors"`
	// API published environment information.
	Environments pulumi.StringArrayInput `pulumi:"environments"`
	// WEBSOCKET pushback address.
	InternalDomain pulumi.StringInput `pulumi:"internalDomain"`
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolInput `pulumi:"isBase64Encoded"`
	// Whether to enable Base64-encoded header triggering will only take effect when the backend is scf.
	IsBase64Trigger pulumi.BoolInput `pulumi:"isBase64Trigger"`
	// Whether to debug after purchase (parameters reserved in the cloud market).
	IsDebugAfterCharge pulumi.BoolInput `pulumi:"isDebugAfterCharge"`
	// API binding microservice list.
	MicroServices GetApiAppApiResultMicroServiceArrayInput `pulumi:"microServices"`
	// Microservice information details.
	MicroServicesInfos pulumi.IntArrayInput `pulumi:"microServicesInfos"`
	// Last modification time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"`
	// OAUTH configuration.
	OauthConfigs GetApiAppApiResultOauthConfigArrayInput `pulumi:"oauthConfigs"`
	// The front-end request type of the API, such as HTTP or HTTPS or HTTP and HTTPS.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The requested frontend configuration.
	RequestConfigs GetApiAppApiResultRequestConfigArrayInput `pulumi:"requestConfigs"`
	// Front-end request parameters.
	RequestParameters GetApiAppApiResultRequestParameterArrayInput `pulumi:"requestParameters"`
	// User-defined error code configuration.
	ResponseErrorCodes GetApiAppApiResultResponseErrorCodeArrayInput `pulumi:"responseErrorCodes"`
	// Custom response configuration failure response example.
	ResponseFailExample pulumi.StringInput `pulumi:"responseFailExample"`
	// Custom response configuration successful response example.
	ResponseSuccessExample pulumi.StringInput `pulumi:"responseSuccessExample"`
	// Return type.
	ResponseType pulumi.StringInput `pulumi:"responseType"`
	// Backend service configuration for the API.
	ServiceConfigs GetApiAppApiResultServiceConfigArrayInput `pulumi:"serviceConfigs"`
	// A description of the service where the API resides.
	ServiceDesc pulumi.StringInput `pulumi:"serviceDesc"`
	// The unique ID of the service where the API resides.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// APIs backend Mock returns information. If ServiceType is Mock, this parameter must be passed.
	ServiceMockReturnMessage pulumi.StringInput `pulumi:"serviceMockReturnMessage"`
	// The name of the service where the API resides.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// API backend service parameters.
	ServiceParameters GetApiAppApiResultServiceParameterArrayInput `pulumi:"serviceParameters"`
	// Scf function name. Effective when the backend type is SCF.
	ServiceScfFunctionName pulumi.StringInput `pulumi:"serviceScfFunctionName"`
	// Scf function namespace. Effective when the backend type is SCF.
	ServiceScfFunctionNamespace pulumi.StringInput `pulumi:"serviceScfFunctionNamespace"`
	// Scf function version. Effective when the backend type is SCF.
	ServiceScfFunctionQualifier pulumi.StringInput `pulumi:"serviceScfFunctionQualifier"`
	// Whether to enable integrated response.
	ServiceScfIsIntegratedResponse pulumi.BoolInput `pulumi:"serviceScfIsIntegratedResponse"`
	// The backend service timeout of the API, in seconds.
	ServiceTimeout pulumi.IntInput `pulumi:"serviceTimeout"`
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConfs GetApiAppApiResultServiceTsfHealthCheckConfArrayInput `pulumi:"serviceTsfHealthCheckConfs"`
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConfs GetApiAppApiResultServiceTsfLoadBalanceConfArrayInput `pulumi:"serviceTsfLoadBalanceConfs"`
	// The backend service type of the API. Possible values are HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, and TARGET (internal testing).
	ServiceType pulumi.StringInput `pulumi:"serviceType"`
	// Scf websocket cleaning function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionName pulumi.StringInput `pulumi:"serviceWebsocketCleanupFunctionName"`
	// Scf websocket cleanup function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionNamespace pulumi.StringInput `pulumi:"serviceWebsocketCleanupFunctionNamespace"`
	// Scf websocket cleanup function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketCleanupFunctionQualifier pulumi.StringInput `pulumi:"serviceWebsocketCleanupFunctionQualifier"`
	// Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionName pulumi.StringInput `pulumi:"serviceWebsocketRegisterFunctionName"`
	// Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionNamespace pulumi.StringInput `pulumi:"serviceWebsocketRegisterFunctionNamespace"`
	// Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketRegisterFunctionQualifier pulumi.StringInput `pulumi:"serviceWebsocketRegisterFunctionQualifier"`
	// Scf websocket transfer function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionName pulumi.StringInput `pulumi:"serviceWebsocketTransportFunctionName"`
	// Scf websocket transfer function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionNamespace pulumi.StringInput `pulumi:"serviceWebsocketTransportFunctionNamespace"`
	// Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.
	ServiceWebsocketTransportFunctionQualifier pulumi.StringInput `pulumi:"serviceWebsocketTransportFunctionQualifier"`
	// API binding tag information.
	Tags GetApiAppApiResultTagArrayInput `pulumi:"tags"`
}

func (GetApiAppApiResultArgs) ElementType added in v0.1.8

func (GetApiAppApiResultArgs) ElementType() reflect.Type

func (GetApiAppApiResultArgs) ToGetApiAppApiResultOutput added in v0.1.8

func (i GetApiAppApiResultArgs) ToGetApiAppApiResultOutput() GetApiAppApiResultOutput

func (GetApiAppApiResultArgs) ToGetApiAppApiResultOutputWithContext added in v0.1.8

func (i GetApiAppApiResultArgs) ToGetApiAppApiResultOutputWithContext(ctx context.Context) GetApiAppApiResultOutput

type GetApiAppApiResultArray added in v0.1.8

type GetApiAppApiResultArray []GetApiAppApiResultInput

func (GetApiAppApiResultArray) ElementType added in v0.1.8

func (GetApiAppApiResultArray) ElementType() reflect.Type

func (GetApiAppApiResultArray) ToGetApiAppApiResultArrayOutput added in v0.1.8

func (i GetApiAppApiResultArray) ToGetApiAppApiResultArrayOutput() GetApiAppApiResultArrayOutput

func (GetApiAppApiResultArray) ToGetApiAppApiResultArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultArray) ToGetApiAppApiResultArrayOutputWithContext(ctx context.Context) GetApiAppApiResultArrayOutput

type GetApiAppApiResultArrayInput added in v0.1.8

type GetApiAppApiResultArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultArrayOutput() GetApiAppApiResultArrayOutput
	ToGetApiAppApiResultArrayOutputWithContext(context.Context) GetApiAppApiResultArrayOutput
}

GetApiAppApiResultArrayInput is an input type that accepts GetApiAppApiResultArray and GetApiAppApiResultArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultArrayInput` via:

GetApiAppApiResultArray{ GetApiAppApiResultArgs{...} }

type GetApiAppApiResultArrayOutput added in v0.1.8

type GetApiAppApiResultArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultArrayOutput) ToGetApiAppApiResultArrayOutput added in v0.1.8

func (o GetApiAppApiResultArrayOutput) ToGetApiAppApiResultArrayOutput() GetApiAppApiResultArrayOutput

func (GetApiAppApiResultArrayOutput) ToGetApiAppApiResultArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultArrayOutput) ToGetApiAppApiResultArrayOutputWithContext(ctx context.Context) GetApiAppApiResultArrayOutput

type GetApiAppApiResultBase64EncodedTriggerRule added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRule struct {
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name string `pulumi:"name"`
	// The value of the note.
	Values []string `pulumi:"values"`
}

type GetApiAppApiResultBase64EncodedTriggerRuleArgs added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleArgs struct {
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the note.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetApiAppApiResultBase64EncodedTriggerRuleArgs) ElementType added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleArgs) ToGetApiAppApiResultBase64EncodedTriggerRuleOutput added in v0.1.8

func (i GetApiAppApiResultBase64EncodedTriggerRuleArgs) ToGetApiAppApiResultBase64EncodedTriggerRuleOutput() GetApiAppApiResultBase64EncodedTriggerRuleOutput

func (GetApiAppApiResultBase64EncodedTriggerRuleArgs) ToGetApiAppApiResultBase64EncodedTriggerRuleOutputWithContext added in v0.1.8

func (i GetApiAppApiResultBase64EncodedTriggerRuleArgs) ToGetApiAppApiResultBase64EncodedTriggerRuleOutputWithContext(ctx context.Context) GetApiAppApiResultBase64EncodedTriggerRuleOutput

type GetApiAppApiResultBase64EncodedTriggerRuleArray added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleArray []GetApiAppApiResultBase64EncodedTriggerRuleInput

func (GetApiAppApiResultBase64EncodedTriggerRuleArray) ElementType added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleArray) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutput added in v0.1.8

func (i GetApiAppApiResultBase64EncodedTriggerRuleArray) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutput() GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput

func (GetApiAppApiResultBase64EncodedTriggerRuleArray) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultBase64EncodedTriggerRuleArray) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutputWithContext(ctx context.Context) GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput

type GetApiAppApiResultBase64EncodedTriggerRuleArrayInput added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutput() GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput
	ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutputWithContext(context.Context) GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput
}

GetApiAppApiResultBase64EncodedTriggerRuleArrayInput is an input type that accepts GetApiAppApiResultBase64EncodedTriggerRuleArray and GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultBase64EncodedTriggerRuleArrayInput` via:

GetApiAppApiResultBase64EncodedTriggerRuleArray{ GetApiAppApiResultBase64EncodedTriggerRuleArgs{...} }

type GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutput added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleArrayOutputWithContext(ctx context.Context) GetApiAppApiResultBase64EncodedTriggerRuleArrayOutput

type GetApiAppApiResultBase64EncodedTriggerRuleInput added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleInput interface {
	pulumi.Input

	ToGetApiAppApiResultBase64EncodedTriggerRuleOutput() GetApiAppApiResultBase64EncodedTriggerRuleOutput
	ToGetApiAppApiResultBase64EncodedTriggerRuleOutputWithContext(context.Context) GetApiAppApiResultBase64EncodedTriggerRuleOutput
}

GetApiAppApiResultBase64EncodedTriggerRuleInput is an input type that accepts GetApiAppApiResultBase64EncodedTriggerRuleArgs and GetApiAppApiResultBase64EncodedTriggerRuleOutput values. You can construct a concrete instance of `GetApiAppApiResultBase64EncodedTriggerRuleInput` via:

GetApiAppApiResultBase64EncodedTriggerRuleArgs{...}

type GetApiAppApiResultBase64EncodedTriggerRuleOutput added in v0.1.8

type GetApiAppApiResultBase64EncodedTriggerRuleOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultBase64EncodedTriggerRuleOutput) ElementType added in v0.1.8

func (GetApiAppApiResultBase64EncodedTriggerRuleOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.

func (GetApiAppApiResultBase64EncodedTriggerRuleOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleOutput added in v0.1.8

func (o GetApiAppApiResultBase64EncodedTriggerRuleOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleOutput() GetApiAppApiResultBase64EncodedTriggerRuleOutput

func (GetApiAppApiResultBase64EncodedTriggerRuleOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleOutputWithContext added in v0.1.8

func (o GetApiAppApiResultBase64EncodedTriggerRuleOutput) ToGetApiAppApiResultBase64EncodedTriggerRuleOutputWithContext(ctx context.Context) GetApiAppApiResultBase64EncodedTriggerRuleOutput

func (GetApiAppApiResultBase64EncodedTriggerRuleOutput) Values added in v0.1.8

The value of the note.

type GetApiAppApiResultConstantParameter added in v0.1.8

type GetApiAppApiResultConstantParameter struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue string `pulumi:"defaultValue"`
	// Custom response configuration error code remarks.
	Desc string `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position string `pulumi:"position"`
}

type GetApiAppApiResultConstantParameterArgs added in v0.1.8

type GetApiAppApiResultConstantParameterArgs struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// Custom response configuration error code remarks.
	Desc pulumi.StringInput `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name pulumi.StringInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position pulumi.StringInput `pulumi:"position"`
}

func (GetApiAppApiResultConstantParameterArgs) ElementType added in v0.1.8

func (GetApiAppApiResultConstantParameterArgs) ToGetApiAppApiResultConstantParameterOutput added in v0.1.8

func (i GetApiAppApiResultConstantParameterArgs) ToGetApiAppApiResultConstantParameterOutput() GetApiAppApiResultConstantParameterOutput

func (GetApiAppApiResultConstantParameterArgs) ToGetApiAppApiResultConstantParameterOutputWithContext added in v0.1.8

func (i GetApiAppApiResultConstantParameterArgs) ToGetApiAppApiResultConstantParameterOutputWithContext(ctx context.Context) GetApiAppApiResultConstantParameterOutput

type GetApiAppApiResultConstantParameterArray added in v0.1.8

type GetApiAppApiResultConstantParameterArray []GetApiAppApiResultConstantParameterInput

func (GetApiAppApiResultConstantParameterArray) ElementType added in v0.1.8

func (GetApiAppApiResultConstantParameterArray) ToGetApiAppApiResultConstantParameterArrayOutput added in v0.1.8

func (i GetApiAppApiResultConstantParameterArray) ToGetApiAppApiResultConstantParameterArrayOutput() GetApiAppApiResultConstantParameterArrayOutput

func (GetApiAppApiResultConstantParameterArray) ToGetApiAppApiResultConstantParameterArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultConstantParameterArray) ToGetApiAppApiResultConstantParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultConstantParameterArrayOutput

type GetApiAppApiResultConstantParameterArrayInput added in v0.1.8

type GetApiAppApiResultConstantParameterArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultConstantParameterArrayOutput() GetApiAppApiResultConstantParameterArrayOutput
	ToGetApiAppApiResultConstantParameterArrayOutputWithContext(context.Context) GetApiAppApiResultConstantParameterArrayOutput
}

GetApiAppApiResultConstantParameterArrayInput is an input type that accepts GetApiAppApiResultConstantParameterArray and GetApiAppApiResultConstantParameterArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultConstantParameterArrayInput` via:

GetApiAppApiResultConstantParameterArray{ GetApiAppApiResultConstantParameterArgs{...} }

type GetApiAppApiResultConstantParameterArrayOutput added in v0.1.8

type GetApiAppApiResultConstantParameterArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultConstantParameterArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultConstantParameterArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultConstantParameterArrayOutput) ToGetApiAppApiResultConstantParameterArrayOutput added in v0.1.8

func (o GetApiAppApiResultConstantParameterArrayOutput) ToGetApiAppApiResultConstantParameterArrayOutput() GetApiAppApiResultConstantParameterArrayOutput

func (GetApiAppApiResultConstantParameterArrayOutput) ToGetApiAppApiResultConstantParameterArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultConstantParameterArrayOutput) ToGetApiAppApiResultConstantParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultConstantParameterArrayOutput

type GetApiAppApiResultConstantParameterInput added in v0.1.8

type GetApiAppApiResultConstantParameterInput interface {
	pulumi.Input

	ToGetApiAppApiResultConstantParameterOutput() GetApiAppApiResultConstantParameterOutput
	ToGetApiAppApiResultConstantParameterOutputWithContext(context.Context) GetApiAppApiResultConstantParameterOutput
}

GetApiAppApiResultConstantParameterInput is an input type that accepts GetApiAppApiResultConstantParameterArgs and GetApiAppApiResultConstantParameterOutput values. You can construct a concrete instance of `GetApiAppApiResultConstantParameterInput` via:

GetApiAppApiResultConstantParameterArgs{...}

type GetApiAppApiResultConstantParameterOutput added in v0.1.8

type GetApiAppApiResultConstantParameterOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultConstantParameterOutput) DefaultValue added in v0.1.8

Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultConstantParameterOutput) Desc added in v0.1.8

Custom response configuration error code remarks.

func (GetApiAppApiResultConstantParameterOutput) ElementType added in v0.1.8

func (GetApiAppApiResultConstantParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.

func (GetApiAppApiResultConstantParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.

func (GetApiAppApiResultConstantParameterOutput) ToGetApiAppApiResultConstantParameterOutput added in v0.1.8

func (o GetApiAppApiResultConstantParameterOutput) ToGetApiAppApiResultConstantParameterOutput() GetApiAppApiResultConstantParameterOutput

func (GetApiAppApiResultConstantParameterOutput) ToGetApiAppApiResultConstantParameterOutputWithContext added in v0.1.8

func (o GetApiAppApiResultConstantParameterOutput) ToGetApiAppApiResultConstantParameterOutputWithContext(ctx context.Context) GetApiAppApiResultConstantParameterOutput

type GetApiAppApiResultInput added in v0.1.8

type GetApiAppApiResultInput interface {
	pulumi.Input

	ToGetApiAppApiResultOutput() GetApiAppApiResultOutput
	ToGetApiAppApiResultOutputWithContext(context.Context) GetApiAppApiResultOutput
}

GetApiAppApiResultInput is an input type that accepts GetApiAppApiResultArgs and GetApiAppApiResultOutput values. You can construct a concrete instance of `GetApiAppApiResultInput` via:

GetApiAppApiResultArgs{...}

type GetApiAppApiResultMicroService added in v0.1.8

type GetApiAppApiResultMicroService struct {
	// Microservice cluster ID.
	ClusterId string `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName string `pulumi:"microServiceName"`
	// Microservice namespace ID.
	NamespaceId string `pulumi:"namespaceId"`
}

type GetApiAppApiResultMicroServiceArgs added in v0.1.8

type GetApiAppApiResultMicroServiceArgs struct {
	// Microservice cluster ID.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName pulumi.StringInput `pulumi:"microServiceName"`
	// Microservice namespace ID.
	NamespaceId pulumi.StringInput `pulumi:"namespaceId"`
}

func (GetApiAppApiResultMicroServiceArgs) ElementType added in v0.1.8

func (GetApiAppApiResultMicroServiceArgs) ToGetApiAppApiResultMicroServiceOutput added in v0.1.8

func (i GetApiAppApiResultMicroServiceArgs) ToGetApiAppApiResultMicroServiceOutput() GetApiAppApiResultMicroServiceOutput

func (GetApiAppApiResultMicroServiceArgs) ToGetApiAppApiResultMicroServiceOutputWithContext added in v0.1.8

func (i GetApiAppApiResultMicroServiceArgs) ToGetApiAppApiResultMicroServiceOutputWithContext(ctx context.Context) GetApiAppApiResultMicroServiceOutput

type GetApiAppApiResultMicroServiceArray added in v0.1.8

type GetApiAppApiResultMicroServiceArray []GetApiAppApiResultMicroServiceInput

func (GetApiAppApiResultMicroServiceArray) ElementType added in v0.1.8

func (GetApiAppApiResultMicroServiceArray) ToGetApiAppApiResultMicroServiceArrayOutput added in v0.1.8

func (i GetApiAppApiResultMicroServiceArray) ToGetApiAppApiResultMicroServiceArrayOutput() GetApiAppApiResultMicroServiceArrayOutput

func (GetApiAppApiResultMicroServiceArray) ToGetApiAppApiResultMicroServiceArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultMicroServiceArray) ToGetApiAppApiResultMicroServiceArrayOutputWithContext(ctx context.Context) GetApiAppApiResultMicroServiceArrayOutput

type GetApiAppApiResultMicroServiceArrayInput added in v0.1.8

type GetApiAppApiResultMicroServiceArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultMicroServiceArrayOutput() GetApiAppApiResultMicroServiceArrayOutput
	ToGetApiAppApiResultMicroServiceArrayOutputWithContext(context.Context) GetApiAppApiResultMicroServiceArrayOutput
}

GetApiAppApiResultMicroServiceArrayInput is an input type that accepts GetApiAppApiResultMicroServiceArray and GetApiAppApiResultMicroServiceArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultMicroServiceArrayInput` via:

GetApiAppApiResultMicroServiceArray{ GetApiAppApiResultMicroServiceArgs{...} }

type GetApiAppApiResultMicroServiceArrayOutput added in v0.1.8

type GetApiAppApiResultMicroServiceArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultMicroServiceArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultMicroServiceArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultMicroServiceArrayOutput) ToGetApiAppApiResultMicroServiceArrayOutput added in v0.1.8

func (o GetApiAppApiResultMicroServiceArrayOutput) ToGetApiAppApiResultMicroServiceArrayOutput() GetApiAppApiResultMicroServiceArrayOutput

func (GetApiAppApiResultMicroServiceArrayOutput) ToGetApiAppApiResultMicroServiceArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultMicroServiceArrayOutput) ToGetApiAppApiResultMicroServiceArrayOutputWithContext(ctx context.Context) GetApiAppApiResultMicroServiceArrayOutput

type GetApiAppApiResultMicroServiceInput added in v0.1.8

type GetApiAppApiResultMicroServiceInput interface {
	pulumi.Input

	ToGetApiAppApiResultMicroServiceOutput() GetApiAppApiResultMicroServiceOutput
	ToGetApiAppApiResultMicroServiceOutputWithContext(context.Context) GetApiAppApiResultMicroServiceOutput
}

GetApiAppApiResultMicroServiceInput is an input type that accepts GetApiAppApiResultMicroServiceArgs and GetApiAppApiResultMicroServiceOutput values. You can construct a concrete instance of `GetApiAppApiResultMicroServiceInput` via:

GetApiAppApiResultMicroServiceArgs{...}

type GetApiAppApiResultMicroServiceOutput added in v0.1.8

type GetApiAppApiResultMicroServiceOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultMicroServiceOutput) ClusterId added in v0.1.8

Microservice cluster ID.

func (GetApiAppApiResultMicroServiceOutput) ElementType added in v0.1.8

func (GetApiAppApiResultMicroServiceOutput) MicroServiceName added in v0.1.8

Microservice name.

func (GetApiAppApiResultMicroServiceOutput) NamespaceId added in v0.1.8

Microservice namespace ID.

func (GetApiAppApiResultMicroServiceOutput) ToGetApiAppApiResultMicroServiceOutput added in v0.1.8

func (o GetApiAppApiResultMicroServiceOutput) ToGetApiAppApiResultMicroServiceOutput() GetApiAppApiResultMicroServiceOutput

func (GetApiAppApiResultMicroServiceOutput) ToGetApiAppApiResultMicroServiceOutputWithContext added in v0.1.8

func (o GetApiAppApiResultMicroServiceOutput) ToGetApiAppApiResultMicroServiceOutputWithContext(ctx context.Context) GetApiAppApiResultMicroServiceOutput

type GetApiAppApiResultOauthConfig added in v0.1.8

type GetApiAppApiResultOauthConfig struct {
	// Redirect address, used to guide users to log in.
	LoginRedirectUrl string `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user token.
	PublicKey string `pulumi:"publicKey"`
	// Token delivery position.
	TokenLocation string `pulumi:"tokenLocation"`
}

type GetApiAppApiResultOauthConfigArgs added in v0.1.8

type GetApiAppApiResultOauthConfigArgs struct {
	// Redirect address, used to guide users to log in.
	LoginRedirectUrl pulumi.StringInput `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user token.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
	// Token delivery position.
	TokenLocation pulumi.StringInput `pulumi:"tokenLocation"`
}

func (GetApiAppApiResultOauthConfigArgs) ElementType added in v0.1.8

func (GetApiAppApiResultOauthConfigArgs) ToGetApiAppApiResultOauthConfigOutput added in v0.1.8

func (i GetApiAppApiResultOauthConfigArgs) ToGetApiAppApiResultOauthConfigOutput() GetApiAppApiResultOauthConfigOutput

func (GetApiAppApiResultOauthConfigArgs) ToGetApiAppApiResultOauthConfigOutputWithContext added in v0.1.8

func (i GetApiAppApiResultOauthConfigArgs) ToGetApiAppApiResultOauthConfigOutputWithContext(ctx context.Context) GetApiAppApiResultOauthConfigOutput

type GetApiAppApiResultOauthConfigArray added in v0.1.8

type GetApiAppApiResultOauthConfigArray []GetApiAppApiResultOauthConfigInput

func (GetApiAppApiResultOauthConfigArray) ElementType added in v0.1.8

func (GetApiAppApiResultOauthConfigArray) ToGetApiAppApiResultOauthConfigArrayOutput added in v0.1.8

func (i GetApiAppApiResultOauthConfigArray) ToGetApiAppApiResultOauthConfigArrayOutput() GetApiAppApiResultOauthConfigArrayOutput

func (GetApiAppApiResultOauthConfigArray) ToGetApiAppApiResultOauthConfigArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultOauthConfigArray) ToGetApiAppApiResultOauthConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultOauthConfigArrayOutput

type GetApiAppApiResultOauthConfigArrayInput added in v0.1.8

type GetApiAppApiResultOauthConfigArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultOauthConfigArrayOutput() GetApiAppApiResultOauthConfigArrayOutput
	ToGetApiAppApiResultOauthConfigArrayOutputWithContext(context.Context) GetApiAppApiResultOauthConfigArrayOutput
}

GetApiAppApiResultOauthConfigArrayInput is an input type that accepts GetApiAppApiResultOauthConfigArray and GetApiAppApiResultOauthConfigArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultOauthConfigArrayInput` via:

GetApiAppApiResultOauthConfigArray{ GetApiAppApiResultOauthConfigArgs{...} }

type GetApiAppApiResultOauthConfigArrayOutput added in v0.1.8

type GetApiAppApiResultOauthConfigArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultOauthConfigArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultOauthConfigArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultOauthConfigArrayOutput) ToGetApiAppApiResultOauthConfigArrayOutput added in v0.1.8

func (o GetApiAppApiResultOauthConfigArrayOutput) ToGetApiAppApiResultOauthConfigArrayOutput() GetApiAppApiResultOauthConfigArrayOutput

func (GetApiAppApiResultOauthConfigArrayOutput) ToGetApiAppApiResultOauthConfigArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultOauthConfigArrayOutput) ToGetApiAppApiResultOauthConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultOauthConfigArrayOutput

type GetApiAppApiResultOauthConfigInput added in v0.1.8

type GetApiAppApiResultOauthConfigInput interface {
	pulumi.Input

	ToGetApiAppApiResultOauthConfigOutput() GetApiAppApiResultOauthConfigOutput
	ToGetApiAppApiResultOauthConfigOutputWithContext(context.Context) GetApiAppApiResultOauthConfigOutput
}

GetApiAppApiResultOauthConfigInput is an input type that accepts GetApiAppApiResultOauthConfigArgs and GetApiAppApiResultOauthConfigOutput values. You can construct a concrete instance of `GetApiAppApiResultOauthConfigInput` via:

GetApiAppApiResultOauthConfigArgs{...}

type GetApiAppApiResultOauthConfigOutput added in v0.1.8

type GetApiAppApiResultOauthConfigOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultOauthConfigOutput) ElementType added in v0.1.8

func (GetApiAppApiResultOauthConfigOutput) LoginRedirectUrl added in v0.1.8

Redirect address, used to guide users to log in.

func (GetApiAppApiResultOauthConfigOutput) PublicKey added in v0.1.8

Public key, used to verify user token.

func (GetApiAppApiResultOauthConfigOutput) ToGetApiAppApiResultOauthConfigOutput added in v0.1.8

func (o GetApiAppApiResultOauthConfigOutput) ToGetApiAppApiResultOauthConfigOutput() GetApiAppApiResultOauthConfigOutput

func (GetApiAppApiResultOauthConfigOutput) ToGetApiAppApiResultOauthConfigOutputWithContext added in v0.1.8

func (o GetApiAppApiResultOauthConfigOutput) ToGetApiAppApiResultOauthConfigOutputWithContext(ctx context.Context) GetApiAppApiResultOauthConfigOutput

func (GetApiAppApiResultOauthConfigOutput) TokenLocation added in v0.1.8

Token delivery position.

type GetApiAppApiResultOutput added in v0.1.8

type GetApiAppApiResultOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultOutput) ApiBusinessType added in v0.1.8

func (o GetApiAppApiResultOutput) ApiBusinessType() pulumi.StringOutput

Type of OAUTH API. Possible values are NORMAL (Business API), �OAUTH (Authorization API).

func (GetApiAppApiResultOutput) ApiDesc added in v0.1.8

Description of the API interface.

func (GetApiAppApiResultOutput) ApiId added in v0.1.8

API interface unique ID.

func (GetApiAppApiResultOutput) ApiName added in v0.1.8

The name of the API interface.

func (GetApiAppApiResultOutput) ApiType added in v0.1.8

API type. Possible values are NORMAL (normal API) and TSF (microservice API).

func (GetApiAppApiResultOutput) AuthRelationApiId added in v0.1.8

func (o GetApiAppApiResultOutput) AuthRelationApiId() pulumi.StringOutput

OAUTH The unique ID of the authorization API associated with the business API.

func (GetApiAppApiResultOutput) AuthType added in v0.1.8

API authentication type. Possible values are SECRET (key pair authentication), NONE (authentication-free), and OAUTH.

func (GetApiAppApiResultOutput) Base64EncodedTriggerRules added in v0.1.8

Header triggers rules, and the total number of rules does not exceed 10.

func (GetApiAppApiResultOutput) ConstantParameters added in v0.1.8

Constant parameters.

func (GetApiAppApiResultOutput) CreatedTime added in v0.1.8

Creation time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.

func (GetApiAppApiResultOutput) ElementType added in v0.1.8

func (GetApiAppApiResultOutput) ElementType() reflect.Type

func (GetApiAppApiResultOutput) EnableCors added in v0.1.8

Whether to enable cross-domain.

func (GetApiAppApiResultOutput) Environments added in v0.1.8

API published environment information.

func (GetApiAppApiResultOutput) InternalDomain added in v0.1.8

func (o GetApiAppApiResultOutput) InternalDomain() pulumi.StringOutput

WEBSOCKET pushback address.

func (GetApiAppApiResultOutput) IsBase64Encoded added in v0.1.8

func (o GetApiAppApiResultOutput) IsBase64Encoded() pulumi.BoolOutput

Whether to enable Base64 encoding will only take effect when the backend is scf.

func (GetApiAppApiResultOutput) IsBase64Trigger added in v0.1.8

func (o GetApiAppApiResultOutput) IsBase64Trigger() pulumi.BoolOutput

Whether to enable Base64-encoded header triggering will only take effect when the backend is scf.

func (GetApiAppApiResultOutput) IsDebugAfterCharge added in v0.1.8

func (o GetApiAppApiResultOutput) IsDebugAfterCharge() pulumi.BoolOutput

Whether to debug after purchase (parameters reserved in the cloud market).

func (GetApiAppApiResultOutput) MicroServices added in v0.1.8

API binding microservice list.

func (GetApiAppApiResultOutput) MicroServicesInfos added in v0.1.8

func (o GetApiAppApiResultOutput) MicroServicesInfos() pulumi.IntArrayOutput

Microservice information details.

func (GetApiAppApiResultOutput) ModifiedTime added in v0.1.8

func (o GetApiAppApiResultOutput) ModifiedTime() pulumi.StringOutput

Last modification time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.

func (GetApiAppApiResultOutput) OauthConfigs added in v0.1.8

OAUTH configuration.

func (GetApiAppApiResultOutput) Protocol added in v0.1.8

The front-end request type of the API, such as HTTP or HTTPS or HTTP and HTTPS.

func (GetApiAppApiResultOutput) RequestConfigs added in v0.1.8

The requested frontend configuration.

func (GetApiAppApiResultOutput) RequestParameters added in v0.1.8

Front-end request parameters.

func (GetApiAppApiResultOutput) ResponseErrorCodes added in v0.1.8

User-defined error code configuration.

func (GetApiAppApiResultOutput) ResponseFailExample added in v0.1.8

func (o GetApiAppApiResultOutput) ResponseFailExample() pulumi.StringOutput

Custom response configuration failure response example.

func (GetApiAppApiResultOutput) ResponseSuccessExample added in v0.1.8

func (o GetApiAppApiResultOutput) ResponseSuccessExample() pulumi.StringOutput

Custom response configuration successful response example.

func (GetApiAppApiResultOutput) ResponseType added in v0.1.8

func (o GetApiAppApiResultOutput) ResponseType() pulumi.StringOutput

Return type.

func (GetApiAppApiResultOutput) ServiceConfigs added in v0.1.8

Backend service configuration for the API.

func (GetApiAppApiResultOutput) ServiceDesc added in v0.1.8

A description of the service where the API resides.

func (GetApiAppApiResultOutput) ServiceId added in v0.1.8

The unique ID of the service where the API resides.

func (GetApiAppApiResultOutput) ServiceMockReturnMessage added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceMockReturnMessage() pulumi.StringOutput

APIs backend Mock returns information. If ServiceType is Mock, this parameter must be passed.

func (GetApiAppApiResultOutput) ServiceName added in v0.1.8

The name of the service where the API resides.

func (GetApiAppApiResultOutput) ServiceParameters added in v0.1.8

API backend service parameters.

func (GetApiAppApiResultOutput) ServiceScfFunctionName added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceScfFunctionName() pulumi.StringOutput

Scf function name. Effective when the backend type is SCF.

func (GetApiAppApiResultOutput) ServiceScfFunctionNamespace added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceScfFunctionNamespace() pulumi.StringOutput

Scf function namespace. Effective when the backend type is SCF.

func (GetApiAppApiResultOutput) ServiceScfFunctionQualifier added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceScfFunctionQualifier() pulumi.StringOutput

Scf function version. Effective when the backend type is SCF.

func (GetApiAppApiResultOutput) ServiceScfIsIntegratedResponse added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceScfIsIntegratedResponse() pulumi.BoolOutput

Whether to enable integrated response.

func (GetApiAppApiResultOutput) ServiceTimeout added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceTimeout() pulumi.IntOutput

The backend service timeout of the API, in seconds.

func (GetApiAppApiResultOutput) ServiceTsfHealthCheckConfs added in v0.1.8

Health check configuration for microservices.

func (GetApiAppApiResultOutput) ServiceTsfLoadBalanceConfs added in v0.1.8

Load balancing configuration for microservices.

func (GetApiAppApiResultOutput) ServiceType added in v0.1.8

The backend service type of the API. Possible values are HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, and TARGET (internal testing).

func (GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionName added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionName() pulumi.StringOutput

Scf websocket cleaning function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionNamespace added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionNamespace() pulumi.StringOutput

Scf websocket cleanup function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionQualifier added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketCleanupFunctionQualifier() pulumi.StringOutput

Scf websocket cleanup function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionName added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionName() pulumi.StringOutput

Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionNamespace added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionNamespace() pulumi.StringOutput

Scf websocket registration function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionQualifier added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketRegisterFunctionQualifier() pulumi.StringOutput

Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionName added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionName() pulumi.StringOutput

Scf websocket transfer function. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionNamespace added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionNamespace() pulumi.StringOutput

Scf websocket transfer function namespace. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionQualifier added in v0.1.8

func (o GetApiAppApiResultOutput) ServiceWebsocketTransportFunctionQualifier() pulumi.StringOutput

Scf websocket transfer function version. Valid when the front-end type is WEBSOCKET and the back-end type is SCF.

func (GetApiAppApiResultOutput) Tags added in v0.1.8

API binding tag information.

func (GetApiAppApiResultOutput) ToGetApiAppApiResultOutput added in v0.1.8

func (o GetApiAppApiResultOutput) ToGetApiAppApiResultOutput() GetApiAppApiResultOutput

func (GetApiAppApiResultOutput) ToGetApiAppApiResultOutputWithContext added in v0.1.8

func (o GetApiAppApiResultOutput) ToGetApiAppApiResultOutputWithContext(ctx context.Context) GetApiAppApiResultOutput

type GetApiAppApiResultRequestConfig added in v0.1.8

type GetApiAppApiResultRequestConfig struct {
	// Load balancing method.
	Method string `pulumi:"method"`
	// API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.
	Path string `pulumi:"path"`
}

type GetApiAppApiResultRequestConfigArgs added in v0.1.8

type GetApiAppApiResultRequestConfigArgs struct {
	// Load balancing method.
	Method pulumi.StringInput `pulumi:"method"`
	// API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetApiAppApiResultRequestConfigArgs) ElementType added in v0.1.8

func (GetApiAppApiResultRequestConfigArgs) ToGetApiAppApiResultRequestConfigOutput added in v0.1.8

func (i GetApiAppApiResultRequestConfigArgs) ToGetApiAppApiResultRequestConfigOutput() GetApiAppApiResultRequestConfigOutput

func (GetApiAppApiResultRequestConfigArgs) ToGetApiAppApiResultRequestConfigOutputWithContext added in v0.1.8

func (i GetApiAppApiResultRequestConfigArgs) ToGetApiAppApiResultRequestConfigOutputWithContext(ctx context.Context) GetApiAppApiResultRequestConfigOutput

type GetApiAppApiResultRequestConfigArray added in v0.1.8

type GetApiAppApiResultRequestConfigArray []GetApiAppApiResultRequestConfigInput

func (GetApiAppApiResultRequestConfigArray) ElementType added in v0.1.8

func (GetApiAppApiResultRequestConfigArray) ToGetApiAppApiResultRequestConfigArrayOutput added in v0.1.8

func (i GetApiAppApiResultRequestConfigArray) ToGetApiAppApiResultRequestConfigArrayOutput() GetApiAppApiResultRequestConfigArrayOutput

func (GetApiAppApiResultRequestConfigArray) ToGetApiAppApiResultRequestConfigArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultRequestConfigArray) ToGetApiAppApiResultRequestConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultRequestConfigArrayOutput

type GetApiAppApiResultRequestConfigArrayInput added in v0.1.8

type GetApiAppApiResultRequestConfigArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultRequestConfigArrayOutput() GetApiAppApiResultRequestConfigArrayOutput
	ToGetApiAppApiResultRequestConfigArrayOutputWithContext(context.Context) GetApiAppApiResultRequestConfigArrayOutput
}

GetApiAppApiResultRequestConfigArrayInput is an input type that accepts GetApiAppApiResultRequestConfigArray and GetApiAppApiResultRequestConfigArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultRequestConfigArrayInput` via:

GetApiAppApiResultRequestConfigArray{ GetApiAppApiResultRequestConfigArgs{...} }

type GetApiAppApiResultRequestConfigArrayOutput added in v0.1.8

type GetApiAppApiResultRequestConfigArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultRequestConfigArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultRequestConfigArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultRequestConfigArrayOutput) ToGetApiAppApiResultRequestConfigArrayOutput added in v0.1.8

func (o GetApiAppApiResultRequestConfigArrayOutput) ToGetApiAppApiResultRequestConfigArrayOutput() GetApiAppApiResultRequestConfigArrayOutput

func (GetApiAppApiResultRequestConfigArrayOutput) ToGetApiAppApiResultRequestConfigArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultRequestConfigArrayOutput) ToGetApiAppApiResultRequestConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultRequestConfigArrayOutput

type GetApiAppApiResultRequestConfigInput added in v0.1.8

type GetApiAppApiResultRequestConfigInput interface {
	pulumi.Input

	ToGetApiAppApiResultRequestConfigOutput() GetApiAppApiResultRequestConfigOutput
	ToGetApiAppApiResultRequestConfigOutputWithContext(context.Context) GetApiAppApiResultRequestConfigOutput
}

GetApiAppApiResultRequestConfigInput is an input type that accepts GetApiAppApiResultRequestConfigArgs and GetApiAppApiResultRequestConfigOutput values. You can construct a concrete instance of `GetApiAppApiResultRequestConfigInput` via:

GetApiAppApiResultRequestConfigArgs{...}

type GetApiAppApiResultRequestConfigOutput added in v0.1.8

type GetApiAppApiResultRequestConfigOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultRequestConfigOutput) ElementType added in v0.1.8

func (GetApiAppApiResultRequestConfigOutput) Method added in v0.1.8

Load balancing method.

func (GetApiAppApiResultRequestConfigOutput) Path added in v0.1.8

API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.

func (GetApiAppApiResultRequestConfigOutput) ToGetApiAppApiResultRequestConfigOutput added in v0.1.8

func (o GetApiAppApiResultRequestConfigOutput) ToGetApiAppApiResultRequestConfigOutput() GetApiAppApiResultRequestConfigOutput

func (GetApiAppApiResultRequestConfigOutput) ToGetApiAppApiResultRequestConfigOutputWithContext added in v0.1.8

func (o GetApiAppApiResultRequestConfigOutput) ToGetApiAppApiResultRequestConfigOutputWithContext(ctx context.Context) GetApiAppApiResultRequestConfigOutput

type GetApiAppApiResultRequestParameter added in v0.1.8

type GetApiAppApiResultRequestParameter struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue string `pulumi:"defaultValue"`
	// Custom response configuration error code remarks.
	Desc string `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position string `pulumi:"position"`
	// .
	Required bool `pulumi:"required"`
	// API front-end parameter type, such as String, int.
	Type string `pulumi:"type"`
}

type GetApiAppApiResultRequestParameterArgs added in v0.1.8

type GetApiAppApiResultRequestParameterArgs struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// Custom response configuration error code remarks.
	Desc pulumi.StringInput `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name pulumi.StringInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position pulumi.StringInput `pulumi:"position"`
	// .
	Required pulumi.BoolInput `pulumi:"required"`
	// API front-end parameter type, such as String, int.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetApiAppApiResultRequestParameterArgs) ElementType added in v0.1.8

func (GetApiAppApiResultRequestParameterArgs) ToGetApiAppApiResultRequestParameterOutput added in v0.1.8

func (i GetApiAppApiResultRequestParameterArgs) ToGetApiAppApiResultRequestParameterOutput() GetApiAppApiResultRequestParameterOutput

func (GetApiAppApiResultRequestParameterArgs) ToGetApiAppApiResultRequestParameterOutputWithContext added in v0.1.8

func (i GetApiAppApiResultRequestParameterArgs) ToGetApiAppApiResultRequestParameterOutputWithContext(ctx context.Context) GetApiAppApiResultRequestParameterOutput

type GetApiAppApiResultRequestParameterArray added in v0.1.8

type GetApiAppApiResultRequestParameterArray []GetApiAppApiResultRequestParameterInput

func (GetApiAppApiResultRequestParameterArray) ElementType added in v0.1.8

func (GetApiAppApiResultRequestParameterArray) ToGetApiAppApiResultRequestParameterArrayOutput added in v0.1.8

func (i GetApiAppApiResultRequestParameterArray) ToGetApiAppApiResultRequestParameterArrayOutput() GetApiAppApiResultRequestParameterArrayOutput

func (GetApiAppApiResultRequestParameterArray) ToGetApiAppApiResultRequestParameterArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultRequestParameterArray) ToGetApiAppApiResultRequestParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultRequestParameterArrayOutput

type GetApiAppApiResultRequestParameterArrayInput added in v0.1.8

type GetApiAppApiResultRequestParameterArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultRequestParameterArrayOutput() GetApiAppApiResultRequestParameterArrayOutput
	ToGetApiAppApiResultRequestParameterArrayOutputWithContext(context.Context) GetApiAppApiResultRequestParameterArrayOutput
}

GetApiAppApiResultRequestParameterArrayInput is an input type that accepts GetApiAppApiResultRequestParameterArray and GetApiAppApiResultRequestParameterArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultRequestParameterArrayInput` via:

GetApiAppApiResultRequestParameterArray{ GetApiAppApiResultRequestParameterArgs{...} }

type GetApiAppApiResultRequestParameterArrayOutput added in v0.1.8

type GetApiAppApiResultRequestParameterArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultRequestParameterArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultRequestParameterArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultRequestParameterArrayOutput) ToGetApiAppApiResultRequestParameterArrayOutput added in v0.1.8

func (o GetApiAppApiResultRequestParameterArrayOutput) ToGetApiAppApiResultRequestParameterArrayOutput() GetApiAppApiResultRequestParameterArrayOutput

func (GetApiAppApiResultRequestParameterArrayOutput) ToGetApiAppApiResultRequestParameterArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultRequestParameterArrayOutput) ToGetApiAppApiResultRequestParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultRequestParameterArrayOutput

type GetApiAppApiResultRequestParameterInput added in v0.1.8

type GetApiAppApiResultRequestParameterInput interface {
	pulumi.Input

	ToGetApiAppApiResultRequestParameterOutput() GetApiAppApiResultRequestParameterOutput
	ToGetApiAppApiResultRequestParameterOutputWithContext(context.Context) GetApiAppApiResultRequestParameterOutput
}

GetApiAppApiResultRequestParameterInput is an input type that accepts GetApiAppApiResultRequestParameterArgs and GetApiAppApiResultRequestParameterOutput values. You can construct a concrete instance of `GetApiAppApiResultRequestParameterInput` via:

GetApiAppApiResultRequestParameterArgs{...}

type GetApiAppApiResultRequestParameterOutput added in v0.1.8

type GetApiAppApiResultRequestParameterOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultRequestParameterOutput) DefaultValue added in v0.1.8

Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultRequestParameterOutput) Desc added in v0.1.8

Custom response configuration error code remarks.

func (GetApiAppApiResultRequestParameterOutput) ElementType added in v0.1.8

func (GetApiAppApiResultRequestParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.

func (GetApiAppApiResultRequestParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.

func (GetApiAppApiResultRequestParameterOutput) Required added in v0.1.8

.

func (GetApiAppApiResultRequestParameterOutput) ToGetApiAppApiResultRequestParameterOutput added in v0.1.8

func (o GetApiAppApiResultRequestParameterOutput) ToGetApiAppApiResultRequestParameterOutput() GetApiAppApiResultRequestParameterOutput

func (GetApiAppApiResultRequestParameterOutput) ToGetApiAppApiResultRequestParameterOutputWithContext added in v0.1.8

func (o GetApiAppApiResultRequestParameterOutput) ToGetApiAppApiResultRequestParameterOutputWithContext(ctx context.Context) GetApiAppApiResultRequestParameterOutput

func (GetApiAppApiResultRequestParameterOutput) Type added in v0.1.8

API front-end parameter type, such as String, int.

type GetApiAppApiResultResponseErrorCode added in v0.1.8

type GetApiAppApiResultResponseErrorCode struct {
	// Custom response configuration error code.
	Code int `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode int `pulumi:"convertedCode"`
	// Custom response configuration error code remarks.
	Desc string `pulumi:"desc"`
	// Custom response configuration error message.
	Msg string `pulumi:"msg"`
	// Whether it is necessary to enable error code conversion.
	NeedConvert bool `pulumi:"needConvert"`
}

type GetApiAppApiResultResponseErrorCodeArgs added in v0.1.8

type GetApiAppApiResultResponseErrorCodeArgs struct {
	// Custom response configuration error code.
	Code pulumi.IntInput `pulumi:"code"`
	// Custom error code conversion.
	ConvertedCode pulumi.IntInput `pulumi:"convertedCode"`
	// Custom response configuration error code remarks.
	Desc pulumi.StringInput `pulumi:"desc"`
	// Custom response configuration error message.
	Msg pulumi.StringInput `pulumi:"msg"`
	// Whether it is necessary to enable error code conversion.
	NeedConvert pulumi.BoolInput `pulumi:"needConvert"`
}

func (GetApiAppApiResultResponseErrorCodeArgs) ElementType added in v0.1.8

func (GetApiAppApiResultResponseErrorCodeArgs) ToGetApiAppApiResultResponseErrorCodeOutput added in v0.1.8

func (i GetApiAppApiResultResponseErrorCodeArgs) ToGetApiAppApiResultResponseErrorCodeOutput() GetApiAppApiResultResponseErrorCodeOutput

func (GetApiAppApiResultResponseErrorCodeArgs) ToGetApiAppApiResultResponseErrorCodeOutputWithContext added in v0.1.8

func (i GetApiAppApiResultResponseErrorCodeArgs) ToGetApiAppApiResultResponseErrorCodeOutputWithContext(ctx context.Context) GetApiAppApiResultResponseErrorCodeOutput

type GetApiAppApiResultResponseErrorCodeArray added in v0.1.8

type GetApiAppApiResultResponseErrorCodeArray []GetApiAppApiResultResponseErrorCodeInput

func (GetApiAppApiResultResponseErrorCodeArray) ElementType added in v0.1.8

func (GetApiAppApiResultResponseErrorCodeArray) ToGetApiAppApiResultResponseErrorCodeArrayOutput added in v0.1.8

func (i GetApiAppApiResultResponseErrorCodeArray) ToGetApiAppApiResultResponseErrorCodeArrayOutput() GetApiAppApiResultResponseErrorCodeArrayOutput

func (GetApiAppApiResultResponseErrorCodeArray) ToGetApiAppApiResultResponseErrorCodeArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultResponseErrorCodeArray) ToGetApiAppApiResultResponseErrorCodeArrayOutputWithContext(ctx context.Context) GetApiAppApiResultResponseErrorCodeArrayOutput

type GetApiAppApiResultResponseErrorCodeArrayInput added in v0.1.8

type GetApiAppApiResultResponseErrorCodeArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultResponseErrorCodeArrayOutput() GetApiAppApiResultResponseErrorCodeArrayOutput
	ToGetApiAppApiResultResponseErrorCodeArrayOutputWithContext(context.Context) GetApiAppApiResultResponseErrorCodeArrayOutput
}

GetApiAppApiResultResponseErrorCodeArrayInput is an input type that accepts GetApiAppApiResultResponseErrorCodeArray and GetApiAppApiResultResponseErrorCodeArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultResponseErrorCodeArrayInput` via:

GetApiAppApiResultResponseErrorCodeArray{ GetApiAppApiResultResponseErrorCodeArgs{...} }

type GetApiAppApiResultResponseErrorCodeArrayOutput added in v0.1.8

type GetApiAppApiResultResponseErrorCodeArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultResponseErrorCodeArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultResponseErrorCodeArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultResponseErrorCodeArrayOutput) ToGetApiAppApiResultResponseErrorCodeArrayOutput added in v0.1.8

func (o GetApiAppApiResultResponseErrorCodeArrayOutput) ToGetApiAppApiResultResponseErrorCodeArrayOutput() GetApiAppApiResultResponseErrorCodeArrayOutput

func (GetApiAppApiResultResponseErrorCodeArrayOutput) ToGetApiAppApiResultResponseErrorCodeArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultResponseErrorCodeArrayOutput) ToGetApiAppApiResultResponseErrorCodeArrayOutputWithContext(ctx context.Context) GetApiAppApiResultResponseErrorCodeArrayOutput

type GetApiAppApiResultResponseErrorCodeInput added in v0.1.8

type GetApiAppApiResultResponseErrorCodeInput interface {
	pulumi.Input

	ToGetApiAppApiResultResponseErrorCodeOutput() GetApiAppApiResultResponseErrorCodeOutput
	ToGetApiAppApiResultResponseErrorCodeOutputWithContext(context.Context) GetApiAppApiResultResponseErrorCodeOutput
}

GetApiAppApiResultResponseErrorCodeInput is an input type that accepts GetApiAppApiResultResponseErrorCodeArgs and GetApiAppApiResultResponseErrorCodeOutput values. You can construct a concrete instance of `GetApiAppApiResultResponseErrorCodeInput` via:

GetApiAppApiResultResponseErrorCodeArgs{...}

type GetApiAppApiResultResponseErrorCodeOutput added in v0.1.8

type GetApiAppApiResultResponseErrorCodeOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultResponseErrorCodeOutput) Code added in v0.1.8

Custom response configuration error code.

func (GetApiAppApiResultResponseErrorCodeOutput) ConvertedCode added in v0.1.8

Custom error code conversion.

func (GetApiAppApiResultResponseErrorCodeOutput) Desc added in v0.1.8

Custom response configuration error code remarks.

func (GetApiAppApiResultResponseErrorCodeOutput) ElementType added in v0.1.8

func (GetApiAppApiResultResponseErrorCodeOutput) Msg added in v0.1.8

Custom response configuration error message.

func (GetApiAppApiResultResponseErrorCodeOutput) NeedConvert added in v0.1.8

Whether it is necessary to enable error code conversion.

func (GetApiAppApiResultResponseErrorCodeOutput) ToGetApiAppApiResultResponseErrorCodeOutput added in v0.1.8

func (o GetApiAppApiResultResponseErrorCodeOutput) ToGetApiAppApiResultResponseErrorCodeOutput() GetApiAppApiResultResponseErrorCodeOutput

func (GetApiAppApiResultResponseErrorCodeOutput) ToGetApiAppApiResultResponseErrorCodeOutputWithContext added in v0.1.8

func (o GetApiAppApiResultResponseErrorCodeOutput) ToGetApiAppApiResultResponseErrorCodeOutputWithContext(ctx context.Context) GetApiAppApiResultResponseErrorCodeOutput

type GetApiAppApiResultServiceConfig added in v0.1.8

type GetApiAppApiResultServiceConfig struct {
	// Load balancing method.
	Method string `pulumi:"method"`
	// API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.
	Path string `pulumi:"path"`
	// Backend type. It takes effect when vpc is enabled. Currently supported types are clb, cvm and upstream.
	Product string `pulumi:"product"`
	// The unique ID of the vpc.
	UniqVpcId string `pulumi:"uniqVpcId"`
	// Only required when binding vpc channel.
	UpstreamId string `pulumi:"upstreamId"`
	// API's backend service url. If ServiceType is HTTP, this parameter must be passed.
	Url string `pulumi:"url"`
}

type GetApiAppApiResultServiceConfigArgs added in v0.1.8

type GetApiAppApiResultServiceConfigArgs struct {
	// Load balancing method.
	Method pulumi.StringInput `pulumi:"method"`
	// API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.
	Path pulumi.StringInput `pulumi:"path"`
	// Backend type. It takes effect when vpc is enabled. Currently supported types are clb, cvm and upstream.
	Product pulumi.StringInput `pulumi:"product"`
	// The unique ID of the vpc.
	UniqVpcId pulumi.StringInput `pulumi:"uniqVpcId"`
	// Only required when binding vpc channel.
	UpstreamId pulumi.StringInput `pulumi:"upstreamId"`
	// API's backend service url. If ServiceType is HTTP, this parameter must be passed.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetApiAppApiResultServiceConfigArgs) ElementType added in v0.1.8

func (GetApiAppApiResultServiceConfigArgs) ToGetApiAppApiResultServiceConfigOutput added in v0.1.8

func (i GetApiAppApiResultServiceConfigArgs) ToGetApiAppApiResultServiceConfigOutput() GetApiAppApiResultServiceConfigOutput

func (GetApiAppApiResultServiceConfigArgs) ToGetApiAppApiResultServiceConfigOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceConfigArgs) ToGetApiAppApiResultServiceConfigOutputWithContext(ctx context.Context) GetApiAppApiResultServiceConfigOutput

type GetApiAppApiResultServiceConfigArray added in v0.1.8

type GetApiAppApiResultServiceConfigArray []GetApiAppApiResultServiceConfigInput

func (GetApiAppApiResultServiceConfigArray) ElementType added in v0.1.8

func (GetApiAppApiResultServiceConfigArray) ToGetApiAppApiResultServiceConfigArrayOutput added in v0.1.8

func (i GetApiAppApiResultServiceConfigArray) ToGetApiAppApiResultServiceConfigArrayOutput() GetApiAppApiResultServiceConfigArrayOutput

func (GetApiAppApiResultServiceConfigArray) ToGetApiAppApiResultServiceConfigArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceConfigArray) ToGetApiAppApiResultServiceConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceConfigArrayOutput

type GetApiAppApiResultServiceConfigArrayInput added in v0.1.8

type GetApiAppApiResultServiceConfigArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceConfigArrayOutput() GetApiAppApiResultServiceConfigArrayOutput
	ToGetApiAppApiResultServiceConfigArrayOutputWithContext(context.Context) GetApiAppApiResultServiceConfigArrayOutput
}

GetApiAppApiResultServiceConfigArrayInput is an input type that accepts GetApiAppApiResultServiceConfigArray and GetApiAppApiResultServiceConfigArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceConfigArrayInput` via:

GetApiAppApiResultServiceConfigArray{ GetApiAppApiResultServiceConfigArgs{...} }

type GetApiAppApiResultServiceConfigArrayOutput added in v0.1.8

type GetApiAppApiResultServiceConfigArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceConfigArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceConfigArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultServiceConfigArrayOutput) ToGetApiAppApiResultServiceConfigArrayOutput added in v0.1.8

func (o GetApiAppApiResultServiceConfigArrayOutput) ToGetApiAppApiResultServiceConfigArrayOutput() GetApiAppApiResultServiceConfigArrayOutput

func (GetApiAppApiResultServiceConfigArrayOutput) ToGetApiAppApiResultServiceConfigArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceConfigArrayOutput) ToGetApiAppApiResultServiceConfigArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceConfigArrayOutput

type GetApiAppApiResultServiceConfigInput added in v0.1.8

type GetApiAppApiResultServiceConfigInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceConfigOutput() GetApiAppApiResultServiceConfigOutput
	ToGetApiAppApiResultServiceConfigOutputWithContext(context.Context) GetApiAppApiResultServiceConfigOutput
}

GetApiAppApiResultServiceConfigInput is an input type that accepts GetApiAppApiResultServiceConfigArgs and GetApiAppApiResultServiceConfigOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceConfigInput` via:

GetApiAppApiResultServiceConfigArgs{...}

type GetApiAppApiResultServiceConfigOutput added in v0.1.8

type GetApiAppApiResultServiceConfigOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceConfigOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceConfigOutput) Method added in v0.1.8

Load balancing method.

func (GetApiAppApiResultServiceConfigOutput) Path added in v0.1.8

API backend service path, such as /path. If ServiceType is HTTP, this parameter is required. The front-end and back-end paths can be different.

func (GetApiAppApiResultServiceConfigOutput) Product added in v0.1.8

Backend type. It takes effect when vpc is enabled. Currently supported types are clb, cvm and upstream.

func (GetApiAppApiResultServiceConfigOutput) ToGetApiAppApiResultServiceConfigOutput added in v0.1.8

func (o GetApiAppApiResultServiceConfigOutput) ToGetApiAppApiResultServiceConfigOutput() GetApiAppApiResultServiceConfigOutput

func (GetApiAppApiResultServiceConfigOutput) ToGetApiAppApiResultServiceConfigOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceConfigOutput) ToGetApiAppApiResultServiceConfigOutputWithContext(ctx context.Context) GetApiAppApiResultServiceConfigOutput

func (GetApiAppApiResultServiceConfigOutput) UniqVpcId added in v0.1.8

The unique ID of the vpc.

func (GetApiAppApiResultServiceConfigOutput) UpstreamId added in v0.1.8

Only required when binding vpc channel.

func (GetApiAppApiResultServiceConfigOutput) Url added in v0.1.8

API's backend service url. If ServiceType is HTTP, this parameter must be passed.

type GetApiAppApiResultServiceParameter added in v0.1.8

type GetApiAppApiResultServiceParameter struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue string `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position string `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterDesc string `pulumi:"relevantRequestParameterDesc"`
	// The front-end parameter name corresponding to the back-end service parameter of the API. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterName string `pulumi:"relevantRequestParameterName"`
	// The front-end parameter position corresponding to the back-end service parameter of the API, such as head. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterPosition string `pulumi:"relevantRequestParameterPosition"`
}

type GetApiAppApiResultServiceParameterArgs added in v0.1.8

type GetApiAppApiResultServiceParameterArgs struct {
	// Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.
	Name pulumi.StringInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.
	Position pulumi.StringInput `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterDesc pulumi.StringInput `pulumi:"relevantRequestParameterDesc"`
	// The front-end parameter name corresponding to the back-end service parameter of the API. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterName pulumi.StringInput `pulumi:"relevantRequestParameterName"`
	// The front-end parameter position corresponding to the back-end service parameter of the API, such as head. This parameter is only used if the ServiceType is HTTP.
	RelevantRequestParameterPosition pulumi.StringInput `pulumi:"relevantRequestParameterPosition"`
}

func (GetApiAppApiResultServiceParameterArgs) ElementType added in v0.1.8

func (GetApiAppApiResultServiceParameterArgs) ToGetApiAppApiResultServiceParameterOutput added in v0.1.8

func (i GetApiAppApiResultServiceParameterArgs) ToGetApiAppApiResultServiceParameterOutput() GetApiAppApiResultServiceParameterOutput

func (GetApiAppApiResultServiceParameterArgs) ToGetApiAppApiResultServiceParameterOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceParameterArgs) ToGetApiAppApiResultServiceParameterOutputWithContext(ctx context.Context) GetApiAppApiResultServiceParameterOutput

type GetApiAppApiResultServiceParameterArray added in v0.1.8

type GetApiAppApiResultServiceParameterArray []GetApiAppApiResultServiceParameterInput

func (GetApiAppApiResultServiceParameterArray) ElementType added in v0.1.8

func (GetApiAppApiResultServiceParameterArray) ToGetApiAppApiResultServiceParameterArrayOutput added in v0.1.8

func (i GetApiAppApiResultServiceParameterArray) ToGetApiAppApiResultServiceParameterArrayOutput() GetApiAppApiResultServiceParameterArrayOutput

func (GetApiAppApiResultServiceParameterArray) ToGetApiAppApiResultServiceParameterArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceParameterArray) ToGetApiAppApiResultServiceParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceParameterArrayOutput

type GetApiAppApiResultServiceParameterArrayInput added in v0.1.8

type GetApiAppApiResultServiceParameterArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceParameterArrayOutput() GetApiAppApiResultServiceParameterArrayOutput
	ToGetApiAppApiResultServiceParameterArrayOutputWithContext(context.Context) GetApiAppApiResultServiceParameterArrayOutput
}

GetApiAppApiResultServiceParameterArrayInput is an input type that accepts GetApiAppApiResultServiceParameterArray and GetApiAppApiResultServiceParameterArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceParameterArrayInput` via:

GetApiAppApiResultServiceParameterArray{ GetApiAppApiResultServiceParameterArgs{...} }

type GetApiAppApiResultServiceParameterArrayOutput added in v0.1.8

type GetApiAppApiResultServiceParameterArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceParameterArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceParameterArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultServiceParameterArrayOutput) ToGetApiAppApiResultServiceParameterArrayOutput added in v0.1.8

func (o GetApiAppApiResultServiceParameterArrayOutput) ToGetApiAppApiResultServiceParameterArrayOutput() GetApiAppApiResultServiceParameterArrayOutput

func (GetApiAppApiResultServiceParameterArrayOutput) ToGetApiAppApiResultServiceParameterArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceParameterArrayOutput) ToGetApiAppApiResultServiceParameterArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceParameterArrayOutput

type GetApiAppApiResultServiceParameterInput added in v0.1.8

type GetApiAppApiResultServiceParameterInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceParameterOutput() GetApiAppApiResultServiceParameterOutput
	ToGetApiAppApiResultServiceParameterOutputWithContext(context.Context) GetApiAppApiResultServiceParameterOutput
}

GetApiAppApiResultServiceParameterInput is an input type that accepts GetApiAppApiResultServiceParameterArgs and GetApiAppApiResultServiceParameterOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceParameterInput` via:

GetApiAppApiResultServiceParameterArgs{...}

type GetApiAppApiResultServiceParameterOutput added in v0.1.8

type GetApiAppApiResultServiceParameterOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceParameterOutput) DefaultValue added in v0.1.8

Default values for the APIs backend service parameters. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultServiceParameterOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter will be used only if the ServiceType is HTTP. The front-end and back-end parameter names can be different.

func (GetApiAppApiResultServiceParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used if the ServiceType is HTTP. The front-end and back-end parameter positions can be configured differently.

func (GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterDesc added in v0.1.8

func (o GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterDesc() pulumi.StringOutput

Remarks on the backend service parameters of the API. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterName added in v0.1.8

func (o GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterName() pulumi.StringOutput

The front-end parameter name corresponding to the back-end service parameter of the API. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterPosition added in v0.1.8

func (o GetApiAppApiResultServiceParameterOutput) RelevantRequestParameterPosition() pulumi.StringOutput

The front-end parameter position corresponding to the back-end service parameter of the API, such as head. This parameter is only used if the ServiceType is HTTP.

func (GetApiAppApiResultServiceParameterOutput) ToGetApiAppApiResultServiceParameterOutput added in v0.1.8

func (o GetApiAppApiResultServiceParameterOutput) ToGetApiAppApiResultServiceParameterOutput() GetApiAppApiResultServiceParameterOutput

func (GetApiAppApiResultServiceParameterOutput) ToGetApiAppApiResultServiceParameterOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceParameterOutput) ToGetApiAppApiResultServiceParameterOutputWithContext(ctx context.Context) GetApiAppApiResultServiceParameterOutput

type GetApiAppApiResultServiceTsfHealthCheckConf added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConf struct {
	// Threshold percentage.
	ErrorThresholdPercentage int `pulumi:"errorThresholdPercentage"`
	// Whether to enable health check.
	IsHealthCheck bool `pulumi:"isHealthCheck"`
	// Health check threshold.
	RequestVolumeThreshold int `pulumi:"requestVolumeThreshold"`
	// Window size.
	SleepWindowInMilliseconds int `pulumi:"sleepWindowInMilliseconds"`
}

type GetApiAppApiResultServiceTsfHealthCheckConfArgs added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfArgs struct {
	// Threshold percentage.
	ErrorThresholdPercentage pulumi.IntInput `pulumi:"errorThresholdPercentage"`
	// Whether to enable health check.
	IsHealthCheck pulumi.BoolInput `pulumi:"isHealthCheck"`
	// Health check threshold.
	RequestVolumeThreshold pulumi.IntInput `pulumi:"requestVolumeThreshold"`
	// Window size.
	SleepWindowInMilliseconds pulumi.IntInput `pulumi:"sleepWindowInMilliseconds"`
}

func (GetApiAppApiResultServiceTsfHealthCheckConfArgs) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfArgs) ToGetApiAppApiResultServiceTsfHealthCheckConfOutput added in v0.1.8

func (i GetApiAppApiResultServiceTsfHealthCheckConfArgs) ToGetApiAppApiResultServiceTsfHealthCheckConfOutput() GetApiAppApiResultServiceTsfHealthCheckConfOutput

func (GetApiAppApiResultServiceTsfHealthCheckConfArgs) ToGetApiAppApiResultServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceTsfHealthCheckConfArgs) ToGetApiAppApiResultServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfHealthCheckConfOutput

type GetApiAppApiResultServiceTsfHealthCheckConfArray added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfArray []GetApiAppApiResultServiceTsfHealthCheckConfInput

func (GetApiAppApiResultServiceTsfHealthCheckConfArray) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfArray) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutput added in v0.1.8

func (i GetApiAppApiResultServiceTsfHealthCheckConfArray) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutput() GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput

func (GetApiAppApiResultServiceTsfHealthCheckConfArray) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceTsfHealthCheckConfArray) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput

type GetApiAppApiResultServiceTsfHealthCheckConfArrayInput added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutput() GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput
	ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutputWithContext(context.Context) GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput
}

GetApiAppApiResultServiceTsfHealthCheckConfArrayInput is an input type that accepts GetApiAppApiResultServiceTsfHealthCheckConfArray and GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceTsfHealthCheckConfArrayInput` via:

GetApiAppApiResultServiceTsfHealthCheckConfArray{ GetApiAppApiResultServiceTsfHealthCheckConfArgs{...} }

type GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutput added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfHealthCheckConfArrayOutput

type GetApiAppApiResultServiceTsfHealthCheckConfInput added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceTsfHealthCheckConfOutput() GetApiAppApiResultServiceTsfHealthCheckConfOutput
	ToGetApiAppApiResultServiceTsfHealthCheckConfOutputWithContext(context.Context) GetApiAppApiResultServiceTsfHealthCheckConfOutput
}

GetApiAppApiResultServiceTsfHealthCheckConfInput is an input type that accepts GetApiAppApiResultServiceTsfHealthCheckConfArgs and GetApiAppApiResultServiceTsfHealthCheckConfOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceTsfHealthCheckConfInput` via:

GetApiAppApiResultServiceTsfHealthCheckConfArgs{...}

type GetApiAppApiResultServiceTsfHealthCheckConfOutput added in v0.1.8

type GetApiAppApiResultServiceTsfHealthCheckConfOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) ErrorThresholdPercentage added in v0.1.8

Threshold percentage.

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) IsHealthCheck added in v0.1.8

Whether to enable health check.

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) RequestVolumeThreshold added in v0.1.8

Health check threshold.

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) SleepWindowInMilliseconds added in v0.1.8

Window size.

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfOutput added in v0.1.8

func (o GetApiAppApiResultServiceTsfHealthCheckConfOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfOutput() GetApiAppApiResultServiceTsfHealthCheckConfOutput

func (GetApiAppApiResultServiceTsfHealthCheckConfOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceTsfHealthCheckConfOutput) ToGetApiAppApiResultServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfHealthCheckConfOutput

type GetApiAppApiResultServiceTsfLoadBalanceConf added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConf struct {
	// Whether to enable load balancing.
	IsLoadBalance bool `pulumi:"isLoadBalance"`
	// Load balancing method.
	Method string `pulumi:"method"`
	// Whether to enable session persistence.
	SessionStickRequired bool `pulumi:"sessionStickRequired"`
	// Session retention timeout.
	SessionStickTimeout int `pulumi:"sessionStickTimeout"`
}

type GetApiAppApiResultServiceTsfLoadBalanceConfArgs added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfArgs struct {
	// Whether to enable load balancing.
	IsLoadBalance pulumi.BoolInput `pulumi:"isLoadBalance"`
	// Load balancing method.
	Method pulumi.StringInput `pulumi:"method"`
	// Whether to enable session persistence.
	SessionStickRequired pulumi.BoolInput `pulumi:"sessionStickRequired"`
	// Session retention timeout.
	SessionStickTimeout pulumi.IntInput `pulumi:"sessionStickTimeout"`
}

func (GetApiAppApiResultServiceTsfLoadBalanceConfArgs) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfArgs) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutput added in v0.1.8

func (i GetApiAppApiResultServiceTsfLoadBalanceConfArgs) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutput() GetApiAppApiResultServiceTsfLoadBalanceConfOutput

func (GetApiAppApiResultServiceTsfLoadBalanceConfArgs) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceTsfLoadBalanceConfArgs) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfOutput

type GetApiAppApiResultServiceTsfLoadBalanceConfArray added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfArray []GetApiAppApiResultServiceTsfLoadBalanceConfInput

func (GetApiAppApiResultServiceTsfLoadBalanceConfArray) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfArray) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

func (i GetApiAppApiResultServiceTsfLoadBalanceConfArray) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput() GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput

func (GetApiAppApiResultServiceTsfLoadBalanceConfArray) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultServiceTsfLoadBalanceConfArray) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput

type GetApiAppApiResultServiceTsfLoadBalanceConfArrayInput added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput() GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput
	ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutputWithContext(context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput
}

GetApiAppApiResultServiceTsfLoadBalanceConfArrayInput is an input type that accepts GetApiAppApiResultServiceTsfLoadBalanceConfArray and GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceTsfLoadBalanceConfArrayInput` via:

GetApiAppApiResultServiceTsfLoadBalanceConfArray{ GetApiAppApiResultServiceTsfLoadBalanceConfArgs{...} }

type GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfArrayOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfArrayOutput

type GetApiAppApiResultServiceTsfLoadBalanceConfInput added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfInput interface {
	pulumi.Input

	ToGetApiAppApiResultServiceTsfLoadBalanceConfOutput() GetApiAppApiResultServiceTsfLoadBalanceConfOutput
	ToGetApiAppApiResultServiceTsfLoadBalanceConfOutputWithContext(context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfOutput
}

GetApiAppApiResultServiceTsfLoadBalanceConfInput is an input type that accepts GetApiAppApiResultServiceTsfLoadBalanceConfArgs and GetApiAppApiResultServiceTsfLoadBalanceConfOutput values. You can construct a concrete instance of `GetApiAppApiResultServiceTsfLoadBalanceConfInput` via:

GetApiAppApiResultServiceTsfLoadBalanceConfArgs{...}

type GetApiAppApiResultServiceTsfLoadBalanceConfOutput added in v0.1.8

type GetApiAppApiResultServiceTsfLoadBalanceConfOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) ElementType added in v0.1.8

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) IsLoadBalance added in v0.1.8

Whether to enable load balancing.

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) Method added in v0.1.8

Load balancing method.

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) SessionStickRequired added in v0.1.8

Whether to enable session persistence.

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) SessionStickTimeout added in v0.1.8

Session retention timeout.

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutput added in v0.1.8

func (o GetApiAppApiResultServiceTsfLoadBalanceConfOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutput() GetApiAppApiResultServiceTsfLoadBalanceConfOutput

func (GetApiAppApiResultServiceTsfLoadBalanceConfOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (o GetApiAppApiResultServiceTsfLoadBalanceConfOutput) ToGetApiAppApiResultServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) GetApiAppApiResultServiceTsfLoadBalanceConfOutput

type GetApiAppApiResultTag added in v0.1.8

type GetApiAppApiResultTag struct {
	// Key of the label.
	Key string `pulumi:"key"`
	// The value of the note.
	Value string `pulumi:"value"`
}

type GetApiAppApiResultTagArgs added in v0.1.8

type GetApiAppApiResultTagArgs struct {
	// Key of the label.
	Key pulumi.StringInput `pulumi:"key"`
	// The value of the note.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetApiAppApiResultTagArgs) ElementType added in v0.1.8

func (GetApiAppApiResultTagArgs) ElementType() reflect.Type

func (GetApiAppApiResultTagArgs) ToGetApiAppApiResultTagOutput added in v0.1.8

func (i GetApiAppApiResultTagArgs) ToGetApiAppApiResultTagOutput() GetApiAppApiResultTagOutput

func (GetApiAppApiResultTagArgs) ToGetApiAppApiResultTagOutputWithContext added in v0.1.8

func (i GetApiAppApiResultTagArgs) ToGetApiAppApiResultTagOutputWithContext(ctx context.Context) GetApiAppApiResultTagOutput

type GetApiAppApiResultTagArray added in v0.1.8

type GetApiAppApiResultTagArray []GetApiAppApiResultTagInput

func (GetApiAppApiResultTagArray) ElementType added in v0.1.8

func (GetApiAppApiResultTagArray) ElementType() reflect.Type

func (GetApiAppApiResultTagArray) ToGetApiAppApiResultTagArrayOutput added in v0.1.8

func (i GetApiAppApiResultTagArray) ToGetApiAppApiResultTagArrayOutput() GetApiAppApiResultTagArrayOutput

func (GetApiAppApiResultTagArray) ToGetApiAppApiResultTagArrayOutputWithContext added in v0.1.8

func (i GetApiAppApiResultTagArray) ToGetApiAppApiResultTagArrayOutputWithContext(ctx context.Context) GetApiAppApiResultTagArrayOutput

type GetApiAppApiResultTagArrayInput added in v0.1.8

type GetApiAppApiResultTagArrayInput interface {
	pulumi.Input

	ToGetApiAppApiResultTagArrayOutput() GetApiAppApiResultTagArrayOutput
	ToGetApiAppApiResultTagArrayOutputWithContext(context.Context) GetApiAppApiResultTagArrayOutput
}

GetApiAppApiResultTagArrayInput is an input type that accepts GetApiAppApiResultTagArray and GetApiAppApiResultTagArrayOutput values. You can construct a concrete instance of `GetApiAppApiResultTagArrayInput` via:

GetApiAppApiResultTagArray{ GetApiAppApiResultTagArgs{...} }

type GetApiAppApiResultTagArrayOutput added in v0.1.8

type GetApiAppApiResultTagArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultTagArrayOutput) ElementType added in v0.1.8

func (GetApiAppApiResultTagArrayOutput) Index added in v0.1.8

func (GetApiAppApiResultTagArrayOutput) ToGetApiAppApiResultTagArrayOutput added in v0.1.8

func (o GetApiAppApiResultTagArrayOutput) ToGetApiAppApiResultTagArrayOutput() GetApiAppApiResultTagArrayOutput

func (GetApiAppApiResultTagArrayOutput) ToGetApiAppApiResultTagArrayOutputWithContext added in v0.1.8

func (o GetApiAppApiResultTagArrayOutput) ToGetApiAppApiResultTagArrayOutputWithContext(ctx context.Context) GetApiAppApiResultTagArrayOutput

type GetApiAppApiResultTagInput added in v0.1.8

type GetApiAppApiResultTagInput interface {
	pulumi.Input

	ToGetApiAppApiResultTagOutput() GetApiAppApiResultTagOutput
	ToGetApiAppApiResultTagOutputWithContext(context.Context) GetApiAppApiResultTagOutput
}

GetApiAppApiResultTagInput is an input type that accepts GetApiAppApiResultTagArgs and GetApiAppApiResultTagOutput values. You can construct a concrete instance of `GetApiAppApiResultTagInput` via:

GetApiAppApiResultTagArgs{...}

type GetApiAppApiResultTagOutput added in v0.1.8

type GetApiAppApiResultTagOutput struct{ *pulumi.OutputState }

func (GetApiAppApiResultTagOutput) ElementType added in v0.1.8

func (GetApiAppApiResultTagOutput) Key added in v0.1.8

Key of the label.

func (GetApiAppApiResultTagOutput) ToGetApiAppApiResultTagOutput added in v0.1.8

func (o GetApiAppApiResultTagOutput) ToGetApiAppApiResultTagOutput() GetApiAppApiResultTagOutput

func (GetApiAppApiResultTagOutput) ToGetApiAppApiResultTagOutputWithContext added in v0.1.8

func (o GetApiAppApiResultTagOutput) ToGetApiAppApiResultTagOutputWithContext(ctx context.Context) GetApiAppApiResultTagOutput

func (GetApiAppApiResultTagOutput) Value added in v0.1.8

The value of the note.

type GetApiAppServiceApiIdStatusSet added in v0.1.8

type GetApiAppServiceApiIdStatusSet struct {
	// API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiBusinessType string `pulumi:"apiBusinessType"`
	// API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
	ApiDesc string `pulumi:"apiDesc"`
	// API unique ID.
	ApiId string `pulumi:"apiId"`
	// API name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiName string `pulumi:"apiName"`
	// API type.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiType string `pulumi:"apiType"`
	// Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
	AuthRelationApiId string `pulumi:"authRelationApiId"`
	// Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
	AuthType string `pulumi:"authType"`
	// Use planned time.
	CreatedTime string `pulumi:"createdTime"`
	// Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsDebugAfterCharge bool `pulumi:"isDebugAfterCharge"`
	// API METHOD.
	Method string `pulumi:"method"`
	// Use the schedule to modify the time.
	ModifiedTime string `pulumi:"modifiedTime"`
	// OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
	OauthConfigs []GetApiAppServiceApiIdStatusSetOauthConfig `pulumi:"oauthConfigs"`
	// API PATH.
	Path string `pulumi:"path"`
	// Service support protocol, optional values are http, https, and http&https.
	Protocol string `pulumi:"protocol"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
	// OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
	TokenLocation string `pulumi:"tokenLocation"`
	// VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
	UniqVpcId string `pulumi:"uniqVpcId"`
}

type GetApiAppServiceApiIdStatusSetArgs added in v0.1.8

type GetApiAppServiceApiIdStatusSetArgs struct {
	// API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiBusinessType pulumi.StringInput `pulumi:"apiBusinessType"`
	// API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
	ApiDesc pulumi.StringInput `pulumi:"apiDesc"`
	// API unique ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API type.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiType pulumi.StringInput `pulumi:"apiType"`
	// Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
	AuthRelationApiId pulumi.StringInput `pulumi:"authRelationApiId"`
	// Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
	AuthType pulumi.StringInput `pulumi:"authType"`
	// Use planned time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsDebugAfterCharge pulumi.BoolInput `pulumi:"isDebugAfterCharge"`
	// API METHOD.
	Method pulumi.StringInput `pulumi:"method"`
	// Use the schedule to modify the time.
	ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"`
	// OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
	OauthConfigs GetApiAppServiceApiIdStatusSetOauthConfigArrayInput `pulumi:"oauthConfigs"`
	// API PATH.
	Path pulumi.StringInput `pulumi:"path"`
	// Service support protocol, optional values are http, https, and http&https.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
	TokenLocation pulumi.StringInput `pulumi:"tokenLocation"`
	// VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
	UniqVpcId pulumi.StringInput `pulumi:"uniqVpcId"`
}

func (GetApiAppServiceApiIdStatusSetArgs) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetArgs) ToGetApiAppServiceApiIdStatusSetOutput added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetArgs) ToGetApiAppServiceApiIdStatusSetOutput() GetApiAppServiceApiIdStatusSetOutput

func (GetApiAppServiceApiIdStatusSetArgs) ToGetApiAppServiceApiIdStatusSetOutputWithContext added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetArgs) ToGetApiAppServiceApiIdStatusSetOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOutput

type GetApiAppServiceApiIdStatusSetArray added in v0.1.8

type GetApiAppServiceApiIdStatusSetArray []GetApiAppServiceApiIdStatusSetInput

func (GetApiAppServiceApiIdStatusSetArray) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetArray) ToGetApiAppServiceApiIdStatusSetArrayOutput added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetArray) ToGetApiAppServiceApiIdStatusSetArrayOutput() GetApiAppServiceApiIdStatusSetArrayOutput

func (GetApiAppServiceApiIdStatusSetArray) ToGetApiAppServiceApiIdStatusSetArrayOutputWithContext added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetArray) ToGetApiAppServiceApiIdStatusSetArrayOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetArrayOutput

type GetApiAppServiceApiIdStatusSetArrayInput added in v0.1.8

type GetApiAppServiceApiIdStatusSetArrayInput interface {
	pulumi.Input

	ToGetApiAppServiceApiIdStatusSetArrayOutput() GetApiAppServiceApiIdStatusSetArrayOutput
	ToGetApiAppServiceApiIdStatusSetArrayOutputWithContext(context.Context) GetApiAppServiceApiIdStatusSetArrayOutput
}

GetApiAppServiceApiIdStatusSetArrayInput is an input type that accepts GetApiAppServiceApiIdStatusSetArray and GetApiAppServiceApiIdStatusSetArrayOutput values. You can construct a concrete instance of `GetApiAppServiceApiIdStatusSetArrayInput` via:

GetApiAppServiceApiIdStatusSetArray{ GetApiAppServiceApiIdStatusSetArgs{...} }

type GetApiAppServiceApiIdStatusSetArrayOutput added in v0.1.8

type GetApiAppServiceApiIdStatusSetArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceApiIdStatusSetArrayOutput) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetArrayOutput) Index added in v0.1.8

func (GetApiAppServiceApiIdStatusSetArrayOutput) ToGetApiAppServiceApiIdStatusSetArrayOutput added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetArrayOutput) ToGetApiAppServiceApiIdStatusSetArrayOutput() GetApiAppServiceApiIdStatusSetArrayOutput

func (GetApiAppServiceApiIdStatusSetArrayOutput) ToGetApiAppServiceApiIdStatusSetArrayOutputWithContext added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetArrayOutput) ToGetApiAppServiceApiIdStatusSetArrayOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetArrayOutput

type GetApiAppServiceApiIdStatusSetInput added in v0.1.8

type GetApiAppServiceApiIdStatusSetInput interface {
	pulumi.Input

	ToGetApiAppServiceApiIdStatusSetOutput() GetApiAppServiceApiIdStatusSetOutput
	ToGetApiAppServiceApiIdStatusSetOutputWithContext(context.Context) GetApiAppServiceApiIdStatusSetOutput
}

GetApiAppServiceApiIdStatusSetInput is an input type that accepts GetApiAppServiceApiIdStatusSetArgs and GetApiAppServiceApiIdStatusSetOutput values. You can construct a concrete instance of `GetApiAppServiceApiIdStatusSetInput` via:

GetApiAppServiceApiIdStatusSetArgs{...}

type GetApiAppServiceApiIdStatusSetOauthConfig added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfig struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl string `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey string `pulumi:"publicKey"`
	// OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
	TokenLocation string `pulumi:"tokenLocation"`
}

type GetApiAppServiceApiIdStatusSetOauthConfigArgs added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigArgs struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl pulumi.StringInput `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
	// OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
	TokenLocation pulumi.StringInput `pulumi:"tokenLocation"`
}

func (GetApiAppServiceApiIdStatusSetOauthConfigArgs) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigArgs) ToGetApiAppServiceApiIdStatusSetOauthConfigOutput added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetOauthConfigArgs) ToGetApiAppServiceApiIdStatusSetOauthConfigOutput() GetApiAppServiceApiIdStatusSetOauthConfigOutput

func (GetApiAppServiceApiIdStatusSetOauthConfigArgs) ToGetApiAppServiceApiIdStatusSetOauthConfigOutputWithContext added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetOauthConfigArgs) ToGetApiAppServiceApiIdStatusSetOauthConfigOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOauthConfigOutput

type GetApiAppServiceApiIdStatusSetOauthConfigArray added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigArray []GetApiAppServiceApiIdStatusSetOauthConfigInput

func (GetApiAppServiceApiIdStatusSetOauthConfigArray) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigArray) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutput added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetOauthConfigArray) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutput() GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput

func (GetApiAppServiceApiIdStatusSetOauthConfigArray) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutputWithContext added in v0.1.8

func (i GetApiAppServiceApiIdStatusSetOauthConfigArray) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput

type GetApiAppServiceApiIdStatusSetOauthConfigArrayInput added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigArrayInput interface {
	pulumi.Input

	ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutput() GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput
	ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutputWithContext(context.Context) GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput
}

GetApiAppServiceApiIdStatusSetOauthConfigArrayInput is an input type that accepts GetApiAppServiceApiIdStatusSetOauthConfigArray and GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput values. You can construct a concrete instance of `GetApiAppServiceApiIdStatusSetOauthConfigArrayInput` via:

GetApiAppServiceApiIdStatusSetOauthConfigArray{ GetApiAppServiceApiIdStatusSetOauthConfigArgs{...} }

type GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput) Index added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutput added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutputWithContext added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigArrayOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOauthConfigArrayOutput

type GetApiAppServiceApiIdStatusSetOauthConfigInput added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigInput interface {
	pulumi.Input

	ToGetApiAppServiceApiIdStatusSetOauthConfigOutput() GetApiAppServiceApiIdStatusSetOauthConfigOutput
	ToGetApiAppServiceApiIdStatusSetOauthConfigOutputWithContext(context.Context) GetApiAppServiceApiIdStatusSetOauthConfigOutput
}

GetApiAppServiceApiIdStatusSetOauthConfigInput is an input type that accepts GetApiAppServiceApiIdStatusSetOauthConfigArgs and GetApiAppServiceApiIdStatusSetOauthConfigOutput values. You can construct a concrete instance of `GetApiAppServiceApiIdStatusSetOauthConfigInput` via:

GetApiAppServiceApiIdStatusSetOauthConfigArgs{...}

type GetApiAppServiceApiIdStatusSetOauthConfigOutput added in v0.1.8

type GetApiAppServiceApiIdStatusSetOauthConfigOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) LoginRedirectUrl added in v0.1.8

Redirect address, used to guide users in login operations.

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) PublicKey added in v0.1.8

Public key, used to verify user tokens.

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigOutput added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetOauthConfigOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigOutput() GetApiAppServiceApiIdStatusSetOauthConfigOutput

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigOutputWithContext added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetOauthConfigOutput) ToGetApiAppServiceApiIdStatusSetOauthConfigOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOauthConfigOutput

func (GetApiAppServiceApiIdStatusSetOauthConfigOutput) TokenLocation added in v0.1.8

OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.

type GetApiAppServiceApiIdStatusSetOutput added in v0.1.8

type GetApiAppServiceApiIdStatusSetOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceApiIdStatusSetOutput) ApiBusinessType added in v0.1.8

API business type.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) ApiDesc added in v0.1.8

API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) ApiId added in v0.1.8

API unique ID.

func (GetApiAppServiceApiIdStatusSetOutput) ApiName added in v0.1.8

API name.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) ApiType added in v0.1.8

API type.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) AuthRelationApiId added in v0.1.8

Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) AuthType added in v0.1.8

Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) CreatedTime added in v0.1.8

Use planned time.

func (GetApiAppServiceApiIdStatusSetOutput) ElementType added in v0.1.8

func (GetApiAppServiceApiIdStatusSetOutput) IsDebugAfterCharge added in v0.1.8

Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) Method added in v0.1.8

API METHOD.

func (GetApiAppServiceApiIdStatusSetOutput) ModifiedTime added in v0.1.8

Use the schedule to modify the time.

func (GetApiAppServiceApiIdStatusSetOutput) OauthConfigs added in v0.1.8

OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) Path added in v0.1.8

API PATH.

func (GetApiAppServiceApiIdStatusSetOutput) Protocol added in v0.1.8

Service support protocol, optional values are http, https, and http&https.

func (GetApiAppServiceApiIdStatusSetOutput) ServiceId added in v0.1.8

The unique ID of the service to be queried.

func (GetApiAppServiceApiIdStatusSetOutput) ToGetApiAppServiceApiIdStatusSetOutput added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetOutput) ToGetApiAppServiceApiIdStatusSetOutput() GetApiAppServiceApiIdStatusSetOutput

func (GetApiAppServiceApiIdStatusSetOutput) ToGetApiAppServiceApiIdStatusSetOutputWithContext added in v0.1.8

func (o GetApiAppServiceApiIdStatusSetOutput) ToGetApiAppServiceApiIdStatusSetOutputWithContext(ctx context.Context) GetApiAppServiceApiIdStatusSetOutput

func (GetApiAppServiceApiIdStatusSetOutput) TokenLocation added in v0.1.8

OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceApiIdStatusSetOutput) UniqVpcId added in v0.1.8

VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.

type GetApiAppServiceArgs added in v0.1.8

type GetApiAppServiceArgs struct {
	// Territory to which the service belongs.
	ApiRegion string `pulumi:"apiRegion"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiAppService.

type GetApiAppServiceOutputArgs added in v0.1.8

type GetApiAppServiceOutputArgs struct {
	// Territory to which the service belongs.
	ApiRegion pulumi.StringInput `pulumi:"apiRegion"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiAppService.

func (GetApiAppServiceOutputArgs) ElementType added in v0.1.8

func (GetApiAppServiceOutputArgs) ElementType() reflect.Type

type GetApiAppServiceResult added in v0.1.8

type GetApiAppServiceResult struct {
	// API list.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiIdStatusSets []GetApiAppServiceApiIdStatusSet `pulumi:"apiIdStatusSets"`
	ApiRegion       string                           `pulumi:"apiRegion"`
	// Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiTotalCount int `pulumi:"apiTotalCount"`
	// List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
	AvailableEnvironments []string `pulumi:"availableEnvironments"`
	// Use planned time.
	CreatedTime string `pulumi:"createdTime"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Internal network access HTTP service port number.
	InnerHttpPort int `pulumi:"innerHttpPort"`
	// Internal network access https port number.
	InnerHttpsPort int `pulumi:"innerHttpsPort"`
	// Intranet access sub domain name.
	InternalSubDomain string `pulumi:"internalSubDomain"`
	// IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
	IpVersion string `pulumi:"ipVersion"`
	// Use the schedule to modify the time.
	ModifiedTime string `pulumi:"modifiedTime"`
	// A list of network types, where INNER represents internal network access and OUTER represents external network access.
	NetTypes []string `pulumi:"netTypes"`
	// External network access sub domain name.
	OuterSubDomain string `pulumi:"outerSubDomain"`
	// Service support protocol, optional values are http, https, and http&https.
	Protocol         string  `pulumi:"protocol"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceDesc string `pulumi:"serviceDesc"`
	// Service unique ID.
	ServiceId string `pulumi:"serviceId"`
	// Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName string `pulumi:"serviceName"`
	// Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
	SetId int `pulumi:"setId"`
	// Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanLists []GetApiAppServiceUsagePlanList `pulumi:"usagePlanLists"`
	// Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanTotalCount int `pulumi:"usagePlanTotalCount"`
	// The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
	UserType string `pulumi:"userType"`
}

A collection of values returned by getApiAppService.

func GetApiAppService added in v0.1.8

func GetApiAppService(ctx *pulumi.Context, args *GetApiAppServiceArgs, opts ...pulumi.InvokeOption) (*GetApiAppServiceResult, error)

Use this data source to query detailed information of apigateway apiAppServices

## 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 {
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.ID(),
			ApiName:             pulumi.String("tf_example"),
			ApiDesc:             pulumi.String("my hello api update"),
			AuthType:            pulumi.String("APP"),
			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("desc."),
					DefaultValue: pulumi.String("test@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(500),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: pulumi.Int(5000),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetApiAppServiceOutput(ctx, apigateway.GetApiAppServiceOutputArgs{
			ServiceId: exampleApi.ServiceId,
			ApiRegion: pulumi.String("ap-guangzhou"),
		}, nil)
		return nil
	})
}

```

type GetApiAppServiceResultOutput added in v0.1.8

type GetApiAppServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiAppService.

func GetApiAppServiceOutput added in v0.1.8

func (GetApiAppServiceResultOutput) ApiIdStatusSets added in v0.1.8

API list.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) ApiRegion added in v0.1.8

func (GetApiAppServiceResultOutput) ApiTotalCount added in v0.1.8

func (o GetApiAppServiceResultOutput) ApiTotalCount() pulumi.IntOutput

Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) AvailableEnvironments added in v0.1.8

func (o GetApiAppServiceResultOutput) AvailableEnvironments() pulumi.StringArrayOutput

List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) CreatedTime added in v0.1.8

Use planned time.

func (GetApiAppServiceResultOutput) ElementType added in v0.1.8

func (GetApiAppServiceResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetApiAppServiceResultOutput) InnerHttpPort added in v0.1.8

func (o GetApiAppServiceResultOutput) InnerHttpPort() pulumi.IntOutput

Internal network access HTTP service port number.

func (GetApiAppServiceResultOutput) InnerHttpsPort added in v0.1.8

func (o GetApiAppServiceResultOutput) InnerHttpsPort() pulumi.IntOutput

Internal network access https port number.

func (GetApiAppServiceResultOutput) InternalSubDomain added in v0.1.8

func (o GetApiAppServiceResultOutput) InternalSubDomain() pulumi.StringOutput

Intranet access sub domain name.

func (GetApiAppServiceResultOutput) IpVersion added in v0.1.8

IP version.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) ModifiedTime added in v0.1.8

Use the schedule to modify the time.

func (GetApiAppServiceResultOutput) NetTypes added in v0.1.8

A list of network types, where INNER represents internal network access and OUTER represents external network access.

func (GetApiAppServiceResultOutput) OuterSubDomain added in v0.1.8

External network access sub domain name.

func (GetApiAppServiceResultOutput) Protocol added in v0.1.8

Service support protocol, optional values are http, https, and http&amp;amp;https.

func (GetApiAppServiceResultOutput) ResultOutputFile added in v0.1.8

func (GetApiAppServiceResultOutput) ServiceDesc added in v0.1.8

Service description.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) ServiceId added in v0.1.8

Service unique ID.

func (GetApiAppServiceResultOutput) ServiceName added in v0.1.8

Service name.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) SetId added in v0.1.8

Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) ToGetApiAppServiceResultOutput added in v0.1.8

func (o GetApiAppServiceResultOutput) ToGetApiAppServiceResultOutput() GetApiAppServiceResultOutput

func (GetApiAppServiceResultOutput) ToGetApiAppServiceResultOutputWithContext added in v0.1.8

func (o GetApiAppServiceResultOutput) ToGetApiAppServiceResultOutputWithContext(ctx context.Context) GetApiAppServiceResultOutput

func (GetApiAppServiceResultOutput) UsagePlanLists added in v0.1.8

Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) UsagePlanTotalCount added in v0.1.8

func (o GetApiAppServiceResultOutput) UsagePlanTotalCount() pulumi.IntOutput

Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceResultOutput) UserType added in v0.1.8

The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.

type GetApiAppServiceUsagePlanList added in v0.1.8

type GetApiAppServiceUsagePlanList struct {
	// Use planned time.
	CreatedTime string `pulumi:"createdTime"`
	// Environment name.
	Environment string `pulumi:"environment"`
	// Use plan qps, -1 indicates no restrictions.
	MaxRequestNumPreSec int `pulumi:"maxRequestNumPreSec"`
	// Use the schedule to modify the time.
	ModifiedTime string `pulumi:"modifiedTime"`
	// Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanDesc string `pulumi:"usagePlanDesc"`
	// Use a unique ID for the plan.
	UsagePlanId string `pulumi:"usagePlanId"`
	// Use the plan name.
	UsagePlanName string `pulumi:"usagePlanName"`
}

type GetApiAppServiceUsagePlanListArgs added in v0.1.8

type GetApiAppServiceUsagePlanListArgs struct {
	// Use planned time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Environment name.
	Environment pulumi.StringInput `pulumi:"environment"`
	// Use plan qps, -1 indicates no restrictions.
	MaxRequestNumPreSec pulumi.IntInput `pulumi:"maxRequestNumPreSec"`
	// Use the schedule to modify the time.
	ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"`
	// Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanDesc pulumi.StringInput `pulumi:"usagePlanDesc"`
	// Use a unique ID for the plan.
	UsagePlanId pulumi.StringInput `pulumi:"usagePlanId"`
	// Use the plan name.
	UsagePlanName pulumi.StringInput `pulumi:"usagePlanName"`
}

func (GetApiAppServiceUsagePlanListArgs) ElementType added in v0.1.8

func (GetApiAppServiceUsagePlanListArgs) ToGetApiAppServiceUsagePlanListOutput added in v0.1.8

func (i GetApiAppServiceUsagePlanListArgs) ToGetApiAppServiceUsagePlanListOutput() GetApiAppServiceUsagePlanListOutput

func (GetApiAppServiceUsagePlanListArgs) ToGetApiAppServiceUsagePlanListOutputWithContext added in v0.1.8

func (i GetApiAppServiceUsagePlanListArgs) ToGetApiAppServiceUsagePlanListOutputWithContext(ctx context.Context) GetApiAppServiceUsagePlanListOutput

type GetApiAppServiceUsagePlanListArray added in v0.1.8

type GetApiAppServiceUsagePlanListArray []GetApiAppServiceUsagePlanListInput

func (GetApiAppServiceUsagePlanListArray) ElementType added in v0.1.8

func (GetApiAppServiceUsagePlanListArray) ToGetApiAppServiceUsagePlanListArrayOutput added in v0.1.8

func (i GetApiAppServiceUsagePlanListArray) ToGetApiAppServiceUsagePlanListArrayOutput() GetApiAppServiceUsagePlanListArrayOutput

func (GetApiAppServiceUsagePlanListArray) ToGetApiAppServiceUsagePlanListArrayOutputWithContext added in v0.1.8

func (i GetApiAppServiceUsagePlanListArray) ToGetApiAppServiceUsagePlanListArrayOutputWithContext(ctx context.Context) GetApiAppServiceUsagePlanListArrayOutput

type GetApiAppServiceUsagePlanListArrayInput added in v0.1.8

type GetApiAppServiceUsagePlanListArrayInput interface {
	pulumi.Input

	ToGetApiAppServiceUsagePlanListArrayOutput() GetApiAppServiceUsagePlanListArrayOutput
	ToGetApiAppServiceUsagePlanListArrayOutputWithContext(context.Context) GetApiAppServiceUsagePlanListArrayOutput
}

GetApiAppServiceUsagePlanListArrayInput is an input type that accepts GetApiAppServiceUsagePlanListArray and GetApiAppServiceUsagePlanListArrayOutput values. You can construct a concrete instance of `GetApiAppServiceUsagePlanListArrayInput` via:

GetApiAppServiceUsagePlanListArray{ GetApiAppServiceUsagePlanListArgs{...} }

type GetApiAppServiceUsagePlanListArrayOutput added in v0.1.8

type GetApiAppServiceUsagePlanListArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceUsagePlanListArrayOutput) ElementType added in v0.1.8

func (GetApiAppServiceUsagePlanListArrayOutput) Index added in v0.1.8

func (GetApiAppServiceUsagePlanListArrayOutput) ToGetApiAppServiceUsagePlanListArrayOutput added in v0.1.8

func (o GetApiAppServiceUsagePlanListArrayOutput) ToGetApiAppServiceUsagePlanListArrayOutput() GetApiAppServiceUsagePlanListArrayOutput

func (GetApiAppServiceUsagePlanListArrayOutput) ToGetApiAppServiceUsagePlanListArrayOutputWithContext added in v0.1.8

func (o GetApiAppServiceUsagePlanListArrayOutput) ToGetApiAppServiceUsagePlanListArrayOutputWithContext(ctx context.Context) GetApiAppServiceUsagePlanListArrayOutput

type GetApiAppServiceUsagePlanListInput added in v0.1.8

type GetApiAppServiceUsagePlanListInput interface {
	pulumi.Input

	ToGetApiAppServiceUsagePlanListOutput() GetApiAppServiceUsagePlanListOutput
	ToGetApiAppServiceUsagePlanListOutputWithContext(context.Context) GetApiAppServiceUsagePlanListOutput
}

GetApiAppServiceUsagePlanListInput is an input type that accepts GetApiAppServiceUsagePlanListArgs and GetApiAppServiceUsagePlanListOutput values. You can construct a concrete instance of `GetApiAppServiceUsagePlanListInput` via:

GetApiAppServiceUsagePlanListArgs{...}

type GetApiAppServiceUsagePlanListOutput added in v0.1.8

type GetApiAppServiceUsagePlanListOutput struct{ *pulumi.OutputState }

func (GetApiAppServiceUsagePlanListOutput) CreatedTime added in v0.1.8

Use planned time.

func (GetApiAppServiceUsagePlanListOutput) ElementType added in v0.1.8

func (GetApiAppServiceUsagePlanListOutput) Environment added in v0.1.8

Environment name.

func (GetApiAppServiceUsagePlanListOutput) MaxRequestNumPreSec added in v0.1.8

func (o GetApiAppServiceUsagePlanListOutput) MaxRequestNumPreSec() pulumi.IntOutput

Use plan qps, -1 indicates no restrictions.

func (GetApiAppServiceUsagePlanListOutput) ModifiedTime added in v0.1.8

Use the schedule to modify the time.

func (GetApiAppServiceUsagePlanListOutput) ToGetApiAppServiceUsagePlanListOutput added in v0.1.8

func (o GetApiAppServiceUsagePlanListOutput) ToGetApiAppServiceUsagePlanListOutput() GetApiAppServiceUsagePlanListOutput

func (GetApiAppServiceUsagePlanListOutput) ToGetApiAppServiceUsagePlanListOutputWithContext added in v0.1.8

func (o GetApiAppServiceUsagePlanListOutput) ToGetApiAppServiceUsagePlanListOutputWithContext(ctx context.Context) GetApiAppServiceUsagePlanListOutput

func (GetApiAppServiceUsagePlanListOutput) UsagePlanDesc added in v0.1.8

Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiAppServiceUsagePlanListOutput) UsagePlanId added in v0.1.8

Use a unique ID for the plan.

func (GetApiAppServiceUsagePlanListOutput) UsagePlanName added in v0.1.8

Use the plan name.

type GetApiAppsApiAppList added in v0.1.3

type GetApiAppsApiAppList struct {
	// ApiApp description.
	ApiAppDesc string `pulumi:"apiAppDesc"`
	// Api app ID.
	ApiAppId string `pulumi:"apiAppId"`
	// ApiApp key.
	ApiAppKey string `pulumi:"apiAppKey"`
	// Api app name.
	ApiAppName string `pulumi:"apiAppName"`
	// ApiApp secret.
	ApiAppSecret string `pulumi:"apiAppSecret"`
	// ApiApp create time.
	CreatedTime string `pulumi:"createdTime"`
	// ApiApp modified time.
	ModifiedTime string `pulumi:"modifiedTime"`
}

type GetApiAppsApiAppListArgs added in v0.1.3

type GetApiAppsApiAppListArgs struct {
	// ApiApp description.
	ApiAppDesc pulumi.StringInput `pulumi:"apiAppDesc"`
	// Api app ID.
	ApiAppId pulumi.StringInput `pulumi:"apiAppId"`
	// ApiApp key.
	ApiAppKey pulumi.StringInput `pulumi:"apiAppKey"`
	// Api app name.
	ApiAppName pulumi.StringInput `pulumi:"apiAppName"`
	// ApiApp secret.
	ApiAppSecret pulumi.StringInput `pulumi:"apiAppSecret"`
	// ApiApp create time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// ApiApp modified time.
	ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"`
}

func (GetApiAppsApiAppListArgs) ElementType added in v0.1.3

func (GetApiAppsApiAppListArgs) ElementType() reflect.Type

func (GetApiAppsApiAppListArgs) ToGetApiAppsApiAppListOutput added in v0.1.3

func (i GetApiAppsApiAppListArgs) ToGetApiAppsApiAppListOutput() GetApiAppsApiAppListOutput

func (GetApiAppsApiAppListArgs) ToGetApiAppsApiAppListOutputWithContext added in v0.1.3

func (i GetApiAppsApiAppListArgs) ToGetApiAppsApiAppListOutputWithContext(ctx context.Context) GetApiAppsApiAppListOutput

type GetApiAppsApiAppListArray added in v0.1.3

type GetApiAppsApiAppListArray []GetApiAppsApiAppListInput

func (GetApiAppsApiAppListArray) ElementType added in v0.1.3

func (GetApiAppsApiAppListArray) ElementType() reflect.Type

func (GetApiAppsApiAppListArray) ToGetApiAppsApiAppListArrayOutput added in v0.1.3

func (i GetApiAppsApiAppListArray) ToGetApiAppsApiAppListArrayOutput() GetApiAppsApiAppListArrayOutput

func (GetApiAppsApiAppListArray) ToGetApiAppsApiAppListArrayOutputWithContext added in v0.1.3

func (i GetApiAppsApiAppListArray) ToGetApiAppsApiAppListArrayOutputWithContext(ctx context.Context) GetApiAppsApiAppListArrayOutput

type GetApiAppsApiAppListArrayInput added in v0.1.3

type GetApiAppsApiAppListArrayInput interface {
	pulumi.Input

	ToGetApiAppsApiAppListArrayOutput() GetApiAppsApiAppListArrayOutput
	ToGetApiAppsApiAppListArrayOutputWithContext(context.Context) GetApiAppsApiAppListArrayOutput
}

GetApiAppsApiAppListArrayInput is an input type that accepts GetApiAppsApiAppListArray and GetApiAppsApiAppListArrayOutput values. You can construct a concrete instance of `GetApiAppsApiAppListArrayInput` via:

GetApiAppsApiAppListArray{ GetApiAppsApiAppListArgs{...} }

type GetApiAppsApiAppListArrayOutput added in v0.1.3

type GetApiAppsApiAppListArrayOutput struct{ *pulumi.OutputState }

func (GetApiAppsApiAppListArrayOutput) ElementType added in v0.1.3

func (GetApiAppsApiAppListArrayOutput) Index added in v0.1.3

func (GetApiAppsApiAppListArrayOutput) ToGetApiAppsApiAppListArrayOutput added in v0.1.3

func (o GetApiAppsApiAppListArrayOutput) ToGetApiAppsApiAppListArrayOutput() GetApiAppsApiAppListArrayOutput

func (GetApiAppsApiAppListArrayOutput) ToGetApiAppsApiAppListArrayOutputWithContext added in v0.1.3

func (o GetApiAppsApiAppListArrayOutput) ToGetApiAppsApiAppListArrayOutputWithContext(ctx context.Context) GetApiAppsApiAppListArrayOutput

type GetApiAppsApiAppListInput added in v0.1.3

type GetApiAppsApiAppListInput interface {
	pulumi.Input

	ToGetApiAppsApiAppListOutput() GetApiAppsApiAppListOutput
	ToGetApiAppsApiAppListOutputWithContext(context.Context) GetApiAppsApiAppListOutput
}

GetApiAppsApiAppListInput is an input type that accepts GetApiAppsApiAppListArgs and GetApiAppsApiAppListOutput values. You can construct a concrete instance of `GetApiAppsApiAppListInput` via:

GetApiAppsApiAppListArgs{...}

type GetApiAppsApiAppListOutput added in v0.1.3

type GetApiAppsApiAppListOutput struct{ *pulumi.OutputState }

func (GetApiAppsApiAppListOutput) ApiAppDesc added in v0.1.3

ApiApp description.

func (GetApiAppsApiAppListOutput) ApiAppId added in v0.1.3

Api app ID.

func (GetApiAppsApiAppListOutput) ApiAppKey added in v0.1.3

ApiApp key.

func (GetApiAppsApiAppListOutput) ApiAppName added in v0.1.3

Api app name.

func (GetApiAppsApiAppListOutput) ApiAppSecret added in v0.1.3

ApiApp secret.

func (GetApiAppsApiAppListOutput) CreatedTime added in v0.1.3

ApiApp create time.

func (GetApiAppsApiAppListOutput) ElementType added in v0.1.3

func (GetApiAppsApiAppListOutput) ElementType() reflect.Type

func (GetApiAppsApiAppListOutput) ModifiedTime added in v0.1.3

ApiApp modified time.

func (GetApiAppsApiAppListOutput) ToGetApiAppsApiAppListOutput added in v0.1.3

func (o GetApiAppsApiAppListOutput) ToGetApiAppsApiAppListOutput() GetApiAppsApiAppListOutput

func (GetApiAppsApiAppListOutput) ToGetApiAppsApiAppListOutputWithContext added in v0.1.3

func (o GetApiAppsApiAppListOutput) ToGetApiAppsApiAppListOutputWithContext(ctx context.Context) GetApiAppsApiAppListOutput

type GetApiAppsArgs added in v0.1.3

type GetApiAppsArgs struct {
	// Api app ID.
	ApiAppId *string `pulumi:"apiAppId"`
	// Api app name.
	ApiAppName *string `pulumi:"apiAppName"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getApiApps.

type GetApiAppsOutputArgs added in v0.1.3

type GetApiAppsOutputArgs struct {
	// Api app ID.
	ApiAppId pulumi.StringPtrInput `pulumi:"apiAppId"`
	// Api app name.
	ApiAppName pulumi.StringPtrInput `pulumi:"apiAppName"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getApiApps.

func (GetApiAppsOutputArgs) ElementType added in v0.1.3

func (GetApiAppsOutputArgs) ElementType() reflect.Type

type GetApiAppsResult added in v0.1.3

type GetApiAppsResult struct {
	// ApiApp ID.
	ApiAppId *string `pulumi:"apiAppId"`
	// List of ApiApp.
	ApiAppLists []GetApiAppsApiAppList `pulumi:"apiAppLists"`
	// ApiApp Name.
	ApiAppName *string `pulumi:"apiAppName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getApiApps.

func GetApiApps added in v0.1.3

func GetApiApps(ctx *pulumi.Context, args *GetApiAppsArgs, opts ...pulumi.InvokeOption) (*GetApiAppsResult, error)

Use this data source to query list information of apiGateway api_app

type GetApiAppsResultOutput added in v0.1.3

type GetApiAppsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiApps.

func GetApiAppsOutput added in v0.1.3

func GetApiAppsOutput(ctx *pulumi.Context, args GetApiAppsOutputArgs, opts ...pulumi.InvokeOption) GetApiAppsResultOutput

func (GetApiAppsResultOutput) ApiAppId added in v0.1.3

ApiApp ID.

func (GetApiAppsResultOutput) ApiAppLists added in v0.1.3

List of ApiApp.

func (GetApiAppsResultOutput) ApiAppName added in v0.1.3

ApiApp Name.

func (GetApiAppsResultOutput) ElementType added in v0.1.3

func (GetApiAppsResultOutput) ElementType() reflect.Type

func (GetApiAppsResultOutput) Id added in v0.1.3

The provider-assigned unique ID for this managed resource.

func (GetApiAppsResultOutput) ResultOutputFile added in v0.1.3

func (o GetApiAppsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetApiAppsResultOutput) ToGetApiAppsResultOutput added in v0.1.3

func (o GetApiAppsResultOutput) ToGetApiAppsResultOutput() GetApiAppsResultOutput

func (GetApiAppsResultOutput) ToGetApiAppsResultOutputWithContext added in v0.1.3

func (o GetApiAppsResultOutput) ToGetApiAppsResultOutputWithContext(ctx context.Context) GetApiAppsResultOutput

type GetApiDocsApiDocList added in v0.1.3

type GetApiDocsApiDocList struct {
	// Api Doc ID.
	ApiDocId string `pulumi:"apiDocId"`
	// Api Doc Name.
	ApiDocName string `pulumi:"apiDocName"`
	// Api Doc Status.
	ApiDocStatus string `pulumi:"apiDocStatus"`
}

type GetApiDocsApiDocListArgs added in v0.1.3

type GetApiDocsApiDocListArgs struct {
	// Api Doc ID.
	ApiDocId pulumi.StringInput `pulumi:"apiDocId"`
	// Api Doc Name.
	ApiDocName pulumi.StringInput `pulumi:"apiDocName"`
	// Api Doc Status.
	ApiDocStatus pulumi.StringInput `pulumi:"apiDocStatus"`
}

func (GetApiDocsApiDocListArgs) ElementType added in v0.1.3

func (GetApiDocsApiDocListArgs) ElementType() reflect.Type

func (GetApiDocsApiDocListArgs) ToGetApiDocsApiDocListOutput added in v0.1.3

func (i GetApiDocsApiDocListArgs) ToGetApiDocsApiDocListOutput() GetApiDocsApiDocListOutput

func (GetApiDocsApiDocListArgs) ToGetApiDocsApiDocListOutputWithContext added in v0.1.3

func (i GetApiDocsApiDocListArgs) ToGetApiDocsApiDocListOutputWithContext(ctx context.Context) GetApiDocsApiDocListOutput

type GetApiDocsApiDocListArray added in v0.1.3

type GetApiDocsApiDocListArray []GetApiDocsApiDocListInput

func (GetApiDocsApiDocListArray) ElementType added in v0.1.3

func (GetApiDocsApiDocListArray) ElementType() reflect.Type

func (GetApiDocsApiDocListArray) ToGetApiDocsApiDocListArrayOutput added in v0.1.3

func (i GetApiDocsApiDocListArray) ToGetApiDocsApiDocListArrayOutput() GetApiDocsApiDocListArrayOutput

func (GetApiDocsApiDocListArray) ToGetApiDocsApiDocListArrayOutputWithContext added in v0.1.3

func (i GetApiDocsApiDocListArray) ToGetApiDocsApiDocListArrayOutputWithContext(ctx context.Context) GetApiDocsApiDocListArrayOutput

type GetApiDocsApiDocListArrayInput added in v0.1.3

type GetApiDocsApiDocListArrayInput interface {
	pulumi.Input

	ToGetApiDocsApiDocListArrayOutput() GetApiDocsApiDocListArrayOutput
	ToGetApiDocsApiDocListArrayOutputWithContext(context.Context) GetApiDocsApiDocListArrayOutput
}

GetApiDocsApiDocListArrayInput is an input type that accepts GetApiDocsApiDocListArray and GetApiDocsApiDocListArrayOutput values. You can construct a concrete instance of `GetApiDocsApiDocListArrayInput` via:

GetApiDocsApiDocListArray{ GetApiDocsApiDocListArgs{...} }

type GetApiDocsApiDocListArrayOutput added in v0.1.3

type GetApiDocsApiDocListArrayOutput struct{ *pulumi.OutputState }

func (GetApiDocsApiDocListArrayOutput) ElementType added in v0.1.3

func (GetApiDocsApiDocListArrayOutput) Index added in v0.1.3

func (GetApiDocsApiDocListArrayOutput) ToGetApiDocsApiDocListArrayOutput added in v0.1.3

func (o GetApiDocsApiDocListArrayOutput) ToGetApiDocsApiDocListArrayOutput() GetApiDocsApiDocListArrayOutput

func (GetApiDocsApiDocListArrayOutput) ToGetApiDocsApiDocListArrayOutputWithContext added in v0.1.3

func (o GetApiDocsApiDocListArrayOutput) ToGetApiDocsApiDocListArrayOutputWithContext(ctx context.Context) GetApiDocsApiDocListArrayOutput

type GetApiDocsApiDocListInput added in v0.1.3

type GetApiDocsApiDocListInput interface {
	pulumi.Input

	ToGetApiDocsApiDocListOutput() GetApiDocsApiDocListOutput
	ToGetApiDocsApiDocListOutputWithContext(context.Context) GetApiDocsApiDocListOutput
}

GetApiDocsApiDocListInput is an input type that accepts GetApiDocsApiDocListArgs and GetApiDocsApiDocListOutput values. You can construct a concrete instance of `GetApiDocsApiDocListInput` via:

GetApiDocsApiDocListArgs{...}

type GetApiDocsApiDocListOutput added in v0.1.3

type GetApiDocsApiDocListOutput struct{ *pulumi.OutputState }

func (GetApiDocsApiDocListOutput) ApiDocId added in v0.1.3

Api Doc ID.

func (GetApiDocsApiDocListOutput) ApiDocName added in v0.1.3

Api Doc Name.

func (GetApiDocsApiDocListOutput) ApiDocStatus added in v0.1.3

Api Doc Status.

func (GetApiDocsApiDocListOutput) ElementType added in v0.1.3

func (GetApiDocsApiDocListOutput) ElementType() reflect.Type

func (GetApiDocsApiDocListOutput) ToGetApiDocsApiDocListOutput added in v0.1.3

func (o GetApiDocsApiDocListOutput) ToGetApiDocsApiDocListOutput() GetApiDocsApiDocListOutput

func (GetApiDocsApiDocListOutput) ToGetApiDocsApiDocListOutputWithContext added in v0.1.3

func (o GetApiDocsApiDocListOutput) ToGetApiDocsApiDocListOutputWithContext(ctx context.Context) GetApiDocsApiDocListOutput

type GetApiDocsArgs added in v0.1.3

type GetApiDocsArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getApiDocs.

type GetApiDocsOutputArgs added in v0.1.3

type GetApiDocsOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getApiDocs.

func (GetApiDocsOutputArgs) ElementType added in v0.1.3

func (GetApiDocsOutputArgs) ElementType() reflect.Type

type GetApiDocsResult added in v0.1.3

type GetApiDocsResult struct {
	// List of ApiDocs.
	ApiDocLists []GetApiDocsApiDocList `pulumi:"apiDocLists"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getApiDocs.

func GetApiDocs added in v0.1.3

func GetApiDocs(ctx *pulumi.Context, args *GetApiDocsArgs, opts ...pulumi.InvokeOption) (*GetApiDocsResult, error)

Use this data source to query list information of apiGateway api_doc

## 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 {
		_, err := ApiGateway.GetApiDocs(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetApiDocsResultOutput added in v0.1.3

type GetApiDocsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiDocs.

func GetApiDocsOutput added in v0.1.3

func GetApiDocsOutput(ctx *pulumi.Context, args GetApiDocsOutputArgs, opts ...pulumi.InvokeOption) GetApiDocsResultOutput

func (GetApiDocsResultOutput) ApiDocLists added in v0.1.3

List of ApiDocs.

func (GetApiDocsResultOutput) ElementType added in v0.1.3

func (GetApiDocsResultOutput) ElementType() reflect.Type

func (GetApiDocsResultOutput) Id added in v0.1.3

The provider-assigned unique ID for this managed resource.

func (GetApiDocsResultOutput) ResultOutputFile added in v0.1.3

func (o GetApiDocsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetApiDocsResultOutput) ToGetApiDocsResultOutput added in v0.1.3

func (o GetApiDocsResultOutput) ToGetApiDocsResultOutput() GetApiDocsResultOutput

func (GetApiDocsResultOutput) ToGetApiDocsResultOutputWithContext added in v0.1.3

func (o GetApiDocsResultOutput) ToGetApiDocsResultOutputWithContext(ctx context.Context) GetApiDocsResultOutput

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 GetApiPluginsResult added in v0.1.8

type GetApiPluginsResult struct {
	// Binding time.
	AttachedTime string `pulumi:"attachedTime"`
	// Plugin description.
	Description string `pulumi:"description"`
	// Environment information.
	Environment string `pulumi:"environment"`
	// Plug-in definition statement.
	PluginData string `pulumi:"pluginData"`
	// Plugin ID.
	PluginId string `pulumi:"pluginId"`
	// Plugin name.
	PluginName string `pulumi:"pluginName"`
	// Plugin type.
	PluginType string `pulumi:"pluginType"`
}

type GetApiPluginsResultArgs added in v0.1.8

type GetApiPluginsResultArgs struct {
	// Binding time.
	AttachedTime pulumi.StringInput `pulumi:"attachedTime"`
	// Plugin description.
	Description pulumi.StringInput `pulumi:"description"`
	// Environment information.
	Environment pulumi.StringInput `pulumi:"environment"`
	// Plug-in definition statement.
	PluginData pulumi.StringInput `pulumi:"pluginData"`
	// Plugin ID.
	PluginId pulumi.StringInput `pulumi:"pluginId"`
	// Plugin name.
	PluginName pulumi.StringInput `pulumi:"pluginName"`
	// Plugin type.
	PluginType pulumi.StringInput `pulumi:"pluginType"`
}

func (GetApiPluginsResultArgs) ElementType added in v0.1.8

func (GetApiPluginsResultArgs) ElementType() reflect.Type

func (GetApiPluginsResultArgs) ToGetApiPluginsResultOutput added in v0.1.8

func (i GetApiPluginsResultArgs) ToGetApiPluginsResultOutput() GetApiPluginsResultOutput

func (GetApiPluginsResultArgs) ToGetApiPluginsResultOutputWithContext added in v0.1.8

func (i GetApiPluginsResultArgs) ToGetApiPluginsResultOutputWithContext(ctx context.Context) GetApiPluginsResultOutput

type GetApiPluginsResultArray added in v0.1.8

type GetApiPluginsResultArray []GetApiPluginsResultInput

func (GetApiPluginsResultArray) ElementType added in v0.1.8

func (GetApiPluginsResultArray) ElementType() reflect.Type

func (GetApiPluginsResultArray) ToGetApiPluginsResultArrayOutput added in v0.1.8

func (i GetApiPluginsResultArray) ToGetApiPluginsResultArrayOutput() GetApiPluginsResultArrayOutput

func (GetApiPluginsResultArray) ToGetApiPluginsResultArrayOutputWithContext added in v0.1.8

func (i GetApiPluginsResultArray) ToGetApiPluginsResultArrayOutputWithContext(ctx context.Context) GetApiPluginsResultArrayOutput

type GetApiPluginsResultArrayInput added in v0.1.8

type GetApiPluginsResultArrayInput interface {
	pulumi.Input

	ToGetApiPluginsResultArrayOutput() GetApiPluginsResultArrayOutput
	ToGetApiPluginsResultArrayOutputWithContext(context.Context) GetApiPluginsResultArrayOutput
}

GetApiPluginsResultArrayInput is an input type that accepts GetApiPluginsResultArray and GetApiPluginsResultArrayOutput values. You can construct a concrete instance of `GetApiPluginsResultArrayInput` via:

GetApiPluginsResultArray{ GetApiPluginsResultArgs{...} }

type GetApiPluginsResultArrayOutput added in v0.1.8

type GetApiPluginsResultArrayOutput struct{ *pulumi.OutputState }

func (GetApiPluginsResultArrayOutput) ElementType added in v0.1.8

func (GetApiPluginsResultArrayOutput) Index added in v0.1.8

func (GetApiPluginsResultArrayOutput) ToGetApiPluginsResultArrayOutput added in v0.1.8

func (o GetApiPluginsResultArrayOutput) ToGetApiPluginsResultArrayOutput() GetApiPluginsResultArrayOutput

func (GetApiPluginsResultArrayOutput) ToGetApiPluginsResultArrayOutputWithContext added in v0.1.8

func (o GetApiPluginsResultArrayOutput) ToGetApiPluginsResultArrayOutputWithContext(ctx context.Context) GetApiPluginsResultArrayOutput

type GetApiPluginsResultInput added in v0.1.8

type GetApiPluginsResultInput interface {
	pulumi.Input

	ToGetApiPluginsResultOutput() GetApiPluginsResultOutput
	ToGetApiPluginsResultOutputWithContext(context.Context) GetApiPluginsResultOutput
}

GetApiPluginsResultInput is an input type that accepts GetApiPluginsResultArgs and GetApiPluginsResultOutput values. You can construct a concrete instance of `GetApiPluginsResultInput` via:

GetApiPluginsResultArgs{...}

type GetApiPluginsResultOutput added in v0.1.8

type GetApiPluginsResultOutput struct{ *pulumi.OutputState }

func (GetApiPluginsResultOutput) AttachedTime added in v0.1.8

Binding time.

func (GetApiPluginsResultOutput) Description added in v0.1.8

Plugin description.

func (GetApiPluginsResultOutput) ElementType added in v0.1.8

func (GetApiPluginsResultOutput) ElementType() reflect.Type

func (GetApiPluginsResultOutput) Environment added in v0.1.8

Environment information.

func (GetApiPluginsResultOutput) PluginData added in v0.1.8

Plug-in definition statement.

func (GetApiPluginsResultOutput) PluginId added in v0.1.8

Plugin ID.

func (GetApiPluginsResultOutput) PluginName added in v0.1.8

Plugin name.

func (GetApiPluginsResultOutput) PluginType added in v0.1.8

Plugin type.

func (GetApiPluginsResultOutput) ToGetApiPluginsResultOutput added in v0.1.8

func (o GetApiPluginsResultOutput) ToGetApiPluginsResultOutput() GetApiPluginsResultOutput

func (GetApiPluginsResultOutput) ToGetApiPluginsResultOutputWithContext added in v0.1.8

func (o GetApiPluginsResultOutput) ToGetApiPluginsResultOutputWithContext(ctx context.Context) GetApiPluginsResultOutput

type GetApiUsagePlansResult added in v0.1.8

type GetApiUsagePlansResult struct {
	// API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiId string `pulumi:"apiId"`
	// API name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiName string `pulumi:"apiName"`
	// Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
	CreatedTime string `pulumi:"createdTime"`
	// Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	Environment string `pulumi:"environment"`
	// The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
	InUseRequestNum int `pulumi:"inUseRequestNum"`
	// Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
	MaxRequestNum int `pulumi:"maxRequestNum"`
	// Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
	MaxRequestNumPreSec int `pulumi:"maxRequestNumPreSec"`
	// API method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method string `pulumi:"method"`
	// Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	ModifiedTime string `pulumi:"modifiedTime"`
	// API path.Note: This field may return null, indicating that a valid value cannot be obtained.
	Path string `pulumi:"path"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
	// Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName string `pulumi:"serviceName"`
	// Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanDesc string `pulumi:"usagePlanDesc"`
	// Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanId string `pulumi:"usagePlanId"`
	// Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanName string `pulumi:"usagePlanName"`
}

type GetApiUsagePlansResultArgs added in v0.1.8

type GetApiUsagePlansResultArgs struct {
	// API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	Environment pulumi.StringInput `pulumi:"environment"`
	// The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
	InUseRequestNum pulumi.IntInput `pulumi:"inUseRequestNum"`
	// Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
	MaxRequestNum pulumi.IntInput `pulumi:"maxRequestNum"`
	// Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
	MaxRequestNumPreSec pulumi.IntInput `pulumi:"maxRequestNumPreSec"`
	// API method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method pulumi.StringInput `pulumi:"method"`
	// Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"`
	// API path.Note: This field may return null, indicating that a valid value cannot be obtained.
	Path pulumi.StringInput `pulumi:"path"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanDesc pulumi.StringInput `pulumi:"usagePlanDesc"`
	// Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanId pulumi.StringInput `pulumi:"usagePlanId"`
	// Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
	UsagePlanName pulumi.StringInput `pulumi:"usagePlanName"`
}

func (GetApiUsagePlansResultArgs) ElementType added in v0.1.8

func (GetApiUsagePlansResultArgs) ElementType() reflect.Type

func (GetApiUsagePlansResultArgs) ToGetApiUsagePlansResultOutput added in v0.1.8

func (i GetApiUsagePlansResultArgs) ToGetApiUsagePlansResultOutput() GetApiUsagePlansResultOutput

func (GetApiUsagePlansResultArgs) ToGetApiUsagePlansResultOutputWithContext added in v0.1.8

func (i GetApiUsagePlansResultArgs) ToGetApiUsagePlansResultOutputWithContext(ctx context.Context) GetApiUsagePlansResultOutput

type GetApiUsagePlansResultArray added in v0.1.8

type GetApiUsagePlansResultArray []GetApiUsagePlansResultInput

func (GetApiUsagePlansResultArray) ElementType added in v0.1.8

func (GetApiUsagePlansResultArray) ToGetApiUsagePlansResultArrayOutput added in v0.1.8

func (i GetApiUsagePlansResultArray) ToGetApiUsagePlansResultArrayOutput() GetApiUsagePlansResultArrayOutput

func (GetApiUsagePlansResultArray) ToGetApiUsagePlansResultArrayOutputWithContext added in v0.1.8

func (i GetApiUsagePlansResultArray) ToGetApiUsagePlansResultArrayOutputWithContext(ctx context.Context) GetApiUsagePlansResultArrayOutput

type GetApiUsagePlansResultArrayInput added in v0.1.8

type GetApiUsagePlansResultArrayInput interface {
	pulumi.Input

	ToGetApiUsagePlansResultArrayOutput() GetApiUsagePlansResultArrayOutput
	ToGetApiUsagePlansResultArrayOutputWithContext(context.Context) GetApiUsagePlansResultArrayOutput
}

GetApiUsagePlansResultArrayInput is an input type that accepts GetApiUsagePlansResultArray and GetApiUsagePlansResultArrayOutput values. You can construct a concrete instance of `GetApiUsagePlansResultArrayInput` via:

GetApiUsagePlansResultArray{ GetApiUsagePlansResultArgs{...} }

type GetApiUsagePlansResultArrayOutput added in v0.1.8

type GetApiUsagePlansResultArrayOutput struct{ *pulumi.OutputState }

func (GetApiUsagePlansResultArrayOutput) ElementType added in v0.1.8

func (GetApiUsagePlansResultArrayOutput) Index added in v0.1.8

func (GetApiUsagePlansResultArrayOutput) ToGetApiUsagePlansResultArrayOutput added in v0.1.8

func (o GetApiUsagePlansResultArrayOutput) ToGetApiUsagePlansResultArrayOutput() GetApiUsagePlansResultArrayOutput

func (GetApiUsagePlansResultArrayOutput) ToGetApiUsagePlansResultArrayOutputWithContext added in v0.1.8

func (o GetApiUsagePlansResultArrayOutput) ToGetApiUsagePlansResultArrayOutputWithContext(ctx context.Context) GetApiUsagePlansResultArrayOutput

type GetApiUsagePlansResultInput added in v0.1.8

type GetApiUsagePlansResultInput interface {
	pulumi.Input

	ToGetApiUsagePlansResultOutput() GetApiUsagePlansResultOutput
	ToGetApiUsagePlansResultOutputWithContext(context.Context) GetApiUsagePlansResultOutput
}

GetApiUsagePlansResultInput is an input type that accepts GetApiUsagePlansResultArgs and GetApiUsagePlansResultOutput values. You can construct a concrete instance of `GetApiUsagePlansResultInput` via:

GetApiUsagePlansResultArgs{...}

type GetApiUsagePlansResultOutput added in v0.1.8

type GetApiUsagePlansResultOutput struct{ *pulumi.OutputState }

func (GetApiUsagePlansResultOutput) ApiId added in v0.1.8

API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) ApiName added in v0.1.8

API name.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) CreatedTime added in v0.1.8

Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) ElementType added in v0.1.8

func (GetApiUsagePlansResultOutput) Environment added in v0.1.8

Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) InUseRequestNum added in v0.1.8

func (o GetApiUsagePlansResultOutput) InUseRequestNum() pulumi.IntOutput

The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) MaxRequestNum added in v0.1.8

func (o GetApiUsagePlansResultOutput) MaxRequestNum() pulumi.IntOutput

Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) MaxRequestNumPreSec added in v0.1.8

func (o GetApiUsagePlansResultOutput) MaxRequestNumPreSec() pulumi.IntOutput

Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) Method added in v0.1.8

API method.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) ModifiedTime added in v0.1.8

Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) Path added in v0.1.8

API path.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) ServiceId added in v0.1.8

The unique ID of the service to be queried.

func (GetApiUsagePlansResultOutput) ServiceName added in v0.1.8

Service name.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) ToGetApiUsagePlansResultOutput added in v0.1.8

func (o GetApiUsagePlansResultOutput) ToGetApiUsagePlansResultOutput() GetApiUsagePlansResultOutput

func (GetApiUsagePlansResultOutput) ToGetApiUsagePlansResultOutputWithContext added in v0.1.8

func (o GetApiUsagePlansResultOutput) ToGetApiUsagePlansResultOutputWithContext(ctx context.Context) GetApiUsagePlansResultOutput

func (GetApiUsagePlansResultOutput) UsagePlanDesc added in v0.1.8

Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) UsagePlanId added in v0.1.8

Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetApiUsagePlansResultOutput) UsagePlanName added in v0.1.8

Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.

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 GetBindApiAppsStatusFilter added in v0.1.8

type GetBindApiAppsStatusFilter struct {
	// Field to be filtered.
	Name string `pulumi:"name"`
	// Filter value of the field.
	Values []string `pulumi:"values"`
}

type GetBindApiAppsStatusFilterArgs added in v0.1.8

type GetBindApiAppsStatusFilterArgs struct {
	// Field to be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// Filter value of the field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBindApiAppsStatusFilterArgs) ElementType added in v0.1.8

func (GetBindApiAppsStatusFilterArgs) ToGetBindApiAppsStatusFilterOutput added in v0.1.8

func (i GetBindApiAppsStatusFilterArgs) ToGetBindApiAppsStatusFilterOutput() GetBindApiAppsStatusFilterOutput

func (GetBindApiAppsStatusFilterArgs) ToGetBindApiAppsStatusFilterOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusFilterArgs) ToGetBindApiAppsStatusFilterOutputWithContext(ctx context.Context) GetBindApiAppsStatusFilterOutput

type GetBindApiAppsStatusFilterArray added in v0.1.8

type GetBindApiAppsStatusFilterArray []GetBindApiAppsStatusFilterInput

func (GetBindApiAppsStatusFilterArray) ElementType added in v0.1.8

func (GetBindApiAppsStatusFilterArray) ToGetBindApiAppsStatusFilterArrayOutput added in v0.1.8

func (i GetBindApiAppsStatusFilterArray) ToGetBindApiAppsStatusFilterArrayOutput() GetBindApiAppsStatusFilterArrayOutput

func (GetBindApiAppsStatusFilterArray) ToGetBindApiAppsStatusFilterArrayOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusFilterArray) ToGetBindApiAppsStatusFilterArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusFilterArrayOutput

type GetBindApiAppsStatusFilterArrayInput added in v0.1.8

type GetBindApiAppsStatusFilterArrayInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusFilterArrayOutput() GetBindApiAppsStatusFilterArrayOutput
	ToGetBindApiAppsStatusFilterArrayOutputWithContext(context.Context) GetBindApiAppsStatusFilterArrayOutput
}

GetBindApiAppsStatusFilterArrayInput is an input type that accepts GetBindApiAppsStatusFilterArray and GetBindApiAppsStatusFilterArrayOutput values. You can construct a concrete instance of `GetBindApiAppsStatusFilterArrayInput` via:

GetBindApiAppsStatusFilterArray{ GetBindApiAppsStatusFilterArgs{...} }

type GetBindApiAppsStatusFilterArrayOutput added in v0.1.8

type GetBindApiAppsStatusFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusFilterArrayOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusFilterArrayOutput) Index added in v0.1.8

func (GetBindApiAppsStatusFilterArrayOutput) ToGetBindApiAppsStatusFilterArrayOutput added in v0.1.8

func (o GetBindApiAppsStatusFilterArrayOutput) ToGetBindApiAppsStatusFilterArrayOutput() GetBindApiAppsStatusFilterArrayOutput

func (GetBindApiAppsStatusFilterArrayOutput) ToGetBindApiAppsStatusFilterArrayOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusFilterArrayOutput) ToGetBindApiAppsStatusFilterArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusFilterArrayOutput

type GetBindApiAppsStatusFilterInput added in v0.1.8

type GetBindApiAppsStatusFilterInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusFilterOutput() GetBindApiAppsStatusFilterOutput
	ToGetBindApiAppsStatusFilterOutputWithContext(context.Context) GetBindApiAppsStatusFilterOutput
}

GetBindApiAppsStatusFilterInput is an input type that accepts GetBindApiAppsStatusFilterArgs and GetBindApiAppsStatusFilterOutput values. You can construct a concrete instance of `GetBindApiAppsStatusFilterInput` via:

GetBindApiAppsStatusFilterArgs{...}

type GetBindApiAppsStatusFilterOutput added in v0.1.8

type GetBindApiAppsStatusFilterOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusFilterOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusFilterOutput) Name added in v0.1.8

Field to be filtered.

func (GetBindApiAppsStatusFilterOutput) ToGetBindApiAppsStatusFilterOutput added in v0.1.8

func (o GetBindApiAppsStatusFilterOutput) ToGetBindApiAppsStatusFilterOutput() GetBindApiAppsStatusFilterOutput

func (GetBindApiAppsStatusFilterOutput) ToGetBindApiAppsStatusFilterOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusFilterOutput) ToGetBindApiAppsStatusFilterOutputWithContext(ctx context.Context) GetBindApiAppsStatusFilterOutput

func (GetBindApiAppsStatusFilterOutput) Values added in v0.1.8

Filter value of the field.

type GetBindApiAppsStatusResult added in v0.1.8

type GetBindApiAppsStatusResult struct {
	// Application bound API information array.
	ApiAppApiSets []GetBindApiAppsStatusResultApiAppApiSet `pulumi:"apiAppApiSets"`
}

type GetBindApiAppsStatusResultApiAppApiSet added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSet struct {
	// Application ID.
	ApiAppId string `pulumi:"apiAppId"`
	// Application Name.
	ApiAppName string `pulumi:"apiAppName"`
	// API ID.
	ApiId string `pulumi:"apiId"`
	// API name.
	ApiName string `pulumi:"apiName"`
	// Apis region.
	ApiRegion string `pulumi:"apiRegion"`
	// Authorization binding time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	AuthorizedTime string `pulumi:"authorizedTime"`
	// Authorization binding environment.
	EnvironmentName string `pulumi:"environmentName"`
	// Service ID.
	ServiceId string `pulumi:"serviceId"`
}

type GetBindApiAppsStatusResultApiAppApiSetArgs added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetArgs struct {
	// Application ID.
	ApiAppId pulumi.StringInput `pulumi:"apiAppId"`
	// Application Name.
	ApiAppName pulumi.StringInput `pulumi:"apiAppName"`
	// API ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API name.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// Apis region.
	ApiRegion pulumi.StringInput `pulumi:"apiRegion"`
	// Authorization binding time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.
	AuthorizedTime pulumi.StringInput `pulumi:"authorizedTime"`
	// Authorization binding environment.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// Service ID.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (GetBindApiAppsStatusResultApiAppApiSetArgs) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultApiAppApiSetArgs) ToGetBindApiAppsStatusResultApiAppApiSetOutput added in v0.1.8

func (i GetBindApiAppsStatusResultApiAppApiSetArgs) ToGetBindApiAppsStatusResultApiAppApiSetOutput() GetBindApiAppsStatusResultApiAppApiSetOutput

func (GetBindApiAppsStatusResultApiAppApiSetArgs) ToGetBindApiAppsStatusResultApiAppApiSetOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusResultApiAppApiSetArgs) ToGetBindApiAppsStatusResultApiAppApiSetOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultApiAppApiSetOutput

type GetBindApiAppsStatusResultApiAppApiSetArray added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetArray []GetBindApiAppsStatusResultApiAppApiSetInput

func (GetBindApiAppsStatusResultApiAppApiSetArray) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultApiAppApiSetArray) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutput added in v0.1.8

func (i GetBindApiAppsStatusResultApiAppApiSetArray) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutput() GetBindApiAppsStatusResultApiAppApiSetArrayOutput

func (GetBindApiAppsStatusResultApiAppApiSetArray) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusResultApiAppApiSetArray) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultApiAppApiSetArrayOutput

type GetBindApiAppsStatusResultApiAppApiSetArrayInput added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetArrayInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusResultApiAppApiSetArrayOutput() GetBindApiAppsStatusResultApiAppApiSetArrayOutput
	ToGetBindApiAppsStatusResultApiAppApiSetArrayOutputWithContext(context.Context) GetBindApiAppsStatusResultApiAppApiSetArrayOutput
}

GetBindApiAppsStatusResultApiAppApiSetArrayInput is an input type that accepts GetBindApiAppsStatusResultApiAppApiSetArray and GetBindApiAppsStatusResultApiAppApiSetArrayOutput values. You can construct a concrete instance of `GetBindApiAppsStatusResultApiAppApiSetArrayInput` via:

GetBindApiAppsStatusResultApiAppApiSetArray{ GetBindApiAppsStatusResultApiAppApiSetArgs{...} }

type GetBindApiAppsStatusResultApiAppApiSetArrayOutput added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetArrayOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusResultApiAppApiSetArrayOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultApiAppApiSetArrayOutput) Index added in v0.1.8

func (GetBindApiAppsStatusResultApiAppApiSetArrayOutput) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutput added in v0.1.8

func (o GetBindApiAppsStatusResultApiAppApiSetArrayOutput) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutput() GetBindApiAppsStatusResultApiAppApiSetArrayOutput

func (GetBindApiAppsStatusResultApiAppApiSetArrayOutput) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusResultApiAppApiSetArrayOutput) ToGetBindApiAppsStatusResultApiAppApiSetArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultApiAppApiSetArrayOutput

type GetBindApiAppsStatusResultApiAppApiSetInput added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusResultApiAppApiSetOutput() GetBindApiAppsStatusResultApiAppApiSetOutput
	ToGetBindApiAppsStatusResultApiAppApiSetOutputWithContext(context.Context) GetBindApiAppsStatusResultApiAppApiSetOutput
}

GetBindApiAppsStatusResultApiAppApiSetInput is an input type that accepts GetBindApiAppsStatusResultApiAppApiSetArgs and GetBindApiAppsStatusResultApiAppApiSetOutput values. You can construct a concrete instance of `GetBindApiAppsStatusResultApiAppApiSetInput` via:

GetBindApiAppsStatusResultApiAppApiSetArgs{...}

type GetBindApiAppsStatusResultApiAppApiSetOutput added in v0.1.8

type GetBindApiAppsStatusResultApiAppApiSetOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ApiAppId added in v0.1.8

Application ID.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ApiAppName added in v0.1.8

Application Name.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ApiId added in v0.1.8

API ID.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ApiName added in v0.1.8

API name.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ApiRegion added in v0.1.8

Apis region.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) AuthorizedTime added in v0.1.8

Authorization binding time, expressed in accordance with the ISO8601 standard and using UTC time. The format is: YYYY-MM-DDThh:mm:ssZ.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultApiAppApiSetOutput) EnvironmentName added in v0.1.8

Authorization binding environment.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ServiceId added in v0.1.8

Service ID.

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ToGetBindApiAppsStatusResultApiAppApiSetOutput added in v0.1.8

func (o GetBindApiAppsStatusResultApiAppApiSetOutput) ToGetBindApiAppsStatusResultApiAppApiSetOutput() GetBindApiAppsStatusResultApiAppApiSetOutput

func (GetBindApiAppsStatusResultApiAppApiSetOutput) ToGetBindApiAppsStatusResultApiAppApiSetOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusResultApiAppApiSetOutput) ToGetBindApiAppsStatusResultApiAppApiSetOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultApiAppApiSetOutput

type GetBindApiAppsStatusResultArgs added in v0.1.8

type GetBindApiAppsStatusResultArgs struct {
	// Application bound API information array.
	ApiAppApiSets GetBindApiAppsStatusResultApiAppApiSetArrayInput `pulumi:"apiAppApiSets"`
}

func (GetBindApiAppsStatusResultArgs) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultArgs) ToGetBindApiAppsStatusResultOutput added in v0.1.8

func (i GetBindApiAppsStatusResultArgs) ToGetBindApiAppsStatusResultOutput() GetBindApiAppsStatusResultOutput

func (GetBindApiAppsStatusResultArgs) ToGetBindApiAppsStatusResultOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusResultArgs) ToGetBindApiAppsStatusResultOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultOutput

type GetBindApiAppsStatusResultArray added in v0.1.8

type GetBindApiAppsStatusResultArray []GetBindApiAppsStatusResultInput

func (GetBindApiAppsStatusResultArray) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultArray) ToGetBindApiAppsStatusResultArrayOutput added in v0.1.8

func (i GetBindApiAppsStatusResultArray) ToGetBindApiAppsStatusResultArrayOutput() GetBindApiAppsStatusResultArrayOutput

func (GetBindApiAppsStatusResultArray) ToGetBindApiAppsStatusResultArrayOutputWithContext added in v0.1.8

func (i GetBindApiAppsStatusResultArray) ToGetBindApiAppsStatusResultArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultArrayOutput

type GetBindApiAppsStatusResultArrayInput added in v0.1.8

type GetBindApiAppsStatusResultArrayInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusResultArrayOutput() GetBindApiAppsStatusResultArrayOutput
	ToGetBindApiAppsStatusResultArrayOutputWithContext(context.Context) GetBindApiAppsStatusResultArrayOutput
}

GetBindApiAppsStatusResultArrayInput is an input type that accepts GetBindApiAppsStatusResultArray and GetBindApiAppsStatusResultArrayOutput values. You can construct a concrete instance of `GetBindApiAppsStatusResultArrayInput` via:

GetBindApiAppsStatusResultArray{ GetBindApiAppsStatusResultArgs{...} }

type GetBindApiAppsStatusResultArrayOutput added in v0.1.8

type GetBindApiAppsStatusResultArrayOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusResultArrayOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultArrayOutput) Index added in v0.1.8

func (GetBindApiAppsStatusResultArrayOutput) ToGetBindApiAppsStatusResultArrayOutput added in v0.1.8

func (o GetBindApiAppsStatusResultArrayOutput) ToGetBindApiAppsStatusResultArrayOutput() GetBindApiAppsStatusResultArrayOutput

func (GetBindApiAppsStatusResultArrayOutput) ToGetBindApiAppsStatusResultArrayOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusResultArrayOutput) ToGetBindApiAppsStatusResultArrayOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultArrayOutput

type GetBindApiAppsStatusResultInput added in v0.1.8

type GetBindApiAppsStatusResultInput interface {
	pulumi.Input

	ToGetBindApiAppsStatusResultOutput() GetBindApiAppsStatusResultOutput
	ToGetBindApiAppsStatusResultOutputWithContext(context.Context) GetBindApiAppsStatusResultOutput
}

GetBindApiAppsStatusResultInput is an input type that accepts GetBindApiAppsStatusResultArgs and GetBindApiAppsStatusResultOutput values. You can construct a concrete instance of `GetBindApiAppsStatusResultInput` via:

GetBindApiAppsStatusResultArgs{...}

type GetBindApiAppsStatusResultOutput added in v0.1.8

type GetBindApiAppsStatusResultOutput struct{ *pulumi.OutputState }

func (GetBindApiAppsStatusResultOutput) ApiAppApiSets added in v0.1.8

Application bound API information array.

func (GetBindApiAppsStatusResultOutput) ElementType added in v0.1.8

func (GetBindApiAppsStatusResultOutput) ToGetBindApiAppsStatusResultOutput added in v0.1.8

func (o GetBindApiAppsStatusResultOutput) ToGetBindApiAppsStatusResultOutput() GetBindApiAppsStatusResultOutput

func (GetBindApiAppsStatusResultOutput) ToGetBindApiAppsStatusResultOutputWithContext added in v0.1.8

func (o GetBindApiAppsStatusResultOutput) ToGetBindApiAppsStatusResultOutputWithContext(ctx context.Context) GetBindApiAppsStatusResultOutput

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 GetPluginsResult added in v0.1.8

type GetPluginsResult struct {
	// API ID.
	ApiId string `pulumi:"apiId"`
	// API name.
	ApiName string `pulumi:"apiName"`
	// API type.
	ApiType string `pulumi:"apiType"`
	// Whether the API is bound to other plugins.Note: This field may return null, indicating that a valid value cannot be obtained.
	AttachedOtherPlugin bool `pulumi:"attachedOtherPlugin"`
	// Whether the API is bound to the current plugin.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsAttached bool `pulumi:"isAttached"`
	// API method.
	Method string `pulumi:"method"`
	// API path.
	Path string `pulumi:"path"`
}

type GetPluginsResultArgs added in v0.1.8

type GetPluginsResultArgs struct {
	// API ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API name.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// API type.
	ApiType pulumi.StringInput `pulumi:"apiType"`
	// Whether the API is bound to other plugins.Note: This field may return null, indicating that a valid value cannot be obtained.
	AttachedOtherPlugin pulumi.BoolInput `pulumi:"attachedOtherPlugin"`
	// Whether the API is bound to the current plugin.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsAttached pulumi.BoolInput `pulumi:"isAttached"`
	// API method.
	Method pulumi.StringInput `pulumi:"method"`
	// API path.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetPluginsResultArgs) ElementType added in v0.1.8

func (GetPluginsResultArgs) ElementType() reflect.Type

func (GetPluginsResultArgs) ToGetPluginsResultOutput added in v0.1.8

func (i GetPluginsResultArgs) ToGetPluginsResultOutput() GetPluginsResultOutput

func (GetPluginsResultArgs) ToGetPluginsResultOutputWithContext added in v0.1.8

func (i GetPluginsResultArgs) ToGetPluginsResultOutputWithContext(ctx context.Context) GetPluginsResultOutput

type GetPluginsResultArray added in v0.1.8

type GetPluginsResultArray []GetPluginsResultInput

func (GetPluginsResultArray) ElementType added in v0.1.8

func (GetPluginsResultArray) ElementType() reflect.Type

func (GetPluginsResultArray) ToGetPluginsResultArrayOutput added in v0.1.8

func (i GetPluginsResultArray) ToGetPluginsResultArrayOutput() GetPluginsResultArrayOutput

func (GetPluginsResultArray) ToGetPluginsResultArrayOutputWithContext added in v0.1.8

func (i GetPluginsResultArray) ToGetPluginsResultArrayOutputWithContext(ctx context.Context) GetPluginsResultArrayOutput

type GetPluginsResultArrayInput added in v0.1.8

type GetPluginsResultArrayInput interface {
	pulumi.Input

	ToGetPluginsResultArrayOutput() GetPluginsResultArrayOutput
	ToGetPluginsResultArrayOutputWithContext(context.Context) GetPluginsResultArrayOutput
}

GetPluginsResultArrayInput is an input type that accepts GetPluginsResultArray and GetPluginsResultArrayOutput values. You can construct a concrete instance of `GetPluginsResultArrayInput` via:

GetPluginsResultArray{ GetPluginsResultArgs{...} }

type GetPluginsResultArrayOutput added in v0.1.8

type GetPluginsResultArrayOutput struct{ *pulumi.OutputState }

func (GetPluginsResultArrayOutput) ElementType added in v0.1.8

func (GetPluginsResultArrayOutput) Index added in v0.1.8

func (GetPluginsResultArrayOutput) ToGetPluginsResultArrayOutput added in v0.1.8

func (o GetPluginsResultArrayOutput) ToGetPluginsResultArrayOutput() GetPluginsResultArrayOutput

func (GetPluginsResultArrayOutput) ToGetPluginsResultArrayOutputWithContext added in v0.1.8

func (o GetPluginsResultArrayOutput) ToGetPluginsResultArrayOutputWithContext(ctx context.Context) GetPluginsResultArrayOutput

type GetPluginsResultInput added in v0.1.8

type GetPluginsResultInput interface {
	pulumi.Input

	ToGetPluginsResultOutput() GetPluginsResultOutput
	ToGetPluginsResultOutputWithContext(context.Context) GetPluginsResultOutput
}

GetPluginsResultInput is an input type that accepts GetPluginsResultArgs and GetPluginsResultOutput values. You can construct a concrete instance of `GetPluginsResultInput` via:

GetPluginsResultArgs{...}

type GetPluginsResultOutput added in v0.1.8

type GetPluginsResultOutput struct{ *pulumi.OutputState }

func (GetPluginsResultOutput) ApiId added in v0.1.8

API ID.

func (GetPluginsResultOutput) ApiName added in v0.1.8

API name.

func (GetPluginsResultOutput) ApiType added in v0.1.8

API type.

func (GetPluginsResultOutput) AttachedOtherPlugin added in v0.1.8

func (o GetPluginsResultOutput) AttachedOtherPlugin() pulumi.BoolOutput

Whether the API is bound to other plugins.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetPluginsResultOutput) ElementType added in v0.1.8

func (GetPluginsResultOutput) ElementType() reflect.Type

func (GetPluginsResultOutput) IsAttached added in v0.1.8

func (o GetPluginsResultOutput) IsAttached() pulumi.BoolOutput

Whether the API is bound to the current plugin.Note: This field may return null, indicating that a valid value cannot be obtained.

func (GetPluginsResultOutput) Method added in v0.1.8

API method.

func (GetPluginsResultOutput) Path added in v0.1.8

API path.

func (GetPluginsResultOutput) ToGetPluginsResultOutput added in v0.1.8

func (o GetPluginsResultOutput) ToGetPluginsResultOutput() GetPluginsResultOutput

func (GetPluginsResultOutput) ToGetPluginsResultOutputWithContext added in v0.1.8

func (o GetPluginsResultOutput) ToGetPluginsResultOutputWithContext(ctx context.Context) GetPluginsResultOutput

type GetServiceEnvironmentListResult added in v0.1.8

type GetServiceEnvironmentListResult struct {
	// Environment name.
	EnvironmentName string `pulumi:"environmentName"`
	// Release status, 1 means released, 0 means not released.
	Status int `pulumi:"status"`
	// Access path.
	Url string `pulumi:"url"`
	// Running version.
	VersionName string `pulumi:"versionName"`
}

type GetServiceEnvironmentListResultArgs added in v0.1.8

type GetServiceEnvironmentListResultArgs struct {
	// Environment name.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// Release status, 1 means released, 0 means not released.
	Status pulumi.IntInput `pulumi:"status"`
	// Access path.
	Url pulumi.StringInput `pulumi:"url"`
	// Running version.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetServiceEnvironmentListResultArgs) ElementType added in v0.1.8

func (GetServiceEnvironmentListResultArgs) ToGetServiceEnvironmentListResultOutput added in v0.1.8

func (i GetServiceEnvironmentListResultArgs) ToGetServiceEnvironmentListResultOutput() GetServiceEnvironmentListResultOutput

func (GetServiceEnvironmentListResultArgs) ToGetServiceEnvironmentListResultOutputWithContext added in v0.1.8

func (i GetServiceEnvironmentListResultArgs) ToGetServiceEnvironmentListResultOutputWithContext(ctx context.Context) GetServiceEnvironmentListResultOutput

type GetServiceEnvironmentListResultArray added in v0.1.8

type GetServiceEnvironmentListResultArray []GetServiceEnvironmentListResultInput

func (GetServiceEnvironmentListResultArray) ElementType added in v0.1.8

func (GetServiceEnvironmentListResultArray) ToGetServiceEnvironmentListResultArrayOutput added in v0.1.8

func (i GetServiceEnvironmentListResultArray) ToGetServiceEnvironmentListResultArrayOutput() GetServiceEnvironmentListResultArrayOutput

func (GetServiceEnvironmentListResultArray) ToGetServiceEnvironmentListResultArrayOutputWithContext added in v0.1.8

func (i GetServiceEnvironmentListResultArray) ToGetServiceEnvironmentListResultArrayOutputWithContext(ctx context.Context) GetServiceEnvironmentListResultArrayOutput

type GetServiceEnvironmentListResultArrayInput added in v0.1.8

type GetServiceEnvironmentListResultArrayInput interface {
	pulumi.Input

	ToGetServiceEnvironmentListResultArrayOutput() GetServiceEnvironmentListResultArrayOutput
	ToGetServiceEnvironmentListResultArrayOutputWithContext(context.Context) GetServiceEnvironmentListResultArrayOutput
}

GetServiceEnvironmentListResultArrayInput is an input type that accepts GetServiceEnvironmentListResultArray and GetServiceEnvironmentListResultArrayOutput values. You can construct a concrete instance of `GetServiceEnvironmentListResultArrayInput` via:

GetServiceEnvironmentListResultArray{ GetServiceEnvironmentListResultArgs{...} }

type GetServiceEnvironmentListResultArrayOutput added in v0.1.8

type GetServiceEnvironmentListResultArrayOutput struct{ *pulumi.OutputState }

func (GetServiceEnvironmentListResultArrayOutput) ElementType added in v0.1.8

func (GetServiceEnvironmentListResultArrayOutput) Index added in v0.1.8

func (GetServiceEnvironmentListResultArrayOutput) ToGetServiceEnvironmentListResultArrayOutput added in v0.1.8

func (o GetServiceEnvironmentListResultArrayOutput) ToGetServiceEnvironmentListResultArrayOutput() GetServiceEnvironmentListResultArrayOutput

func (GetServiceEnvironmentListResultArrayOutput) ToGetServiceEnvironmentListResultArrayOutputWithContext added in v0.1.8

func (o GetServiceEnvironmentListResultArrayOutput) ToGetServiceEnvironmentListResultArrayOutputWithContext(ctx context.Context) GetServiceEnvironmentListResultArrayOutput

type GetServiceEnvironmentListResultInput added in v0.1.8

type GetServiceEnvironmentListResultInput interface {
	pulumi.Input

	ToGetServiceEnvironmentListResultOutput() GetServiceEnvironmentListResultOutput
	ToGetServiceEnvironmentListResultOutputWithContext(context.Context) GetServiceEnvironmentListResultOutput
}

GetServiceEnvironmentListResultInput is an input type that accepts GetServiceEnvironmentListResultArgs and GetServiceEnvironmentListResultOutput values. You can construct a concrete instance of `GetServiceEnvironmentListResultInput` via:

GetServiceEnvironmentListResultArgs{...}

type GetServiceEnvironmentListResultOutput added in v0.1.8

type GetServiceEnvironmentListResultOutput struct{ *pulumi.OutputState }

func (GetServiceEnvironmentListResultOutput) ElementType added in v0.1.8

func (GetServiceEnvironmentListResultOutput) EnvironmentName added in v0.1.8

Environment name.

func (GetServiceEnvironmentListResultOutput) Status added in v0.1.8

Release status, 1 means released, 0 means not released.

func (GetServiceEnvironmentListResultOutput) ToGetServiceEnvironmentListResultOutput added in v0.1.8

func (o GetServiceEnvironmentListResultOutput) ToGetServiceEnvironmentListResultOutput() GetServiceEnvironmentListResultOutput

func (GetServiceEnvironmentListResultOutput) ToGetServiceEnvironmentListResultOutputWithContext added in v0.1.8

func (o GetServiceEnvironmentListResultOutput) ToGetServiceEnvironmentListResultOutputWithContext(ctx context.Context) GetServiceEnvironmentListResultOutput

func (GetServiceEnvironmentListResultOutput) Url added in v0.1.8

Access path.

func (GetServiceEnvironmentListResultOutput) VersionName added in v0.1.8

Running version.

type GetServiceReleaseVersionsResult added in v0.1.8

type GetServiceReleaseVersionsResult struct {
	// Version description.Note: This field may return null, indicating that no valid value can be obtained.
	VersionDesc string `pulumi:"versionDesc"`
	// Version number.Note: This field may return null, indicating that no valid value can be obtained.
	VersionName string `pulumi:"versionName"`
}

type GetServiceReleaseVersionsResultArgs added in v0.1.8

type GetServiceReleaseVersionsResultArgs struct {
	// Version description.Note: This field may return null, indicating that no valid value can be obtained.
	VersionDesc pulumi.StringInput `pulumi:"versionDesc"`
	// Version number.Note: This field may return null, indicating that no valid value can be obtained.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetServiceReleaseVersionsResultArgs) ElementType added in v0.1.8

func (GetServiceReleaseVersionsResultArgs) ToGetServiceReleaseVersionsResultOutput added in v0.1.8

func (i GetServiceReleaseVersionsResultArgs) ToGetServiceReleaseVersionsResultOutput() GetServiceReleaseVersionsResultOutput

func (GetServiceReleaseVersionsResultArgs) ToGetServiceReleaseVersionsResultOutputWithContext added in v0.1.8

func (i GetServiceReleaseVersionsResultArgs) ToGetServiceReleaseVersionsResultOutputWithContext(ctx context.Context) GetServiceReleaseVersionsResultOutput

type GetServiceReleaseVersionsResultArray added in v0.1.8

type GetServiceReleaseVersionsResultArray []GetServiceReleaseVersionsResultInput

func (GetServiceReleaseVersionsResultArray) ElementType added in v0.1.8

func (GetServiceReleaseVersionsResultArray) ToGetServiceReleaseVersionsResultArrayOutput added in v0.1.8

func (i GetServiceReleaseVersionsResultArray) ToGetServiceReleaseVersionsResultArrayOutput() GetServiceReleaseVersionsResultArrayOutput

func (GetServiceReleaseVersionsResultArray) ToGetServiceReleaseVersionsResultArrayOutputWithContext added in v0.1.8

func (i GetServiceReleaseVersionsResultArray) ToGetServiceReleaseVersionsResultArrayOutputWithContext(ctx context.Context) GetServiceReleaseVersionsResultArrayOutput

type GetServiceReleaseVersionsResultArrayInput added in v0.1.8

type GetServiceReleaseVersionsResultArrayInput interface {
	pulumi.Input

	ToGetServiceReleaseVersionsResultArrayOutput() GetServiceReleaseVersionsResultArrayOutput
	ToGetServiceReleaseVersionsResultArrayOutputWithContext(context.Context) GetServiceReleaseVersionsResultArrayOutput
}

GetServiceReleaseVersionsResultArrayInput is an input type that accepts GetServiceReleaseVersionsResultArray and GetServiceReleaseVersionsResultArrayOutput values. You can construct a concrete instance of `GetServiceReleaseVersionsResultArrayInput` via:

GetServiceReleaseVersionsResultArray{ GetServiceReleaseVersionsResultArgs{...} }

type GetServiceReleaseVersionsResultArrayOutput added in v0.1.8

type GetServiceReleaseVersionsResultArrayOutput struct{ *pulumi.OutputState }

func (GetServiceReleaseVersionsResultArrayOutput) ElementType added in v0.1.8

func (GetServiceReleaseVersionsResultArrayOutput) Index added in v0.1.8

func (GetServiceReleaseVersionsResultArrayOutput) ToGetServiceReleaseVersionsResultArrayOutput added in v0.1.8

func (o GetServiceReleaseVersionsResultArrayOutput) ToGetServiceReleaseVersionsResultArrayOutput() GetServiceReleaseVersionsResultArrayOutput

func (GetServiceReleaseVersionsResultArrayOutput) ToGetServiceReleaseVersionsResultArrayOutputWithContext added in v0.1.8

func (o GetServiceReleaseVersionsResultArrayOutput) ToGetServiceReleaseVersionsResultArrayOutputWithContext(ctx context.Context) GetServiceReleaseVersionsResultArrayOutput

type GetServiceReleaseVersionsResultInput added in v0.1.8

type GetServiceReleaseVersionsResultInput interface {
	pulumi.Input

	ToGetServiceReleaseVersionsResultOutput() GetServiceReleaseVersionsResultOutput
	ToGetServiceReleaseVersionsResultOutputWithContext(context.Context) GetServiceReleaseVersionsResultOutput
}

GetServiceReleaseVersionsResultInput is an input type that accepts GetServiceReleaseVersionsResultArgs and GetServiceReleaseVersionsResultOutput values. You can construct a concrete instance of `GetServiceReleaseVersionsResultInput` via:

GetServiceReleaseVersionsResultArgs{...}

type GetServiceReleaseVersionsResultOutput added in v0.1.8

type GetServiceReleaseVersionsResultOutput struct{ *pulumi.OutputState }

func (GetServiceReleaseVersionsResultOutput) ElementType added in v0.1.8

func (GetServiceReleaseVersionsResultOutput) ToGetServiceReleaseVersionsResultOutput added in v0.1.8

func (o GetServiceReleaseVersionsResultOutput) ToGetServiceReleaseVersionsResultOutput() GetServiceReleaseVersionsResultOutput

func (GetServiceReleaseVersionsResultOutput) ToGetServiceReleaseVersionsResultOutputWithContext added in v0.1.8

func (o GetServiceReleaseVersionsResultOutput) ToGetServiceReleaseVersionsResultOutputWithContext(ctx context.Context) GetServiceReleaseVersionsResultOutput

func (GetServiceReleaseVersionsResultOutput) VersionDesc added in v0.1.8

Version description.Note: This field may return null, indicating that no valid value can be obtained.

func (GetServiceReleaseVersionsResultOutput) VersionName added in v0.1.8

Version number.Note: This field may return null, indicating that no valid value can be obtained.

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"`
	// (**Deprecated**) It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	//
	// Deprecated: It has been deprecated from version 1.81.9.
	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"`
	// (**Deprecated**) It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	//
	// Deprecated: It has been deprecated from version 1.81.9.
	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 deprecated

func (o GetServicesListOutput) ExclusiveSetName() pulumi.StringOutput

(**Deprecated**) It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.

Deprecated: It has been deprecated from version 1.81.9.

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("tf_example"),
			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 GetUpstreamsFilter added in v0.1.8

type GetUpstreamsFilter struct {
	// Fields that need to be filtered.
	Name string `pulumi:"name"`
	// The filtering value of the field.
	Values []string `pulumi:"values"`
}

type GetUpstreamsFilterArgs added in v0.1.8

type GetUpstreamsFilterArgs struct {
	// Fields that need to be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// The filtering value of the field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetUpstreamsFilterArgs) ElementType added in v0.1.8

func (GetUpstreamsFilterArgs) ElementType() reflect.Type

func (GetUpstreamsFilterArgs) ToGetUpstreamsFilterOutput added in v0.1.8

func (i GetUpstreamsFilterArgs) ToGetUpstreamsFilterOutput() GetUpstreamsFilterOutput

func (GetUpstreamsFilterArgs) ToGetUpstreamsFilterOutputWithContext added in v0.1.8

func (i GetUpstreamsFilterArgs) ToGetUpstreamsFilterOutputWithContext(ctx context.Context) GetUpstreamsFilterOutput

type GetUpstreamsFilterArray added in v0.1.8

type GetUpstreamsFilterArray []GetUpstreamsFilterInput

func (GetUpstreamsFilterArray) ElementType added in v0.1.8

func (GetUpstreamsFilterArray) ElementType() reflect.Type

func (GetUpstreamsFilterArray) ToGetUpstreamsFilterArrayOutput added in v0.1.8

func (i GetUpstreamsFilterArray) ToGetUpstreamsFilterArrayOutput() GetUpstreamsFilterArrayOutput

func (GetUpstreamsFilterArray) ToGetUpstreamsFilterArrayOutputWithContext added in v0.1.8

func (i GetUpstreamsFilterArray) ToGetUpstreamsFilterArrayOutputWithContext(ctx context.Context) GetUpstreamsFilterArrayOutput

type GetUpstreamsFilterArrayInput added in v0.1.8

type GetUpstreamsFilterArrayInput interface {
	pulumi.Input

	ToGetUpstreamsFilterArrayOutput() GetUpstreamsFilterArrayOutput
	ToGetUpstreamsFilterArrayOutputWithContext(context.Context) GetUpstreamsFilterArrayOutput
}

GetUpstreamsFilterArrayInput is an input type that accepts GetUpstreamsFilterArray and GetUpstreamsFilterArrayOutput values. You can construct a concrete instance of `GetUpstreamsFilterArrayInput` via:

GetUpstreamsFilterArray{ GetUpstreamsFilterArgs{...} }

type GetUpstreamsFilterArrayOutput added in v0.1.8

type GetUpstreamsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetUpstreamsFilterArrayOutput) ElementType added in v0.1.8

func (GetUpstreamsFilterArrayOutput) Index added in v0.1.8

func (GetUpstreamsFilterArrayOutput) ToGetUpstreamsFilterArrayOutput added in v0.1.8

func (o GetUpstreamsFilterArrayOutput) ToGetUpstreamsFilterArrayOutput() GetUpstreamsFilterArrayOutput

func (GetUpstreamsFilterArrayOutput) ToGetUpstreamsFilterArrayOutputWithContext added in v0.1.8

func (o GetUpstreamsFilterArrayOutput) ToGetUpstreamsFilterArrayOutputWithContext(ctx context.Context) GetUpstreamsFilterArrayOutput

type GetUpstreamsFilterInput added in v0.1.8

type GetUpstreamsFilterInput interface {
	pulumi.Input

	ToGetUpstreamsFilterOutput() GetUpstreamsFilterOutput
	ToGetUpstreamsFilterOutputWithContext(context.Context) GetUpstreamsFilterOutput
}

GetUpstreamsFilterInput is an input type that accepts GetUpstreamsFilterArgs and GetUpstreamsFilterOutput values. You can construct a concrete instance of `GetUpstreamsFilterInput` via:

GetUpstreamsFilterArgs{...}

type GetUpstreamsFilterOutput added in v0.1.8

type GetUpstreamsFilterOutput struct{ *pulumi.OutputState }

func (GetUpstreamsFilterOutput) ElementType added in v0.1.8

func (GetUpstreamsFilterOutput) ElementType() reflect.Type

func (GetUpstreamsFilterOutput) Name added in v0.1.8

Fields that need to be filtered.

func (GetUpstreamsFilterOutput) ToGetUpstreamsFilterOutput added in v0.1.8

func (o GetUpstreamsFilterOutput) ToGetUpstreamsFilterOutput() GetUpstreamsFilterOutput

func (GetUpstreamsFilterOutput) ToGetUpstreamsFilterOutputWithContext added in v0.1.8

func (o GetUpstreamsFilterOutput) ToGetUpstreamsFilterOutputWithContext(ctx context.Context) GetUpstreamsFilterOutput

func (GetUpstreamsFilterOutput) Values added in v0.1.8

The filtering value of the field.

type GetUpstreamsResult added in v0.1.8

type GetUpstreamsResult struct {
	// API Unique ID.
	ApiId string `pulumi:"apiId"`
	// API nameNote: This field may return null, indicating that a valid value cannot be obtained.
	ApiName string `pulumi:"apiName"`
	// binding time.
	BindTime string `pulumi:"bindTime"`
	// Service Unique ID.
	ServiceId string `pulumi:"serviceId"`
	// Service NameNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName string `pulumi:"serviceName"`
}

type GetUpstreamsResultArgs added in v0.1.8

type GetUpstreamsResultArgs struct {
	// API Unique ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// API nameNote: This field may return null, indicating that a valid value cannot be obtained.
	ApiName pulumi.StringInput `pulumi:"apiName"`
	// binding time.
	BindTime pulumi.StringInput `pulumi:"bindTime"`
	// Service Unique ID.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Service NameNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (GetUpstreamsResultArgs) ElementType added in v0.1.8

func (GetUpstreamsResultArgs) ElementType() reflect.Type

func (GetUpstreamsResultArgs) ToGetUpstreamsResultOutput added in v0.1.8

func (i GetUpstreamsResultArgs) ToGetUpstreamsResultOutput() GetUpstreamsResultOutput

func (GetUpstreamsResultArgs) ToGetUpstreamsResultOutputWithContext added in v0.1.8

func (i GetUpstreamsResultArgs) ToGetUpstreamsResultOutputWithContext(ctx context.Context) GetUpstreamsResultOutput

type GetUpstreamsResultArray added in v0.1.8

type GetUpstreamsResultArray []GetUpstreamsResultInput

func (GetUpstreamsResultArray) ElementType added in v0.1.8

func (GetUpstreamsResultArray) ElementType() reflect.Type

func (GetUpstreamsResultArray) ToGetUpstreamsResultArrayOutput added in v0.1.8

func (i GetUpstreamsResultArray) ToGetUpstreamsResultArrayOutput() GetUpstreamsResultArrayOutput

func (GetUpstreamsResultArray) ToGetUpstreamsResultArrayOutputWithContext added in v0.1.8

func (i GetUpstreamsResultArray) ToGetUpstreamsResultArrayOutputWithContext(ctx context.Context) GetUpstreamsResultArrayOutput

type GetUpstreamsResultArrayInput added in v0.1.8

type GetUpstreamsResultArrayInput interface {
	pulumi.Input

	ToGetUpstreamsResultArrayOutput() GetUpstreamsResultArrayOutput
	ToGetUpstreamsResultArrayOutputWithContext(context.Context) GetUpstreamsResultArrayOutput
}

GetUpstreamsResultArrayInput is an input type that accepts GetUpstreamsResultArray and GetUpstreamsResultArrayOutput values. You can construct a concrete instance of `GetUpstreamsResultArrayInput` via:

GetUpstreamsResultArray{ GetUpstreamsResultArgs{...} }

type GetUpstreamsResultArrayOutput added in v0.1.8

type GetUpstreamsResultArrayOutput struct{ *pulumi.OutputState }

func (GetUpstreamsResultArrayOutput) ElementType added in v0.1.8

func (GetUpstreamsResultArrayOutput) Index added in v0.1.8

func (GetUpstreamsResultArrayOutput) ToGetUpstreamsResultArrayOutput added in v0.1.8

func (o GetUpstreamsResultArrayOutput) ToGetUpstreamsResultArrayOutput() GetUpstreamsResultArrayOutput

func (GetUpstreamsResultArrayOutput) ToGetUpstreamsResultArrayOutputWithContext added in v0.1.8

func (o GetUpstreamsResultArrayOutput) ToGetUpstreamsResultArrayOutputWithContext(ctx context.Context) GetUpstreamsResultArrayOutput

type GetUpstreamsResultInput added in v0.1.8

type GetUpstreamsResultInput interface {
	pulumi.Input

	ToGetUpstreamsResultOutput() GetUpstreamsResultOutput
	ToGetUpstreamsResultOutputWithContext(context.Context) GetUpstreamsResultOutput
}

GetUpstreamsResultInput is an input type that accepts GetUpstreamsResultArgs and GetUpstreamsResultOutput values. You can construct a concrete instance of `GetUpstreamsResultInput` via:

GetUpstreamsResultArgs{...}

type GetUpstreamsResultOutput added in v0.1.8

type GetUpstreamsResultOutput struct{ *pulumi.OutputState }

func (GetUpstreamsResultOutput) ApiId added in v0.1.8

API Unique ID.

func (GetUpstreamsResultOutput) ApiName added in v0.1.8

API nameNote: This field may return null, indicating that a valid value cannot be obtained.

func (GetUpstreamsResultOutput) BindTime added in v0.1.8

binding time.

func (GetUpstreamsResultOutput) ElementType added in v0.1.8

func (GetUpstreamsResultOutput) ElementType() reflect.Type

func (GetUpstreamsResultOutput) ServiceId added in v0.1.8

Service Unique ID.

func (GetUpstreamsResultOutput) ServiceName added in v0.1.8

Service NameNote: This field may return null, indicating that a valid value cannot be obtained.

func (GetUpstreamsResultOutput) ToGetUpstreamsResultOutput added in v0.1.8

func (o GetUpstreamsResultOutput) ToGetUpstreamsResultOutput() GetUpstreamsResultOutput

func (GetUpstreamsResultOutput) ToGetUpstreamsResultOutputWithContext added in v0.1.8

func (o GetUpstreamsResultOutput) ToGetUpstreamsResultOutputWithContext(ctx context.Context) GetUpstreamsResultOutput

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 ImportOpenApi added in v0.1.8

type ImportOpenApi struct {
	pulumi.CustomResourceState

	// When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.
	ApiBusinessType pulumi.StringOutput `pulumi:"apiBusinessType"`
	// Custom API description.
	ApiDesc pulumi.StringOutput `pulumi:"apiDesc"`
	// Custom Api Id.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// Custom API name.
	ApiName pulumi.StringOutput `pulumi:"apiName"`
	// API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
	ApiType pulumi.StringOutput `pulumi:"apiType"`
	// The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
	AuthRelationApiId pulumi.StringOutput `pulumi:"authRelationApiId"`
	// API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
	AuthType pulumi.StringOutput `pulumi:"authType"`
	// Constant parameter.
	ConstantParameters ImportOpenApiConstantParameterArrayOutput `pulumi:"constantParameters"`
	// OpenAPI body content.
	Content pulumi.StringOutput `pulumi:"content"`
	// The Content version defaults to OpenAPI and currently only supports OpenAPI.
	ContentVersion pulumi.StringPtrOutput `pulumi:"contentVersion"`
	// 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.BoolOutput `pulumi:"enableCors"`
	// The Content format can only be YAML or JSON, and the default is YAML.
	EncodeType pulumi.StringPtrOutput `pulumi:"encodeType"`
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolOutput `pulumi:"isBase64Encoded"`
	// Charge after starting debugging. (Cloud Market Reserved Fields).
	IsDebugAfterCharge pulumi.BoolOutput `pulumi:"isDebugAfterCharge"`
	// Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
	IsDeleteResponseErrorCodes pulumi.BoolOutput `pulumi:"isDeleteResponseErrorCodes"`
	// API bound microservice list.
	MicroServices ImportOpenApiMicroServiceArrayOutput `pulumi:"microServices"`
	// OAuth configuration. Effective when AuthType is OAUTH.
	OauthConfigs ImportOpenApiOauthConfigArrayOutput `pulumi:"oauthConfigs"`
	// API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Request frontend method configuration. Valid values: `GET`,`POST`,`PUT`,`DELETE`,`HEAD`,`ANY`. Default value: `GET`.
	RequestConfigMethod pulumi.StringOutput `pulumi:"requestConfigMethod"`
	// Request frontend path configuration. Like `/user/getinfo`.
	RequestConfigPath pulumi.StringOutput `pulumi:"requestConfigPath"`
	// Frontend request parameters.
	RequestParameters ImportOpenApiRequestParameterArrayOutput `pulumi:"requestParameters"`
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes ImportOpenApiResponseErrorCodeArrayOutput `pulumi:"responseErrorCodes"`
	// Response failure sample of custom response configuration.
	ResponseFailExample pulumi.StringOutput `pulumi:"responseFailExample"`
	// Successful response sample of custom response configuration.
	ResponseSuccessExample pulumi.StringOutput `pulumi:"responseSuccessExample"`
	// Return type. Valid values: `HTML`, `JSON`, `TEXT`, `BINARY`, `XML`. Default value: `HTML`.
	ResponseType pulumi.StringOutput `pulumi:"responseType"`
	// API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigCosConfigs ImportOpenApiServiceConfigCosConfigArrayOutput `pulumi:"serviceConfigCosConfigs"`
	// 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.StringOutput `pulumi:"serviceConfigMethod"`
	// Returned information of API backend mocking. This parameter is required when `serviceConfigType` is `MOCK`.
	ServiceConfigMockReturnMessage pulumi.StringOutput `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.StringOutput `pulumi:"serviceConfigPath"`
	// Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
	ServiceConfigProduct pulumi.StringOutput `pulumi:"serviceConfigProduct"`
	// SCF function name. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionName pulumi.StringOutput `pulumi:"serviceConfigScfFunctionName"`
	// SCF function namespace. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionNamespace pulumi.StringOutput `pulumi:"serviceConfigScfFunctionNamespace"`
	// SCF function version. This parameter takes effect when `serviceConfigType` is `SCF`.
	ServiceConfigScfFunctionQualifier pulumi.StringOutput `pulumi:"serviceConfigScfFunctionQualifier"`
	// Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
	ServiceConfigScfFunctionType pulumi.StringOutput `pulumi:"serviceConfigScfFunctionType"`
	// Whether to enable response integration. Effective when the backend type is SCF.
	ServiceConfigScfIsIntegratedResponse pulumi.BoolOutput `pulumi:"serviceConfigScfIsIntegratedResponse"`
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntOutput `pulumi:"serviceConfigTimeout"`
	// The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
	ServiceConfigType pulumi.StringOutput `pulumi:"serviceConfigType"`
	// Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigUpstreamId pulumi.StringOutput `pulumi:"serviceConfigUpstreamId"`
	// The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
	ServiceConfigUrl pulumi.StringOutput `pulumi:"serviceConfigUrl"`
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringOutput `pulumi:"serviceConfigVpcId"`
	// Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionName pulumi.StringOutput `pulumi:"serviceConfigWebsocketCleanupFunctionName"`
	// Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionNamespace pulumi.StringOutput `pulumi:"serviceConfigWebsocketCleanupFunctionNamespace"`
	// Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionQualifier pulumi.StringOutput `pulumi:"serviceConfigWebsocketCleanupFunctionQualifier"`
	// Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionName pulumi.StringOutput `pulumi:"serviceConfigWebsocketRegisterFunctionName"`
	// Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionNamespace pulumi.StringOutput `pulumi:"serviceConfigWebsocketRegisterFunctionNamespace"`
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionQualifier pulumi.StringOutput `pulumi:"serviceConfigWebsocketRegisterFunctionQualifier"`
	// Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionName pulumi.StringOutput `pulumi:"serviceConfigWebsocketTransportFunctionName"`
	// Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionNamespace pulumi.StringOutput `pulumi:"serviceConfigWebsocketTransportFunctionNamespace"`
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionQualifier pulumi.StringOutput `pulumi:"serviceConfigWebsocketTransportFunctionQualifier"`
	// The unique ID of the service where the API is located.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// The backend service parameters of the API.
	ServiceParameters ImportOpenApiServiceParameterArrayOutput `pulumi:"serviceParameters"`
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConfs ImportOpenApiServiceTsfHealthCheckConfArrayOutput `pulumi:"serviceTsfHealthCheckConfs"`
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConfs ImportOpenApiServiceTsfLoadBalanceConfArrayOutput `pulumi:"serviceTsfLoadBalanceConfs"`
	// 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"`
}

Provides a resource to create a apiGateway importOpenApi

## Example Usage ### Import open Api by YAML

```go package main

import (

"fmt"

"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.NewImportOpenApi(ctx, "example", &ApiGateway.ImportOpenApiArgs{
			Content:        pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "info:\n", "  title: keep-service\n", "  version: 1.0.1\n", "openapi: 3.0.0\n", "paths:\n", "  /api/test:\n", "    get:\n", "      description: desc\n", "      operationId: test\n", "      responses:\n", "        '200':\n", "          content:\n", "            text/html:\n", "              example: '200'\n", "          description: '200'\n", "        default:\n", "          content:\n", "            text/html:\n", "              example: '400'\n", "          description: '400'\n", "      x-apigw-api-business-type: NORMAL\n", "      x-apigw-api-type: NORMAL\n", "      x-apigw-backend:\n", "        ServiceConfig:\n", "          Method: GET\n", "          Path: /test\n", "          Url: http://domain.com\n", "        ServiceType: HTTP\n", "      x-apigw-cors: false\n", "      x-apigw-protocol: HTTP\n", "      x-apigw-service-timeout: 15\n", "\n")),
			ContentVersion: pulumi.String("openAPI"),
			EncodeType:     pulumi.String("YAML"),
			ServiceId:      pulumi.String("service-nxz6yync"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Import open Api by JSON

```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.NewImportOpenApi(ctx, "example", &ApiGateway.ImportOpenApiArgs{
			Content:        pulumi.String("{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}"),
			ContentVersion: pulumi.String("openAPI"),
			EncodeType:     pulumi.String("JSON"),
			ServiceId:      pulumi.String("service-nxz6yync"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetImportOpenApi added in v0.1.8

func GetImportOpenApi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImportOpenApiState, opts ...pulumi.ResourceOption) (*ImportOpenApi, error)

GetImportOpenApi gets an existing ImportOpenApi 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 NewImportOpenApi added in v0.1.8

func NewImportOpenApi(ctx *pulumi.Context,
	name string, args *ImportOpenApiArgs, opts ...pulumi.ResourceOption) (*ImportOpenApi, error)

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

func (*ImportOpenApi) ElementType added in v0.1.8

func (*ImportOpenApi) ElementType() reflect.Type

func (*ImportOpenApi) ToImportOpenApiOutput added in v0.1.8

func (i *ImportOpenApi) ToImportOpenApiOutput() ImportOpenApiOutput

func (*ImportOpenApi) ToImportOpenApiOutputWithContext added in v0.1.8

func (i *ImportOpenApi) ToImportOpenApiOutputWithContext(ctx context.Context) ImportOpenApiOutput

type ImportOpenApiArgs added in v0.1.8

type ImportOpenApiArgs struct {
	// OpenAPI body content.
	Content pulumi.StringInput
	// The Content version defaults to OpenAPI and currently only supports OpenAPI.
	ContentVersion pulumi.StringPtrInput
	// The Content format can only be YAML or JSON, and the default is YAML.
	EncodeType pulumi.StringPtrInput
	// The unique ID of the service where the API is located.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a ImportOpenApi resource.

func (ImportOpenApiArgs) ElementType added in v0.1.8

func (ImportOpenApiArgs) ElementType() reflect.Type

type ImportOpenApiArray added in v0.1.8

type ImportOpenApiArray []ImportOpenApiInput

func (ImportOpenApiArray) ElementType added in v0.1.8

func (ImportOpenApiArray) ElementType() reflect.Type

func (ImportOpenApiArray) ToImportOpenApiArrayOutput added in v0.1.8

func (i ImportOpenApiArray) ToImportOpenApiArrayOutput() ImportOpenApiArrayOutput

func (ImportOpenApiArray) ToImportOpenApiArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiArray) ToImportOpenApiArrayOutputWithContext(ctx context.Context) ImportOpenApiArrayOutput

type ImportOpenApiArrayInput added in v0.1.8

type ImportOpenApiArrayInput interface {
	pulumi.Input

	ToImportOpenApiArrayOutput() ImportOpenApiArrayOutput
	ToImportOpenApiArrayOutputWithContext(context.Context) ImportOpenApiArrayOutput
}

ImportOpenApiArrayInput is an input type that accepts ImportOpenApiArray and ImportOpenApiArrayOutput values. You can construct a concrete instance of `ImportOpenApiArrayInput` via:

ImportOpenApiArray{ ImportOpenApiArgs{...} }

type ImportOpenApiArrayOutput added in v0.1.8

type ImportOpenApiArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiArrayOutput) ElementType() reflect.Type

func (ImportOpenApiArrayOutput) Index added in v0.1.8

func (ImportOpenApiArrayOutput) ToImportOpenApiArrayOutput added in v0.1.8

func (o ImportOpenApiArrayOutput) ToImportOpenApiArrayOutput() ImportOpenApiArrayOutput

func (ImportOpenApiArrayOutput) ToImportOpenApiArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiArrayOutput) ToImportOpenApiArrayOutputWithContext(ctx context.Context) ImportOpenApiArrayOutput

type ImportOpenApiConstantParameter added in v0.1.8

type ImportOpenApiConstantParameter struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue *string `pulumi:"defaultValue"`
	// Parameter description.
	Desc *string `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name *string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position *string `pulumi:"position"`
}

type ImportOpenApiConstantParameterArgs added in v0.1.8

type ImportOpenApiConstantParameterArgs struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// Parameter description.
	Desc pulumi.StringPtrInput `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position pulumi.StringPtrInput `pulumi:"position"`
}

func (ImportOpenApiConstantParameterArgs) ElementType added in v0.1.8

func (ImportOpenApiConstantParameterArgs) ToImportOpenApiConstantParameterOutput added in v0.1.8

func (i ImportOpenApiConstantParameterArgs) ToImportOpenApiConstantParameterOutput() ImportOpenApiConstantParameterOutput

func (ImportOpenApiConstantParameterArgs) ToImportOpenApiConstantParameterOutputWithContext added in v0.1.8

func (i ImportOpenApiConstantParameterArgs) ToImportOpenApiConstantParameterOutputWithContext(ctx context.Context) ImportOpenApiConstantParameterOutput

type ImportOpenApiConstantParameterArray added in v0.1.8

type ImportOpenApiConstantParameterArray []ImportOpenApiConstantParameterInput

func (ImportOpenApiConstantParameterArray) ElementType added in v0.1.8

func (ImportOpenApiConstantParameterArray) ToImportOpenApiConstantParameterArrayOutput added in v0.1.8

func (i ImportOpenApiConstantParameterArray) ToImportOpenApiConstantParameterArrayOutput() ImportOpenApiConstantParameterArrayOutput

func (ImportOpenApiConstantParameterArray) ToImportOpenApiConstantParameterArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiConstantParameterArray) ToImportOpenApiConstantParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiConstantParameterArrayOutput

type ImportOpenApiConstantParameterArrayInput added in v0.1.8

type ImportOpenApiConstantParameterArrayInput interface {
	pulumi.Input

	ToImportOpenApiConstantParameterArrayOutput() ImportOpenApiConstantParameterArrayOutput
	ToImportOpenApiConstantParameterArrayOutputWithContext(context.Context) ImportOpenApiConstantParameterArrayOutput
}

ImportOpenApiConstantParameterArrayInput is an input type that accepts ImportOpenApiConstantParameterArray and ImportOpenApiConstantParameterArrayOutput values. You can construct a concrete instance of `ImportOpenApiConstantParameterArrayInput` via:

ImportOpenApiConstantParameterArray{ ImportOpenApiConstantParameterArgs{...} }

type ImportOpenApiConstantParameterArrayOutput added in v0.1.8

type ImportOpenApiConstantParameterArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiConstantParameterArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiConstantParameterArrayOutput) Index added in v0.1.8

func (ImportOpenApiConstantParameterArrayOutput) ToImportOpenApiConstantParameterArrayOutput added in v0.1.8

func (o ImportOpenApiConstantParameterArrayOutput) ToImportOpenApiConstantParameterArrayOutput() ImportOpenApiConstantParameterArrayOutput

func (ImportOpenApiConstantParameterArrayOutput) ToImportOpenApiConstantParameterArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiConstantParameterArrayOutput) ToImportOpenApiConstantParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiConstantParameterArrayOutput

type ImportOpenApiConstantParameterInput added in v0.1.8

type ImportOpenApiConstantParameterInput interface {
	pulumi.Input

	ToImportOpenApiConstantParameterOutput() ImportOpenApiConstantParameterOutput
	ToImportOpenApiConstantParameterOutputWithContext(context.Context) ImportOpenApiConstantParameterOutput
}

ImportOpenApiConstantParameterInput is an input type that accepts ImportOpenApiConstantParameterArgs and ImportOpenApiConstantParameterOutput values. You can construct a concrete instance of `ImportOpenApiConstantParameterInput` via:

ImportOpenApiConstantParameterArgs{...}

type ImportOpenApiConstantParameterOutput added in v0.1.8

type ImportOpenApiConstantParameterOutput struct{ *pulumi.OutputState }

func (ImportOpenApiConstantParameterOutput) DefaultValue added in v0.1.8

The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiConstantParameterOutput) Desc added in v0.1.8

Parameter description.

func (ImportOpenApiConstantParameterOutput) ElementType added in v0.1.8

func (ImportOpenApiConstantParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiConstantParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiConstantParameterOutput) ToImportOpenApiConstantParameterOutput added in v0.1.8

func (o ImportOpenApiConstantParameterOutput) ToImportOpenApiConstantParameterOutput() ImportOpenApiConstantParameterOutput

func (ImportOpenApiConstantParameterOutput) ToImportOpenApiConstantParameterOutputWithContext added in v0.1.8

func (o ImportOpenApiConstantParameterOutput) ToImportOpenApiConstantParameterOutputWithContext(ctx context.Context) ImportOpenApiConstantParameterOutput

type ImportOpenApiInput added in v0.1.8

type ImportOpenApiInput interface {
	pulumi.Input

	ToImportOpenApiOutput() ImportOpenApiOutput
	ToImportOpenApiOutputWithContext(ctx context.Context) ImportOpenApiOutput
}

type ImportOpenApiMap added in v0.1.8

type ImportOpenApiMap map[string]ImportOpenApiInput

func (ImportOpenApiMap) ElementType added in v0.1.8

func (ImportOpenApiMap) ElementType() reflect.Type

func (ImportOpenApiMap) ToImportOpenApiMapOutput added in v0.1.8

func (i ImportOpenApiMap) ToImportOpenApiMapOutput() ImportOpenApiMapOutput

func (ImportOpenApiMap) ToImportOpenApiMapOutputWithContext added in v0.1.8

func (i ImportOpenApiMap) ToImportOpenApiMapOutputWithContext(ctx context.Context) ImportOpenApiMapOutput

type ImportOpenApiMapInput added in v0.1.8

type ImportOpenApiMapInput interface {
	pulumi.Input

	ToImportOpenApiMapOutput() ImportOpenApiMapOutput
	ToImportOpenApiMapOutputWithContext(context.Context) ImportOpenApiMapOutput
}

ImportOpenApiMapInput is an input type that accepts ImportOpenApiMap and ImportOpenApiMapOutput values. You can construct a concrete instance of `ImportOpenApiMapInput` via:

ImportOpenApiMap{ "key": ImportOpenApiArgs{...} }

type ImportOpenApiMapOutput added in v0.1.8

type ImportOpenApiMapOutput struct{ *pulumi.OutputState }

func (ImportOpenApiMapOutput) ElementType added in v0.1.8

func (ImportOpenApiMapOutput) ElementType() reflect.Type

func (ImportOpenApiMapOutput) MapIndex added in v0.1.8

func (ImportOpenApiMapOutput) ToImportOpenApiMapOutput added in v0.1.8

func (o ImportOpenApiMapOutput) ToImportOpenApiMapOutput() ImportOpenApiMapOutput

func (ImportOpenApiMapOutput) ToImportOpenApiMapOutputWithContext added in v0.1.8

func (o ImportOpenApiMapOutput) ToImportOpenApiMapOutputWithContext(ctx context.Context) ImportOpenApiMapOutput

type ImportOpenApiMicroService added in v0.1.8

type ImportOpenApiMicroService struct {
	// Micro service cluster.
	ClusterId *string `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName *string `pulumi:"microServiceName"`
	// Microservice namespace.
	NamespaceId *string `pulumi:"namespaceId"`
}

type ImportOpenApiMicroServiceArgs added in v0.1.8

type ImportOpenApiMicroServiceArgs struct {
	// Micro service cluster.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// Microservice name.
	MicroServiceName pulumi.StringPtrInput `pulumi:"microServiceName"`
	// Microservice namespace.
	NamespaceId pulumi.StringPtrInput `pulumi:"namespaceId"`
}

func (ImportOpenApiMicroServiceArgs) ElementType added in v0.1.8

func (ImportOpenApiMicroServiceArgs) ToImportOpenApiMicroServiceOutput added in v0.1.8

func (i ImportOpenApiMicroServiceArgs) ToImportOpenApiMicroServiceOutput() ImportOpenApiMicroServiceOutput

func (ImportOpenApiMicroServiceArgs) ToImportOpenApiMicroServiceOutputWithContext added in v0.1.8

func (i ImportOpenApiMicroServiceArgs) ToImportOpenApiMicroServiceOutputWithContext(ctx context.Context) ImportOpenApiMicroServiceOutput

type ImportOpenApiMicroServiceArray added in v0.1.8

type ImportOpenApiMicroServiceArray []ImportOpenApiMicroServiceInput

func (ImportOpenApiMicroServiceArray) ElementType added in v0.1.8

func (ImportOpenApiMicroServiceArray) ToImportOpenApiMicroServiceArrayOutput added in v0.1.8

func (i ImportOpenApiMicroServiceArray) ToImportOpenApiMicroServiceArrayOutput() ImportOpenApiMicroServiceArrayOutput

func (ImportOpenApiMicroServiceArray) ToImportOpenApiMicroServiceArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiMicroServiceArray) ToImportOpenApiMicroServiceArrayOutputWithContext(ctx context.Context) ImportOpenApiMicroServiceArrayOutput

type ImportOpenApiMicroServiceArrayInput added in v0.1.8

type ImportOpenApiMicroServiceArrayInput interface {
	pulumi.Input

	ToImportOpenApiMicroServiceArrayOutput() ImportOpenApiMicroServiceArrayOutput
	ToImportOpenApiMicroServiceArrayOutputWithContext(context.Context) ImportOpenApiMicroServiceArrayOutput
}

ImportOpenApiMicroServiceArrayInput is an input type that accepts ImportOpenApiMicroServiceArray and ImportOpenApiMicroServiceArrayOutput values. You can construct a concrete instance of `ImportOpenApiMicroServiceArrayInput` via:

ImportOpenApiMicroServiceArray{ ImportOpenApiMicroServiceArgs{...} }

type ImportOpenApiMicroServiceArrayOutput added in v0.1.8

type ImportOpenApiMicroServiceArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiMicroServiceArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiMicroServiceArrayOutput) Index added in v0.1.8

func (ImportOpenApiMicroServiceArrayOutput) ToImportOpenApiMicroServiceArrayOutput added in v0.1.8

func (o ImportOpenApiMicroServiceArrayOutput) ToImportOpenApiMicroServiceArrayOutput() ImportOpenApiMicroServiceArrayOutput

func (ImportOpenApiMicroServiceArrayOutput) ToImportOpenApiMicroServiceArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiMicroServiceArrayOutput) ToImportOpenApiMicroServiceArrayOutputWithContext(ctx context.Context) ImportOpenApiMicroServiceArrayOutput

type ImportOpenApiMicroServiceInput added in v0.1.8

type ImportOpenApiMicroServiceInput interface {
	pulumi.Input

	ToImportOpenApiMicroServiceOutput() ImportOpenApiMicroServiceOutput
	ToImportOpenApiMicroServiceOutputWithContext(context.Context) ImportOpenApiMicroServiceOutput
}

ImportOpenApiMicroServiceInput is an input type that accepts ImportOpenApiMicroServiceArgs and ImportOpenApiMicroServiceOutput values. You can construct a concrete instance of `ImportOpenApiMicroServiceInput` via:

ImportOpenApiMicroServiceArgs{...}

type ImportOpenApiMicroServiceOutput added in v0.1.8

type ImportOpenApiMicroServiceOutput struct{ *pulumi.OutputState }

func (ImportOpenApiMicroServiceOutput) ClusterId added in v0.1.8

Micro service cluster.

func (ImportOpenApiMicroServiceOutput) ElementType added in v0.1.8

func (ImportOpenApiMicroServiceOutput) MicroServiceName added in v0.1.8

Microservice name.

func (ImportOpenApiMicroServiceOutput) NamespaceId added in v0.1.8

Microservice namespace.

func (ImportOpenApiMicroServiceOutput) ToImportOpenApiMicroServiceOutput added in v0.1.8

func (o ImportOpenApiMicroServiceOutput) ToImportOpenApiMicroServiceOutput() ImportOpenApiMicroServiceOutput

func (ImportOpenApiMicroServiceOutput) ToImportOpenApiMicroServiceOutputWithContext added in v0.1.8

func (o ImportOpenApiMicroServiceOutput) ToImportOpenApiMicroServiceOutputWithContext(ctx context.Context) ImportOpenApiMicroServiceOutput

type ImportOpenApiOauthConfig added in v0.1.8

type ImportOpenApiOauthConfig struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl *string `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey *string `pulumi:"publicKey"`
	// Token passes the position.
	TokenLocation *string `pulumi:"tokenLocation"`
}

type ImportOpenApiOauthConfigArgs added in v0.1.8

type ImportOpenApiOauthConfigArgs struct {
	// Redirect address, used to guide users in login operations.
	LoginRedirectUrl pulumi.StringPtrInput `pulumi:"loginRedirectUrl"`
	// Public key, used to verify user tokens.
	PublicKey pulumi.StringPtrInput `pulumi:"publicKey"`
	// Token passes the position.
	TokenLocation pulumi.StringPtrInput `pulumi:"tokenLocation"`
}

func (ImportOpenApiOauthConfigArgs) ElementType added in v0.1.8

func (ImportOpenApiOauthConfigArgs) ToImportOpenApiOauthConfigOutput added in v0.1.8

func (i ImportOpenApiOauthConfigArgs) ToImportOpenApiOauthConfigOutput() ImportOpenApiOauthConfigOutput

func (ImportOpenApiOauthConfigArgs) ToImportOpenApiOauthConfigOutputWithContext added in v0.1.8

func (i ImportOpenApiOauthConfigArgs) ToImportOpenApiOauthConfigOutputWithContext(ctx context.Context) ImportOpenApiOauthConfigOutput

type ImportOpenApiOauthConfigArray added in v0.1.8

type ImportOpenApiOauthConfigArray []ImportOpenApiOauthConfigInput

func (ImportOpenApiOauthConfigArray) ElementType added in v0.1.8

func (ImportOpenApiOauthConfigArray) ToImportOpenApiOauthConfigArrayOutput added in v0.1.8

func (i ImportOpenApiOauthConfigArray) ToImportOpenApiOauthConfigArrayOutput() ImportOpenApiOauthConfigArrayOutput

func (ImportOpenApiOauthConfigArray) ToImportOpenApiOauthConfigArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiOauthConfigArray) ToImportOpenApiOauthConfigArrayOutputWithContext(ctx context.Context) ImportOpenApiOauthConfigArrayOutput

type ImportOpenApiOauthConfigArrayInput added in v0.1.8

type ImportOpenApiOauthConfigArrayInput interface {
	pulumi.Input

	ToImportOpenApiOauthConfigArrayOutput() ImportOpenApiOauthConfigArrayOutput
	ToImportOpenApiOauthConfigArrayOutputWithContext(context.Context) ImportOpenApiOauthConfigArrayOutput
}

ImportOpenApiOauthConfigArrayInput is an input type that accepts ImportOpenApiOauthConfigArray and ImportOpenApiOauthConfigArrayOutput values. You can construct a concrete instance of `ImportOpenApiOauthConfigArrayInput` via:

ImportOpenApiOauthConfigArray{ ImportOpenApiOauthConfigArgs{...} }

type ImportOpenApiOauthConfigArrayOutput added in v0.1.8

type ImportOpenApiOauthConfigArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiOauthConfigArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiOauthConfigArrayOutput) Index added in v0.1.8

func (ImportOpenApiOauthConfigArrayOutput) ToImportOpenApiOauthConfigArrayOutput added in v0.1.8

func (o ImportOpenApiOauthConfigArrayOutput) ToImportOpenApiOauthConfigArrayOutput() ImportOpenApiOauthConfigArrayOutput

func (ImportOpenApiOauthConfigArrayOutput) ToImportOpenApiOauthConfigArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiOauthConfigArrayOutput) ToImportOpenApiOauthConfigArrayOutputWithContext(ctx context.Context) ImportOpenApiOauthConfigArrayOutput

type ImportOpenApiOauthConfigInput added in v0.1.8

type ImportOpenApiOauthConfigInput interface {
	pulumi.Input

	ToImportOpenApiOauthConfigOutput() ImportOpenApiOauthConfigOutput
	ToImportOpenApiOauthConfigOutputWithContext(context.Context) ImportOpenApiOauthConfigOutput
}

ImportOpenApiOauthConfigInput is an input type that accepts ImportOpenApiOauthConfigArgs and ImportOpenApiOauthConfigOutput values. You can construct a concrete instance of `ImportOpenApiOauthConfigInput` via:

ImportOpenApiOauthConfigArgs{...}

type ImportOpenApiOauthConfigOutput added in v0.1.8

type ImportOpenApiOauthConfigOutput struct{ *pulumi.OutputState }

func (ImportOpenApiOauthConfigOutput) ElementType added in v0.1.8

func (ImportOpenApiOauthConfigOutput) LoginRedirectUrl added in v0.1.8

Redirect address, used to guide users in login operations.

func (ImportOpenApiOauthConfigOutput) PublicKey added in v0.1.8

Public key, used to verify user tokens.

func (ImportOpenApiOauthConfigOutput) ToImportOpenApiOauthConfigOutput added in v0.1.8

func (o ImportOpenApiOauthConfigOutput) ToImportOpenApiOauthConfigOutput() ImportOpenApiOauthConfigOutput

func (ImportOpenApiOauthConfigOutput) ToImportOpenApiOauthConfigOutputWithContext added in v0.1.8

func (o ImportOpenApiOauthConfigOutput) ToImportOpenApiOauthConfigOutputWithContext(ctx context.Context) ImportOpenApiOauthConfigOutput

func (ImportOpenApiOauthConfigOutput) TokenLocation added in v0.1.8

Token passes the position.

type ImportOpenApiOutput added in v0.1.8

type ImportOpenApiOutput struct{ *pulumi.OutputState }

func (ImportOpenApiOutput) ApiBusinessType added in v0.1.8

func (o ImportOpenApiOutput) ApiBusinessType() pulumi.StringOutput

When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.

func (ImportOpenApiOutput) ApiDesc added in v0.1.8

Custom API description.

func (ImportOpenApiOutput) ApiId added in v0.1.8

Custom Api Id.

func (ImportOpenApiOutput) ApiName added in v0.1.8

Custom API name.

func (ImportOpenApiOutput) ApiType added in v0.1.8

API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.

func (ImportOpenApiOutput) AuthRelationApiId added in v0.1.8

func (o ImportOpenApiOutput) AuthRelationApiId() pulumi.StringOutput

The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.

func (ImportOpenApiOutput) AuthType added in v0.1.8

API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.

func (ImportOpenApiOutput) ConstantParameters added in v0.1.8

Constant parameter.

func (ImportOpenApiOutput) Content added in v0.1.8

OpenAPI body content.

func (ImportOpenApiOutput) ContentVersion added in v0.1.8

func (o ImportOpenApiOutput) ContentVersion() pulumi.StringPtrOutput

The Content version defaults to OpenAPI and currently only supports OpenAPI.

func (ImportOpenApiOutput) CreateTime added in v0.1.8

func (o ImportOpenApiOutput) CreateTime() pulumi.StringOutput

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

func (ImportOpenApiOutput) ElementType added in v0.1.8

func (ImportOpenApiOutput) ElementType() reflect.Type

func (ImportOpenApiOutput) EnableCors added in v0.1.8

func (o ImportOpenApiOutput) EnableCors() pulumi.BoolOutput

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

func (ImportOpenApiOutput) EncodeType added in v0.1.8

The Content format can only be YAML or JSON, and the default is YAML.

func (ImportOpenApiOutput) IsBase64Encoded added in v0.1.8

func (o ImportOpenApiOutput) IsBase64Encoded() pulumi.BoolOutput

Whether to enable Base64 encoding will only take effect when the backend is scf.

func (ImportOpenApiOutput) IsDebugAfterCharge added in v0.1.8

func (o ImportOpenApiOutput) IsDebugAfterCharge() pulumi.BoolOutput

Charge after starting debugging. (Cloud Market Reserved Fields).

func (ImportOpenApiOutput) IsDeleteResponseErrorCodes added in v0.1.8

func (o ImportOpenApiOutput) IsDeleteResponseErrorCodes() pulumi.BoolOutput

Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.

func (ImportOpenApiOutput) MicroServices added in v0.1.8

API bound microservice list.

func (ImportOpenApiOutput) OauthConfigs added in v0.1.8

OAuth configuration. Effective when AuthType is OAUTH.

func (ImportOpenApiOutput) Protocol added in v0.1.8

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

func (ImportOpenApiOutput) RequestConfigMethod added in v0.1.8

func (o ImportOpenApiOutput) RequestConfigMethod() pulumi.StringOutput

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

func (ImportOpenApiOutput) RequestConfigPath added in v0.1.8

func (o ImportOpenApiOutput) RequestConfigPath() pulumi.StringOutput

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

func (ImportOpenApiOutput) RequestParameters added in v0.1.8

Frontend request parameters.

func (ImportOpenApiOutput) ResponseErrorCodes added in v0.1.8

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

func (ImportOpenApiOutput) ResponseFailExample added in v0.1.8

func (o ImportOpenApiOutput) ResponseFailExample() pulumi.StringOutput

Response failure sample of custom response configuration.

func (ImportOpenApiOutput) ResponseSuccessExample added in v0.1.8

func (o ImportOpenApiOutput) ResponseSuccessExample() pulumi.StringOutput

Successful response sample of custom response configuration.

func (ImportOpenApiOutput) ResponseType added in v0.1.8

func (o ImportOpenApiOutput) ResponseType() pulumi.StringOutput

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

func (ImportOpenApiOutput) ServiceConfigCosConfigs added in v0.1.8

API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiOutput) ServiceConfigMethod added in v0.1.8

func (o ImportOpenApiOutput) 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 (ImportOpenApiOutput) ServiceConfigMockReturnMessage added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigMockReturnMessage() pulumi.StringOutput

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

func (ImportOpenApiOutput) ServiceConfigPath added in v0.1.8

func (o ImportOpenApiOutput) 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 (ImportOpenApiOutput) ServiceConfigProduct added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigProduct() pulumi.StringOutput

Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.

func (ImportOpenApiOutput) ServiceConfigScfFunctionName added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigScfFunctionName() pulumi.StringOutput

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

func (ImportOpenApiOutput) ServiceConfigScfFunctionNamespace added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigScfFunctionNamespace() pulumi.StringOutput

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

func (ImportOpenApiOutput) ServiceConfigScfFunctionQualifier added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigScfFunctionQualifier() pulumi.StringOutput

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

func (ImportOpenApiOutput) ServiceConfigScfFunctionType added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigScfFunctionType() pulumi.StringOutput

Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).

func (ImportOpenApiOutput) ServiceConfigScfIsIntegratedResponse added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigScfIsIntegratedResponse() pulumi.BoolOutput

Whether to enable response integration. Effective when the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigTimeout added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigTimeout() pulumi.IntOutput

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

func (ImportOpenApiOutput) ServiceConfigType added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigType() pulumi.StringOutput

The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).

func (ImportOpenApiOutput) ServiceConfigUpstreamId added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigUpstreamId() pulumi.StringOutput

Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiOutput) ServiceConfigUrl added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigUrl() pulumi.StringOutput

The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.

func (ImportOpenApiOutput) ServiceConfigVpcId added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigVpcId() pulumi.StringOutput

Unique VPC ID.

func (ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionName added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionName() pulumi.StringOutput

Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionNamespace added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionNamespace() pulumi.StringOutput

Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionQualifier added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketCleanupFunctionQualifier() pulumi.StringOutput

Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionName added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionName() pulumi.StringOutput

Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionNamespace added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionNamespace() pulumi.StringOutput

Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionQualifier added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketRegisterFunctionQualifier() pulumi.StringOutput

Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionName added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionName() pulumi.StringOutput

Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionNamespace added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionNamespace() pulumi.StringOutput

Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionQualifier added in v0.1.8

func (o ImportOpenApiOutput) ServiceConfigWebsocketTransportFunctionQualifier() pulumi.StringOutput

Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.

func (ImportOpenApiOutput) ServiceId added in v0.1.8

func (o ImportOpenApiOutput) ServiceId() pulumi.StringOutput

The unique ID of the service where the API is located.

func (ImportOpenApiOutput) ServiceParameters added in v0.1.8

The backend service parameters of the API.

func (ImportOpenApiOutput) ServiceTsfHealthCheckConfs added in v0.1.8

Health check configuration for microservices.

func (ImportOpenApiOutput) ServiceTsfLoadBalanceConfs added in v0.1.8

Load balancing configuration for microservices.

func (ImportOpenApiOutput) ToImportOpenApiOutput added in v0.1.8

func (o ImportOpenApiOutput) ToImportOpenApiOutput() ImportOpenApiOutput

func (ImportOpenApiOutput) ToImportOpenApiOutputWithContext added in v0.1.8

func (o ImportOpenApiOutput) ToImportOpenApiOutputWithContext(ctx context.Context) ImportOpenApiOutput

func (ImportOpenApiOutput) UpdateTime added in v0.1.8

func (o ImportOpenApiOutput) 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 ImportOpenApiRequestParameter added in v0.1.8

type ImportOpenApiRequestParameter struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue *string `pulumi:"defaultValue"`
	// Parameter description.
	Desc *string `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name *string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position *string `pulumi:"position"`
	// If this parameter required. Default value: `false`.
	Required *bool `pulumi:"required"`
	// Parameter type.
	Type *string `pulumi:"type"`
}

type ImportOpenApiRequestParameterArgs added in v0.1.8

type ImportOpenApiRequestParameterArgs struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// Parameter description.
	Desc pulumi.StringPtrInput `pulumi:"desc"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position pulumi.StringPtrInput `pulumi:"position"`
	// If this parameter required. Default value: `false`.
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// Parameter type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ImportOpenApiRequestParameterArgs) ElementType added in v0.1.8

func (ImportOpenApiRequestParameterArgs) ToImportOpenApiRequestParameterOutput added in v0.1.8

func (i ImportOpenApiRequestParameterArgs) ToImportOpenApiRequestParameterOutput() ImportOpenApiRequestParameterOutput

func (ImportOpenApiRequestParameterArgs) ToImportOpenApiRequestParameterOutputWithContext added in v0.1.8

func (i ImportOpenApiRequestParameterArgs) ToImportOpenApiRequestParameterOutputWithContext(ctx context.Context) ImportOpenApiRequestParameterOutput

type ImportOpenApiRequestParameterArray added in v0.1.8

type ImportOpenApiRequestParameterArray []ImportOpenApiRequestParameterInput

func (ImportOpenApiRequestParameterArray) ElementType added in v0.1.8

func (ImportOpenApiRequestParameterArray) ToImportOpenApiRequestParameterArrayOutput added in v0.1.8

func (i ImportOpenApiRequestParameterArray) ToImportOpenApiRequestParameterArrayOutput() ImportOpenApiRequestParameterArrayOutput

func (ImportOpenApiRequestParameterArray) ToImportOpenApiRequestParameterArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiRequestParameterArray) ToImportOpenApiRequestParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiRequestParameterArrayOutput

type ImportOpenApiRequestParameterArrayInput added in v0.1.8

type ImportOpenApiRequestParameterArrayInput interface {
	pulumi.Input

	ToImportOpenApiRequestParameterArrayOutput() ImportOpenApiRequestParameterArrayOutput
	ToImportOpenApiRequestParameterArrayOutputWithContext(context.Context) ImportOpenApiRequestParameterArrayOutput
}

ImportOpenApiRequestParameterArrayInput is an input type that accepts ImportOpenApiRequestParameterArray and ImportOpenApiRequestParameterArrayOutput values. You can construct a concrete instance of `ImportOpenApiRequestParameterArrayInput` via:

ImportOpenApiRequestParameterArray{ ImportOpenApiRequestParameterArgs{...} }

type ImportOpenApiRequestParameterArrayOutput added in v0.1.8

type ImportOpenApiRequestParameterArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiRequestParameterArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiRequestParameterArrayOutput) Index added in v0.1.8

func (ImportOpenApiRequestParameterArrayOutput) ToImportOpenApiRequestParameterArrayOutput added in v0.1.8

func (o ImportOpenApiRequestParameterArrayOutput) ToImportOpenApiRequestParameterArrayOutput() ImportOpenApiRequestParameterArrayOutput

func (ImportOpenApiRequestParameterArrayOutput) ToImportOpenApiRequestParameterArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiRequestParameterArrayOutput) ToImportOpenApiRequestParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiRequestParameterArrayOutput

type ImportOpenApiRequestParameterInput added in v0.1.8

type ImportOpenApiRequestParameterInput interface {
	pulumi.Input

	ToImportOpenApiRequestParameterOutput() ImportOpenApiRequestParameterOutput
	ToImportOpenApiRequestParameterOutputWithContext(context.Context) ImportOpenApiRequestParameterOutput
}

ImportOpenApiRequestParameterInput is an input type that accepts ImportOpenApiRequestParameterArgs and ImportOpenApiRequestParameterOutput values. You can construct a concrete instance of `ImportOpenApiRequestParameterInput` via:

ImportOpenApiRequestParameterArgs{...}

type ImportOpenApiRequestParameterOutput added in v0.1.8

type ImportOpenApiRequestParameterOutput struct{ *pulumi.OutputState }

func (ImportOpenApiRequestParameterOutput) DefaultValue added in v0.1.8

The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiRequestParameterOutput) Desc added in v0.1.8

Parameter description.

func (ImportOpenApiRequestParameterOutput) ElementType added in v0.1.8

func (ImportOpenApiRequestParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiRequestParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiRequestParameterOutput) Required added in v0.1.8

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

func (ImportOpenApiRequestParameterOutput) ToImportOpenApiRequestParameterOutput added in v0.1.8

func (o ImportOpenApiRequestParameterOutput) ToImportOpenApiRequestParameterOutput() ImportOpenApiRequestParameterOutput

func (ImportOpenApiRequestParameterOutput) ToImportOpenApiRequestParameterOutputWithContext added in v0.1.8

func (o ImportOpenApiRequestParameterOutput) ToImportOpenApiRequestParameterOutputWithContext(ctx context.Context) ImportOpenApiRequestParameterOutput

func (ImportOpenApiRequestParameterOutput) Type added in v0.1.8

Parameter type.

type ImportOpenApiResponseErrorCode added in v0.1.8

type ImportOpenApiResponseErrorCode 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 ImportOpenApiResponseErrorCodeArgs added in v0.1.8

type ImportOpenApiResponseErrorCodeArgs struct {
	// Custom response configuration error code.
	Code pulumi.IntPtrInput `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.StringPtrInput `pulumi:"msg"`
	// Whether to enable error code conversion. Default value: `false`.
	NeedConvert pulumi.BoolPtrInput `pulumi:"needConvert"`
}

func (ImportOpenApiResponseErrorCodeArgs) ElementType added in v0.1.8

func (ImportOpenApiResponseErrorCodeArgs) ToImportOpenApiResponseErrorCodeOutput added in v0.1.8

func (i ImportOpenApiResponseErrorCodeArgs) ToImportOpenApiResponseErrorCodeOutput() ImportOpenApiResponseErrorCodeOutput

func (ImportOpenApiResponseErrorCodeArgs) ToImportOpenApiResponseErrorCodeOutputWithContext added in v0.1.8

func (i ImportOpenApiResponseErrorCodeArgs) ToImportOpenApiResponseErrorCodeOutputWithContext(ctx context.Context) ImportOpenApiResponseErrorCodeOutput

type ImportOpenApiResponseErrorCodeArray added in v0.1.8

type ImportOpenApiResponseErrorCodeArray []ImportOpenApiResponseErrorCodeInput

func (ImportOpenApiResponseErrorCodeArray) ElementType added in v0.1.8

func (ImportOpenApiResponseErrorCodeArray) ToImportOpenApiResponseErrorCodeArrayOutput added in v0.1.8

func (i ImportOpenApiResponseErrorCodeArray) ToImportOpenApiResponseErrorCodeArrayOutput() ImportOpenApiResponseErrorCodeArrayOutput

func (ImportOpenApiResponseErrorCodeArray) ToImportOpenApiResponseErrorCodeArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiResponseErrorCodeArray) ToImportOpenApiResponseErrorCodeArrayOutputWithContext(ctx context.Context) ImportOpenApiResponseErrorCodeArrayOutput

type ImportOpenApiResponseErrorCodeArrayInput added in v0.1.8

type ImportOpenApiResponseErrorCodeArrayInput interface {
	pulumi.Input

	ToImportOpenApiResponseErrorCodeArrayOutput() ImportOpenApiResponseErrorCodeArrayOutput
	ToImportOpenApiResponseErrorCodeArrayOutputWithContext(context.Context) ImportOpenApiResponseErrorCodeArrayOutput
}

ImportOpenApiResponseErrorCodeArrayInput is an input type that accepts ImportOpenApiResponseErrorCodeArray and ImportOpenApiResponseErrorCodeArrayOutput values. You can construct a concrete instance of `ImportOpenApiResponseErrorCodeArrayInput` via:

ImportOpenApiResponseErrorCodeArray{ ImportOpenApiResponseErrorCodeArgs{...} }

type ImportOpenApiResponseErrorCodeArrayOutput added in v0.1.8

type ImportOpenApiResponseErrorCodeArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiResponseErrorCodeArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiResponseErrorCodeArrayOutput) Index added in v0.1.8

func (ImportOpenApiResponseErrorCodeArrayOutput) ToImportOpenApiResponseErrorCodeArrayOutput added in v0.1.8

func (o ImportOpenApiResponseErrorCodeArrayOutput) ToImportOpenApiResponseErrorCodeArrayOutput() ImportOpenApiResponseErrorCodeArrayOutput

func (ImportOpenApiResponseErrorCodeArrayOutput) ToImportOpenApiResponseErrorCodeArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiResponseErrorCodeArrayOutput) ToImportOpenApiResponseErrorCodeArrayOutputWithContext(ctx context.Context) ImportOpenApiResponseErrorCodeArrayOutput

type ImportOpenApiResponseErrorCodeInput added in v0.1.8

type ImportOpenApiResponseErrorCodeInput interface {
	pulumi.Input

	ToImportOpenApiResponseErrorCodeOutput() ImportOpenApiResponseErrorCodeOutput
	ToImportOpenApiResponseErrorCodeOutputWithContext(context.Context) ImportOpenApiResponseErrorCodeOutput
}

ImportOpenApiResponseErrorCodeInput is an input type that accepts ImportOpenApiResponseErrorCodeArgs and ImportOpenApiResponseErrorCodeOutput values. You can construct a concrete instance of `ImportOpenApiResponseErrorCodeInput` via:

ImportOpenApiResponseErrorCodeArgs{...}

type ImportOpenApiResponseErrorCodeOutput added in v0.1.8

type ImportOpenApiResponseErrorCodeOutput struct{ *pulumi.OutputState }

func (ImportOpenApiResponseErrorCodeOutput) Code added in v0.1.8

Custom response configuration error code.

func (ImportOpenApiResponseErrorCodeOutput) ConvertedCode added in v0.1.8

Custom error code conversion.

func (ImportOpenApiResponseErrorCodeOutput) Desc added in v0.1.8

Parameter description.

func (ImportOpenApiResponseErrorCodeOutput) ElementType added in v0.1.8

func (ImportOpenApiResponseErrorCodeOutput) Msg added in v0.1.8

Custom response configuration error message.

func (ImportOpenApiResponseErrorCodeOutput) NeedConvert added in v0.1.8

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

func (ImportOpenApiResponseErrorCodeOutput) ToImportOpenApiResponseErrorCodeOutput added in v0.1.8

func (o ImportOpenApiResponseErrorCodeOutput) ToImportOpenApiResponseErrorCodeOutput() ImportOpenApiResponseErrorCodeOutput

func (ImportOpenApiResponseErrorCodeOutput) ToImportOpenApiResponseErrorCodeOutputWithContext added in v0.1.8

func (o ImportOpenApiResponseErrorCodeOutput) ToImportOpenApiResponseErrorCodeOutputWithContext(ctx context.Context) ImportOpenApiResponseErrorCodeOutput

type ImportOpenApiServiceConfigCosConfig added in v0.1.8

type ImportOpenApiServiceConfigCosConfig struct {
	// The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
	Action *string `pulumi:"action"`
	// The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
	Authorization *bool `pulumi:"authorization"`
	// The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
	BucketName *string `pulumi:"bucketName"`
	// Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
	PathMatchMode *string `pulumi:"pathMatchMode"`
}

type ImportOpenApiServiceConfigCosConfigArgs added in v0.1.8

type ImportOpenApiServiceConfigCosConfigArgs struct {
	// The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
	Authorization pulumi.BoolPtrInput `pulumi:"authorization"`
	// The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
	BucketName pulumi.StringPtrInput `pulumi:"bucketName"`
	// Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
	PathMatchMode pulumi.StringPtrInput `pulumi:"pathMatchMode"`
}

func (ImportOpenApiServiceConfigCosConfigArgs) ElementType added in v0.1.8

func (ImportOpenApiServiceConfigCosConfigArgs) ToImportOpenApiServiceConfigCosConfigOutput added in v0.1.8

func (i ImportOpenApiServiceConfigCosConfigArgs) ToImportOpenApiServiceConfigCosConfigOutput() ImportOpenApiServiceConfigCosConfigOutput

func (ImportOpenApiServiceConfigCosConfigArgs) ToImportOpenApiServiceConfigCosConfigOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceConfigCosConfigArgs) ToImportOpenApiServiceConfigCosConfigOutputWithContext(ctx context.Context) ImportOpenApiServiceConfigCosConfigOutput

type ImportOpenApiServiceConfigCosConfigArray added in v0.1.8

type ImportOpenApiServiceConfigCosConfigArray []ImportOpenApiServiceConfigCosConfigInput

func (ImportOpenApiServiceConfigCosConfigArray) ElementType added in v0.1.8

func (ImportOpenApiServiceConfigCosConfigArray) ToImportOpenApiServiceConfigCosConfigArrayOutput added in v0.1.8

func (i ImportOpenApiServiceConfigCosConfigArray) ToImportOpenApiServiceConfigCosConfigArrayOutput() ImportOpenApiServiceConfigCosConfigArrayOutput

func (ImportOpenApiServiceConfigCosConfigArray) ToImportOpenApiServiceConfigCosConfigArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceConfigCosConfigArray) ToImportOpenApiServiceConfigCosConfigArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceConfigCosConfigArrayOutput

type ImportOpenApiServiceConfigCosConfigArrayInput added in v0.1.8

type ImportOpenApiServiceConfigCosConfigArrayInput interface {
	pulumi.Input

	ToImportOpenApiServiceConfigCosConfigArrayOutput() ImportOpenApiServiceConfigCosConfigArrayOutput
	ToImportOpenApiServiceConfigCosConfigArrayOutputWithContext(context.Context) ImportOpenApiServiceConfigCosConfigArrayOutput
}

ImportOpenApiServiceConfigCosConfigArrayInput is an input type that accepts ImportOpenApiServiceConfigCosConfigArray and ImportOpenApiServiceConfigCosConfigArrayOutput values. You can construct a concrete instance of `ImportOpenApiServiceConfigCosConfigArrayInput` via:

ImportOpenApiServiceConfigCosConfigArray{ ImportOpenApiServiceConfigCosConfigArgs{...} }

type ImportOpenApiServiceConfigCosConfigArrayOutput added in v0.1.8

type ImportOpenApiServiceConfigCosConfigArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceConfigCosConfigArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceConfigCosConfigArrayOutput) Index added in v0.1.8

func (ImportOpenApiServiceConfigCosConfigArrayOutput) ToImportOpenApiServiceConfigCosConfigArrayOutput added in v0.1.8

func (o ImportOpenApiServiceConfigCosConfigArrayOutput) ToImportOpenApiServiceConfigCosConfigArrayOutput() ImportOpenApiServiceConfigCosConfigArrayOutput

func (ImportOpenApiServiceConfigCosConfigArrayOutput) ToImportOpenApiServiceConfigCosConfigArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceConfigCosConfigArrayOutput) ToImportOpenApiServiceConfigCosConfigArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceConfigCosConfigArrayOutput

type ImportOpenApiServiceConfigCosConfigInput added in v0.1.8

type ImportOpenApiServiceConfigCosConfigInput interface {
	pulumi.Input

	ToImportOpenApiServiceConfigCosConfigOutput() ImportOpenApiServiceConfigCosConfigOutput
	ToImportOpenApiServiceConfigCosConfigOutputWithContext(context.Context) ImportOpenApiServiceConfigCosConfigOutput
}

ImportOpenApiServiceConfigCosConfigInput is an input type that accepts ImportOpenApiServiceConfigCosConfigArgs and ImportOpenApiServiceConfigCosConfigOutput values. You can construct a concrete instance of `ImportOpenApiServiceConfigCosConfigInput` via:

ImportOpenApiServiceConfigCosConfigArgs{...}

type ImportOpenApiServiceConfigCosConfigOutput added in v0.1.8

type ImportOpenApiServiceConfigCosConfigOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceConfigCosConfigOutput) Action added in v0.1.8

The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceConfigCosConfigOutput) Authorization added in v0.1.8

The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceConfigCosConfigOutput) BucketName added in v0.1.8

The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceConfigCosConfigOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceConfigCosConfigOutput) PathMatchMode added in v0.1.8

Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceConfigCosConfigOutput) ToImportOpenApiServiceConfigCosConfigOutput added in v0.1.8

func (o ImportOpenApiServiceConfigCosConfigOutput) ToImportOpenApiServiceConfigCosConfigOutput() ImportOpenApiServiceConfigCosConfigOutput

func (ImportOpenApiServiceConfigCosConfigOutput) ToImportOpenApiServiceConfigCosConfigOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceConfigCosConfigOutput) ToImportOpenApiServiceConfigCosConfigOutputWithContext(ctx context.Context) ImportOpenApiServiceConfigCosConfigOutput

type ImportOpenApiServiceParameter added in v0.1.8

type ImportOpenApiServiceParameter struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue *string `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name *string `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position *string `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterDesc *string `pulumi:"relevantRequestParameterDesc"`
	// The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterName *string `pulumi:"relevantRequestParameterName"`
	// The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterPosition *string `pulumi:"relevantRequestParameterPosition"`
	// The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterType *string `pulumi:"relevantRequestParameterType"`
}

type ImportOpenApiServiceParameterArgs added in v0.1.8

type ImportOpenApiServiceParameterArgs struct {
	// The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
	Position pulumi.StringPtrInput `pulumi:"position"`
	// Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterDesc pulumi.StringPtrInput `pulumi:"relevantRequestParameterDesc"`
	// The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterName pulumi.StringPtrInput `pulumi:"relevantRequestParameterName"`
	// The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterPosition pulumi.StringPtrInput `pulumi:"relevantRequestParameterPosition"`
	// The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
	RelevantRequestParameterType pulumi.StringPtrInput `pulumi:"relevantRequestParameterType"`
}

func (ImportOpenApiServiceParameterArgs) ElementType added in v0.1.8

func (ImportOpenApiServiceParameterArgs) ToImportOpenApiServiceParameterOutput added in v0.1.8

func (i ImportOpenApiServiceParameterArgs) ToImportOpenApiServiceParameterOutput() ImportOpenApiServiceParameterOutput

func (ImportOpenApiServiceParameterArgs) ToImportOpenApiServiceParameterOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceParameterArgs) ToImportOpenApiServiceParameterOutputWithContext(ctx context.Context) ImportOpenApiServiceParameterOutput

type ImportOpenApiServiceParameterArray added in v0.1.8

type ImportOpenApiServiceParameterArray []ImportOpenApiServiceParameterInput

func (ImportOpenApiServiceParameterArray) ElementType added in v0.1.8

func (ImportOpenApiServiceParameterArray) ToImportOpenApiServiceParameterArrayOutput added in v0.1.8

func (i ImportOpenApiServiceParameterArray) ToImportOpenApiServiceParameterArrayOutput() ImportOpenApiServiceParameterArrayOutput

func (ImportOpenApiServiceParameterArray) ToImportOpenApiServiceParameterArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceParameterArray) ToImportOpenApiServiceParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceParameterArrayOutput

type ImportOpenApiServiceParameterArrayInput added in v0.1.8

type ImportOpenApiServiceParameterArrayInput interface {
	pulumi.Input

	ToImportOpenApiServiceParameterArrayOutput() ImportOpenApiServiceParameterArrayOutput
	ToImportOpenApiServiceParameterArrayOutputWithContext(context.Context) ImportOpenApiServiceParameterArrayOutput
}

ImportOpenApiServiceParameterArrayInput is an input type that accepts ImportOpenApiServiceParameterArray and ImportOpenApiServiceParameterArrayOutput values. You can construct a concrete instance of `ImportOpenApiServiceParameterArrayInput` via:

ImportOpenApiServiceParameterArray{ ImportOpenApiServiceParameterArgs{...} }

type ImportOpenApiServiceParameterArrayOutput added in v0.1.8

type ImportOpenApiServiceParameterArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceParameterArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceParameterArrayOutput) Index added in v0.1.8

func (ImportOpenApiServiceParameterArrayOutput) ToImportOpenApiServiceParameterArrayOutput added in v0.1.8

func (o ImportOpenApiServiceParameterArrayOutput) ToImportOpenApiServiceParameterArrayOutput() ImportOpenApiServiceParameterArrayOutput

func (ImportOpenApiServiceParameterArrayOutput) ToImportOpenApiServiceParameterArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceParameterArrayOutput) ToImportOpenApiServiceParameterArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceParameterArrayOutput

type ImportOpenApiServiceParameterInput added in v0.1.8

type ImportOpenApiServiceParameterInput interface {
	pulumi.Input

	ToImportOpenApiServiceParameterOutput() ImportOpenApiServiceParameterOutput
	ToImportOpenApiServiceParameterOutputWithContext(context.Context) ImportOpenApiServiceParameterOutput
}

ImportOpenApiServiceParameterInput is an input type that accepts ImportOpenApiServiceParameterArgs and ImportOpenApiServiceParameterOutput values. You can construct a concrete instance of `ImportOpenApiServiceParameterInput` via:

ImportOpenApiServiceParameterArgs{...}

type ImportOpenApiServiceParameterOutput added in v0.1.8

type ImportOpenApiServiceParameterOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceParameterOutput) DefaultValue added in v0.1.8

The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceParameterOutput) Name added in v0.1.8

The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) Position added in v0.1.8

The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) RelevantRequestParameterDesc added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) RelevantRequestParameterDesc() pulumi.StringPtrOutput

Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) RelevantRequestParameterName added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) RelevantRequestParameterName() pulumi.StringPtrOutput

The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) RelevantRequestParameterPosition added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) RelevantRequestParameterPosition() pulumi.StringPtrOutput

The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) RelevantRequestParameterType added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) RelevantRequestParameterType() pulumi.StringPtrOutput

The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceParameterOutput) ToImportOpenApiServiceParameterOutput added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) ToImportOpenApiServiceParameterOutput() ImportOpenApiServiceParameterOutput

func (ImportOpenApiServiceParameterOutput) ToImportOpenApiServiceParameterOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceParameterOutput) ToImportOpenApiServiceParameterOutputWithContext(ctx context.Context) ImportOpenApiServiceParameterOutput

type ImportOpenApiServiceTsfHealthCheckConf added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConf struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage *int `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck *bool `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold *int `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds *int `pulumi:"sleepWindowInMilliseconds"`
}

type ImportOpenApiServiceTsfHealthCheckConfArgs added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfArgs struct {
	// Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
	ErrorThresholdPercentage pulumi.IntPtrInput `pulumi:"errorThresholdPercentage"`
	// Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsHealthCheck pulumi.BoolPtrInput `pulumi:"isHealthCheck"`
	// Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
	RequestVolumeThreshold pulumi.IntPtrInput `pulumi:"requestVolumeThreshold"`
	// Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
	SleepWindowInMilliseconds pulumi.IntPtrInput `pulumi:"sleepWindowInMilliseconds"`
}

func (ImportOpenApiServiceTsfHealthCheckConfArgs) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfHealthCheckConfArgs) ToImportOpenApiServiceTsfHealthCheckConfOutput added in v0.1.8

func (i ImportOpenApiServiceTsfHealthCheckConfArgs) ToImportOpenApiServiceTsfHealthCheckConfOutput() ImportOpenApiServiceTsfHealthCheckConfOutput

func (ImportOpenApiServiceTsfHealthCheckConfArgs) ToImportOpenApiServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceTsfHealthCheckConfArgs) ToImportOpenApiServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfHealthCheckConfOutput

type ImportOpenApiServiceTsfHealthCheckConfArray added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfArray []ImportOpenApiServiceTsfHealthCheckConfInput

func (ImportOpenApiServiceTsfHealthCheckConfArray) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfHealthCheckConfArray) ToImportOpenApiServiceTsfHealthCheckConfArrayOutput added in v0.1.8

func (i ImportOpenApiServiceTsfHealthCheckConfArray) ToImportOpenApiServiceTsfHealthCheckConfArrayOutput() ImportOpenApiServiceTsfHealthCheckConfArrayOutput

func (ImportOpenApiServiceTsfHealthCheckConfArray) ToImportOpenApiServiceTsfHealthCheckConfArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceTsfHealthCheckConfArray) ToImportOpenApiServiceTsfHealthCheckConfArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfHealthCheckConfArrayOutput

type ImportOpenApiServiceTsfHealthCheckConfArrayInput added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfArrayInput interface {
	pulumi.Input

	ToImportOpenApiServiceTsfHealthCheckConfArrayOutput() ImportOpenApiServiceTsfHealthCheckConfArrayOutput
	ToImportOpenApiServiceTsfHealthCheckConfArrayOutputWithContext(context.Context) ImportOpenApiServiceTsfHealthCheckConfArrayOutput
}

ImportOpenApiServiceTsfHealthCheckConfArrayInput is an input type that accepts ImportOpenApiServiceTsfHealthCheckConfArray and ImportOpenApiServiceTsfHealthCheckConfArrayOutput values. You can construct a concrete instance of `ImportOpenApiServiceTsfHealthCheckConfArrayInput` via:

ImportOpenApiServiceTsfHealthCheckConfArray{ ImportOpenApiServiceTsfHealthCheckConfArgs{...} }

type ImportOpenApiServiceTsfHealthCheckConfArrayOutput added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceTsfHealthCheckConfArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfHealthCheckConfArrayOutput) Index added in v0.1.8

func (ImportOpenApiServiceTsfHealthCheckConfArrayOutput) ToImportOpenApiServiceTsfHealthCheckConfArrayOutput added in v0.1.8

func (o ImportOpenApiServiceTsfHealthCheckConfArrayOutput) ToImportOpenApiServiceTsfHealthCheckConfArrayOutput() ImportOpenApiServiceTsfHealthCheckConfArrayOutput

func (ImportOpenApiServiceTsfHealthCheckConfArrayOutput) ToImportOpenApiServiceTsfHealthCheckConfArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceTsfHealthCheckConfArrayOutput) ToImportOpenApiServiceTsfHealthCheckConfArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfHealthCheckConfArrayOutput

type ImportOpenApiServiceTsfHealthCheckConfInput added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfInput interface {
	pulumi.Input

	ToImportOpenApiServiceTsfHealthCheckConfOutput() ImportOpenApiServiceTsfHealthCheckConfOutput
	ToImportOpenApiServiceTsfHealthCheckConfOutputWithContext(context.Context) ImportOpenApiServiceTsfHealthCheckConfOutput
}

ImportOpenApiServiceTsfHealthCheckConfInput is an input type that accepts ImportOpenApiServiceTsfHealthCheckConfArgs and ImportOpenApiServiceTsfHealthCheckConfOutput values. You can construct a concrete instance of `ImportOpenApiServiceTsfHealthCheckConfInput` via:

ImportOpenApiServiceTsfHealthCheckConfArgs{...}

type ImportOpenApiServiceTsfHealthCheckConfOutput added in v0.1.8

type ImportOpenApiServiceTsfHealthCheckConfOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceTsfHealthCheckConfOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfHealthCheckConfOutput) ErrorThresholdPercentage added in v0.1.8

Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfHealthCheckConfOutput) IsHealthCheck added in v0.1.8

Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfHealthCheckConfOutput) RequestVolumeThreshold added in v0.1.8

Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfHealthCheckConfOutput) SleepWindowInMilliseconds added in v0.1.8

Window size.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfHealthCheckConfOutput) ToImportOpenApiServiceTsfHealthCheckConfOutput added in v0.1.8

func (o ImportOpenApiServiceTsfHealthCheckConfOutput) ToImportOpenApiServiceTsfHealthCheckConfOutput() ImportOpenApiServiceTsfHealthCheckConfOutput

func (ImportOpenApiServiceTsfHealthCheckConfOutput) ToImportOpenApiServiceTsfHealthCheckConfOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceTsfHealthCheckConfOutput) ToImportOpenApiServiceTsfHealthCheckConfOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfHealthCheckConfOutput

type ImportOpenApiServiceTsfLoadBalanceConf added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConf struct {
	// Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsLoadBalance *bool `pulumi:"isLoadBalance"`
	// Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method *string `pulumi:"method"`
	// Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickRequired *bool `pulumi:"sessionStickRequired"`
	// Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickTimeout *int `pulumi:"sessionStickTimeout"`
}

type ImportOpenApiServiceTsfLoadBalanceConfArgs added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfArgs struct {
	// Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
	IsLoadBalance pulumi.BoolPtrInput `pulumi:"isLoadBalance"`
	// Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickRequired pulumi.BoolPtrInput `pulumi:"sessionStickRequired"`
	// Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
	SessionStickTimeout pulumi.IntPtrInput `pulumi:"sessionStickTimeout"`
}

func (ImportOpenApiServiceTsfLoadBalanceConfArgs) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfLoadBalanceConfArgs) ToImportOpenApiServiceTsfLoadBalanceConfOutput added in v0.1.8

func (i ImportOpenApiServiceTsfLoadBalanceConfArgs) ToImportOpenApiServiceTsfLoadBalanceConfOutput() ImportOpenApiServiceTsfLoadBalanceConfOutput

func (ImportOpenApiServiceTsfLoadBalanceConfArgs) ToImportOpenApiServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceTsfLoadBalanceConfArgs) ToImportOpenApiServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfLoadBalanceConfOutput

type ImportOpenApiServiceTsfLoadBalanceConfArray added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfArray []ImportOpenApiServiceTsfLoadBalanceConfInput

func (ImportOpenApiServiceTsfLoadBalanceConfArray) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfLoadBalanceConfArray) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

func (i ImportOpenApiServiceTsfLoadBalanceConfArray) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutput() ImportOpenApiServiceTsfLoadBalanceConfArrayOutput

func (ImportOpenApiServiceTsfLoadBalanceConfArray) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutputWithContext added in v0.1.8

func (i ImportOpenApiServiceTsfLoadBalanceConfArray) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfLoadBalanceConfArrayOutput

type ImportOpenApiServiceTsfLoadBalanceConfArrayInput added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfArrayInput interface {
	pulumi.Input

	ToImportOpenApiServiceTsfLoadBalanceConfArrayOutput() ImportOpenApiServiceTsfLoadBalanceConfArrayOutput
	ToImportOpenApiServiceTsfLoadBalanceConfArrayOutputWithContext(context.Context) ImportOpenApiServiceTsfLoadBalanceConfArrayOutput
}

ImportOpenApiServiceTsfLoadBalanceConfArrayInput is an input type that accepts ImportOpenApiServiceTsfLoadBalanceConfArray and ImportOpenApiServiceTsfLoadBalanceConfArrayOutput values. You can construct a concrete instance of `ImportOpenApiServiceTsfLoadBalanceConfArrayInput` via:

ImportOpenApiServiceTsfLoadBalanceConfArray{ ImportOpenApiServiceTsfLoadBalanceConfArgs{...} }

type ImportOpenApiServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfArrayOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) Index added in v0.1.8

func (ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutput added in v0.1.8

func (o ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutput() ImportOpenApiServiceTsfLoadBalanceConfArrayOutput

func (ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceTsfLoadBalanceConfArrayOutput) ToImportOpenApiServiceTsfLoadBalanceConfArrayOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfLoadBalanceConfArrayOutput

type ImportOpenApiServiceTsfLoadBalanceConfInput added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfInput interface {
	pulumi.Input

	ToImportOpenApiServiceTsfLoadBalanceConfOutput() ImportOpenApiServiceTsfLoadBalanceConfOutput
	ToImportOpenApiServiceTsfLoadBalanceConfOutputWithContext(context.Context) ImportOpenApiServiceTsfLoadBalanceConfOutput
}

ImportOpenApiServiceTsfLoadBalanceConfInput is an input type that accepts ImportOpenApiServiceTsfLoadBalanceConfArgs and ImportOpenApiServiceTsfLoadBalanceConfOutput values. You can construct a concrete instance of `ImportOpenApiServiceTsfLoadBalanceConfInput` via:

ImportOpenApiServiceTsfLoadBalanceConfArgs{...}

type ImportOpenApiServiceTsfLoadBalanceConfOutput added in v0.1.8

type ImportOpenApiServiceTsfLoadBalanceConfOutput struct{ *pulumi.OutputState }

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) ElementType added in v0.1.8

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) IsLoadBalance added in v0.1.8

Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) Method added in v0.1.8

Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) SessionStickRequired added in v0.1.8

Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) SessionStickTimeout added in v0.1.8

Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) ToImportOpenApiServiceTsfLoadBalanceConfOutput added in v0.1.8

func (o ImportOpenApiServiceTsfLoadBalanceConfOutput) ToImportOpenApiServiceTsfLoadBalanceConfOutput() ImportOpenApiServiceTsfLoadBalanceConfOutput

func (ImportOpenApiServiceTsfLoadBalanceConfOutput) ToImportOpenApiServiceTsfLoadBalanceConfOutputWithContext added in v0.1.8

func (o ImportOpenApiServiceTsfLoadBalanceConfOutput) ToImportOpenApiServiceTsfLoadBalanceConfOutputWithContext(ctx context.Context) ImportOpenApiServiceTsfLoadBalanceConfOutput

type ImportOpenApiState added in v0.1.8

type ImportOpenApiState struct {
	// When `authType` is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API.
	ApiBusinessType pulumi.StringPtrInput
	// Custom API description.
	ApiDesc pulumi.StringPtrInput
	// Custom Api Id.
	ApiId pulumi.StringPtrInput
	// Custom API name.
	ApiName pulumi.StringPtrInput
	// API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
	ApiType pulumi.StringPtrInput
	// The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
	AuthRelationApiId pulumi.StringPtrInput
	// API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
	AuthType pulumi.StringPtrInput
	// Constant parameter.
	ConstantParameters ImportOpenApiConstantParameterArrayInput
	// OpenAPI body content.
	Content pulumi.StringPtrInput
	// The Content version defaults to OpenAPI and currently only supports OpenAPI.
	ContentVersion 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
	// The Content format can only be YAML or JSON, and the default is YAML.
	EncodeType pulumi.StringPtrInput
	// Whether to enable Base64 encoding will only take effect when the backend is scf.
	IsBase64Encoded pulumi.BoolPtrInput
	// Charge after starting debugging. (Cloud Market Reserved Fields).
	IsDebugAfterCharge pulumi.BoolPtrInput
	// Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
	IsDeleteResponseErrorCodes pulumi.BoolPtrInput
	// API bound microservice list.
	MicroServices ImportOpenApiMicroServiceArrayInput
	// OAuth configuration. Effective when AuthType is OAUTH.
	OauthConfigs ImportOpenApiOauthConfigArrayInput
	// API frontend request type. Valid values: `HTTP`, `WEBSOCKET`. Default value: `HTTP`.
	Protocol pulumi.StringPtrInput
	// 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 ImportOpenApiRequestParameterArrayInput
	// Custom error code configuration. Must keep at least one after set.
	ResponseErrorCodes ImportOpenApiResponseErrorCodeArrayInput
	// 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 COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigCosConfigs ImportOpenApiServiceConfigCosConfigArrayInput
	// 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. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
	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
	// Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
	ServiceConfigScfFunctionType pulumi.StringPtrInput
	// Whether to enable response integration. Effective when the backend type is SCF.
	ServiceConfigScfIsIntegratedResponse pulumi.BoolPtrInput
	// API backend service timeout period in seconds. Default value: `5`.
	ServiceConfigTimeout pulumi.IntPtrInput
	// The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
	ServiceConfigType pulumi.StringPtrInput
	// Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceConfigUpstreamId pulumi.StringPtrInput
	// The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
	ServiceConfigUrl pulumi.StringPtrInput
	// Unique VPC ID.
	ServiceConfigVpcId pulumi.StringPtrInput
	// Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionName pulumi.StringPtrInput
	// Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionNamespace pulumi.StringPtrInput
	// Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketCleanupFunctionQualifier pulumi.StringPtrInput
	// Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionName pulumi.StringPtrInput
	// Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketRegisterFunctionQualifier pulumi.StringPtrInput
	// Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionName pulumi.StringPtrInput
	// Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionNamespace pulumi.StringPtrInput
	// Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
	ServiceConfigWebsocketTransportFunctionQualifier pulumi.StringPtrInput
	// The unique ID of the service where the API is located.
	ServiceId pulumi.StringPtrInput
	// The backend service parameters of the API.
	ServiceParameters ImportOpenApiServiceParameterArrayInput
	// Health check configuration for microservices.
	ServiceTsfHealthCheckConfs ImportOpenApiServiceTsfHealthCheckConfArrayInput
	// Load balancing configuration for microservices.
	ServiceTsfLoadBalanceConfs ImportOpenApiServiceTsfLoadBalanceConfArrayInput
	// 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 (ImportOpenApiState) ElementType added in v0.1.8

func (ImportOpenApiState) ElementType() reflect.Type

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 LookupApiAppApiArgs added in v0.1.8

type LookupApiAppApiArgs struct {
	// API interface unique ID.
	ApiId string `pulumi:"apiId"`
	// Api region.
	ApiRegion string `pulumi:"apiRegion"`
	// Used to save apiAppApis.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The unique ID of the service where the API resides.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiAppApi.

type LookupApiAppApiOutputArgs added in v0.1.8

type LookupApiAppApiOutputArgs struct {
	// API interface unique ID.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// Api region.
	ApiRegion pulumi.StringInput `pulumi:"apiRegion"`
	// Used to save apiAppApis.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The unique ID of the service where the API resides.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiAppApi.

func (LookupApiAppApiOutputArgs) ElementType added in v0.1.8

func (LookupApiAppApiOutputArgs) ElementType() reflect.Type

type LookupApiAppApiResult added in v0.1.8

type LookupApiAppApiResult struct {
	// API interface unique ID.
	ApiId     string `pulumi:"apiId"`
	ApiRegion string `pulumi:"apiRegion"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// API details.
	Results []GetApiAppApiResult `pulumi:"results"`
	// The unique ID of the service where the API resides.
	ServiceId string `pulumi:"serviceId"`
}

A collection of values returned by getApiAppApi.

func LookupApiAppApi added in v0.1.8

func LookupApiAppApi(ctx *pulumi.Context, args *LookupApiAppApiArgs, opts ...pulumi.InvokeOption) (*LookupApiAppApiResult, error)

Use this data source to query detailed information of apiGateway apiAppApi

## 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 {
		_, err := ApiGateway.GetApiAppApi(ctx, &apigateway.GetApiAppApiArgs{
			ApiId:     "api-0cvmf4x4",
			ApiRegion: "ap-guangzhou",
			ServiceId: "service-nxz6yync",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupApiAppApiResultOutput added in v0.1.8

type LookupApiAppApiResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiAppApi.

func LookupApiAppApiOutput added in v0.1.8

func (LookupApiAppApiResultOutput) ApiId added in v0.1.8

API interface unique ID.

func (LookupApiAppApiResultOutput) ApiRegion added in v0.1.8

func (LookupApiAppApiResultOutput) ElementType added in v0.1.8

func (LookupApiAppApiResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupApiAppApiResultOutput) ResultOutputFile added in v0.1.8

func (o LookupApiAppApiResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (LookupApiAppApiResultOutput) Results added in v0.1.8

API details.

func (LookupApiAppApiResultOutput) ServiceId added in v0.1.8

The unique ID of the service where the API resides.

func (LookupApiAppApiResultOutput) ToLookupApiAppApiResultOutput added in v0.1.8

func (o LookupApiAppApiResultOutput) ToLookupApiAppApiResultOutput() LookupApiAppApiResultOutput

func (LookupApiAppApiResultOutput) ToLookupApiAppApiResultOutputWithContext added in v0.1.8

func (o LookupApiAppApiResultOutput) ToLookupApiAppApiResultOutputWithContext(ctx context.Context) LookupApiAppApiResultOutput

type LookupApiPluginsArgs added in v0.1.8

type LookupApiPluginsArgs struct {
	// API ID to be queried.
	ApiId string `pulumi:"apiId"`
	// Environment information.
	EnvironmentName *string `pulumi:"environmentName"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The service ID to be queried.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiPlugins.

type LookupApiPluginsOutputArgs added in v0.1.8

type LookupApiPluginsOutputArgs struct {
	// API ID to be queried.
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// Environment information.
	EnvironmentName pulumi.StringPtrInput `pulumi:"environmentName"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The service ID to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiPlugins.

func (LookupApiPluginsOutputArgs) ElementType added in v0.1.8

func (LookupApiPluginsOutputArgs) ElementType() reflect.Type

type LookupApiPluginsResult added in v0.1.8

type LookupApiPluginsResult struct {
	ApiId           string  `pulumi:"apiId"`
	EnvironmentName *string `pulumi:"environmentName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// API list information that the plug-in can bind.
	Results   []GetApiPluginsResult `pulumi:"results"`
	ServiceId string                `pulumi:"serviceId"`
}

A collection of values returned by getApiPlugins.

func LookupApiPlugins added in v0.1.8

func LookupApiPlugins(ctx *pulumi.Context, args *LookupApiPluginsArgs, opts ...pulumi.InvokeOption) (*LookupApiPluginsResult, error)

Use this data source to query detailed information of apiGateway apiPlugins

## 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 {
		_, err := ApiGateway.GetApiPlugins(ctx, &apigateway.GetApiPluginsArgs{
			ApiId:           "api-0cvmf4x4",
			EnvironmentName: pulumi.StringRef("test"),
			ServiceId:       "service-nxz6yync",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupApiPluginsResultOutput added in v0.1.8

type LookupApiPluginsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiPlugins.

func LookupApiPluginsOutput added in v0.1.8

func (LookupApiPluginsResultOutput) ApiId added in v0.1.8

func (LookupApiPluginsResultOutput) ElementType added in v0.1.8

func (LookupApiPluginsResultOutput) EnvironmentName added in v0.1.8

func (LookupApiPluginsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupApiPluginsResultOutput) ResultOutputFile added in v0.1.8

func (LookupApiPluginsResultOutput) Results added in v0.1.8

API list information that the plug-in can bind.

func (LookupApiPluginsResultOutput) ServiceId added in v0.1.8

func (LookupApiPluginsResultOutput) ToLookupApiPluginsResultOutput added in v0.1.8

func (o LookupApiPluginsResultOutput) ToLookupApiPluginsResultOutput() LookupApiPluginsResultOutput

func (LookupApiPluginsResultOutput) ToLookupApiPluginsResultOutputWithContext added in v0.1.8

func (o LookupApiPluginsResultOutput) ToLookupApiPluginsResultOutputWithContext(ctx context.Context) LookupApiPluginsResultOutput

type LookupApiUsagePlansArgs added in v0.1.8

type LookupApiUsagePlansArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiUsagePlans.

type LookupApiUsagePlansOutputArgs added in v0.1.8

type LookupApiUsagePlansOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getApiUsagePlans.

func (LookupApiUsagePlansOutputArgs) ElementType added in v0.1.8

type LookupApiUsagePlansResult added in v0.1.8

type LookupApiUsagePlansResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
	Results []GetApiUsagePlansResult `pulumi:"results"`
	// Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
	ServiceId string `pulumi:"serviceId"`
}

A collection of values returned by getApiUsagePlans.

func LookupApiUsagePlans added in v0.1.8

func LookupApiUsagePlans(ctx *pulumi.Context, args *LookupApiUsagePlansArgs, opts ...pulumi.InvokeOption) (*LookupApiUsagePlansResult, error)

Use this data source to query detailed information of apigateway apiUsagePlan

## 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 {
		exampleUsagePlan, err := ApiGateway.NewUsagePlan(ctx, "exampleUsagePlan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("tf_example"),
			UsagePlanDesc:       pulumi.String("desc."),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.ID(),
			ApiName:             pulumi.String("tf_example"),
			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("desc."),
					DefaultValue: pulumi.String("test@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(500),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: pulumi.Int(5000),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleUsagePlanAttachment, err := ApiGateway.NewUsagePlanAttachment(ctx, "exampleUsagePlanAttachment", &ApiGateway.UsagePlanAttachmentArgs{
			UsagePlanId: exampleUsagePlan.ID(),
			ServiceId:   exampleService.ID(),
			Environment: pulumi.String("release"),
			BindType:    pulumi.String("API"),
			ApiId:       exampleApi.ID(),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetApiUsagePlansOutput(ctx, apigateway.GetApiUsagePlansOutputArgs{
			ServiceId: exampleUsagePlanAttachment.ServiceId,
		}, nil)
		return nil
	})
}

```

type LookupApiUsagePlansResultOutput added in v0.1.8

type LookupApiUsagePlansResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApiUsagePlans.

func LookupApiUsagePlansOutput added in v0.1.8

func (LookupApiUsagePlansResultOutput) ElementType added in v0.1.8

func (LookupApiUsagePlansResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupApiUsagePlansResultOutput) ResultOutputFile added in v0.1.8

func (LookupApiUsagePlansResultOutput) Results added in v0.1.8

API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.

func (LookupApiUsagePlansResultOutput) ServiceId added in v0.1.8

Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.

func (LookupApiUsagePlansResultOutput) ToLookupApiUsagePlansResultOutput added in v0.1.8

func (o LookupApiUsagePlansResultOutput) ToLookupApiUsagePlansResultOutput() LookupApiUsagePlansResultOutput

func (LookupApiUsagePlansResultOutput) ToLookupApiUsagePlansResultOutputWithContext added in v0.1.8

func (o LookupApiUsagePlansResultOutput) ToLookupApiUsagePlansResultOutputWithContext(ctx context.Context) LookupApiUsagePlansResultOutput

type LookupBindApiAppsStatusArgs added in v0.1.8

type LookupBindApiAppsStatusArgs struct {
	// Array of API IDs.
	ApiIds []string `pulumi:"apiIds"`
	// Filter conditions. Supports ApiAppId, Environment, KeyWord (can match name or ID).
	Filters []GetBindApiAppsStatusFilter `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service ID.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getBindApiAppsStatus.

type LookupBindApiAppsStatusOutputArgs added in v0.1.8

type LookupBindApiAppsStatusOutputArgs struct {
	// Array of API IDs.
	ApiIds pulumi.StringArrayInput `pulumi:"apiIds"`
	// Filter conditions. Supports ApiAppId, Environment, KeyWord (can match name or ID).
	Filters GetBindApiAppsStatusFilterArrayInput `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Service ID.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getBindApiAppsStatus.

func (LookupBindApiAppsStatusOutputArgs) ElementType added in v0.1.8

type LookupBindApiAppsStatusResult added in v0.1.8

type LookupBindApiAppsStatusResult struct {
	ApiIds  []string                     `pulumi:"apiIds"`
	Filters []GetBindApiAppsStatusFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// List of APIs bound by the application.
	Results []GetBindApiAppsStatusResult `pulumi:"results"`
	// Service ID.
	ServiceId string `pulumi:"serviceId"`
}

A collection of values returned by getBindApiAppsStatus.

func LookupBindApiAppsStatus added in v0.1.8

func LookupBindApiAppsStatus(ctx *pulumi.Context, args *LookupBindApiAppsStatusArgs, opts ...pulumi.InvokeOption) (*LookupBindApiAppsStatusResult, error)

Use this data source to query detailed information of apiGateway bindApiAppsStatus

## 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 {
		_, err := ApiGateway.GetBindApiAppsStatus(ctx, &apigateway.GetBindApiAppsStatusArgs{
			ApiIds: []string{
				"api-0cvmf4x4",
				"api-jvqlzolk",
			},
			Filters: []apigateway.GetBindApiAppsStatusFilter{
				apigateway.GetBindApiAppsStatusFilter{
					Name: "ApiAppId",
					Values: []string{
						"app-krljp4wn",
					},
				},
			},
			ServiceId: "service-nxz6yync",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBindApiAppsStatusResultOutput added in v0.1.8

type LookupBindApiAppsStatusResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBindApiAppsStatus.

func (LookupBindApiAppsStatusResultOutput) ApiIds added in v0.1.8

func (LookupBindApiAppsStatusResultOutput) ElementType added in v0.1.8

func (LookupBindApiAppsStatusResultOutput) Filters added in v0.1.8

func (LookupBindApiAppsStatusResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupBindApiAppsStatusResultOutput) ResultOutputFile added in v0.1.8

func (LookupBindApiAppsStatusResultOutput) Results added in v0.1.8

List of APIs bound by the application.

func (LookupBindApiAppsStatusResultOutput) ServiceId added in v0.1.8

Service ID.

func (LookupBindApiAppsStatusResultOutput) ToLookupBindApiAppsStatusResultOutput added in v0.1.8

func (o LookupBindApiAppsStatusResultOutput) ToLookupBindApiAppsStatusResultOutput() LookupBindApiAppsStatusResultOutput

func (LookupBindApiAppsStatusResultOutput) ToLookupBindApiAppsStatusResultOutputWithContext added in v0.1.8

func (o LookupBindApiAppsStatusResultOutput) ToLookupBindApiAppsStatusResultOutputWithContext(ctx context.Context) LookupBindApiAppsStatusResultOutput

type LookupPluginsArgs added in v0.1.8

type LookupPluginsArgs struct {
	// Environmental information.
	EnvironmentName string `pulumi:"environmentName"`
	// The plugin ID to query.
	PluginId string `pulumi:"pluginId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The service ID to query.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getPlugins.

type LookupPluginsOutputArgs added in v0.1.8

type LookupPluginsOutputArgs struct {
	// Environmental information.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// The plugin ID to query.
	PluginId pulumi.StringInput `pulumi:"pluginId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The service ID to query.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getPlugins.

func (LookupPluginsOutputArgs) ElementType added in v0.1.8

func (LookupPluginsOutputArgs) ElementType() reflect.Type

type LookupPluginsResult added in v0.1.8

type LookupPluginsResult struct {
	EnvironmentName string `pulumi:"environmentName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	PluginId         string  `pulumi:"pluginId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// List of plugin related APIs.
	Results   []GetPluginsResult `pulumi:"results"`
	ServiceId string             `pulumi:"serviceId"`
}

A collection of values returned by getPlugins.

func LookupPlugins added in v0.1.8

func LookupPlugins(ctx *pulumi.Context, args *LookupPluginsArgs, opts ...pulumi.InvokeOption) (*LookupPluginsResult, error)

Use this data source to query detailed information of apigateway plugin

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
			Tags: pulumi.AnyMap{
				"testKey": pulumi.Any("testValue"),
			},
			ReleaseLimit: pulumi.Int(500),
			PreLimit:     pulumi.Int(500),
			TestLimit:    pulumi.Int(500),
		})
		if err != nil {
			return err
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.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(500),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: pulumi.Int(5000),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleServiceRelease, err := ApiGateway.NewServiceRelease(ctx, "exampleServiceRelease", &ApiGateway.ServiceReleaseArgs{
			ServiceId:       exampleApi.ServiceId,
			EnvironmentName: pulumi.String("release"),
			ReleaseDesc:     pulumi.String("desc."),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"type":   "white_list",
			"blocks": "1.1.1.1",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		examplePlugin, err := ApiGateway.NewPlugin(ctx, "examplePlugin", &ApiGateway.PluginArgs{
			PluginName:  pulumi.String("tf-example"),
			PluginType:  pulumi.String("IPControl"),
			PluginData:  pulumi.String(json0),
			Description: pulumi.String("desc."),
		})
		if err != nil {
			return err
		}
		_ = ApiGateway.GetPluginsOutput(ctx, apigateway.GetPluginsOutputArgs{
			ServiceId:       exampleServiceRelease.ServiceId,
			PluginId:        examplePlugin.ID(),
			EnvironmentName: pulumi.String("release"),
		}, nil)
		return nil
	})
}

```

type LookupPluginsResultOutput added in v0.1.8

type LookupPluginsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPlugins.

func LookupPluginsOutput added in v0.1.8

func LookupPluginsOutput(ctx *pulumi.Context, args LookupPluginsOutputArgs, opts ...pulumi.InvokeOption) LookupPluginsResultOutput

func (LookupPluginsResultOutput) ElementType added in v0.1.8

func (LookupPluginsResultOutput) ElementType() reflect.Type

func (LookupPluginsResultOutput) EnvironmentName added in v0.1.8

func (o LookupPluginsResultOutput) EnvironmentName() pulumi.StringOutput

func (LookupPluginsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupPluginsResultOutput) PluginId added in v0.1.8

func (LookupPluginsResultOutput) ResultOutputFile added in v0.1.8

func (o LookupPluginsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (LookupPluginsResultOutput) Results added in v0.1.8

List of plugin related APIs.

func (LookupPluginsResultOutput) ServiceId added in v0.1.8

func (LookupPluginsResultOutput) ToLookupPluginsResultOutput added in v0.1.8

func (o LookupPluginsResultOutput) ToLookupPluginsResultOutput() LookupPluginsResultOutput

func (LookupPluginsResultOutput) ToLookupPluginsResultOutputWithContext added in v0.1.8

func (o LookupPluginsResultOutput) ToLookupPluginsResultOutputWithContext(ctx context.Context) LookupPluginsResultOutput

type LookupServiceEnvironmentListArgs added in v0.1.8

type LookupServiceEnvironmentListArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getServiceEnvironmentList.

type LookupServiceEnvironmentListOutputArgs added in v0.1.8

type LookupServiceEnvironmentListOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getServiceEnvironmentList.

func (LookupServiceEnvironmentListOutputArgs) ElementType added in v0.1.8

type LookupServiceEnvironmentListResult added in v0.1.8

type LookupServiceEnvironmentListResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
	Results   []GetServiceEnvironmentListResult `pulumi:"results"`
	ServiceId string                            `pulumi:"serviceId"`
}

A collection of values returned by getServiceEnvironmentList.

func LookupServiceEnvironmentList added in v0.1.8

func LookupServiceEnvironmentList(ctx *pulumi.Context, args *LookupServiceEnvironmentListArgs, opts ...pulumi.InvokeOption) (*LookupServiceEnvironmentListResult, error)

Use this data source to query detailed information of apiGateway serviceEnvironmentList

## 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 {
		_, err := ApiGateway.GetServiceEnvironmentList(ctx, &apigateway.GetServiceEnvironmentListArgs{
			ServiceId: "service-nxz6yync",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceEnvironmentListResultOutput added in v0.1.8

type LookupServiceEnvironmentListResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceEnvironmentList.

func (LookupServiceEnvironmentListResultOutput) ElementType added in v0.1.8

func (LookupServiceEnvironmentListResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupServiceEnvironmentListResultOutput) ResultOutputFile added in v0.1.8

func (LookupServiceEnvironmentListResultOutput) Results added in v0.1.8

Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.

func (LookupServiceEnvironmentListResultOutput) ServiceId added in v0.1.8

func (LookupServiceEnvironmentListResultOutput) ToLookupServiceEnvironmentListResultOutput added in v0.1.8

func (o LookupServiceEnvironmentListResultOutput) ToLookupServiceEnvironmentListResultOutput() LookupServiceEnvironmentListResultOutput

func (LookupServiceEnvironmentListResultOutput) ToLookupServiceEnvironmentListResultOutputWithContext added in v0.1.8

func (o LookupServiceEnvironmentListResultOutput) ToLookupServiceEnvironmentListResultOutputWithContext(ctx context.Context) LookupServiceEnvironmentListResultOutput

type LookupServiceReleaseVersionsArgs added in v0.1.8

type LookupServiceReleaseVersionsArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId string `pulumi:"serviceId"`
}

A collection of arguments for invoking getServiceReleaseVersions.

type LookupServiceReleaseVersionsOutputArgs added in v0.1.8

type LookupServiceReleaseVersionsOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// The unique ID of the service to be queried.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

A collection of arguments for invoking getServiceReleaseVersions.

func (LookupServiceReleaseVersionsOutputArgs) ElementType added in v0.1.8

type LookupServiceReleaseVersionsResult added in v0.1.8

type LookupServiceReleaseVersionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
	Results   []GetServiceReleaseVersionsResult `pulumi:"results"`
	ServiceId string                            `pulumi:"serviceId"`
}

A collection of values returned by getServiceReleaseVersions.

func LookupServiceReleaseVersions added in v0.1.8

func LookupServiceReleaseVersions(ctx *pulumi.Context, args *LookupServiceReleaseVersionsArgs, opts ...pulumi.InvokeOption) (*LookupServiceReleaseVersionsResult, error)

Use this data source to query detailed information of apiGateway serviceReleaseVersions

## 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 {
		_, err := ApiGateway.GetServiceReleaseVersions(ctx, &apigateway.GetServiceReleaseVersionsArgs{
			ServiceId: "service-nxz6yync",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceReleaseVersionsResultOutput added in v0.1.8

type LookupServiceReleaseVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceReleaseVersions.

func (LookupServiceReleaseVersionsResultOutput) ElementType added in v0.1.8

func (LookupServiceReleaseVersionsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupServiceReleaseVersionsResultOutput) ResultOutputFile added in v0.1.8

func (LookupServiceReleaseVersionsResultOutput) Results added in v0.1.8

List of service releases.Note: This field may return null, indicating that no valid value can be obtained.

func (LookupServiceReleaseVersionsResultOutput) ServiceId added in v0.1.8

func (LookupServiceReleaseVersionsResultOutput) ToLookupServiceReleaseVersionsResultOutput added in v0.1.8

func (o LookupServiceReleaseVersionsResultOutput) ToLookupServiceReleaseVersionsResultOutput() LookupServiceReleaseVersionsResultOutput

func (LookupServiceReleaseVersionsResultOutput) ToLookupServiceReleaseVersionsResultOutputWithContext added in v0.1.8

func (o LookupServiceReleaseVersionsResultOutput) ToLookupServiceReleaseVersionsResultOutputWithContext(ctx context.Context) LookupServiceReleaseVersionsResultOutput

type LookupUpstreamsArgs added in v0.1.8

type LookupUpstreamsArgs struct {
	// ServiceId and ApiId filtering queries.
	Filters []GetUpstreamsFilter `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Backend channel ID.
	UpstreamId string `pulumi:"upstreamId"`
}

A collection of arguments for invoking getUpstreams.

type LookupUpstreamsOutputArgs added in v0.1.8

type LookupUpstreamsOutputArgs struct {
	// ServiceId and ApiId filtering queries.
	Filters GetUpstreamsFilterArrayInput `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Backend channel ID.
	UpstreamId pulumi.StringInput `pulumi:"upstreamId"`
}

A collection of arguments for invoking getUpstreams.

func (LookupUpstreamsOutputArgs) ElementType added in v0.1.8

func (LookupUpstreamsOutputArgs) ElementType() reflect.Type

type LookupUpstreamsResult added in v0.1.8

type LookupUpstreamsResult struct {
	Filters []GetUpstreamsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Query Results.
	Results    []GetUpstreamsResult `pulumi:"results"`
	UpstreamId string               `pulumi:"upstreamId"`
}

A collection of values returned by getUpstreams.

func LookupUpstreams added in v0.1.8

func LookupUpstreams(ctx *pulumi.Context, args *LookupUpstreamsArgs, opts ...pulumi.InvokeOption) (*LookupUpstreamsResult, error)

Use this data source to query detailed information of apigateway upstream

## 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 {
		_, err := ApiGateway.GetUpstreams(ctx, &apigateway.GetUpstreamsArgs{
			UpstreamId: "upstream-4n5bfklc",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUpstreamsResultOutput added in v0.1.8

type LookupUpstreamsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUpstreams.

func LookupUpstreamsOutput added in v0.1.8

func (LookupUpstreamsResultOutput) ElementType added in v0.1.8

func (LookupUpstreamsResultOutput) Filters added in v0.1.8

func (LookupUpstreamsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (LookupUpstreamsResultOutput) ResultOutputFile added in v0.1.8

func (o LookupUpstreamsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (LookupUpstreamsResultOutput) Results added in v0.1.8

Query Results.

func (LookupUpstreamsResultOutput) ToLookupUpstreamsResultOutput added in v0.1.8

func (o LookupUpstreamsResultOutput) ToLookupUpstreamsResultOutput() LookupUpstreamsResultOutput

func (LookupUpstreamsResultOutput) ToLookupUpstreamsResultOutputWithContext added in v0.1.8

func (o LookupUpstreamsResultOutput) ToLookupUpstreamsResultOutputWithContext(ctx context.Context) LookupUpstreamsResultOutput

func (LookupUpstreamsResultOutput) UpstreamId added in v0.1.8

type Plugin added in v0.1.3

type Plugin struct {
	pulumi.CustomResourceState

	// Description of plugin.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Statement to define plugin.
	PluginData pulumi.StringOutput `pulumi:"pluginData"`
	// Name of the user define plugin. It must start with a letter and end with letter or number, the rest can contain letters, numbers and dashes(-). The length range is from 2 to 50.
	PluginName pulumi.StringOutput `pulumi:"pluginName"`
	// Type of plugin. Now support IPControl, TrafficControl, Cors, CustomReq, CustomAuth, Routing, TrafficControlByParameter, CircuitBreaker, ProxyCache.
	PluginType pulumi.StringOutput `pulumi:"pluginType"`
}

Provides a resource to create a apiGateway plugin

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"type":   "white_list",
			"blocks": "1.1.1.1",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err := ApiGateway.NewPlugin(ctx, "example", &ApiGateway.PluginArgs{
			PluginName:  pulumi.String("tf-example"),
			PluginType:  pulumi.String("IPControl"),
			PluginData:  pulumi.String(json0),
			Description: pulumi.String("desc."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

apiGateway plugin can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/plugin:Plugin plugin plugin_id

```

func GetPlugin added in v0.1.3

func GetPlugin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)

GetPlugin gets an existing Plugin 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 NewPlugin added in v0.1.3

func NewPlugin(ctx *pulumi.Context,
	name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)

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

func (*Plugin) ElementType added in v0.1.3

func (*Plugin) ElementType() reflect.Type

func (*Plugin) ToPluginOutput added in v0.1.3

func (i *Plugin) ToPluginOutput() PluginOutput

func (*Plugin) ToPluginOutputWithContext added in v0.1.3

func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginArgs added in v0.1.3

type PluginArgs struct {
	// Description of plugin.
	Description pulumi.StringPtrInput
	// Statement to define plugin.
	PluginData pulumi.StringInput
	// Name of the user define plugin. It must start with a letter and end with letter or number, the rest can contain letters, numbers and dashes(-). The length range is from 2 to 50.
	PluginName pulumi.StringInput
	// Type of plugin. Now support IPControl, TrafficControl, Cors, CustomReq, CustomAuth, Routing, TrafficControlByParameter, CircuitBreaker, ProxyCache.
	PluginType pulumi.StringInput
}

The set of arguments for constructing a Plugin resource.

func (PluginArgs) ElementType added in v0.1.3

func (PluginArgs) ElementType() reflect.Type

type PluginArray added in v0.1.3

type PluginArray []PluginInput

func (PluginArray) ElementType added in v0.1.3

func (PluginArray) ElementType() reflect.Type

func (PluginArray) ToPluginArrayOutput added in v0.1.3

func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput

func (PluginArray) ToPluginArrayOutputWithContext added in v0.1.3

func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginArrayInput added in v0.1.3

type PluginArrayInput interface {
	pulumi.Input

	ToPluginArrayOutput() PluginArrayOutput
	ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput
}

PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:

PluginArray{ PluginArgs{...} }

type PluginArrayOutput added in v0.1.3

type PluginArrayOutput struct{ *pulumi.OutputState }

func (PluginArrayOutput) ElementType added in v0.1.3

func (PluginArrayOutput) ElementType() reflect.Type

func (PluginArrayOutput) Index added in v0.1.3

func (PluginArrayOutput) ToPluginArrayOutput added in v0.1.3

func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput

func (PluginArrayOutput) ToPluginArrayOutputWithContext added in v0.1.3

func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginAttachment added in v0.1.3

type PluginAttachment struct {
	pulumi.CustomResourceState

	// Id of API.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// Name of Environment.
	EnvironmentName pulumi.StringOutput `pulumi:"environmentName"`
	// Id of Plugin.
	PluginId pulumi.StringOutput `pulumi:"pluginId"`
	// Id of Service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
}

Provides a resource to create a apiGateway pluginAttachment

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"type":   "white_list",
			"blocks": "1.1.1.1",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		examplePlugin, err := ApiGateway.NewPlugin(ctx, "examplePlugin", &ApiGateway.PluginArgs{
			PluginName:  pulumi.String("tf-example"),
			PluginType:  pulumi.String("IPControl"),
			PluginData:  pulumi.String(json0),
			Description: pulumi.String("desc."),
		})
		if err != nil {
			return err
		}
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example_service"),
			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
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.ID(),
			ApiName:             pulumi.String("tf_example_api"),
			ApiDesc:             pulumi.String("desc."),
			AuthType:            pulumi.String("APP"),
			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("desc."),
					DefaultValue: pulumi.String("terraform"),
					Required:     pulumi.Bool(true),
				},
			},
			ServiceConfigType:      pulumi.String("HTTP"),
			ServiceConfigTimeout:   pulumi.Int(15),
			ServiceConfigUrl:       pulumi.String("https://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(400),
					Msg:           pulumi.String("system error msg."),
					Desc:          pulumi.String("system error desc."),
					ConvertedCode: pulumi.Int(407),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleServiceRelease, err := ApiGateway.NewServiceRelease(ctx, "exampleServiceRelease", &ApiGateway.ServiceReleaseArgs{
			ServiceId:       exampleApi.ServiceId,
			EnvironmentName: pulumi.String("release"),
			ReleaseDesc:     pulumi.String("desc."),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewPluginAttachment(ctx, "examplePluginAttachment", &ApiGateway.PluginAttachmentArgs{
			PluginId:        examplePlugin.ID(),
			ServiceId:       exampleServiceRelease.ServiceId,
			ApiId:           exampleApi.ID(),
			EnvironmentName: pulumi.String("release"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

apiGateway plugin_attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/pluginAttachment:PluginAttachment example plugin-hnqntalp#service-q3f533ja#release#api-62ud9woa

```

func GetPluginAttachment added in v0.1.3

func GetPluginAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PluginAttachmentState, opts ...pulumi.ResourceOption) (*PluginAttachment, error)

GetPluginAttachment gets an existing PluginAttachment 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 NewPluginAttachment added in v0.1.3

func NewPluginAttachment(ctx *pulumi.Context,
	name string, args *PluginAttachmentArgs, opts ...pulumi.ResourceOption) (*PluginAttachment, error)

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

func (*PluginAttachment) ElementType added in v0.1.3

func (*PluginAttachment) ElementType() reflect.Type

func (*PluginAttachment) ToPluginAttachmentOutput added in v0.1.3

func (i *PluginAttachment) ToPluginAttachmentOutput() PluginAttachmentOutput

func (*PluginAttachment) ToPluginAttachmentOutputWithContext added in v0.1.3

func (i *PluginAttachment) ToPluginAttachmentOutputWithContext(ctx context.Context) PluginAttachmentOutput

type PluginAttachmentArgs added in v0.1.3

type PluginAttachmentArgs struct {
	// Id of API.
	ApiId pulumi.StringInput
	// Name of Environment.
	EnvironmentName pulumi.StringInput
	// Id of Plugin.
	PluginId pulumi.StringInput
	// Id of Service.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a PluginAttachment resource.

func (PluginAttachmentArgs) ElementType added in v0.1.3

func (PluginAttachmentArgs) ElementType() reflect.Type

type PluginAttachmentArray added in v0.1.3

type PluginAttachmentArray []PluginAttachmentInput

func (PluginAttachmentArray) ElementType added in v0.1.3

func (PluginAttachmentArray) ElementType() reflect.Type

func (PluginAttachmentArray) ToPluginAttachmentArrayOutput added in v0.1.3

func (i PluginAttachmentArray) ToPluginAttachmentArrayOutput() PluginAttachmentArrayOutput

func (PluginAttachmentArray) ToPluginAttachmentArrayOutputWithContext added in v0.1.3

func (i PluginAttachmentArray) ToPluginAttachmentArrayOutputWithContext(ctx context.Context) PluginAttachmentArrayOutput

type PluginAttachmentArrayInput added in v0.1.3

type PluginAttachmentArrayInput interface {
	pulumi.Input

	ToPluginAttachmentArrayOutput() PluginAttachmentArrayOutput
	ToPluginAttachmentArrayOutputWithContext(context.Context) PluginAttachmentArrayOutput
}

PluginAttachmentArrayInput is an input type that accepts PluginAttachmentArray and PluginAttachmentArrayOutput values. You can construct a concrete instance of `PluginAttachmentArrayInput` via:

PluginAttachmentArray{ PluginAttachmentArgs{...} }

type PluginAttachmentArrayOutput added in v0.1.3

type PluginAttachmentArrayOutput struct{ *pulumi.OutputState }

func (PluginAttachmentArrayOutput) ElementType added in v0.1.3

func (PluginAttachmentArrayOutput) Index added in v0.1.3

func (PluginAttachmentArrayOutput) ToPluginAttachmentArrayOutput added in v0.1.3

func (o PluginAttachmentArrayOutput) ToPluginAttachmentArrayOutput() PluginAttachmentArrayOutput

func (PluginAttachmentArrayOutput) ToPluginAttachmentArrayOutputWithContext added in v0.1.3

func (o PluginAttachmentArrayOutput) ToPluginAttachmentArrayOutputWithContext(ctx context.Context) PluginAttachmentArrayOutput

type PluginAttachmentInput added in v0.1.3

type PluginAttachmentInput interface {
	pulumi.Input

	ToPluginAttachmentOutput() PluginAttachmentOutput
	ToPluginAttachmentOutputWithContext(ctx context.Context) PluginAttachmentOutput
}

type PluginAttachmentMap added in v0.1.3

type PluginAttachmentMap map[string]PluginAttachmentInput

func (PluginAttachmentMap) ElementType added in v0.1.3

func (PluginAttachmentMap) ElementType() reflect.Type

func (PluginAttachmentMap) ToPluginAttachmentMapOutput added in v0.1.3

func (i PluginAttachmentMap) ToPluginAttachmentMapOutput() PluginAttachmentMapOutput

func (PluginAttachmentMap) ToPluginAttachmentMapOutputWithContext added in v0.1.3

func (i PluginAttachmentMap) ToPluginAttachmentMapOutputWithContext(ctx context.Context) PluginAttachmentMapOutput

type PluginAttachmentMapInput added in v0.1.3

type PluginAttachmentMapInput interface {
	pulumi.Input

	ToPluginAttachmentMapOutput() PluginAttachmentMapOutput
	ToPluginAttachmentMapOutputWithContext(context.Context) PluginAttachmentMapOutput
}

PluginAttachmentMapInput is an input type that accepts PluginAttachmentMap and PluginAttachmentMapOutput values. You can construct a concrete instance of `PluginAttachmentMapInput` via:

PluginAttachmentMap{ "key": PluginAttachmentArgs{...} }

type PluginAttachmentMapOutput added in v0.1.3

type PluginAttachmentMapOutput struct{ *pulumi.OutputState }

func (PluginAttachmentMapOutput) ElementType added in v0.1.3

func (PluginAttachmentMapOutput) ElementType() reflect.Type

func (PluginAttachmentMapOutput) MapIndex added in v0.1.3

func (PluginAttachmentMapOutput) ToPluginAttachmentMapOutput added in v0.1.3

func (o PluginAttachmentMapOutput) ToPluginAttachmentMapOutput() PluginAttachmentMapOutput

func (PluginAttachmentMapOutput) ToPluginAttachmentMapOutputWithContext added in v0.1.3

func (o PluginAttachmentMapOutput) ToPluginAttachmentMapOutputWithContext(ctx context.Context) PluginAttachmentMapOutput

type PluginAttachmentOutput added in v0.1.3

type PluginAttachmentOutput struct{ *pulumi.OutputState }

func (PluginAttachmentOutput) ApiId added in v0.1.3

Id of API.

func (PluginAttachmentOutput) ElementType added in v0.1.3

func (PluginAttachmentOutput) ElementType() reflect.Type

func (PluginAttachmentOutput) EnvironmentName added in v0.1.3

func (o PluginAttachmentOutput) EnvironmentName() pulumi.StringOutput

Name of Environment.

func (PluginAttachmentOutput) PluginId added in v0.1.3

Id of Plugin.

func (PluginAttachmentOutput) ServiceId added in v0.1.3

Id of Service.

func (PluginAttachmentOutput) ToPluginAttachmentOutput added in v0.1.3

func (o PluginAttachmentOutput) ToPluginAttachmentOutput() PluginAttachmentOutput

func (PluginAttachmentOutput) ToPluginAttachmentOutputWithContext added in v0.1.3

func (o PluginAttachmentOutput) ToPluginAttachmentOutputWithContext(ctx context.Context) PluginAttachmentOutput

type PluginAttachmentState added in v0.1.3

type PluginAttachmentState struct {
	// Id of API.
	ApiId pulumi.StringPtrInput
	// Name of Environment.
	EnvironmentName pulumi.StringPtrInput
	// Id of Plugin.
	PluginId pulumi.StringPtrInput
	// Id of Service.
	ServiceId pulumi.StringPtrInput
}

func (PluginAttachmentState) ElementType added in v0.1.3

func (PluginAttachmentState) ElementType() reflect.Type

type PluginInput added in v0.1.3

type PluginInput interface {
	pulumi.Input

	ToPluginOutput() PluginOutput
	ToPluginOutputWithContext(ctx context.Context) PluginOutput
}

type PluginMap added in v0.1.3

type PluginMap map[string]PluginInput

func (PluginMap) ElementType added in v0.1.3

func (PluginMap) ElementType() reflect.Type

func (PluginMap) ToPluginMapOutput added in v0.1.3

func (i PluginMap) ToPluginMapOutput() PluginMapOutput

func (PluginMap) ToPluginMapOutputWithContext added in v0.1.3

func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginMapInput added in v0.1.3

type PluginMapInput interface {
	pulumi.Input

	ToPluginMapOutput() PluginMapOutput
	ToPluginMapOutputWithContext(context.Context) PluginMapOutput
}

PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:

PluginMap{ "key": PluginArgs{...} }

type PluginMapOutput added in v0.1.3

type PluginMapOutput struct{ *pulumi.OutputState }

func (PluginMapOutput) ElementType added in v0.1.3

func (PluginMapOutput) ElementType() reflect.Type

func (PluginMapOutput) MapIndex added in v0.1.3

func (PluginMapOutput) ToPluginMapOutput added in v0.1.3

func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput

func (PluginMapOutput) ToPluginMapOutputWithContext added in v0.1.3

func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginOutput added in v0.1.3

type PluginOutput struct{ *pulumi.OutputState }

func (PluginOutput) Description added in v0.1.3

func (o PluginOutput) Description() pulumi.StringPtrOutput

Description of plugin.

func (PluginOutput) ElementType added in v0.1.3

func (PluginOutput) ElementType() reflect.Type

func (PluginOutput) PluginData added in v0.1.3

func (o PluginOutput) PluginData() pulumi.StringOutput

Statement to define plugin.

func (PluginOutput) PluginName added in v0.1.3

func (o PluginOutput) PluginName() pulumi.StringOutput

Name of the user define plugin. It must start with a letter and end with letter or number, the rest can contain letters, numbers and dashes(-). The length range is from 2 to 50.

func (PluginOutput) PluginType added in v0.1.3

func (o PluginOutput) PluginType() pulumi.StringOutput

Type of plugin. Now support IPControl, TrafficControl, Cors, CustomReq, CustomAuth, Routing, TrafficControlByParameter, CircuitBreaker, ProxyCache.

func (PluginOutput) ToPluginOutput added in v0.1.3

func (o PluginOutput) ToPluginOutput() PluginOutput

func (PluginOutput) ToPluginOutputWithContext added in v0.1.3

func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginState added in v0.1.3

type PluginState struct {
	// Description of plugin.
	Description pulumi.StringPtrInput
	// Statement to define plugin.
	PluginData pulumi.StringPtrInput
	// Name of the user define plugin. It must start with a letter and end with letter or number, the rest can contain letters, numbers and dashes(-). The length range is from 2 to 50.
	PluginName pulumi.StringPtrInput
	// Type of plugin. Now support IPControl, TrafficControl, Cors, CustomReq, CustomAuth, Routing, TrafficControlByParameter, CircuitBreaker, ProxyCache.
	PluginType pulumi.StringPtrInput
}

func (PluginState) ElementType added in v0.1.3

func (PluginState) 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"`
	// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	//
	// Deprecated: It has been deprecated from version 1.81.9.
	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"`
	// Exclusive instance ID.
	InstanceId pulumi.StringPtrOutput `pulumi:"instanceId"`
	// 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"`
	// Tag description list.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntOutput `pulumi:"testLimit"`
	// VPC ID.
	UniqVpcId pulumi.StringPtrOutput `pulumi:"uniqVpcId"`
	// A list of attach usage plans.
	UsagePlanLists ServiceUsagePlanListArrayOutput `pulumi:"usagePlanLists"`
}

Use this resource to create API gateway service.

> **NOTE:** After setting `uniqVpcId`, it cannot be modified.

## Example Usage ### Shared Service

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		vpc, err := Vpc.NewInstance(ctx, "vpc", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewService(ctx, "example", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf-example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
			UniqVpcId: vpc.ID(),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
			ReleaseLimit: pulumi.Int(500),
			PreLimit:     pulumi.Int(500),
			TestLimit:    pulumi.Int(500),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Exclusive Service

```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, "example", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf-example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion:  pulumi.String("IPv4"),
			UniqVpcId:  pulumi.Any(tencentcloud_vpc.Vpc.Id),
			InstanceId: pulumi.String("instance-rc6fcv4e"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
			ReleaseLimit: pulumi.Int(500),
			PreLimit:     pulumi.Int(500),
			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 {
	// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	//
	// Deprecated: It has been deprecated from version 1.81.9.
	ExclusiveSetName pulumi.StringPtrInput
	// Exclusive instance ID.
	InstanceId 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
	// Tag description list.
	Tags pulumi.MapInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// VPC ID.
	UniqVpcId pulumi.StringPtrInput
}

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 deprecated

func (o ServiceOutput) ExclusiveSetName() pulumi.StringPtrOutput

It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.

Deprecated: It has been deprecated from version 1.81.9.

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) InstanceId added in v0.1.5

func (o ServiceOutput) InstanceId() pulumi.StringPtrOutput

Exclusive instance ID.

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) Tags added in v0.1.5

func (o ServiceOutput) Tags() pulumi.MapOutput

Tag description list.

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) UniqVpcId added in v0.1.8

func (o ServiceOutput) UniqVpcId() pulumi.StringPtrOutput

VPC ID.

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
	// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
	//
	// Deprecated: It has been deprecated from version 1.81.9.
	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
	// Exclusive instance ID.
	InstanceId pulumi.StringPtrInput
	// 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
	// Tag description list.
	Tags pulumi.MapInput
	// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
	TestLimit pulumi.IntPtrInput
	// VPC ID.
	UniqVpcId pulumi.StringPtrInput
	// 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("tf_example"),
			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 UpdateApiAppKey added in v0.1.8

type UpdateApiAppKey struct {
	pulumi.CustomResourceState

	// Application unique ID.
	ApiAppId pulumi.StringOutput `pulumi:"apiAppId"`
	// Key of the application.
	ApiAppKey pulumi.StringOutput `pulumi:"apiAppKey"`
}

Provides a resource to create a apiGateway updateApiAppKey

## 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.NewUpdateApiAppKey(ctx, "example", &ApiGateway.UpdateApiAppKeyArgs{
			ApiAppId:  pulumi.String("app-krljp4wn"),
			ApiAppKey: pulumi.String("APID6JmG21yRCc03h4z16hlsTqj1wpO3dB3ZQcUP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetUpdateApiAppKey added in v0.1.8

func GetUpdateApiAppKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UpdateApiAppKeyState, opts ...pulumi.ResourceOption) (*UpdateApiAppKey, error)

GetUpdateApiAppKey gets an existing UpdateApiAppKey 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 NewUpdateApiAppKey added in v0.1.8

func NewUpdateApiAppKey(ctx *pulumi.Context,
	name string, args *UpdateApiAppKeyArgs, opts ...pulumi.ResourceOption) (*UpdateApiAppKey, error)

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

func (*UpdateApiAppKey) ElementType added in v0.1.8

func (*UpdateApiAppKey) ElementType() reflect.Type

func (*UpdateApiAppKey) ToUpdateApiAppKeyOutput added in v0.1.8

func (i *UpdateApiAppKey) ToUpdateApiAppKeyOutput() UpdateApiAppKeyOutput

func (*UpdateApiAppKey) ToUpdateApiAppKeyOutputWithContext added in v0.1.8

func (i *UpdateApiAppKey) ToUpdateApiAppKeyOutputWithContext(ctx context.Context) UpdateApiAppKeyOutput

type UpdateApiAppKeyArgs added in v0.1.8

type UpdateApiAppKeyArgs struct {
	// Application unique ID.
	ApiAppId pulumi.StringInput
	// Key of the application.
	ApiAppKey pulumi.StringInput
}

The set of arguments for constructing a UpdateApiAppKey resource.

func (UpdateApiAppKeyArgs) ElementType added in v0.1.8

func (UpdateApiAppKeyArgs) ElementType() reflect.Type

type UpdateApiAppKeyArray added in v0.1.8

type UpdateApiAppKeyArray []UpdateApiAppKeyInput

func (UpdateApiAppKeyArray) ElementType added in v0.1.8

func (UpdateApiAppKeyArray) ElementType() reflect.Type

func (UpdateApiAppKeyArray) ToUpdateApiAppKeyArrayOutput added in v0.1.8

func (i UpdateApiAppKeyArray) ToUpdateApiAppKeyArrayOutput() UpdateApiAppKeyArrayOutput

func (UpdateApiAppKeyArray) ToUpdateApiAppKeyArrayOutputWithContext added in v0.1.8

func (i UpdateApiAppKeyArray) ToUpdateApiAppKeyArrayOutputWithContext(ctx context.Context) UpdateApiAppKeyArrayOutput

type UpdateApiAppKeyArrayInput added in v0.1.8

type UpdateApiAppKeyArrayInput interface {
	pulumi.Input

	ToUpdateApiAppKeyArrayOutput() UpdateApiAppKeyArrayOutput
	ToUpdateApiAppKeyArrayOutputWithContext(context.Context) UpdateApiAppKeyArrayOutput
}

UpdateApiAppKeyArrayInput is an input type that accepts UpdateApiAppKeyArray and UpdateApiAppKeyArrayOutput values. You can construct a concrete instance of `UpdateApiAppKeyArrayInput` via:

UpdateApiAppKeyArray{ UpdateApiAppKeyArgs{...} }

type UpdateApiAppKeyArrayOutput added in v0.1.8

type UpdateApiAppKeyArrayOutput struct{ *pulumi.OutputState }

func (UpdateApiAppKeyArrayOutput) ElementType added in v0.1.8

func (UpdateApiAppKeyArrayOutput) ElementType() reflect.Type

func (UpdateApiAppKeyArrayOutput) Index added in v0.1.8

func (UpdateApiAppKeyArrayOutput) ToUpdateApiAppKeyArrayOutput added in v0.1.8

func (o UpdateApiAppKeyArrayOutput) ToUpdateApiAppKeyArrayOutput() UpdateApiAppKeyArrayOutput

func (UpdateApiAppKeyArrayOutput) ToUpdateApiAppKeyArrayOutputWithContext added in v0.1.8

func (o UpdateApiAppKeyArrayOutput) ToUpdateApiAppKeyArrayOutputWithContext(ctx context.Context) UpdateApiAppKeyArrayOutput

type UpdateApiAppKeyInput added in v0.1.8

type UpdateApiAppKeyInput interface {
	pulumi.Input

	ToUpdateApiAppKeyOutput() UpdateApiAppKeyOutput
	ToUpdateApiAppKeyOutputWithContext(ctx context.Context) UpdateApiAppKeyOutput
}

type UpdateApiAppKeyMap added in v0.1.8

type UpdateApiAppKeyMap map[string]UpdateApiAppKeyInput

func (UpdateApiAppKeyMap) ElementType added in v0.1.8

func (UpdateApiAppKeyMap) ElementType() reflect.Type

func (UpdateApiAppKeyMap) ToUpdateApiAppKeyMapOutput added in v0.1.8

func (i UpdateApiAppKeyMap) ToUpdateApiAppKeyMapOutput() UpdateApiAppKeyMapOutput

func (UpdateApiAppKeyMap) ToUpdateApiAppKeyMapOutputWithContext added in v0.1.8

func (i UpdateApiAppKeyMap) ToUpdateApiAppKeyMapOutputWithContext(ctx context.Context) UpdateApiAppKeyMapOutput

type UpdateApiAppKeyMapInput added in v0.1.8

type UpdateApiAppKeyMapInput interface {
	pulumi.Input

	ToUpdateApiAppKeyMapOutput() UpdateApiAppKeyMapOutput
	ToUpdateApiAppKeyMapOutputWithContext(context.Context) UpdateApiAppKeyMapOutput
}

UpdateApiAppKeyMapInput is an input type that accepts UpdateApiAppKeyMap and UpdateApiAppKeyMapOutput values. You can construct a concrete instance of `UpdateApiAppKeyMapInput` via:

UpdateApiAppKeyMap{ "key": UpdateApiAppKeyArgs{...} }

type UpdateApiAppKeyMapOutput added in v0.1.8

type UpdateApiAppKeyMapOutput struct{ *pulumi.OutputState }

func (UpdateApiAppKeyMapOutput) ElementType added in v0.1.8

func (UpdateApiAppKeyMapOutput) ElementType() reflect.Type

func (UpdateApiAppKeyMapOutput) MapIndex added in v0.1.8

func (UpdateApiAppKeyMapOutput) ToUpdateApiAppKeyMapOutput added in v0.1.8

func (o UpdateApiAppKeyMapOutput) ToUpdateApiAppKeyMapOutput() UpdateApiAppKeyMapOutput

func (UpdateApiAppKeyMapOutput) ToUpdateApiAppKeyMapOutputWithContext added in v0.1.8

func (o UpdateApiAppKeyMapOutput) ToUpdateApiAppKeyMapOutputWithContext(ctx context.Context) UpdateApiAppKeyMapOutput

type UpdateApiAppKeyOutput added in v0.1.8

type UpdateApiAppKeyOutput struct{ *pulumi.OutputState }

func (UpdateApiAppKeyOutput) ApiAppId added in v0.1.8

Application unique ID.

func (UpdateApiAppKeyOutput) ApiAppKey added in v0.1.8

Key of the application.

func (UpdateApiAppKeyOutput) ElementType added in v0.1.8

func (UpdateApiAppKeyOutput) ElementType() reflect.Type

func (UpdateApiAppKeyOutput) ToUpdateApiAppKeyOutput added in v0.1.8

func (o UpdateApiAppKeyOutput) ToUpdateApiAppKeyOutput() UpdateApiAppKeyOutput

func (UpdateApiAppKeyOutput) ToUpdateApiAppKeyOutputWithContext added in v0.1.8

func (o UpdateApiAppKeyOutput) ToUpdateApiAppKeyOutputWithContext(ctx context.Context) UpdateApiAppKeyOutput

type UpdateApiAppKeyState added in v0.1.8

type UpdateApiAppKeyState struct {
	// Application unique ID.
	ApiAppId pulumi.StringPtrInput
	// Key of the application.
	ApiAppKey pulumi.StringPtrInput
}

func (UpdateApiAppKeyState) ElementType added in v0.1.8

func (UpdateApiAppKeyState) ElementType() reflect.Type

type Upstream added in v0.1.8

type Upstream struct {
	pulumi.CustomResourceState

	// Load balancing algorithm, value range: ROUND-ROBIN.
	Algorithm pulumi.StringOutput `pulumi:"algorithm"`
	// Health check configuration, currently only supports VPC channels.
	HealthChecker UpstreamHealthCheckerPtrOutput `pulumi:"healthChecker"`
	// Configuration of K8S container service.
	K8sServices UpstreamK8sServiceArrayOutput `pulumi:"k8sServices"`
	// Backend nodes.
	Nodes UpstreamNodeArrayOutput `pulumi:"nodes"`
	// Request retry count, default to 3 times.
	Retries pulumi.IntPtrOutput `pulumi:"retries"`
	// Backend protocol, value range: HTTP, HTTPS, gRPC, gRPCs.
	Scheme pulumi.StringOutput `pulumi:"scheme"`
	// Tag description list.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// VPC Unique ID.
	UniqVpcId pulumi.StringOutput `pulumi:"uniqVpcId"`
	// Backend channel description.
	UpstreamDescription pulumi.StringPtrOutput `pulumi:"upstreamDescription"`
	// Host request header forwarded by gateway to backend.
	UpstreamHost pulumi.StringPtrOutput `pulumi:"upstreamHost"`
	// Backend channel name.
	UpstreamName pulumi.StringPtrOutput `pulumi:"upstreamName"`
	// Backend access type, value range: IP_PORT, K8S.
	UpstreamType pulumi.StringPtrOutput `pulumi:"upstreamType"`
}

Provides a resource to create a apigateway upstream

## Example Usage ### Create a basic VPC channel

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Availability"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Instance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/ApiGateway"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Availability"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Instance"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Subnet"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		zones, err := Availability.GetZonesByProduct(ctx, &availability.GetZonesByProductArgs{
			Product: "cvm",
		}, nil)
		if err != nil {
			return err
		}
		images, err := Images.GetInstance(ctx, &images.GetInstanceArgs{
			ImageTypes: []string{
				"PUBLIC_IMAGE",
			},
			ImageNameRegex: pulumi.StringRef("Final"),
		}, nil)
		if err != nil {
			return err
		}
		instanceTypes, err := Instance.GetTypes(ctx, &instance.GetTypesArgs{
			Filters: []instance.GetTypesFilter{
				instance.GetTypesFilter{
					Name: "instance-family",
					Values: []string{
						"S5",
					},
				},
			},
			CpuCoreCount:   pulumi.IntRef(2),
			ExcludeSoldOut: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := Vpc.NewInstance(ctx, "vpc", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet, err := Subnet.NewInstance(ctx, "subnet", &Subnet.InstanceArgs{
			AvailabilityZone: pulumi.String(zones.Zones[3].Name),
			VpcId:            vpc.ID(),
			CidrBlock:        pulumi.String("10.0.0.0/16"),
			IsMulticast:      pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		exampleInstance, err := Instance.NewInstance(ctx, "exampleInstance", &Instance.InstanceArgs{
			InstanceName:     pulumi.String("tf_example"),
			AvailabilityZone: pulumi.String(zones.Zones[3].Name),
			ImageId:          pulumi.String(images.Images[0].ImageId),
			InstanceType:     pulumi.String(instanceTypes.InstanceTypes[0].InstanceType),
			SystemDiskType:   pulumi.String("CLOUD_PREMIUM"),
			SystemDiskSize:   pulumi.Int(50),
			Hostname:         pulumi.String("terraform"),
			ProjectId:        pulumi.Int(0),
			VpcId:            vpc.ID(),
			SubnetId:         subnet.ID(),
			DataDisks: instance.InstanceDataDiskArray{
				&instance.InstanceDataDiskArgs{
					DataDiskType: pulumi.String("CLOUD_PREMIUM"),
					DataDiskSize: pulumi.Int(50),
					Encrypt:      pulumi.Bool(false),
				},
			},
			Tags: pulumi.AnyMap{
				"tagKey": pulumi.Any("tagValue"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewUpstream(ctx, "exampleUpstream", &ApiGateway.UpstreamArgs{
			Scheme:              pulumi.String("HTTP"),
			Algorithm:           pulumi.String("ROUND-ROBIN"),
			UniqVpcId:           vpc.ID(),
			UpstreamName:        pulumi.String("tf_example"),
			UpstreamDescription: pulumi.String("desc."),
			UpstreamType:        pulumi.String("IP_PORT"),
			Retries:             pulumi.Int(5),
			Nodes: apigateway.UpstreamNodeArray{
				&apigateway.UpstreamNodeArgs{
					Host:         pulumi.String("1.1.1.1"),
					Port:         pulumi.Int(9090),
					Weight:       pulumi.Int(10),
					VmInstanceId: exampleInstance.ID(),
					Tags: pulumi.StringArray{
						pulumi.String("tags"),
					},
				},
			},
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create a complete VPC channel

```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 {
		_, err := ApiGateway.NewUpstream(ctx, "example", &ApiGateway.UpstreamArgs{
			Scheme:              pulumi.String("HTTP"),
			Algorithm:           pulumi.String("ROUND-ROBIN"),
			UniqVpcId:           pulumi.Any(tencentcloud_vpc.Vpc.Id),
			UpstreamName:        pulumi.String("tf_example"),
			UpstreamDescription: pulumi.String("desc."),
			UpstreamType:        pulumi.String("IP_PORT"),
			Retries:             pulumi.Int(5),
			Nodes: apigateway.UpstreamNodeArray{
				&apigateway.UpstreamNodeArgs{
					Host:         pulumi.String("1.1.1.1"),
					Port:         pulumi.Int(9090),
					Weight:       pulumi.Int(10),
					VmInstanceId: pulumi.Any(tencentcloud_instance.Example.Id),
					Tags: pulumi.StringArray{
						pulumi.String("tags"),
					},
				},
			},
			HealthChecker: &apigateway.UpstreamHealthCheckerArgs{
				EnableActiveCheck:    pulumi.Bool(true),
				EnablePassiveCheck:   pulumi.Bool(true),
				HealthyHttpStatus:    pulumi.String("200"),
				UnhealthyHttpStatus:  pulumi.String("500"),
				TcpFailureThreshold:  pulumi.Int(5),
				TimeoutThreshold:     pulumi.Int(5),
				HttpFailureThreshold: pulumi.Int(3),
				ActiveCheckHttpPath:  pulumi.String("/"),
				ActiveCheckTimeout:   pulumi.Int(5),
				ActiveCheckInterval:  pulumi.Int(5),
				UnhealthyTimeout:     pulumi.Int(30),
			},
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

apigateway upstream can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:ApiGateway/upstream:Upstream upstream upstream_id

```

func GetUpstream added in v0.1.8

func GetUpstream(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UpstreamState, opts ...pulumi.ResourceOption) (*Upstream, error)

GetUpstream gets an existing Upstream 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 NewUpstream added in v0.1.8

func NewUpstream(ctx *pulumi.Context,
	name string, args *UpstreamArgs, opts ...pulumi.ResourceOption) (*Upstream, error)

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

func (*Upstream) ElementType added in v0.1.8

func (*Upstream) ElementType() reflect.Type

func (*Upstream) ToUpstreamOutput added in v0.1.8

func (i *Upstream) ToUpstreamOutput() UpstreamOutput

func (*Upstream) ToUpstreamOutputWithContext added in v0.1.8

func (i *Upstream) ToUpstreamOutputWithContext(ctx context.Context) UpstreamOutput

type UpstreamArgs added in v0.1.8

type UpstreamArgs struct {
	// Load balancing algorithm, value range: ROUND-ROBIN.
	Algorithm pulumi.StringInput
	// Health check configuration, currently only supports VPC channels.
	HealthChecker UpstreamHealthCheckerPtrInput
	// Configuration of K8S container service.
	K8sServices UpstreamK8sServiceArrayInput
	// Backend nodes.
	Nodes UpstreamNodeArrayInput
	// Request retry count, default to 3 times.
	Retries pulumi.IntPtrInput
	// Backend protocol, value range: HTTP, HTTPS, gRPC, gRPCs.
	Scheme pulumi.StringInput
	// Tag description list.
	Tags pulumi.MapInput
	// VPC Unique ID.
	UniqVpcId pulumi.StringInput
	// Backend channel description.
	UpstreamDescription pulumi.StringPtrInput
	// Host request header forwarded by gateway to backend.
	UpstreamHost pulumi.StringPtrInput
	// Backend channel name.
	UpstreamName pulumi.StringPtrInput
	// Backend access type, value range: IP_PORT, K8S.
	UpstreamType pulumi.StringPtrInput
}

The set of arguments for constructing a Upstream resource.

func (UpstreamArgs) ElementType added in v0.1.8

func (UpstreamArgs) ElementType() reflect.Type

type UpstreamArray added in v0.1.8

type UpstreamArray []UpstreamInput

func (UpstreamArray) ElementType added in v0.1.8

func (UpstreamArray) ElementType() reflect.Type

func (UpstreamArray) ToUpstreamArrayOutput added in v0.1.8

func (i UpstreamArray) ToUpstreamArrayOutput() UpstreamArrayOutput

func (UpstreamArray) ToUpstreamArrayOutputWithContext added in v0.1.8

func (i UpstreamArray) ToUpstreamArrayOutputWithContext(ctx context.Context) UpstreamArrayOutput

type UpstreamArrayInput added in v0.1.8

type UpstreamArrayInput interface {
	pulumi.Input

	ToUpstreamArrayOutput() UpstreamArrayOutput
	ToUpstreamArrayOutputWithContext(context.Context) UpstreamArrayOutput
}

UpstreamArrayInput is an input type that accepts UpstreamArray and UpstreamArrayOutput values. You can construct a concrete instance of `UpstreamArrayInput` via:

UpstreamArray{ UpstreamArgs{...} }

type UpstreamArrayOutput added in v0.1.8

type UpstreamArrayOutput struct{ *pulumi.OutputState }

func (UpstreamArrayOutput) ElementType added in v0.1.8

func (UpstreamArrayOutput) ElementType() reflect.Type

func (UpstreamArrayOutput) Index added in v0.1.8

func (UpstreamArrayOutput) ToUpstreamArrayOutput added in v0.1.8

func (o UpstreamArrayOutput) ToUpstreamArrayOutput() UpstreamArrayOutput

func (UpstreamArrayOutput) ToUpstreamArrayOutputWithContext added in v0.1.8

func (o UpstreamArrayOutput) ToUpstreamArrayOutputWithContext(ctx context.Context) UpstreamArrayOutput

type UpstreamHealthChecker added in v0.1.8

type UpstreamHealthChecker struct {
	// Detect the requested path during active health checks. The default is&#39;/&#39;.
	ActiveCheckHttpPath *string `pulumi:"activeCheckHttpPath"`
	// The time interval for active health checks is 5 seconds by default.
	ActiveCheckInterval *int `pulumi:"activeCheckInterval"`
	// The detection request for active health check timed out in seconds. The default is 5 seconds.
	ActiveCheckTimeout *int `pulumi:"activeCheckTimeout"`
	// Identify whether active health checks are enabled.
	EnableActiveCheck bool `pulumi:"enableActiveCheck"`
	// Identify whether passive health checks are enabled.
	EnablePassiveCheck bool `pulumi:"enablePassiveCheck"`
	// The HTTP status code that determines a successful request during a health check.
	HealthyHttpStatus string `pulumi:"healthyHttpStatus"`
	// HTTP continuous error threshold. 0 means HTTP checking is disabled. Value range: [0, 254].
	HttpFailureThreshold int `pulumi:"httpFailureThreshold"`
	// TCP continuous error threshold. 0 indicates disabling TCP checking. Value range: [0, 254].
	TcpFailureThreshold int `pulumi:"tcpFailureThreshold"`
	// Continuous timeout threshold. 0 indicates disabling timeout checking. Value range: [0, 254].
	TimeoutThreshold int `pulumi:"timeoutThreshold"`
	// The HTTP status code that determines a failed request during a health check.
	UnhealthyHttpStatus string `pulumi:"unhealthyHttpStatus"`
	// The automatic recovery time of abnormal node status, in seconds. When only passive checking is enabled, it must be set to a value&gt;0, otherwise the passive exception node will not be able to recover. The default is 30 seconds.
	UnhealthyTimeout *int `pulumi:"unhealthyTimeout"`
}

type UpstreamHealthCheckerArgs added in v0.1.8

type UpstreamHealthCheckerArgs struct {
	// Detect the requested path during active health checks. The default is&#39;/&#39;.
	ActiveCheckHttpPath pulumi.StringPtrInput `pulumi:"activeCheckHttpPath"`
	// The time interval for active health checks is 5 seconds by default.
	ActiveCheckInterval pulumi.IntPtrInput `pulumi:"activeCheckInterval"`
	// The detection request for active health check timed out in seconds. The default is 5 seconds.
	ActiveCheckTimeout pulumi.IntPtrInput `pulumi:"activeCheckTimeout"`
	// Identify whether active health checks are enabled.
	EnableActiveCheck pulumi.BoolInput `pulumi:"enableActiveCheck"`
	// Identify whether passive health checks are enabled.
	EnablePassiveCheck pulumi.BoolInput `pulumi:"enablePassiveCheck"`
	// The HTTP status code that determines a successful request during a health check.
	HealthyHttpStatus pulumi.StringInput `pulumi:"healthyHttpStatus"`
	// HTTP continuous error threshold. 0 means HTTP checking is disabled. Value range: [0, 254].
	HttpFailureThreshold pulumi.IntInput `pulumi:"httpFailureThreshold"`
	// TCP continuous error threshold. 0 indicates disabling TCP checking. Value range: [0, 254].
	TcpFailureThreshold pulumi.IntInput `pulumi:"tcpFailureThreshold"`
	// Continuous timeout threshold. 0 indicates disabling timeout checking. Value range: [0, 254].
	TimeoutThreshold pulumi.IntInput `pulumi:"timeoutThreshold"`
	// The HTTP status code that determines a failed request during a health check.
	UnhealthyHttpStatus pulumi.StringInput `pulumi:"unhealthyHttpStatus"`
	// The automatic recovery time of abnormal node status, in seconds. When only passive checking is enabled, it must be set to a value&gt;0, otherwise the passive exception node will not be able to recover. The default is 30 seconds.
	UnhealthyTimeout pulumi.IntPtrInput `pulumi:"unhealthyTimeout"`
}

func (UpstreamHealthCheckerArgs) ElementType added in v0.1.8

func (UpstreamHealthCheckerArgs) ElementType() reflect.Type

func (UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerOutput added in v0.1.8

func (i UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerOutput() UpstreamHealthCheckerOutput

func (UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerOutputWithContext added in v0.1.8

func (i UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerOutputWithContext(ctx context.Context) UpstreamHealthCheckerOutput

func (UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerPtrOutput added in v0.1.8

func (i UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerPtrOutput() UpstreamHealthCheckerPtrOutput

func (UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerPtrOutputWithContext added in v0.1.8

func (i UpstreamHealthCheckerArgs) ToUpstreamHealthCheckerPtrOutputWithContext(ctx context.Context) UpstreamHealthCheckerPtrOutput

type UpstreamHealthCheckerInput added in v0.1.8

type UpstreamHealthCheckerInput interface {
	pulumi.Input

	ToUpstreamHealthCheckerOutput() UpstreamHealthCheckerOutput
	ToUpstreamHealthCheckerOutputWithContext(context.Context) UpstreamHealthCheckerOutput
}

UpstreamHealthCheckerInput is an input type that accepts UpstreamHealthCheckerArgs and UpstreamHealthCheckerOutput values. You can construct a concrete instance of `UpstreamHealthCheckerInput` via:

UpstreamHealthCheckerArgs{...}

type UpstreamHealthCheckerOutput added in v0.1.8

type UpstreamHealthCheckerOutput struct{ *pulumi.OutputState }

func (UpstreamHealthCheckerOutput) ActiveCheckHttpPath added in v0.1.8

func (o UpstreamHealthCheckerOutput) ActiveCheckHttpPath() pulumi.StringPtrOutput

Detect the requested path during active health checks. The default is&#39;/&#39;.

func (UpstreamHealthCheckerOutput) ActiveCheckInterval added in v0.1.8

func (o UpstreamHealthCheckerOutput) ActiveCheckInterval() pulumi.IntPtrOutput

The time interval for active health checks is 5 seconds by default.

func (UpstreamHealthCheckerOutput) ActiveCheckTimeout added in v0.1.8

func (o UpstreamHealthCheckerOutput) ActiveCheckTimeout() pulumi.IntPtrOutput

The detection request for active health check timed out in seconds. The default is 5 seconds.

func (UpstreamHealthCheckerOutput) ElementType added in v0.1.8

func (UpstreamHealthCheckerOutput) EnableActiveCheck added in v0.1.8

func (o UpstreamHealthCheckerOutput) EnableActiveCheck() pulumi.BoolOutput

Identify whether active health checks are enabled.

func (UpstreamHealthCheckerOutput) EnablePassiveCheck added in v0.1.8

func (o UpstreamHealthCheckerOutput) EnablePassiveCheck() pulumi.BoolOutput

Identify whether passive health checks are enabled.

func (UpstreamHealthCheckerOutput) HealthyHttpStatus added in v0.1.8

func (o UpstreamHealthCheckerOutput) HealthyHttpStatus() pulumi.StringOutput

The HTTP status code that determines a successful request during a health check.

func (UpstreamHealthCheckerOutput) HttpFailureThreshold added in v0.1.8

func (o UpstreamHealthCheckerOutput) HttpFailureThreshold() pulumi.IntOutput

HTTP continuous error threshold. 0 means HTTP checking is disabled. Value range: [0, 254].

func (UpstreamHealthCheckerOutput) TcpFailureThreshold added in v0.1.8

func (o UpstreamHealthCheckerOutput) TcpFailureThreshold() pulumi.IntOutput

TCP continuous error threshold. 0 indicates disabling TCP checking. Value range: [0, 254].

func (UpstreamHealthCheckerOutput) TimeoutThreshold added in v0.1.8

func (o UpstreamHealthCheckerOutput) TimeoutThreshold() pulumi.IntOutput

Continuous timeout threshold. 0 indicates disabling timeout checking. Value range: [0, 254].

func (UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerOutput added in v0.1.8

func (o UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerOutput() UpstreamHealthCheckerOutput

func (UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerOutputWithContext added in v0.1.8

func (o UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerOutputWithContext(ctx context.Context) UpstreamHealthCheckerOutput

func (UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerPtrOutput added in v0.1.8

func (o UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerPtrOutput() UpstreamHealthCheckerPtrOutput

func (UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerPtrOutputWithContext added in v0.1.8

func (o UpstreamHealthCheckerOutput) ToUpstreamHealthCheckerPtrOutputWithContext(ctx context.Context) UpstreamHealthCheckerPtrOutput

func (UpstreamHealthCheckerOutput) UnhealthyHttpStatus added in v0.1.8

func (o UpstreamHealthCheckerOutput) UnhealthyHttpStatus() pulumi.StringOutput

The HTTP status code that determines a failed request during a health check.

func (UpstreamHealthCheckerOutput) UnhealthyTimeout added in v0.1.8

func (o UpstreamHealthCheckerOutput) UnhealthyTimeout() pulumi.IntPtrOutput

The automatic recovery time of abnormal node status, in seconds. When only passive checking is enabled, it must be set to a value&gt;0, otherwise the passive exception node will not be able to recover. The default is 30 seconds.

type UpstreamHealthCheckerPtrInput added in v0.1.8

type UpstreamHealthCheckerPtrInput interface {
	pulumi.Input

	ToUpstreamHealthCheckerPtrOutput() UpstreamHealthCheckerPtrOutput
	ToUpstreamHealthCheckerPtrOutputWithContext(context.Context) UpstreamHealthCheckerPtrOutput
}

UpstreamHealthCheckerPtrInput is an input type that accepts UpstreamHealthCheckerArgs, UpstreamHealthCheckerPtr and UpstreamHealthCheckerPtrOutput values. You can construct a concrete instance of `UpstreamHealthCheckerPtrInput` via:

        UpstreamHealthCheckerArgs{...}

or:

        nil

func UpstreamHealthCheckerPtr added in v0.1.8

func UpstreamHealthCheckerPtr(v *UpstreamHealthCheckerArgs) UpstreamHealthCheckerPtrInput

type UpstreamHealthCheckerPtrOutput added in v0.1.8

type UpstreamHealthCheckerPtrOutput struct{ *pulumi.OutputState }

func (UpstreamHealthCheckerPtrOutput) ActiveCheckHttpPath added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) ActiveCheckHttpPath() pulumi.StringPtrOutput

Detect the requested path during active health checks. The default is&#39;/&#39;.

func (UpstreamHealthCheckerPtrOutput) ActiveCheckInterval added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) ActiveCheckInterval() pulumi.IntPtrOutput

The time interval for active health checks is 5 seconds by default.

func (UpstreamHealthCheckerPtrOutput) ActiveCheckTimeout added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) ActiveCheckTimeout() pulumi.IntPtrOutput

The detection request for active health check timed out in seconds. The default is 5 seconds.

func (UpstreamHealthCheckerPtrOutput) Elem added in v0.1.8

func (UpstreamHealthCheckerPtrOutput) ElementType added in v0.1.8

func (UpstreamHealthCheckerPtrOutput) EnableActiveCheck added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) EnableActiveCheck() pulumi.BoolPtrOutput

Identify whether active health checks are enabled.

func (UpstreamHealthCheckerPtrOutput) EnablePassiveCheck added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) EnablePassiveCheck() pulumi.BoolPtrOutput

Identify whether passive health checks are enabled.

func (UpstreamHealthCheckerPtrOutput) HealthyHttpStatus added in v0.1.8

The HTTP status code that determines a successful request during a health check.

func (UpstreamHealthCheckerPtrOutput) HttpFailureThreshold added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) HttpFailureThreshold() pulumi.IntPtrOutput

HTTP continuous error threshold. 0 means HTTP checking is disabled. Value range: [0, 254].

func (UpstreamHealthCheckerPtrOutput) TcpFailureThreshold added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) TcpFailureThreshold() pulumi.IntPtrOutput

TCP continuous error threshold. 0 indicates disabling TCP checking. Value range: [0, 254].

func (UpstreamHealthCheckerPtrOutput) TimeoutThreshold added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) TimeoutThreshold() pulumi.IntPtrOutput

Continuous timeout threshold. 0 indicates disabling timeout checking. Value range: [0, 254].

func (UpstreamHealthCheckerPtrOutput) ToUpstreamHealthCheckerPtrOutput added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) ToUpstreamHealthCheckerPtrOutput() UpstreamHealthCheckerPtrOutput

func (UpstreamHealthCheckerPtrOutput) ToUpstreamHealthCheckerPtrOutputWithContext added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) ToUpstreamHealthCheckerPtrOutputWithContext(ctx context.Context) UpstreamHealthCheckerPtrOutput

func (UpstreamHealthCheckerPtrOutput) UnhealthyHttpStatus added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) UnhealthyHttpStatus() pulumi.StringPtrOutput

The HTTP status code that determines a failed request during a health check.

func (UpstreamHealthCheckerPtrOutput) UnhealthyTimeout added in v0.1.8

func (o UpstreamHealthCheckerPtrOutput) UnhealthyTimeout() pulumi.IntPtrOutput

The automatic recovery time of abnormal node status, in seconds. When only passive checking is enabled, it must be set to a value&gt;0, otherwise the passive exception node will not be able to recover. The default is 30 seconds.

type UpstreamInput added in v0.1.8

type UpstreamInput interface {
	pulumi.Input

	ToUpstreamOutput() UpstreamOutput
	ToUpstreamOutputWithContext(ctx context.Context) UpstreamOutput
}

type UpstreamK8sService added in v0.1.8

type UpstreamK8sService struct {
	// K8s cluster ID.
	ClusterId   string                         `pulumi:"clusterId"`
	ExtraLabels []UpstreamK8sServiceExtraLabel `pulumi:"extraLabels"`
	// Customized service name, optional.
	Name *string `pulumi:"name"`
	// Container namespace.
	Namespace string `pulumi:"namespace"`
	// Port of service.
	Port int `pulumi:"port"`
	// The name of the container service.
	ServiceName string `pulumi:"serviceName"`
	// weight.
	Weight int `pulumi:"weight"`
}

type UpstreamK8sServiceArgs added in v0.1.8

type UpstreamK8sServiceArgs struct {
	// K8s cluster ID.
	ClusterId   pulumi.StringInput                     `pulumi:"clusterId"`
	ExtraLabels UpstreamK8sServiceExtraLabelArrayInput `pulumi:"extraLabels"`
	// Customized service name, optional.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Container namespace.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Port of service.
	Port pulumi.IntInput `pulumi:"port"`
	// The name of the container service.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// weight.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (UpstreamK8sServiceArgs) ElementType added in v0.1.8

func (UpstreamK8sServiceArgs) ElementType() reflect.Type

func (UpstreamK8sServiceArgs) ToUpstreamK8sServiceOutput added in v0.1.8

func (i UpstreamK8sServiceArgs) ToUpstreamK8sServiceOutput() UpstreamK8sServiceOutput

func (UpstreamK8sServiceArgs) ToUpstreamK8sServiceOutputWithContext added in v0.1.8

func (i UpstreamK8sServiceArgs) ToUpstreamK8sServiceOutputWithContext(ctx context.Context) UpstreamK8sServiceOutput

type UpstreamK8sServiceArray added in v0.1.8

type UpstreamK8sServiceArray []UpstreamK8sServiceInput

func (UpstreamK8sServiceArray) ElementType added in v0.1.8

func (UpstreamK8sServiceArray) ElementType() reflect.Type

func (UpstreamK8sServiceArray) ToUpstreamK8sServiceArrayOutput added in v0.1.8

func (i UpstreamK8sServiceArray) ToUpstreamK8sServiceArrayOutput() UpstreamK8sServiceArrayOutput

func (UpstreamK8sServiceArray) ToUpstreamK8sServiceArrayOutputWithContext added in v0.1.8

func (i UpstreamK8sServiceArray) ToUpstreamK8sServiceArrayOutputWithContext(ctx context.Context) UpstreamK8sServiceArrayOutput

type UpstreamK8sServiceArrayInput added in v0.1.8

type UpstreamK8sServiceArrayInput interface {
	pulumi.Input

	ToUpstreamK8sServiceArrayOutput() UpstreamK8sServiceArrayOutput
	ToUpstreamK8sServiceArrayOutputWithContext(context.Context) UpstreamK8sServiceArrayOutput
}

UpstreamK8sServiceArrayInput is an input type that accepts UpstreamK8sServiceArray and UpstreamK8sServiceArrayOutput values. You can construct a concrete instance of `UpstreamK8sServiceArrayInput` via:

UpstreamK8sServiceArray{ UpstreamK8sServiceArgs{...} }

type UpstreamK8sServiceArrayOutput added in v0.1.8

type UpstreamK8sServiceArrayOutput struct{ *pulumi.OutputState }

func (UpstreamK8sServiceArrayOutput) ElementType added in v0.1.8

func (UpstreamK8sServiceArrayOutput) Index added in v0.1.8

func (UpstreamK8sServiceArrayOutput) ToUpstreamK8sServiceArrayOutput added in v0.1.8

func (o UpstreamK8sServiceArrayOutput) ToUpstreamK8sServiceArrayOutput() UpstreamK8sServiceArrayOutput

func (UpstreamK8sServiceArrayOutput) ToUpstreamK8sServiceArrayOutputWithContext added in v0.1.8

func (o UpstreamK8sServiceArrayOutput) ToUpstreamK8sServiceArrayOutputWithContext(ctx context.Context) UpstreamK8sServiceArrayOutput

type UpstreamK8sServiceExtraLabel added in v0.1.8

type UpstreamK8sServiceExtraLabel struct {
	// Key of Label.
	Key string `pulumi:"key"`
	// Value of Label.
	Value string `pulumi:"value"`
}

type UpstreamK8sServiceExtraLabelArgs added in v0.1.8

type UpstreamK8sServiceExtraLabelArgs struct {
	// Key of Label.
	Key pulumi.StringInput `pulumi:"key"`
	// Value of Label.
	Value pulumi.StringInput `pulumi:"value"`
}

func (UpstreamK8sServiceExtraLabelArgs) ElementType added in v0.1.8

func (UpstreamK8sServiceExtraLabelArgs) ToUpstreamK8sServiceExtraLabelOutput added in v0.1.8

func (i UpstreamK8sServiceExtraLabelArgs) ToUpstreamK8sServiceExtraLabelOutput() UpstreamK8sServiceExtraLabelOutput

func (UpstreamK8sServiceExtraLabelArgs) ToUpstreamK8sServiceExtraLabelOutputWithContext added in v0.1.8

func (i UpstreamK8sServiceExtraLabelArgs) ToUpstreamK8sServiceExtraLabelOutputWithContext(ctx context.Context) UpstreamK8sServiceExtraLabelOutput

type UpstreamK8sServiceExtraLabelArray added in v0.1.8

type UpstreamK8sServiceExtraLabelArray []UpstreamK8sServiceExtraLabelInput

func (UpstreamK8sServiceExtraLabelArray) ElementType added in v0.1.8

func (UpstreamK8sServiceExtraLabelArray) ToUpstreamK8sServiceExtraLabelArrayOutput added in v0.1.8

func (i UpstreamK8sServiceExtraLabelArray) ToUpstreamK8sServiceExtraLabelArrayOutput() UpstreamK8sServiceExtraLabelArrayOutput

func (UpstreamK8sServiceExtraLabelArray) ToUpstreamK8sServiceExtraLabelArrayOutputWithContext added in v0.1.8

func (i UpstreamK8sServiceExtraLabelArray) ToUpstreamK8sServiceExtraLabelArrayOutputWithContext(ctx context.Context) UpstreamK8sServiceExtraLabelArrayOutput

type UpstreamK8sServiceExtraLabelArrayInput added in v0.1.8

type UpstreamK8sServiceExtraLabelArrayInput interface {
	pulumi.Input

	ToUpstreamK8sServiceExtraLabelArrayOutput() UpstreamK8sServiceExtraLabelArrayOutput
	ToUpstreamK8sServiceExtraLabelArrayOutputWithContext(context.Context) UpstreamK8sServiceExtraLabelArrayOutput
}

UpstreamK8sServiceExtraLabelArrayInput is an input type that accepts UpstreamK8sServiceExtraLabelArray and UpstreamK8sServiceExtraLabelArrayOutput values. You can construct a concrete instance of `UpstreamK8sServiceExtraLabelArrayInput` via:

UpstreamK8sServiceExtraLabelArray{ UpstreamK8sServiceExtraLabelArgs{...} }

type UpstreamK8sServiceExtraLabelArrayOutput added in v0.1.8

type UpstreamK8sServiceExtraLabelArrayOutput struct{ *pulumi.OutputState }

func (UpstreamK8sServiceExtraLabelArrayOutput) ElementType added in v0.1.8

func (UpstreamK8sServiceExtraLabelArrayOutput) Index added in v0.1.8

func (UpstreamK8sServiceExtraLabelArrayOutput) ToUpstreamK8sServiceExtraLabelArrayOutput added in v0.1.8

func (o UpstreamK8sServiceExtraLabelArrayOutput) ToUpstreamK8sServiceExtraLabelArrayOutput() UpstreamK8sServiceExtraLabelArrayOutput

func (UpstreamK8sServiceExtraLabelArrayOutput) ToUpstreamK8sServiceExtraLabelArrayOutputWithContext added in v0.1.8

func (o UpstreamK8sServiceExtraLabelArrayOutput) ToUpstreamK8sServiceExtraLabelArrayOutputWithContext(ctx context.Context) UpstreamK8sServiceExtraLabelArrayOutput

type UpstreamK8sServiceExtraLabelInput added in v0.1.8

type UpstreamK8sServiceExtraLabelInput interface {
	pulumi.Input

	ToUpstreamK8sServiceExtraLabelOutput() UpstreamK8sServiceExtraLabelOutput
	ToUpstreamK8sServiceExtraLabelOutputWithContext(context.Context) UpstreamK8sServiceExtraLabelOutput
}

UpstreamK8sServiceExtraLabelInput is an input type that accepts UpstreamK8sServiceExtraLabelArgs and UpstreamK8sServiceExtraLabelOutput values. You can construct a concrete instance of `UpstreamK8sServiceExtraLabelInput` via:

UpstreamK8sServiceExtraLabelArgs{...}

type UpstreamK8sServiceExtraLabelOutput added in v0.1.8

type UpstreamK8sServiceExtraLabelOutput struct{ *pulumi.OutputState }

func (UpstreamK8sServiceExtraLabelOutput) ElementType added in v0.1.8

func (UpstreamK8sServiceExtraLabelOutput) Key added in v0.1.8

Key of Label.

func (UpstreamK8sServiceExtraLabelOutput) ToUpstreamK8sServiceExtraLabelOutput added in v0.1.8

func (o UpstreamK8sServiceExtraLabelOutput) ToUpstreamK8sServiceExtraLabelOutput() UpstreamK8sServiceExtraLabelOutput

func (UpstreamK8sServiceExtraLabelOutput) ToUpstreamK8sServiceExtraLabelOutputWithContext added in v0.1.8

func (o UpstreamK8sServiceExtraLabelOutput) ToUpstreamK8sServiceExtraLabelOutputWithContext(ctx context.Context) UpstreamK8sServiceExtraLabelOutput

func (UpstreamK8sServiceExtraLabelOutput) Value added in v0.1.8

Value of Label.

type UpstreamK8sServiceInput added in v0.1.8

type UpstreamK8sServiceInput interface {
	pulumi.Input

	ToUpstreamK8sServiceOutput() UpstreamK8sServiceOutput
	ToUpstreamK8sServiceOutputWithContext(context.Context) UpstreamK8sServiceOutput
}

UpstreamK8sServiceInput is an input type that accepts UpstreamK8sServiceArgs and UpstreamK8sServiceOutput values. You can construct a concrete instance of `UpstreamK8sServiceInput` via:

UpstreamK8sServiceArgs{...}

type UpstreamK8sServiceOutput added in v0.1.8

type UpstreamK8sServiceOutput struct{ *pulumi.OutputState }

func (UpstreamK8sServiceOutput) ClusterId added in v0.1.8

K8s cluster ID.

func (UpstreamK8sServiceOutput) ElementType added in v0.1.8

func (UpstreamK8sServiceOutput) ElementType() reflect.Type

func (UpstreamK8sServiceOutput) ExtraLabels added in v0.1.8

func (UpstreamK8sServiceOutput) Name added in v0.1.8

Customized service name, optional.

func (UpstreamK8sServiceOutput) Namespace added in v0.1.8

Container namespace.

func (UpstreamK8sServiceOutput) Port added in v0.1.8

Port of service.

func (UpstreamK8sServiceOutput) ServiceName added in v0.1.8

The name of the container service.

func (UpstreamK8sServiceOutput) ToUpstreamK8sServiceOutput added in v0.1.8

func (o UpstreamK8sServiceOutput) ToUpstreamK8sServiceOutput() UpstreamK8sServiceOutput

func (UpstreamK8sServiceOutput) ToUpstreamK8sServiceOutputWithContext added in v0.1.8

func (o UpstreamK8sServiceOutput) ToUpstreamK8sServiceOutputWithContext(ctx context.Context) UpstreamK8sServiceOutput

func (UpstreamK8sServiceOutput) Weight added in v0.1.8

weight.

type UpstreamMap added in v0.1.8

type UpstreamMap map[string]UpstreamInput

func (UpstreamMap) ElementType added in v0.1.8

func (UpstreamMap) ElementType() reflect.Type

func (UpstreamMap) ToUpstreamMapOutput added in v0.1.8

func (i UpstreamMap) ToUpstreamMapOutput() UpstreamMapOutput

func (UpstreamMap) ToUpstreamMapOutputWithContext added in v0.1.8

func (i UpstreamMap) ToUpstreamMapOutputWithContext(ctx context.Context) UpstreamMapOutput

type UpstreamMapInput added in v0.1.8

type UpstreamMapInput interface {
	pulumi.Input

	ToUpstreamMapOutput() UpstreamMapOutput
	ToUpstreamMapOutputWithContext(context.Context) UpstreamMapOutput
}

UpstreamMapInput is an input type that accepts UpstreamMap and UpstreamMapOutput values. You can construct a concrete instance of `UpstreamMapInput` via:

UpstreamMap{ "key": UpstreamArgs{...} }

type UpstreamMapOutput added in v0.1.8

type UpstreamMapOutput struct{ *pulumi.OutputState }

func (UpstreamMapOutput) ElementType added in v0.1.8

func (UpstreamMapOutput) ElementType() reflect.Type

func (UpstreamMapOutput) MapIndex added in v0.1.8

func (UpstreamMapOutput) ToUpstreamMapOutput added in v0.1.8

func (o UpstreamMapOutput) ToUpstreamMapOutput() UpstreamMapOutput

func (UpstreamMapOutput) ToUpstreamMapOutputWithContext added in v0.1.8

func (o UpstreamMapOutput) ToUpstreamMapOutputWithContext(ctx context.Context) UpstreamMapOutput

type UpstreamNode added in v0.1.8

type UpstreamNode struct {
	// The ID of the TKE clusterNote: This field may return null, indicating that a valid value cannot be obtained.
	ClusterId *string `pulumi:"clusterId"`
	// IP or domain name.
	Host string `pulumi:"host"`
	// K8S namespaceNote: This field may return null, indicating that a valid value cannot be obtained.
	NameSpace *string `pulumi:"nameSpace"`
	// Port [0, 65535].
	Port int `pulumi:"port"`
	// K8S container service nameNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName *string `pulumi:"serviceName"`
	// Source of Node, value range: K8SNote: This field may return null, indicating that a valid value cannot be obtained.
	Source *string `pulumi:"source"`
	// Dye labelNote: This field may return null, indicating that a valid value cannot be obtained.
	Tags []string `pulumi:"tags"`
	// Unique service name recorded internally by API gatewayNote: This field may return null, indicating that a valid value cannot be obtained.
	UniqueServiceName *string `pulumi:"uniqueServiceName"`
	// CVM instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
	VmInstanceId *string `pulumi:"vmInstanceId"`
	// Weight [0, 100], 0 is disabled.
	Weight int `pulumi:"weight"`
}

type UpstreamNodeArgs added in v0.1.8

type UpstreamNodeArgs struct {
	// The ID of the TKE clusterNote: This field may return null, indicating that a valid value cannot be obtained.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// IP or domain name.
	Host pulumi.StringInput `pulumi:"host"`
	// K8S namespaceNote: This field may return null, indicating that a valid value cannot be obtained.
	NameSpace pulumi.StringPtrInput `pulumi:"nameSpace"`
	// Port [0, 65535].
	Port pulumi.IntInput `pulumi:"port"`
	// K8S container service nameNote: This field may return null, indicating that a valid value cannot be obtained.
	ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
	// Source of Node, value range: K8SNote: This field may return null, indicating that a valid value cannot be obtained.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// Dye labelNote: This field may return null, indicating that a valid value cannot be obtained.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Unique service name recorded internally by API gatewayNote: This field may return null, indicating that a valid value cannot be obtained.
	UniqueServiceName pulumi.StringPtrInput `pulumi:"uniqueServiceName"`
	// CVM instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
	VmInstanceId pulumi.StringPtrInput `pulumi:"vmInstanceId"`
	// Weight [0, 100], 0 is disabled.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (UpstreamNodeArgs) ElementType added in v0.1.8

func (UpstreamNodeArgs) ElementType() reflect.Type

func (UpstreamNodeArgs) ToUpstreamNodeOutput added in v0.1.8

func (i UpstreamNodeArgs) ToUpstreamNodeOutput() UpstreamNodeOutput

func (UpstreamNodeArgs) ToUpstreamNodeOutputWithContext added in v0.1.8

func (i UpstreamNodeArgs) ToUpstreamNodeOutputWithContext(ctx context.Context) UpstreamNodeOutput

type UpstreamNodeArray added in v0.1.8

type UpstreamNodeArray []UpstreamNodeInput

func (UpstreamNodeArray) ElementType added in v0.1.8

func (UpstreamNodeArray) ElementType() reflect.Type

func (UpstreamNodeArray) ToUpstreamNodeArrayOutput added in v0.1.8

func (i UpstreamNodeArray) ToUpstreamNodeArrayOutput() UpstreamNodeArrayOutput

func (UpstreamNodeArray) ToUpstreamNodeArrayOutputWithContext added in v0.1.8

func (i UpstreamNodeArray) ToUpstreamNodeArrayOutputWithContext(ctx context.Context) UpstreamNodeArrayOutput

type UpstreamNodeArrayInput added in v0.1.8

type UpstreamNodeArrayInput interface {
	pulumi.Input

	ToUpstreamNodeArrayOutput() UpstreamNodeArrayOutput
	ToUpstreamNodeArrayOutputWithContext(context.Context) UpstreamNodeArrayOutput
}

UpstreamNodeArrayInput is an input type that accepts UpstreamNodeArray and UpstreamNodeArrayOutput values. You can construct a concrete instance of `UpstreamNodeArrayInput` via:

UpstreamNodeArray{ UpstreamNodeArgs{...} }

type UpstreamNodeArrayOutput added in v0.1.8

type UpstreamNodeArrayOutput struct{ *pulumi.OutputState }

func (UpstreamNodeArrayOutput) ElementType added in v0.1.8

func (UpstreamNodeArrayOutput) ElementType() reflect.Type

func (UpstreamNodeArrayOutput) Index added in v0.1.8

func (UpstreamNodeArrayOutput) ToUpstreamNodeArrayOutput added in v0.1.8

func (o UpstreamNodeArrayOutput) ToUpstreamNodeArrayOutput() UpstreamNodeArrayOutput

func (UpstreamNodeArrayOutput) ToUpstreamNodeArrayOutputWithContext added in v0.1.8

func (o UpstreamNodeArrayOutput) ToUpstreamNodeArrayOutputWithContext(ctx context.Context) UpstreamNodeArrayOutput

type UpstreamNodeInput added in v0.1.8

type UpstreamNodeInput interface {
	pulumi.Input

	ToUpstreamNodeOutput() UpstreamNodeOutput
	ToUpstreamNodeOutputWithContext(context.Context) UpstreamNodeOutput
}

UpstreamNodeInput is an input type that accepts UpstreamNodeArgs and UpstreamNodeOutput values. You can construct a concrete instance of `UpstreamNodeInput` via:

UpstreamNodeArgs{...}

type UpstreamNodeOutput added in v0.1.8

type UpstreamNodeOutput struct{ *pulumi.OutputState }

func (UpstreamNodeOutput) ClusterId added in v0.1.8

The ID of the TKE clusterNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) ElementType added in v0.1.8

func (UpstreamNodeOutput) ElementType() reflect.Type

func (UpstreamNodeOutput) Host added in v0.1.8

IP or domain name.

func (UpstreamNodeOutput) NameSpace added in v0.1.8

K8S namespaceNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) Port added in v0.1.8

Port [0, 65535].

func (UpstreamNodeOutput) ServiceName added in v0.1.8

func (o UpstreamNodeOutput) ServiceName() pulumi.StringPtrOutput

K8S container service nameNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) Source added in v0.1.8

Source of Node, value range: K8SNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) Tags added in v0.1.8

Dye labelNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) ToUpstreamNodeOutput added in v0.1.8

func (o UpstreamNodeOutput) ToUpstreamNodeOutput() UpstreamNodeOutput

func (UpstreamNodeOutput) ToUpstreamNodeOutputWithContext added in v0.1.8

func (o UpstreamNodeOutput) ToUpstreamNodeOutputWithContext(ctx context.Context) UpstreamNodeOutput

func (UpstreamNodeOutput) UniqueServiceName added in v0.1.8

func (o UpstreamNodeOutput) UniqueServiceName() pulumi.StringPtrOutput

Unique service name recorded internally by API gatewayNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) VmInstanceId added in v0.1.8

func (o UpstreamNodeOutput) VmInstanceId() pulumi.StringPtrOutput

CVM instance IDNote: This field may return null, indicating that a valid value cannot be obtained.

func (UpstreamNodeOutput) Weight added in v0.1.8

func (o UpstreamNodeOutput) Weight() pulumi.IntOutput

Weight [0, 100], 0 is disabled.

type UpstreamOutput added in v0.1.8

type UpstreamOutput struct{ *pulumi.OutputState }

func (UpstreamOutput) Algorithm added in v0.1.8

func (o UpstreamOutput) Algorithm() pulumi.StringOutput

Load balancing algorithm, value range: ROUND-ROBIN.

func (UpstreamOutput) ElementType added in v0.1.8

func (UpstreamOutput) ElementType() reflect.Type

func (UpstreamOutput) HealthChecker added in v0.1.8

Health check configuration, currently only supports VPC channels.

func (UpstreamOutput) K8sServices added in v0.1.8

Configuration of K8S container service.

func (UpstreamOutput) Nodes added in v0.1.8

Backend nodes.

func (UpstreamOutput) Retries added in v0.1.8

func (o UpstreamOutput) Retries() pulumi.IntPtrOutput

Request retry count, default to 3 times.

func (UpstreamOutput) Scheme added in v0.1.8

func (o UpstreamOutput) Scheme() pulumi.StringOutput

Backend protocol, value range: HTTP, HTTPS, gRPC, gRPCs.

func (UpstreamOutput) Tags added in v0.1.8

func (o UpstreamOutput) Tags() pulumi.MapOutput

Tag description list.

func (UpstreamOutput) ToUpstreamOutput added in v0.1.8

func (o UpstreamOutput) ToUpstreamOutput() UpstreamOutput

func (UpstreamOutput) ToUpstreamOutputWithContext added in v0.1.8

func (o UpstreamOutput) ToUpstreamOutputWithContext(ctx context.Context) UpstreamOutput

func (UpstreamOutput) UniqVpcId added in v0.1.8

func (o UpstreamOutput) UniqVpcId() pulumi.StringOutput

VPC Unique ID.

func (UpstreamOutput) UpstreamDescription added in v0.1.8

func (o UpstreamOutput) UpstreamDescription() pulumi.StringPtrOutput

Backend channel description.

func (UpstreamOutput) UpstreamHost added in v0.1.8

func (o UpstreamOutput) UpstreamHost() pulumi.StringPtrOutput

Host request header forwarded by gateway to backend.

func (UpstreamOutput) UpstreamName added in v0.1.8

func (o UpstreamOutput) UpstreamName() pulumi.StringPtrOutput

Backend channel name.

func (UpstreamOutput) UpstreamType added in v0.1.8

func (o UpstreamOutput) UpstreamType() pulumi.StringPtrOutput

Backend access type, value range: IP_PORT, K8S.

type UpstreamState added in v0.1.8

type UpstreamState struct {
	// Load balancing algorithm, value range: ROUND-ROBIN.
	Algorithm pulumi.StringPtrInput
	// Health check configuration, currently only supports VPC channels.
	HealthChecker UpstreamHealthCheckerPtrInput
	// Configuration of K8S container service.
	K8sServices UpstreamK8sServiceArrayInput
	// Backend nodes.
	Nodes UpstreamNodeArrayInput
	// Request retry count, default to 3 times.
	Retries pulumi.IntPtrInput
	// Backend protocol, value range: HTTP, HTTPS, gRPC, gRPCs.
	Scheme pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
	// VPC Unique ID.
	UniqVpcId pulumi.StringPtrInput
	// Backend channel description.
	UpstreamDescription pulumi.StringPtrInput
	// Host request header forwarded by gateway to backend.
	UpstreamHost pulumi.StringPtrInput
	// Backend channel name.
	UpstreamName pulumi.StringPtrInput
	// Backend access type, value range: IP_PORT, K8S.
	UpstreamType pulumi.StringPtrInput
}

func (UpstreamState) ElementType added in v0.1.8

func (UpstreamState) 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, "example", &ApiGateway.UsagePlanArgs{
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
			UsagePlanDesc:       pulumi.String("desc."),
			UsagePlanName:       pulumi.String("tf_example"),
		})
		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

	// Array of key IDs to be bound.
	AccessKeyIds pulumi.StringArrayOutput `pulumi:"accessKeyIds"`
	// 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.

> **NOTE:** If the `authType` parameter of API is not `SECRET`, it cannot be bound access key.

## Example Usage ### Normal creation

```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 {
		exampleUsagePlan, err := ApiGateway.NewUsagePlan(ctx, "exampleUsagePlan", &ApiGateway.UsagePlanArgs{
			UsagePlanName:       pulumi.String("tf_example"),
			UsagePlanDesc:       pulumi.String("desc."),
			MaxRequestNum:       pulumi.Int(100),
			MaxRequestNumPreSec: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		exampleService, err := ApiGateway.NewService(ctx, "exampleService", &ApiGateway.ServiceArgs{
			ServiceName: pulumi.String("tf_example"),
			Protocol:    pulumi.String("http&https"),
			ServiceDesc: pulumi.String("desc."),
			NetTypes: pulumi.StringArray{
				pulumi.String("INNER"),
				pulumi.String("OUTER"),
			},
			IpVersion: pulumi.String("IPv4"),
		})
		if err != nil {
			return err
		}
		exampleApi, err := ApiGateway.NewApi(ctx, "exampleApi", &ApiGateway.ApiArgs{
			ServiceId:           exampleService.ID(),
			ApiName:             pulumi.String("tf_example"),
			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("desc."),
					DefaultValue: pulumi.String("test@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(500),
					Msg:           pulumi.String("system error"),
					Desc:          pulumi.String("system error code"),
					ConvertedCode: pulumi.Int(5000),
					NeedConvert:   pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewUsagePlanAttachment(ctx, "exampleUsagePlanAttachment", &ApiGateway.UsagePlanAttachmentArgs{
			UsagePlanId: exampleUsagePlan.ID(),
			ServiceId:   exampleService.ID(),
			Environment: pulumi.String("release"),
			BindType:    pulumi.String("API"),
			ApiId:       exampleApi.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bind the key to a usage plan

```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 {
		exampleApiKey, err := ApiGateway.NewApiKey(ctx, "exampleApiKey", &ApiGateway.ApiKeyArgs{
			SecretName: pulumi.String("tf_example"),
			Status:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		_, err = ApiGateway.NewUsagePlanAttachment(ctx, "exampleUsagePlanAttachment", &ApiGateway.UsagePlanAttachmentArgs{
			UsagePlanId: pulumi.Any(tencentcloud_api_gateway_usage_plan.Example.Id),
			ServiceId:   pulumi.Any(tencentcloud_api_gateway_service.Example.Id),
			Environment: pulumi.String("release"),
			BindType:    pulumi.String("API"),
			ApiId:       pulumi.Any(tencentcloud_api_gateway_api.Example.Id),
			AccessKeyIds: pulumi.StringArray{
				exampleApiKey.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 {
	// Array of key IDs to be bound.
	AccessKeyIds pulumi.StringArrayInput
	// 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) AccessKeyIds added in v0.1.8

Array of key IDs to be bound.

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 {
	// Array of key IDs to be bound.
	AccessKeyIds pulumi.StringArrayInput
	// 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