apigateway

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	pulumi.CustomResourceState

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

func GetAPI

func GetAPI(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *APIState, opts ...pulumi.ResourceOption) (*API, error)

GetAPI gets an existing API resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAPI

func NewAPI(ctx *pulumi.Context,
	name string, args *APIArgs, opts ...pulumi.ResourceOption) (*API, error)

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

func (*API) ElementType

func (*API) ElementType() reflect.Type

func (*API) ToAPIOutput

func (i *API) ToAPIOutput() APIOutput

func (*API) ToAPIOutputWithContext

func (i *API) ToAPIOutputWithContext(ctx context.Context) APIOutput

type APIArgs

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

The set of arguments for constructing a API resource.

func (APIArgs) ElementType

func (APIArgs) ElementType() reflect.Type

type APIArray

type APIArray []APIInput

func (APIArray) ElementType

func (APIArray) ElementType() reflect.Type

func (APIArray) ToAPIArrayOutput

func (i APIArray) ToAPIArrayOutput() APIArrayOutput

func (APIArray) ToAPIArrayOutputWithContext

func (i APIArray) ToAPIArrayOutputWithContext(ctx context.Context) APIArrayOutput

type APIArrayInput

type APIArrayInput interface {
	pulumi.Input

	ToAPIArrayOutput() APIArrayOutput
	ToAPIArrayOutputWithContext(context.Context) APIArrayOutput
}

APIArrayInput is an input type that accepts APIArray and APIArrayOutput values. You can construct a concrete instance of `APIArrayInput` via:

APIArray{ APIArgs{...} }

type APIArrayOutput

type APIArrayOutput struct{ *pulumi.OutputState }

func (APIArrayOutput) ElementType

func (APIArrayOutput) ElementType() reflect.Type

func (APIArrayOutput) Index

func (APIArrayOutput) ToAPIArrayOutput

func (o APIArrayOutput) ToAPIArrayOutput() APIArrayOutput

func (APIArrayOutput) ToAPIArrayOutputWithContext

func (o APIArrayOutput) ToAPIArrayOutputWithContext(ctx context.Context) APIArrayOutput

type APIInput

type APIInput interface {
	pulumi.Input

	ToAPIOutput() APIOutput
	ToAPIOutputWithContext(ctx context.Context) APIOutput
}

type APIKey

type APIKey struct {
	pulumi.CustomResourceState

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

func GetAPIKey

func GetAPIKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *APIKeyState, opts ...pulumi.ResourceOption) (*APIKey, error)

GetAPIKey gets an existing APIKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAPIKey

func NewAPIKey(ctx *pulumi.Context,
	name string, args *APIKeyArgs, opts ...pulumi.ResourceOption) (*APIKey, error)

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

func (*APIKey) ElementType

func (*APIKey) ElementType() reflect.Type

func (*APIKey) ToAPIKeyOutput

func (i *APIKey) ToAPIKeyOutput() APIKeyOutput

func (*APIKey) ToAPIKeyOutputWithContext

func (i *APIKey) ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput

type APIKeyArgs

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

The set of arguments for constructing a APIKey resource.

func (APIKeyArgs) ElementType

func (APIKeyArgs) ElementType() reflect.Type

type APIKeyArray

type APIKeyArray []APIKeyInput

func (APIKeyArray) ElementType

func (APIKeyArray) ElementType() reflect.Type

func (APIKeyArray) ToAPIKeyArrayOutput

func (i APIKeyArray) ToAPIKeyArrayOutput() APIKeyArrayOutput

func (APIKeyArray) ToAPIKeyArrayOutputWithContext

func (i APIKeyArray) ToAPIKeyArrayOutputWithContext(ctx context.Context) APIKeyArrayOutput

type APIKeyArrayInput

type APIKeyArrayInput interface {
	pulumi.Input

	ToAPIKeyArrayOutput() APIKeyArrayOutput
	ToAPIKeyArrayOutputWithContext(context.Context) APIKeyArrayOutput
}

APIKeyArrayInput is an input type that accepts APIKeyArray and APIKeyArrayOutput values. You can construct a concrete instance of `APIKeyArrayInput` via:

APIKeyArray{ APIKeyArgs{...} }

type APIKeyArrayOutput

type APIKeyArrayOutput struct{ *pulumi.OutputState }

func (APIKeyArrayOutput) ElementType

func (APIKeyArrayOutput) ElementType() reflect.Type

func (APIKeyArrayOutput) Index

func (APIKeyArrayOutput) ToAPIKeyArrayOutput

func (o APIKeyArrayOutput) ToAPIKeyArrayOutput() APIKeyArrayOutput

func (APIKeyArrayOutput) ToAPIKeyArrayOutputWithContext

func (o APIKeyArrayOutput) ToAPIKeyArrayOutputWithContext(ctx context.Context) APIKeyArrayOutput

type APIKeyAttachment

type APIKeyAttachment struct {
	pulumi.CustomResourceState

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

func GetAPIKeyAttachment

func GetAPIKeyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *APIKeyAttachmentState, opts ...pulumi.ResourceOption) (*APIKeyAttachment, error)

GetAPIKeyAttachment gets an existing APIKeyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAPIKeyAttachment

func NewAPIKeyAttachment(ctx *pulumi.Context,
	name string, args *APIKeyAttachmentArgs, opts ...pulumi.ResourceOption) (*APIKeyAttachment, error)

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

func (*APIKeyAttachment) ElementType

func (*APIKeyAttachment) ElementType() reflect.Type

func (*APIKeyAttachment) ToAPIKeyAttachmentOutput

func (i *APIKeyAttachment) ToAPIKeyAttachmentOutput() APIKeyAttachmentOutput

func (*APIKeyAttachment) ToAPIKeyAttachmentOutputWithContext

func (i *APIKeyAttachment) ToAPIKeyAttachmentOutputWithContext(ctx context.Context) APIKeyAttachmentOutput

type APIKeyAttachmentArgs

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

The set of arguments for constructing a APIKeyAttachment resource.

func (APIKeyAttachmentArgs) ElementType

func (APIKeyAttachmentArgs) ElementType() reflect.Type

type APIKeyAttachmentArray

type APIKeyAttachmentArray []APIKeyAttachmentInput

func (APIKeyAttachmentArray) ElementType

func (APIKeyAttachmentArray) ElementType() reflect.Type

func (APIKeyAttachmentArray) ToAPIKeyAttachmentArrayOutput

func (i APIKeyAttachmentArray) ToAPIKeyAttachmentArrayOutput() APIKeyAttachmentArrayOutput

func (APIKeyAttachmentArray) ToAPIKeyAttachmentArrayOutputWithContext

func (i APIKeyAttachmentArray) ToAPIKeyAttachmentArrayOutputWithContext(ctx context.Context) APIKeyAttachmentArrayOutput

type APIKeyAttachmentArrayInput

type APIKeyAttachmentArrayInput interface {
	pulumi.Input

	ToAPIKeyAttachmentArrayOutput() APIKeyAttachmentArrayOutput
	ToAPIKeyAttachmentArrayOutputWithContext(context.Context) APIKeyAttachmentArrayOutput
}

APIKeyAttachmentArrayInput is an input type that accepts APIKeyAttachmentArray and APIKeyAttachmentArrayOutput values. You can construct a concrete instance of `APIKeyAttachmentArrayInput` via:

APIKeyAttachmentArray{ APIKeyAttachmentArgs{...} }

type APIKeyAttachmentArrayOutput

type APIKeyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (APIKeyAttachmentArrayOutput) ElementType

func (APIKeyAttachmentArrayOutput) Index

func (APIKeyAttachmentArrayOutput) ToAPIKeyAttachmentArrayOutput

func (o APIKeyAttachmentArrayOutput) ToAPIKeyAttachmentArrayOutput() APIKeyAttachmentArrayOutput

func (APIKeyAttachmentArrayOutput) ToAPIKeyAttachmentArrayOutputWithContext

func (o APIKeyAttachmentArrayOutput) ToAPIKeyAttachmentArrayOutputWithContext(ctx context.Context) APIKeyAttachmentArrayOutput

type APIKeyAttachmentInput

type APIKeyAttachmentInput interface {
	pulumi.Input

	ToAPIKeyAttachmentOutput() APIKeyAttachmentOutput
	ToAPIKeyAttachmentOutputWithContext(ctx context.Context) APIKeyAttachmentOutput
}

type APIKeyAttachmentMap

type APIKeyAttachmentMap map[string]APIKeyAttachmentInput

func (APIKeyAttachmentMap) ElementType

func (APIKeyAttachmentMap) ElementType() reflect.Type

func (APIKeyAttachmentMap) ToAPIKeyAttachmentMapOutput

func (i APIKeyAttachmentMap) ToAPIKeyAttachmentMapOutput() APIKeyAttachmentMapOutput

func (APIKeyAttachmentMap) ToAPIKeyAttachmentMapOutputWithContext

func (i APIKeyAttachmentMap) ToAPIKeyAttachmentMapOutputWithContext(ctx context.Context) APIKeyAttachmentMapOutput

type APIKeyAttachmentMapInput

type APIKeyAttachmentMapInput interface {
	pulumi.Input

	ToAPIKeyAttachmentMapOutput() APIKeyAttachmentMapOutput
	ToAPIKeyAttachmentMapOutputWithContext(context.Context) APIKeyAttachmentMapOutput
}

APIKeyAttachmentMapInput is an input type that accepts APIKeyAttachmentMap and APIKeyAttachmentMapOutput values. You can construct a concrete instance of `APIKeyAttachmentMapInput` via:

APIKeyAttachmentMap{ "key": APIKeyAttachmentArgs{...} }

type APIKeyAttachmentMapOutput

type APIKeyAttachmentMapOutput struct{ *pulumi.OutputState }

func (APIKeyAttachmentMapOutput) ElementType

func (APIKeyAttachmentMapOutput) ElementType() reflect.Type

func (APIKeyAttachmentMapOutput) MapIndex

func (APIKeyAttachmentMapOutput) ToAPIKeyAttachmentMapOutput

func (o APIKeyAttachmentMapOutput) ToAPIKeyAttachmentMapOutput() APIKeyAttachmentMapOutput

func (APIKeyAttachmentMapOutput) ToAPIKeyAttachmentMapOutputWithContext

func (o APIKeyAttachmentMapOutput) ToAPIKeyAttachmentMapOutputWithContext(ctx context.Context) APIKeyAttachmentMapOutput

type APIKeyAttachmentOutput

type APIKeyAttachmentOutput struct{ *pulumi.OutputState }

func (APIKeyAttachmentOutput) ApiKeyId

ID of API key.

func (APIKeyAttachmentOutput) ElementType

func (APIKeyAttachmentOutput) ElementType() reflect.Type

func (APIKeyAttachmentOutput) ToAPIKeyAttachmentOutput

func (o APIKeyAttachmentOutput) ToAPIKeyAttachmentOutput() APIKeyAttachmentOutput

func (APIKeyAttachmentOutput) ToAPIKeyAttachmentOutputWithContext

func (o APIKeyAttachmentOutput) ToAPIKeyAttachmentOutputWithContext(ctx context.Context) APIKeyAttachmentOutput

func (APIKeyAttachmentOutput) UsagePlanId

func (o APIKeyAttachmentOutput) UsagePlanId() pulumi.StringOutput

ID of the usage plan.

type APIKeyAttachmentState

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

func (APIKeyAttachmentState) ElementType

func (APIKeyAttachmentState) ElementType() reflect.Type

type APIKeyInput

type APIKeyInput interface {
	pulumi.Input

	ToAPIKeyOutput() APIKeyOutput
	ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput
}

type APIKeyMap

type APIKeyMap map[string]APIKeyInput

func (APIKeyMap) ElementType

func (APIKeyMap) ElementType() reflect.Type

func (APIKeyMap) ToAPIKeyMapOutput

func (i APIKeyMap) ToAPIKeyMapOutput() APIKeyMapOutput

func (APIKeyMap) ToAPIKeyMapOutputWithContext

func (i APIKeyMap) ToAPIKeyMapOutputWithContext(ctx context.Context) APIKeyMapOutput

type APIKeyMapInput

type APIKeyMapInput interface {
	pulumi.Input

	ToAPIKeyMapOutput() APIKeyMapOutput
	ToAPIKeyMapOutputWithContext(context.Context) APIKeyMapOutput
}

APIKeyMapInput is an input type that accepts APIKeyMap and APIKeyMapOutput values. You can construct a concrete instance of `APIKeyMapInput` via:

APIKeyMap{ "key": APIKeyArgs{...} }

type APIKeyMapOutput

type APIKeyMapOutput struct{ *pulumi.OutputState }

func (APIKeyMapOutput) ElementType

func (APIKeyMapOutput) ElementType() reflect.Type

func (APIKeyMapOutput) MapIndex

func (APIKeyMapOutput) ToAPIKeyMapOutput

func (o APIKeyMapOutput) ToAPIKeyMapOutput() APIKeyMapOutput

func (APIKeyMapOutput) ToAPIKeyMapOutputWithContext

func (o APIKeyMapOutput) ToAPIKeyMapOutputWithContext(ctx context.Context) APIKeyMapOutput

type APIKeyOutput

type APIKeyOutput struct{ *pulumi.OutputState }

func (APIKeyOutput) AccessKeySecret

func (o APIKeyOutput) AccessKeySecret() pulumi.StringOutput

Created API key.

func (APIKeyOutput) CreateTime

func (o APIKeyOutput) CreateTime() pulumi.StringOutput

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

func (APIKeyOutput) ElementType

func (APIKeyOutput) ElementType() reflect.Type

func (APIKeyOutput) ModifyTime

func (o APIKeyOutput) ModifyTime() pulumi.StringOutput

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

func (APIKeyOutput) SecretName

func (o APIKeyOutput) SecretName() pulumi.StringOutput

Custom key name.

func (APIKeyOutput) Status

func (o APIKeyOutput) Status() pulumi.StringPtrOutput

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

func (APIKeyOutput) ToAPIKeyOutput

func (o APIKeyOutput) ToAPIKeyOutput() APIKeyOutput

func (APIKeyOutput) ToAPIKeyOutputWithContext

func (o APIKeyOutput) ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput

type APIKeyState

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

func (APIKeyState) ElementType

func (APIKeyState) ElementType() reflect.Type

type APIMap

type APIMap map[string]APIInput

func (APIMap) ElementType

func (APIMap) ElementType() reflect.Type

func (APIMap) ToAPIMapOutput

func (i APIMap) ToAPIMapOutput() APIMapOutput

func (APIMap) ToAPIMapOutputWithContext

func (i APIMap) ToAPIMapOutputWithContext(ctx context.Context) APIMapOutput

type APIMapInput

type APIMapInput interface {
	pulumi.Input

	ToAPIMapOutput() APIMapOutput
	ToAPIMapOutputWithContext(context.Context) APIMapOutput
}

APIMapInput is an input type that accepts APIMap and APIMapOutput values. You can construct a concrete instance of `APIMapInput` via:

APIMap{ "key": APIArgs{...} }

type APIMapOutput

type APIMapOutput struct{ *pulumi.OutputState }

func (APIMapOutput) ElementType

func (APIMapOutput) ElementType() reflect.Type

func (APIMapOutput) MapIndex

func (o APIMapOutput) MapIndex(k pulumi.StringInput) APIOutput

func (APIMapOutput) ToAPIMapOutput

func (o APIMapOutput) ToAPIMapOutput() APIMapOutput

func (APIMapOutput) ToAPIMapOutputWithContext

func (o APIMapOutput) ToAPIMapOutputWithContext(ctx context.Context) APIMapOutput

type APIOutput

type APIOutput struct{ *pulumi.OutputState }

func (APIOutput) ApiDesc

func (o APIOutput) ApiDesc() pulumi.StringPtrOutput

Custom API description.

func (APIOutput) ApiName

func (o APIOutput) ApiName() pulumi.StringOutput

Custom API name.

func (APIOutput) AuthType

func (o APIOutput) AuthType() pulumi.StringPtrOutput

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

func (APIOutput) CreateTime

func (o APIOutput) CreateTime() pulumi.StringOutput

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

func (APIOutput) ElementType

func (APIOutput) ElementType() reflect.Type

func (APIOutput) EnableCors

func (o APIOutput) EnableCors() pulumi.BoolPtrOutput

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

func (APIOutput) PreLimit

func (o APIOutput) PreLimit() pulumi.IntOutput

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

func (APIOutput) Protocol

func (o APIOutput) Protocol() pulumi.StringPtrOutput

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

func (APIOutput) ReleaseLimit

func (o APIOutput) ReleaseLimit() pulumi.IntOutput

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

func (APIOutput) RequestConfigMethod

func (o APIOutput) RequestConfigMethod() pulumi.StringPtrOutput

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

func (APIOutput) RequestConfigPath

func (o APIOutput) RequestConfigPath() pulumi.StringOutput

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

func (APIOutput) RequestParameters

func (o APIOutput) RequestParameters() APIRequestParameterArrayOutput

Frontend request parameters.

func (APIOutput) ResponseErrorCodes

func (o APIOutput) ResponseErrorCodes() APIResponseErrorCodeArrayOutput

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

func (APIOutput) ResponseFailExample

func (o APIOutput) ResponseFailExample() pulumi.StringPtrOutput

Response failure sample of custom response configuration.

func (APIOutput) ResponseSuccessExample

func (o APIOutput) ResponseSuccessExample() pulumi.StringPtrOutput

Successful response sample of custom response configuration.

func (APIOutput) ResponseType

func (o APIOutput) ResponseType() pulumi.StringOutput

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

func (APIOutput) ServiceConfigMethod

func (o APIOutput) ServiceConfigMethod() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigMockReturnMessage

func (o APIOutput) ServiceConfigMockReturnMessage() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigPath

func (o APIOutput) ServiceConfigPath() pulumi.StringPtrOutput

API backend service path, such as /path. If `service_config_type` is `HTTP`, this parameter will be required. The frontend `request_config_path` and backend path `service_config_path` can be different.

func (APIOutput) ServiceConfigProduct

func (o APIOutput) ServiceConfigProduct() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigScfFunctionName

func (o APIOutput) ServiceConfigScfFunctionName() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigScfFunctionNamespace

func (o APIOutput) ServiceConfigScfFunctionNamespace() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigScfFunctionQualifier

func (o APIOutput) ServiceConfigScfFunctionQualifier() pulumi.StringPtrOutput

SCF function version. This parameter takes effect when `service_config_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

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

func (APIOutput) ServiceConfigUrl

func (o APIOutput) ServiceConfigUrl() pulumi.StringPtrOutput

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

func (APIOutput) ServiceConfigVpcId

func (o APIOutput) ServiceConfigVpcId() pulumi.StringPtrOutput

Unique VPC ID.

func (APIOutput) ServiceId

func (o APIOutput) ServiceId() pulumi.StringOutput

Which service this API belongs. Refer to resource `tencentcloud_api_gateway_service`.

func (APIOutput) TestLimit

func (o APIOutput) TestLimit() pulumi.IntOutput

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

func (APIOutput) ToAPIOutput

func (o APIOutput) ToAPIOutput() APIOutput

func (APIOutput) ToAPIOutputWithContext

func (o APIOutput) ToAPIOutputWithContext(ctx context.Context) APIOutput

func (APIOutput) UpdateTime

func (o APIOutput) UpdateTime() pulumi.StringOutput

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

type APIRequestParameter

type APIRequestParameter struct {
	DefaultValue *string `pulumi:"defaultValue"`
	Desc         *string `pulumi:"desc"`
	Name         string  `pulumi:"name"`
	Position     string  `pulumi:"position"`
	Required     *bool   `pulumi:"required"`
	Type         string  `pulumi:"type"`
}

type APIRequestParameterArgs

type APIRequestParameterArgs struct {
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	Desc         pulumi.StringPtrInput `pulumi:"desc"`
	Name         pulumi.StringInput    `pulumi:"name"`
	Position     pulumi.StringInput    `pulumi:"position"`
	Required     pulumi.BoolPtrInput   `pulumi:"required"`
	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

func (APIRequestParameterOutput) Desc

func (APIRequestParameterOutput) ElementType

func (APIRequestParameterOutput) ElementType() reflect.Type

func (APIRequestParameterOutput) Name

func (APIRequestParameterOutput) Position

func (APIRequestParameterOutput) Required

func (APIRequestParameterOutput) ToAPIRequestParameterOutput

func (o APIRequestParameterOutput) ToAPIRequestParameterOutput() APIRequestParameterOutput

func (APIRequestParameterOutput) ToAPIRequestParameterOutputWithContext

func (o APIRequestParameterOutput) ToAPIRequestParameterOutputWithContext(ctx context.Context) APIRequestParameterOutput

func (APIRequestParameterOutput) Type

type APIResponseErrorCode

type APIResponseErrorCode struct {
	Code          int     `pulumi:"code"`
	ConvertedCode *int    `pulumi:"convertedCode"`
	Desc          *string `pulumi:"desc"`
	Msg           string  `pulumi:"msg"`
	NeedConvert   *bool   `pulumi:"needConvert"`
}

type APIResponseErrorCodeArgs

type APIResponseErrorCodeArgs struct {
	Code          pulumi.IntInput       `pulumi:"code"`
	ConvertedCode pulumi.IntPtrInput    `pulumi:"convertedCode"`
	Desc          pulumi.StringPtrInput `pulumi:"desc"`
	Msg           pulumi.StringInput    `pulumi:"msg"`
	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

func (APIResponseErrorCodeOutput) ConvertedCode

func (APIResponseErrorCodeOutput) Desc

func (APIResponseErrorCodeOutput) ElementType

func (APIResponseErrorCodeOutput) ElementType() reflect.Type

func (APIResponseErrorCodeOutput) Msg

func (APIResponseErrorCodeOutput) NeedConvert

func (APIResponseErrorCodeOutput) ToAPIResponseErrorCodeOutput

func (o APIResponseErrorCodeOutput) ToAPIResponseErrorCodeOutput() APIResponseErrorCodeOutput

func (APIResponseErrorCodeOutput) ToAPIResponseErrorCodeOutputWithContext

func (o APIResponseErrorCodeOutput) ToAPIResponseErrorCodeOutputWithContext(ctx context.Context) APIResponseErrorCodeOutput

type APIState

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

func (APIState) ElementType

func (APIState) ElementType() reflect.Type

type CustomDomain

type CustomDomain struct {
	pulumi.CustomResourceState

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

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 `path_mappings` attribute is required.
	IsDefaultMapping pulumi.BoolPtrInput
	// Network type. Valid values: `OUTER`, `INNER`.
	NetType pulumi.StringInput
	// Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`,
	// `prepub`, and `release`.
	PathMappings pulumi.StringArrayInput
	// Protocol supported by service. Valid values: `http`, `https`, `http&https`.
	Protocol pulumi.StringInput
	// Unique service ID.
	ServiceId pulumi.StringInput
	// Custom domain name to be bound.
	SubDomain pulumi.StringInput
}

The set of arguments for constructing a CustomDomain resource.

func (CustomDomainArgs) ElementType

func (CustomDomainArgs) ElementType() reflect.Type

type CustomDomainArray

type CustomDomainArray []CustomDomainInput

func (CustomDomainArray) ElementType

func (CustomDomainArray) ElementType() reflect.Type

func (CustomDomainArray) ToCustomDomainArrayOutput

func (i CustomDomainArray) ToCustomDomainArrayOutput() CustomDomainArrayOutput

func (CustomDomainArray) ToCustomDomainArrayOutputWithContext

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

type CustomDomainArrayInput

type CustomDomainArrayInput interface {
	pulumi.Input

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

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

CustomDomainArray{ CustomDomainArgs{...} }

type CustomDomainArrayOutput

type CustomDomainArrayOutput struct{ *pulumi.OutputState }

func (CustomDomainArrayOutput) ElementType

func (CustomDomainArrayOutput) ElementType() reflect.Type

func (CustomDomainArrayOutput) Index

func (CustomDomainArrayOutput) ToCustomDomainArrayOutput

func (o CustomDomainArrayOutput) ToCustomDomainArrayOutput() CustomDomainArrayOutput

func (CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext

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

type CustomDomainInput

type CustomDomainInput interface {
	pulumi.Input

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

type CustomDomainMap

type CustomDomainMap map[string]CustomDomainInput

func (CustomDomainMap) ElementType

func (CustomDomainMap) ElementType() reflect.Type

func (CustomDomainMap) ToCustomDomainMapOutput

func (i CustomDomainMap) ToCustomDomainMapOutput() CustomDomainMapOutput

func (CustomDomainMap) ToCustomDomainMapOutputWithContext

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

type CustomDomainMapInput

type CustomDomainMapInput interface {
	pulumi.Input

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

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

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

type CustomDomainMapOutput

type CustomDomainMapOutput struct{ *pulumi.OutputState }

func (CustomDomainMapOutput) ElementType

func (CustomDomainMapOutput) ElementType() reflect.Type

func (CustomDomainMapOutput) MapIndex

func (CustomDomainMapOutput) ToCustomDomainMapOutput

func (o CustomDomainMapOutput) ToCustomDomainMapOutput() CustomDomainMapOutput

func (CustomDomainMapOutput) ToCustomDomainMapOutputWithContext

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

type CustomDomainOutput

type CustomDomainOutput struct{ *pulumi.OutputState }

func (CustomDomainOutput) CertificateId

func (o CustomDomainOutput) CertificateId() pulumi.StringOutput

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

func (CustomDomainOutput) DefaultDomain

func (o CustomDomainOutput) DefaultDomain() pulumi.StringOutput

Default domain name.

func (CustomDomainOutput) ElementType

func (CustomDomainOutput) ElementType() reflect.Type

func (CustomDomainOutput) IsDefaultMapping

func (o CustomDomainOutput) IsDefaultMapping() pulumi.BoolPtrOutput

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

func (CustomDomainOutput) NetType

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

func (CustomDomainOutput) PathMappings

func (o CustomDomainOutput) PathMappings() pulumi.StringArrayOutput

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

func (CustomDomainOutput) Protocol

func (o CustomDomainOutput) Protocol() pulumi.StringOutput

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

func (CustomDomainOutput) ServiceId

func (o CustomDomainOutput) ServiceId() pulumi.StringOutput

Unique service ID.

func (CustomDomainOutput) Status

func (o CustomDomainOutput) Status() pulumi.IntOutput

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

func (CustomDomainOutput) SubDomain

func (o CustomDomainOutput) SubDomain() pulumi.StringOutput

Custom domain name to be bound.

func (CustomDomainOutput) ToCustomDomainOutput

func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput

func (CustomDomainOutput) ToCustomDomainOutputWithContext

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

type CustomDomainState

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

func (CustomDomainState) ElementType

func (CustomDomainState) ElementType() reflect.Type

type 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"`
}

func GetIPStrategy

func GetIPStrategy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IPStrategyState, opts ...pulumi.ResourceOption) (*IPStrategy, error)

GetIPStrategy gets an existing IPStrategy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIPStrategy

func NewIPStrategy(ctx *pulumi.Context,
	name string, args *IPStrategyArgs, opts ...pulumi.ResourceOption) (*IPStrategy, error)

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

func (*IPStrategy) ElementType

func (*IPStrategy) ElementType() reflect.Type

func (*IPStrategy) ToIPStrategyOutput

func (i *IPStrategy) ToIPStrategyOutput() IPStrategyOutput

func (*IPStrategy) ToIPStrategyOutputWithContext

func (i *IPStrategy) ToIPStrategyOutputWithContext(ctx context.Context) IPStrategyOutput

type IPStrategyArgs

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

The set of arguments for constructing a IPStrategy resource.

func (IPStrategyArgs) ElementType

func (IPStrategyArgs) ElementType() reflect.Type

type IPStrategyArray

type IPStrategyArray []IPStrategyInput

func (IPStrategyArray) ElementType

func (IPStrategyArray) ElementType() reflect.Type

func (IPStrategyArray) ToIPStrategyArrayOutput

func (i IPStrategyArray) ToIPStrategyArrayOutput() IPStrategyArrayOutput

func (IPStrategyArray) ToIPStrategyArrayOutputWithContext

func (i IPStrategyArray) ToIPStrategyArrayOutputWithContext(ctx context.Context) IPStrategyArrayOutput

type IPStrategyArrayInput

type IPStrategyArrayInput interface {
	pulumi.Input

	ToIPStrategyArrayOutput() IPStrategyArrayOutput
	ToIPStrategyArrayOutputWithContext(context.Context) IPStrategyArrayOutput
}

IPStrategyArrayInput is an input type that accepts IPStrategyArray and IPStrategyArrayOutput values. You can construct a concrete instance of `IPStrategyArrayInput` via:

IPStrategyArray{ IPStrategyArgs{...} }

type IPStrategyArrayOutput

type IPStrategyArrayOutput struct{ *pulumi.OutputState }

func (IPStrategyArrayOutput) ElementType

func (IPStrategyArrayOutput) ElementType() reflect.Type

func (IPStrategyArrayOutput) Index

func (IPStrategyArrayOutput) ToIPStrategyArrayOutput

func (o IPStrategyArrayOutput) ToIPStrategyArrayOutput() IPStrategyArrayOutput

func (IPStrategyArrayOutput) ToIPStrategyArrayOutputWithContext

func (o IPStrategyArrayOutput) ToIPStrategyArrayOutputWithContext(ctx context.Context) IPStrategyArrayOutput

type IPStrategyInput

type IPStrategyInput interface {
	pulumi.Input

	ToIPStrategyOutput() IPStrategyOutput
	ToIPStrategyOutputWithContext(ctx context.Context) IPStrategyOutput
}

type IPStrategyMap

type IPStrategyMap map[string]IPStrategyInput

func (IPStrategyMap) ElementType

func (IPStrategyMap) ElementType() reflect.Type

func (IPStrategyMap) ToIPStrategyMapOutput

func (i IPStrategyMap) ToIPStrategyMapOutput() IPStrategyMapOutput

func (IPStrategyMap) ToIPStrategyMapOutputWithContext

func (i IPStrategyMap) ToIPStrategyMapOutputWithContext(ctx context.Context) IPStrategyMapOutput

type IPStrategyMapInput

type IPStrategyMapInput interface {
	pulumi.Input

	ToIPStrategyMapOutput() IPStrategyMapOutput
	ToIPStrategyMapOutputWithContext(context.Context) IPStrategyMapOutput
}

IPStrategyMapInput is an input type that accepts IPStrategyMap and IPStrategyMapOutput values. You can construct a concrete instance of `IPStrategyMapInput` via:

IPStrategyMap{ "key": IPStrategyArgs{...} }

type IPStrategyMapOutput

type IPStrategyMapOutput struct{ *pulumi.OutputState }

func (IPStrategyMapOutput) ElementType

func (IPStrategyMapOutput) ElementType() reflect.Type

func (IPStrategyMapOutput) MapIndex

func (IPStrategyMapOutput) ToIPStrategyMapOutput

func (o IPStrategyMapOutput) ToIPStrategyMapOutput() IPStrategyMapOutput

func (IPStrategyMapOutput) ToIPStrategyMapOutputWithContext

func (o IPStrategyMapOutput) ToIPStrategyMapOutputWithContext(ctx context.Context) IPStrategyMapOutput

type IPStrategyOutput

type IPStrategyOutput struct{ *pulumi.OutputState }

func (IPStrategyOutput) CreateTime

func (o IPStrategyOutput) CreateTime() pulumi.StringOutput

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

func (IPStrategyOutput) ElementType

func (IPStrategyOutput) ElementType() reflect.Type

func (IPStrategyOutput) ServiceId

func (o IPStrategyOutput) ServiceId() pulumi.StringOutput

The ID of the API gateway service.

func (IPStrategyOutput) StrategyData

func (o IPStrategyOutput) StrategyData() pulumi.StringOutput

IP address data.

func (IPStrategyOutput) StrategyId

func (o IPStrategyOutput) StrategyId() pulumi.StringOutput

IP policy ID.

func (IPStrategyOutput) StrategyName

func (o IPStrategyOutput) StrategyName() pulumi.StringOutput

User defined strategy name.

func (IPStrategyOutput) StrategyType

func (o IPStrategyOutput) StrategyType() pulumi.StringOutput

Blacklist or whitelist.

func (IPStrategyOutput) ToIPStrategyOutput

func (o IPStrategyOutput) ToIPStrategyOutput() IPStrategyOutput

func (IPStrategyOutput) ToIPStrategyOutputWithContext

func (o IPStrategyOutput) ToIPStrategyOutputWithContext(ctx context.Context) IPStrategyOutput

type IPStrategyState

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

func (IPStrategyState) ElementType

func (IPStrategyState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

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

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 {
	ApiDesc *string `pulumi:"apiDesc"`
	ApiId   *string `pulumi:"apiId"`
	ApiName *string `pulumi:"apiName"`
	Method  *string `pulumi:"method"`
	Path    *string `pulumi:"path"`
}

type ServiceApiListArgs

type ServiceApiListArgs struct {
	ApiDesc pulumi.StringPtrInput `pulumi:"apiDesc"`
	ApiId   pulumi.StringPtrInput `pulumi:"apiId"`
	ApiName pulumi.StringPtrInput `pulumi:"apiName"`
	Method  pulumi.StringPtrInput `pulumi:"method"`
	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

func (ServiceApiListOutput) ApiId

func (ServiceApiListOutput) ApiName

func (ServiceApiListOutput) ElementType

func (ServiceApiListOutput) ElementType() reflect.Type

func (ServiceApiListOutput) Method

func (ServiceApiListOutput) Path

func (ServiceApiListOutput) ToServiceApiListOutput

func (o ServiceApiListOutput) ToServiceApiListOutput() ServiceApiListOutput

func (ServiceApiListOutput) ToServiceApiListOutputWithContext

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

type ServiceArgs

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

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

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

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

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

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

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

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

type ServiceInput

type ServiceInput interface {
	pulumi.Input

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

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

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

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

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

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

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

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

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

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ApiLists

A list of APIs.

func (ServiceOutput) CreateTime

func (o ServiceOutput) CreateTime() pulumi.StringOutput

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

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ExclusiveSetName

func (o ServiceOutput) ExclusiveSetName() pulumi.StringPtrOutput

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

func (ServiceOutput) InnerHttpPort

func (o ServiceOutput) InnerHttpPort() pulumi.IntOutput

Port number for http access over private network.

func (ServiceOutput) InnerHttpsPort

func (o ServiceOutput) InnerHttpsPort() pulumi.IntOutput

Port number for https access over private network.

func (ServiceOutput) InternalSubDomain

func (o ServiceOutput) InternalSubDomain() pulumi.StringOutput

Private network access subdomain name.

func (ServiceOutput) IpVersion

func (o ServiceOutput) IpVersion() pulumi.StringPtrOutput

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

func (ServiceOutput) ModifyTime

func (o ServiceOutput) ModifyTime() pulumi.StringOutput

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

func (ServiceOutput) NetTypes

func (o ServiceOutput) NetTypes() pulumi.StringArrayOutput

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

func (ServiceOutput) OuterSubDomain

func (o ServiceOutput) OuterSubDomain() pulumi.StringOutput

Public network access subdomain name.

func (ServiceOutput) PreLimit

func (o ServiceOutput) PreLimit() pulumi.IntOutput

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

func (ServiceOutput) Protocol

func (o ServiceOutput) Protocol() pulumi.StringOutput

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

func (ServiceOutput) ReleaseLimit

func (o ServiceOutput) ReleaseLimit() pulumi.IntOutput

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

func (ServiceOutput) ServiceDesc

func (o ServiceOutput) ServiceDesc() pulumi.StringPtrOutput

Custom service description.

func (ServiceOutput) ServiceName

func (o ServiceOutput) ServiceName() pulumi.StringOutput

Custom service name.

func (ServiceOutput) TestLimit

func (o ServiceOutput) TestLimit() pulumi.IntOutput

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

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

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

func (ServiceOutput) UsagePlanLists

A list of attach usage plans.

type ServiceRelease

type ServiceRelease struct {
	pulumi.CustomResourceState

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

func GetServiceRelease

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

GetServiceRelease gets an existing ServiceRelease resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceRelease

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

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

func (*ServiceRelease) ElementType

func (*ServiceRelease) ElementType() reflect.Type

func (*ServiceRelease) ToServiceReleaseOutput

func (i *ServiceRelease) ToServiceReleaseOutput() ServiceReleaseOutput

func (*ServiceRelease) ToServiceReleaseOutputWithContext

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

type ServiceReleaseArgs

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

The set of arguments for constructing a ServiceRelease resource.

func (ServiceReleaseArgs) ElementType

func (ServiceReleaseArgs) ElementType() reflect.Type

type ServiceReleaseArray

type ServiceReleaseArray []ServiceReleaseInput

func (ServiceReleaseArray) ElementType

func (ServiceReleaseArray) ElementType() reflect.Type

func (ServiceReleaseArray) ToServiceReleaseArrayOutput

func (i ServiceReleaseArray) ToServiceReleaseArrayOutput() ServiceReleaseArrayOutput

func (ServiceReleaseArray) ToServiceReleaseArrayOutputWithContext

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

type ServiceReleaseArrayInput

type ServiceReleaseArrayInput interface {
	pulumi.Input

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

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

ServiceReleaseArray{ ServiceReleaseArgs{...} }

type ServiceReleaseArrayOutput

type ServiceReleaseArrayOutput struct{ *pulumi.OutputState }

func (ServiceReleaseArrayOutput) ElementType

func (ServiceReleaseArrayOutput) ElementType() reflect.Type

func (ServiceReleaseArrayOutput) Index

func (ServiceReleaseArrayOutput) ToServiceReleaseArrayOutput

func (o ServiceReleaseArrayOutput) ToServiceReleaseArrayOutput() ServiceReleaseArrayOutput

func (ServiceReleaseArrayOutput) ToServiceReleaseArrayOutputWithContext

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

type ServiceReleaseInput

type ServiceReleaseInput interface {
	pulumi.Input

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

type ServiceReleaseMap

type ServiceReleaseMap map[string]ServiceReleaseInput

func (ServiceReleaseMap) ElementType

func (ServiceReleaseMap) ElementType() reflect.Type

func (ServiceReleaseMap) ToServiceReleaseMapOutput

func (i ServiceReleaseMap) ToServiceReleaseMapOutput() ServiceReleaseMapOutput

func (ServiceReleaseMap) ToServiceReleaseMapOutputWithContext

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

type ServiceReleaseMapInput

type ServiceReleaseMapInput interface {
	pulumi.Input

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

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

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

type ServiceReleaseMapOutput

type ServiceReleaseMapOutput struct{ *pulumi.OutputState }

func (ServiceReleaseMapOutput) ElementType

func (ServiceReleaseMapOutput) ElementType() reflect.Type

func (ServiceReleaseMapOutput) MapIndex

func (ServiceReleaseMapOutput) ToServiceReleaseMapOutput

func (o ServiceReleaseMapOutput) ToServiceReleaseMapOutput() ServiceReleaseMapOutput

func (ServiceReleaseMapOutput) ToServiceReleaseMapOutputWithContext

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

type ServiceReleaseOutput

type ServiceReleaseOutput struct{ *pulumi.OutputState }

func (ServiceReleaseOutput) ElementType

func (ServiceReleaseOutput) ElementType() reflect.Type

func (ServiceReleaseOutput) EnvironmentName

func (o ServiceReleaseOutput) EnvironmentName() pulumi.StringOutput

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

func (ServiceReleaseOutput) ReleaseDesc

func (o ServiceReleaseOutput) ReleaseDesc() pulumi.StringOutput

This release description of the API gateway service.

func (ServiceReleaseOutput) ReleaseVersion

func (o ServiceReleaseOutput) ReleaseVersion() pulumi.StringOutput

The release version.

func (ServiceReleaseOutput) ServiceId

ID of API gateway service.

func (ServiceReleaseOutput) ToServiceReleaseOutput

func (o ServiceReleaseOutput) ToServiceReleaseOutput() ServiceReleaseOutput

func (ServiceReleaseOutput) ToServiceReleaseOutputWithContext

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

type ServiceReleaseState

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

func (ServiceReleaseState) ElementType

func (ServiceReleaseState) ElementType() reflect.Type

type ServiceState

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

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceUsagePlanList

type ServiceUsagePlanList struct {
	ApiId         *string `pulumi:"apiId"`
	BindType      *string `pulumi:"bindType"`
	UsagePlanId   *string `pulumi:"usagePlanId"`
	UsagePlanName *string `pulumi:"usagePlanName"`
}

type ServiceUsagePlanListArgs

type ServiceUsagePlanListArgs struct {
	ApiId         pulumi.StringPtrInput `pulumi:"apiId"`
	BindType      pulumi.StringPtrInput `pulumi:"bindType"`
	UsagePlanId   pulumi.StringPtrInput `pulumi:"usagePlanId"`
	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

func (ServiceUsagePlanListOutput) BindType

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

func (ServiceUsagePlanListOutput) UsagePlanName

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"`
}

func GetStrategyAttachment

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

GetStrategyAttachment gets an existing StrategyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStrategyAttachment

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

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

func (*StrategyAttachment) ElementType

func (*StrategyAttachment) ElementType() reflect.Type

func (*StrategyAttachment) ToStrategyAttachmentOutput

func (i *StrategyAttachment) ToStrategyAttachmentOutput() StrategyAttachmentOutput

func (*StrategyAttachment) ToStrategyAttachmentOutputWithContext

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

type StrategyAttachmentArgs

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

The set of arguments for constructing a StrategyAttachment resource.

func (StrategyAttachmentArgs) ElementType

func (StrategyAttachmentArgs) ElementType() reflect.Type

type StrategyAttachmentArray

type StrategyAttachmentArray []StrategyAttachmentInput

func (StrategyAttachmentArray) ElementType

func (StrategyAttachmentArray) ElementType() reflect.Type

func (StrategyAttachmentArray) ToStrategyAttachmentArrayOutput

func (i StrategyAttachmentArray) ToStrategyAttachmentArrayOutput() StrategyAttachmentArrayOutput

func (StrategyAttachmentArray) ToStrategyAttachmentArrayOutputWithContext

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

type StrategyAttachmentArrayInput

type StrategyAttachmentArrayInput interface {
	pulumi.Input

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

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

StrategyAttachmentArray{ StrategyAttachmentArgs{...} }

type StrategyAttachmentArrayOutput

type StrategyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentArrayOutput) ElementType

func (StrategyAttachmentArrayOutput) Index

func (StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutput

func (o StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutput() StrategyAttachmentArrayOutput

func (StrategyAttachmentArrayOutput) ToStrategyAttachmentArrayOutputWithContext

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

type StrategyAttachmentInput

type StrategyAttachmentInput interface {
	pulumi.Input

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

type StrategyAttachmentMap

type StrategyAttachmentMap map[string]StrategyAttachmentInput

func (StrategyAttachmentMap) ElementType

func (StrategyAttachmentMap) ElementType() reflect.Type

func (StrategyAttachmentMap) ToStrategyAttachmentMapOutput

func (i StrategyAttachmentMap) ToStrategyAttachmentMapOutput() StrategyAttachmentMapOutput

func (StrategyAttachmentMap) ToStrategyAttachmentMapOutputWithContext

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

type StrategyAttachmentMapInput

type StrategyAttachmentMapInput interface {
	pulumi.Input

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

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

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

type StrategyAttachmentMapOutput

type StrategyAttachmentMapOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentMapOutput) ElementType

func (StrategyAttachmentMapOutput) MapIndex

func (StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutput

func (o StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutput() StrategyAttachmentMapOutput

func (StrategyAttachmentMapOutput) ToStrategyAttachmentMapOutputWithContext

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

type StrategyAttachmentOutput

type StrategyAttachmentOutput struct{ *pulumi.OutputState }

func (StrategyAttachmentOutput) BindApiId

The API that needs to be bound.

func (StrategyAttachmentOutput) ElementType

func (StrategyAttachmentOutput) ElementType() reflect.Type

func (StrategyAttachmentOutput) EnvironmentName

func (o StrategyAttachmentOutput) EnvironmentName() pulumi.StringOutput

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

func (StrategyAttachmentOutput) ServiceId

The ID of the API gateway service.

func (StrategyAttachmentOutput) StrategyId

The ID of the API gateway strategy.

func (StrategyAttachmentOutput) ToStrategyAttachmentOutput

func (o StrategyAttachmentOutput) ToStrategyAttachmentOutput() StrategyAttachmentOutput

func (StrategyAttachmentOutput) ToStrategyAttachmentOutputWithContext

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

type StrategyAttachmentState

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

func (StrategyAttachmentState) ElementType

func (StrategyAttachmentState) ElementType() reflect.Type

type UsagePlan

type UsagePlan struct {
	pulumi.CustomResourceState

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

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 {
	ApiId       *string `pulumi:"apiId"`
	ApiName     *string `pulumi:"apiName"`
	CreateTime  *string `pulumi:"createTime"`
	Environment *string `pulumi:"environment"`
	Method      *string `pulumi:"method"`
	ModifyTime  *string `pulumi:"modifyTime"`
	Path        *string `pulumi:"path"`
	ServiceId   *string `pulumi:"serviceId"`
	ServiceName *string `pulumi:"serviceName"`
}

type UsagePlanAttachListArgs

type UsagePlanAttachListArgs struct {
	ApiId       pulumi.StringPtrInput `pulumi:"apiId"`
	ApiName     pulumi.StringPtrInput `pulumi:"apiName"`
	CreateTime  pulumi.StringPtrInput `pulumi:"createTime"`
	Environment pulumi.StringPtrInput `pulumi:"environment"`
	Method      pulumi.StringPtrInput `pulumi:"method"`
	ModifyTime  pulumi.StringPtrInput `pulumi:"modifyTime"`
	Path        pulumi.StringPtrInput `pulumi:"path"`
	ServiceId   pulumi.StringPtrInput `pulumi:"serviceId"`
	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

func (UsagePlanAttachListOutput) ApiName

func (UsagePlanAttachListOutput) CreateTime

func (UsagePlanAttachListOutput) ElementType

func (UsagePlanAttachListOutput) ElementType() reflect.Type

func (UsagePlanAttachListOutput) Environment

func (UsagePlanAttachListOutput) Method

func (UsagePlanAttachListOutput) ModifyTime

func (UsagePlanAttachListOutput) Path

func (UsagePlanAttachListOutput) ServiceId

func (UsagePlanAttachListOutput) ServiceName

func (UsagePlanAttachListOutput) ToUsagePlanAttachListOutput

func (o UsagePlanAttachListOutput) ToUsagePlanAttachListOutput() UsagePlanAttachListOutput

func (UsagePlanAttachListOutput) ToUsagePlanAttachListOutputWithContext

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

type UsagePlanAttachment

type UsagePlanAttachment struct {
	pulumi.CustomResourceState

	// ID of the API. This parameter will be required when `bind_type` 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"`
}

func GetUsagePlanAttachment

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

GetUsagePlanAttachment gets an existing UsagePlanAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUsagePlanAttachment

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

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

func (*UsagePlanAttachment) ElementType

func (*UsagePlanAttachment) ElementType() reflect.Type

func (*UsagePlanAttachment) ToUsagePlanAttachmentOutput

func (i *UsagePlanAttachment) ToUsagePlanAttachmentOutput() UsagePlanAttachmentOutput

func (*UsagePlanAttachment) ToUsagePlanAttachmentOutputWithContext

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

type UsagePlanAttachmentArgs

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

The set of arguments for constructing a UsagePlanAttachment resource.

func (UsagePlanAttachmentArgs) ElementType

func (UsagePlanAttachmentArgs) ElementType() reflect.Type

type UsagePlanAttachmentArray

type UsagePlanAttachmentArray []UsagePlanAttachmentInput

func (UsagePlanAttachmentArray) ElementType

func (UsagePlanAttachmentArray) ElementType() reflect.Type

func (UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutput

func (i UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutput() UsagePlanAttachmentArrayOutput

func (UsagePlanAttachmentArray) ToUsagePlanAttachmentArrayOutputWithContext

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

type UsagePlanAttachmentArrayInput

type UsagePlanAttachmentArrayInput interface {
	pulumi.Input

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

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

UsagePlanAttachmentArray{ UsagePlanAttachmentArgs{...} }

type UsagePlanAttachmentArrayOutput

type UsagePlanAttachmentArrayOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentArrayOutput) ElementType

func (UsagePlanAttachmentArrayOutput) Index

func (UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutput

func (o UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutput() UsagePlanAttachmentArrayOutput

func (UsagePlanAttachmentArrayOutput) ToUsagePlanAttachmentArrayOutputWithContext

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

type UsagePlanAttachmentInput

type UsagePlanAttachmentInput interface {
	pulumi.Input

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

type UsagePlanAttachmentMap

type UsagePlanAttachmentMap map[string]UsagePlanAttachmentInput

func (UsagePlanAttachmentMap) ElementType

func (UsagePlanAttachmentMap) ElementType() reflect.Type

func (UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutput

func (i UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutput() UsagePlanAttachmentMapOutput

func (UsagePlanAttachmentMap) ToUsagePlanAttachmentMapOutputWithContext

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

type UsagePlanAttachmentMapInput

type UsagePlanAttachmentMapInput interface {
	pulumi.Input

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

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

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

type UsagePlanAttachmentMapOutput

type UsagePlanAttachmentMapOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentMapOutput) ElementType

func (UsagePlanAttachmentMapOutput) MapIndex

func (UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutput

func (o UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutput() UsagePlanAttachmentMapOutput

func (UsagePlanAttachmentMapOutput) ToUsagePlanAttachmentMapOutputWithContext

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

type UsagePlanAttachmentOutput

type UsagePlanAttachmentOutput struct{ *pulumi.OutputState }

func (UsagePlanAttachmentOutput) ApiId

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

func (UsagePlanAttachmentOutput) BindType

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

func (UsagePlanAttachmentOutput) ElementType

func (UsagePlanAttachmentOutput) ElementType() reflect.Type

func (UsagePlanAttachmentOutput) Environment

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

func (UsagePlanAttachmentOutput) ServiceId

ID of the service.

func (UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutput

func (o UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutput() UsagePlanAttachmentOutput

func (UsagePlanAttachmentOutput) ToUsagePlanAttachmentOutputWithContext

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

func (UsagePlanAttachmentOutput) UsagePlanId

ID of the usage plan.

type UsagePlanAttachmentState

type UsagePlanAttachmentState struct {
	// ID of the API. This parameter will be required when `bind_type` 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