apigateway

package
v1.81.83 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVICE_ERR_CODE = "ResourceNotFound.InvalidService"
	API_ERR_CODE     = "ResourceNotFound.InvalidApi"
	OSS_EXCEPTION    = "InternalError.OssException"
)
View Source
const (
	QUOTA     = -1
	QUOTA_MAX = 5000
)
View Source
const (
	STRATEGY     = -1
	STRATEGY_MAX = 5000
)
View Source
const (
	API_GATEWAY_KEY_ENABLED  = "on"
	API_GATEWAY_KEY_DISABLED = "off"
)
View Source
const (
	API_GATEWAY_UPSTREAM_SCHEME_HTTP  = "HTTP"
	API_GATEWAY_UPSTREAM_SCHEME_HTTPS = "HTTPS"
	API_GATEWAY_UPSTREAM_SCHEME_gRPC  = "gRPC"
	API_GATEWAY_UPSTREAM_SCHEME_gPRCs = "gRPCs"
)
View Source
const (
	API_GATEWAY_UPSTREAM_TYPE_IP  = "IP_PORT"
	API_GATEWAY_UPSTREAM_TYPE_K8S = "K8S"
)
View Source
const (
	API_GATEWAY_KEY_TYPE_AUTO   = "auto"
	API_GATEWAY_KEY_TYPE_MANUAL = "manual"
)
View Source
const (
	API_GATEWAY_TYPE_SERVICE = "SERVICE"
	API_GATEWAY_TYPE_API     = "API"
)
View Source
const (
	API_GATEWAY_NET_TYPE_INNER = "INNER"
	API_GATEWAY_NET_TYPE_OUTER = "OUTER"
)
View Source
const (
	API_GATEWAY_NET_IP_VERSION4 = "IPv4"
	API_GATEWAY_NET_IP_VERSION6 = "IPv6"
)
View Source
const (
	API_GATEWAY_SERVICE_PROTOCOL_HTTP  = "http"
	API_GATEWAY_SERVICE_PROTOCOL_HTTPS = "https"
	API_GATEWAY_SERVICE_PROTOCOL_ALL   = "http&https"
)
View Source
const (
	API_GATEWAY_SERVICE_ENV_TEST    = "test"
	API_GATEWAY_SERVICE_ENV_RELEASE = "release"
	API_GATEWAY_SERVICE_ENV_PREPUB  = "prepub"
)
View Source
const (
	API_GATEWAY_SERVICE_TYPE_WEBSOCKET = "WEBSOCKET"
	API_GATEWAY_SERVICE_TYPE_HTTP      = "HTTP"
	API_GATEWAY_SERVICE_TYPE_SCF       = "SCF"
	API_GATEWAY_SERVICE_TYPE_TSF       = "TSF"
	API_GATEWAY_SERVICE_TYPE_MOCK      = "MOCK"
	API_GATEWAY_SERVICE_TYPE_TARGET    = "TARGET"
	API_GATEWAY_SERVICE_TYPE_COS       = "COS"
)
View Source
const (
	API_GATEWAY_AUTH_TYPE_SECRET = "SECRET"
	API_GATEWAY_AUTH_TYPE_NONE   = "NONE"
	API_GATEWAY_AUTH_TYPE_OAUTH  = "OAUTH"
	API_GATEWAY_AUTH_TYPE_APP    = "APP"
)
View Source
const (
	API_GATEWAY_API_TYPE_NORMAL = "NORMAL"
	API_GATEWAY_API_TYPE_TSF    = "TSF"
)
View Source
const (
	API_GATEWAY_API_PROTOCOL_HTTP      = "HTTP"
	API_GATEWAY_API_PROTOCOL_WEBSOCKET = "WEBSOCKET"
)
View Source
const (
	CERTIFI_CATE_ID_EXPIRED       = "FailedOperation.CertificateIdExpired"
	CERTIFICATE_ID_UNDER_VERIFY   = "FailedOperation.CertificateIdUnderVerify"
	DOMAIN_NEED_BEIAN             = "FailedOperation.DomainNeedBeian"
	EXCEEDED_DEFINE_MAPPING_LIMIT = "LimitExceeded.ExceededDefineMappingLimit"
	DOMAIN_RESOLVE_ERROR          = "FailedOperation.DomainResolveError"
	DOMAIN_BIND_SERVICE           = "FailedOperation.DomainAlreadyBindService"
)
View Source
const (
	API_GATEWAY_API_DOC_STATUS_PROCESSING = "PROCESSING"
	API_GATEWAY_API_DOC_STATUS_COMPLETED  = "COMPLETED"
	API_GATEWAY_API_DOC_STATUS_FAIL       = "FAIL"
)
View Source
const (
	IMPORT_OPEN_API_ENCODE_TYPE_YAML = "YAML"
	IMPORT_OPEN_API_ENCODE_TYPE_JSON = "JSON"
)

Variables

View Source
var API_GATEWAY_API_RESPONSE_TYPES = []string{"HTML", "JSON", "TEXT", "BINARY", "XML", ""}
View Source
var API_GATEWAY_KEY_INT2STRS = map[int64]string{
	1: API_GATEWAY_KEY_ENABLED,
	0: API_GATEWAY_KEY_DISABLED,
}
View Source
var API_GATEWAY_KEY_STR2INTS = map[string]int64{
	API_GATEWAY_KEY_ENABLED:  1,
	API_GATEWAY_KEY_DISABLED: 0,
}

Functions

func DataSourceTencentCloudAPIGatewayAPIApps

func DataSourceTencentCloudAPIGatewayAPIApps() *schema.Resource

func DataSourceTencentCloudAPIGatewayAPIDocs

func DataSourceTencentCloudAPIGatewayAPIDocs() *schema.Resource

func DataSourceTencentCloudAPIGatewayAPIKeys

func DataSourceTencentCloudAPIGatewayAPIKeys() *schema.Resource

func DataSourceTencentCloudAPIGatewayAPIs

func DataSourceTencentCloudAPIGatewayAPIs() *schema.Resource

func DataSourceTencentCloudAPIGatewayApiAppService

func DataSourceTencentCloudAPIGatewayApiAppService() *schema.Resource

func DataSourceTencentCloudAPIGatewayApiUsagePlans

func DataSourceTencentCloudAPIGatewayApiUsagePlans() *schema.Resource

func DataSourceTencentCloudAPIGatewayCustomerDomains

func DataSourceTencentCloudAPIGatewayCustomerDomains() *schema.Resource

func DataSourceTencentCloudAPIGatewayIpStrategy

func DataSourceTencentCloudAPIGatewayIpStrategy() *schema.Resource

func DataSourceTencentCloudAPIGatewayPlugins

func DataSourceTencentCloudAPIGatewayPlugins() *schema.Resource

func DataSourceTencentCloudAPIGatewayServices

func DataSourceTencentCloudAPIGatewayServices() *schema.Resource

func DataSourceTencentCloudAPIGatewayThrottlingApis

func DataSourceTencentCloudAPIGatewayThrottlingApis() *schema.Resource

func DataSourceTencentCloudAPIGatewayThrottlingServices

func DataSourceTencentCloudAPIGatewayThrottlingServices() *schema.Resource

func DataSourceTencentCloudAPIGatewayUpstreams

func DataSourceTencentCloudAPIGatewayUpstreams() *schema.Resource

func DataSourceTencentCloudAPIGatewayUsagePlanEnvironments

func DataSourceTencentCloudAPIGatewayUsagePlanEnvironments() *schema.Resource

func DataSourceTencentCloudAPIGatewayUsagePlans

func DataSourceTencentCloudAPIGatewayUsagePlans() *schema.Resource

func DataSourceTencentCloudApiGatewayApiAppApi

func DataSourceTencentCloudApiGatewayApiAppApi() *schema.Resource

func DataSourceTencentCloudApiGatewayApiPlugins

func DataSourceTencentCloudApiGatewayApiPlugins() *schema.Resource

func DataSourceTencentCloudApiGatewayBindApiAppsStatus

func DataSourceTencentCloudApiGatewayBindApiAppsStatus() *schema.Resource

func DataSourceTencentCloudApiGatewayServiceEnvironmentList

func DataSourceTencentCloudApiGatewayServiceEnvironmentList() *schema.Resource

func DataSourceTencentCloudApiGatewayServiceReleaseVersions

func DataSourceTencentCloudApiGatewayServiceReleaseVersions() *schema.Resource

func ResourceTencentCloudAPIGatewayAPI

func ResourceTencentCloudAPIGatewayAPI() *schema.Resource

func ResourceTencentCloudAPIGatewayAPIApp

func ResourceTencentCloudAPIGatewayAPIApp() *schema.Resource

func ResourceTencentCloudAPIGatewayAPIDoc

func ResourceTencentCloudAPIGatewayAPIDoc() *schema.Resource

func ResourceTencentCloudAPIGatewayAPIKey

func ResourceTencentCloudAPIGatewayAPIKey() *schema.Resource

func ResourceTencentCloudAPIGatewayAPIKeyAttachment

func ResourceTencentCloudAPIGatewayAPIKeyAttachment() *schema.Resource

func ResourceTencentCloudAPIGatewayApiAppAttachment

func ResourceTencentCloudAPIGatewayApiAppAttachment() *schema.Resource

func ResourceTencentCloudAPIGatewayCustomDomain

func ResourceTencentCloudAPIGatewayCustomDomain() *schema.Resource

func ResourceTencentCloudAPIGatewayIPStrategy

func ResourceTencentCloudAPIGatewayIPStrategy() *schema.Resource

func ResourceTencentCloudAPIGatewayPlugin

func ResourceTencentCloudAPIGatewayPlugin() *schema.Resource

func ResourceTencentCloudAPIGatewayPluginAttachment

func ResourceTencentCloudAPIGatewayPluginAttachment() *schema.Resource

func ResourceTencentCloudAPIGatewayService

func ResourceTencentCloudAPIGatewayService() *schema.Resource

func ResourceTencentCloudAPIGatewayServiceRelease

func ResourceTencentCloudAPIGatewayServiceRelease() *schema.Resource

func ResourceTencentCloudAPIGatewayStrategyAttachment

func ResourceTencentCloudAPIGatewayStrategyAttachment() *schema.Resource

func ResourceTencentCloudAPIGatewayUpdateService added in v1.81.73

func ResourceTencentCloudAPIGatewayUpdateService() *schema.Resource

func ResourceTencentCloudAPIGatewayUpstream

func ResourceTencentCloudAPIGatewayUpstream() *schema.Resource

func ResourceTencentCloudAPIGatewayUsagePlan

func ResourceTencentCloudAPIGatewayUsagePlan() *schema.Resource

func ResourceTencentCloudAPIGatewayUsagePlanAttachment

func ResourceTencentCloudAPIGatewayUsagePlanAttachment() *schema.Resource

func ResourceTencentCloudApiGatewayImportOpenApi

func ResourceTencentCloudApiGatewayImportOpenApi() *schema.Resource

func ResourceTencentCloudApiGatewayUpdateApiAppKey

func ResourceTencentCloudApiGatewayUpdateApiAppKey() *schema.Resource

Types

type APIGatewayService

type APIGatewayService struct {
	// contains filtered or unexported fields
}

func NewAPIGatewayService

func NewAPIGatewayService(client *connectivity.TencentCloudClient) APIGatewayService

func (*APIGatewayService) BindEnvironment

func (me *APIGatewayService) BindEnvironment(ctx context.Context,
	serviceId, environment, bindType, usagePlanId, apiId string) (errRet error)

func (*APIGatewayService) BindSecretId

func (me *APIGatewayService) BindSecretId(ctx context.Context,
	usagePlanId string, apiKeyId string) (errRet error)

func (*APIGatewayService) BindSecretIds

func (me *APIGatewayService) BindSecretIds(ctx context.Context, usagePlanId string, apiKeyIds []string) (errRet error)

func (*APIGatewayService) BindSubDomainService

func (me *APIGatewayService) BindSubDomainService(ctx context.Context,
	serviceId, subDomain, protocol, netType, defaultDomain string, isDefaultMapping bool, certificateId string, pathMappings []string, isForcedHttps bool) (errRet error)

func (*APIGatewayService) CreateApiKey

func (me *APIGatewayService) CreateApiKey(ctx context.Context, secretName string) (accessKeyId string, errRet error)

func (*APIGatewayService) CreateIPStrategy

func (me *APIGatewayService) CreateIPStrategy(ctx context.Context,
	serviceId, strategyName, strategyType, strategyData string) (strategyId string, errRet error)

func (*APIGatewayService) CreateService

func (me *APIGatewayService) CreateService(ctx context.Context,
	serviceName,
	protocol,
	serviceDesc,
	exclusiveSetName,
	ipVersion,
	setServerName,
	appidType,
	instanceId,
	vpcId string,
	netTypes []string) (serviceId string, errRet error)

func (*APIGatewayService) CreateStrategyAttachment

func (me *APIGatewayService) CreateStrategyAttachment(ctx context.Context,
	serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)

func (*APIGatewayService) CreateUsagePlan

func (me *APIGatewayService) CreateUsagePlan(ctx context.Context, usagePlanName string, usagePlanDesc *string,
	maxRequestNum, maxRequestNumPreSec int64) (usagePlanId string, errRet error)

func (*APIGatewayService) DeleteAPIGatewayAPIAppById

func (me *APIGatewayService) DeleteAPIGatewayAPIAppById(ctx context.Context, apiAppId string) (errRet error)

func (*APIGatewayService) DeleteAPIGatewayAPIDocById

func (me *APIGatewayService) DeleteAPIGatewayAPIDocById(ctx context.Context, apiDocId string) (errRet error)

func (*APIGatewayService) DeleteAPIGatewayApiAppAttachmentById

func (me *APIGatewayService) DeleteAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (errRet error)

func (*APIGatewayService) DeleteApi

func (me *APIGatewayService) DeleteApi(ctx context.Context, serviceId,
	apiId string) (errRet error)

func (*APIGatewayService) DeleteApiGatewayImportOpenApiById

func (me *APIGatewayService) DeleteApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (errRet error)

func (*APIGatewayService) DeleteApiGatewayPluginAttachmentById

func (me *APIGatewayService) DeleteApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, apiId string) (errRet error)

func (*APIGatewayService) DeleteApiGatewayPluginById

func (me *APIGatewayService) DeleteApiGatewayPluginById(ctx context.Context, pluginId string) (errRet error)

func (*APIGatewayService) DeleteApiKey

func (me *APIGatewayService) DeleteApiKey(ctx context.Context, accessKeyId string) (errRet error)

func (*APIGatewayService) DeleteApigatewayUpstreamById

func (me *APIGatewayService) DeleteApigatewayUpstreamById(ctx context.Context, upstreamId string) (errRet error)

func (*APIGatewayService) DeleteIPStrategy

func (me *APIGatewayService) DeleteIPStrategy(ctx context.Context, serviceId, strategyId string) (errRet error)

func (*APIGatewayService) DeleteService

func (me *APIGatewayService) DeleteService(ctx context.Context,
	serviceId string) (errRet error)

func (*APIGatewayService) DeleteStrategyAttachment

func (me *APIGatewayService) DeleteStrategyAttachment(ctx context.Context,
	serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)

func (*APIGatewayService) DeleteUsagePlan

func (me *APIGatewayService) DeleteUsagePlan(ctx context.Context, usagePlanId string) (errRet error)

func (*APIGatewayService) DescribeAPIGatewayApiAppAttachmentById

func (me *APIGatewayService) DescribeAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (apiAppAttachment *apigateway.ApiAppApiInfo, errRet error)

func (*APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter

func (me *APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter(ctx context.Context, param map[string]interface{}) (apiAppService *apigateway.DescribeServiceForApiAppResponseParams, errRet error)

func (*APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter

func (me *APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter(ctx context.Context, param map[string]interface{}) (ApiUsagePlan []*apigateway.ApiUsagePlan, errRet error)

func (*APIGatewayService) DescribeAPIGatewayPluginByFilter

func (me *APIGatewayService) DescribeAPIGatewayPluginByFilter(ctx context.Context, param map[string]interface{}) (plugin []*apigateway.AvailableApiInfo, errRet error)

func (*APIGatewayService) DescribeAPIGatewayUpstreamByFilter

func (me *APIGatewayService) DescribeAPIGatewayUpstreamByFilter(ctx context.Context, param map[string]interface{}) (upstream []*apigateway.BindApiInfo, errRet error)

func (*APIGatewayService) DescribeApi

func (me *APIGatewayService) DescribeApi(ctx context.Context,
	serviceId,
	apiId string) (info apigateway.ApiInfo, has bool, errRet error)

func (*APIGatewayService) DescribeApiApp

func (me *APIGatewayService) DescribeApiApp(ctx context.Context, apiAppId string) (apiDoc *apigateway.ApiAppInfos, errRet error)

func (*APIGatewayService) DescribeApiAppList

func (me *APIGatewayService) DescribeApiAppList(ctx context.Context, apiAppId, apiAppName string) (apiApp []*apigateway.ApiAppInfo, errRet error)

func (*APIGatewayService) DescribeApiDoc

func (me *APIGatewayService) DescribeApiDoc(ctx context.Context, apiDocId string) (apiDoc *apigateway.APIDocInfo, errRet error)

func (*APIGatewayService) DescribeApiDocList

func (me *APIGatewayService) DescribeApiDocList(ctx context.Context) (apiDoc []*apigateway.APIDoc, errRet error)

func (*APIGatewayService) DescribeApiEnvironmentStrategyList

func (me *APIGatewayService) DescribeApiEnvironmentStrategyList(ctx context.Context,
	serviceId string, environmentNames []string, apiId string) (environmentApiList []*apigateway.ApiEnvironmentStrategy, errRet error)

func (*APIGatewayService) DescribeApiGatewayApiAppApiByFilter

func (me *APIGatewayService) DescribeApiGatewayApiAppApiByFilter(ctx context.Context, param map[string]interface{}) (apiAppApi *apigateway.ApiInfo, errRet error)

func (*APIGatewayService) DescribeApiGatewayApiPluginsByFilter

func (me *APIGatewayService) DescribeApiGatewayApiPluginsByFilter(ctx context.Context, param map[string]interface{}) (ApiPlugins []*apigateway.AttachedPluginInfo, errRet error)

func (*APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter

func (me *APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter(ctx context.Context, param map[string]interface{}) (bindApiAppsStatus []*apigateway.ApiAppApiInfo, errRet error)

func (*APIGatewayService) DescribeApiGatewayImportOpenApiById

func (me *APIGatewayService) DescribeApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (importOpenApi *apigateway.ApiInfo, errRet error)

func (*APIGatewayService) DescribeApiGatewayPluginAttachmentById

func (me *APIGatewayService) DescribeApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, apiId string) (pluginAttachment *apigateway.AttachedApiInfo, errRet error)

func (*APIGatewayService) DescribeApiGatewayPluginById

func (me *APIGatewayService) DescribeApiGatewayPluginById(ctx context.Context, pluginId string) (plugin *apigateway.Plugin, errRet error)

func (*APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter

func (me *APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter(ctx context.Context, param map[string]interface{}) (environmentList []*apigateway.Environment, errRet error)

func (*APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter

func (me *APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter(ctx context.Context, param map[string]interface{}) (versionList []*apigateway.DescribeServiceReleaseVersionResultVersionListInfo, errRet error)

func (*APIGatewayService) DescribeApiKey

func (me *APIGatewayService) DescribeApiKey(ctx context.Context,
	accessKeyId string) (apiKey *apigateway.ApiKey, has bool, errRet error)

func (*APIGatewayService) DescribeApiKeysStatus

func (me *APIGatewayService) DescribeApiKeysStatus(ctx context.Context, secretName, accessKeyId string) (apiKeySet []*apigateway.ApiKey, errRet error)

func (*APIGatewayService) DescribeApiUsagePlan

func (me *APIGatewayService) DescribeApiUsagePlan(ctx context.Context,
	serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)

func (*APIGatewayService) DescribeApiUsagePlanSecretIds

func (me *APIGatewayService) DescribeApiUsagePlanSecretIds(ctx context.Context,
	usagePlanId string) (list []*apigateway.UsagePlanBindSecret, errRet error)

func (*APIGatewayService) DescribeApigatewayUpstreamById

func (me *APIGatewayService) DescribeApigatewayUpstreamById(ctx context.Context, upstreamId string) (upstreamInfo *apigateway.UpstreamInfo, errRet error)

func (*APIGatewayService) DescribeApisStatus

func (me *APIGatewayService) DescribeApisStatus(ctx context.Context,
	serviceId, apiName, apiId string) (infos []*apigateway.DescribeApisStatusResultApiIdStatusSetInfo, errRet error)

func (*APIGatewayService) DescribeIPStrategies

func (me *APIGatewayService) DescribeIPStrategies(ctx context.Context, serviceId, strategyId, environmentName string) (ipStrategies *apigateway.IPStrategy, errRet error)

func (*APIGatewayService) DescribeIPStrategyHas

func (me *APIGatewayService) DescribeIPStrategyHas(ctx context.Context,
	serviceId, strategyId string) (has bool, errRet error)

func (*APIGatewayService) DescribeIPStrategyStatus

func (me *APIGatewayService) DescribeIPStrategyStatus(ctx context.Context, serviceId,
	strategyId string) (ipStrategies *apigateway.IPStrategy, has bool, errRet error)

func (*APIGatewayService) DescribeIPStrategysStatus

func (me *APIGatewayService) DescribeIPStrategysStatus(ctx context.Context,
	serviceId, strategyName string) (infos []*apigateway.IPStrategy, errRet error)

func (*APIGatewayService) DescribeService

func (me *APIGatewayService) DescribeService(ctx context.Context, serviceId string) (info apigateway.DescribeServiceResponse, has bool, errRet error)

func (*APIGatewayService) DescribeServiceEnvironmentReleaseHistory

func (me *APIGatewayService) DescribeServiceEnvironmentReleaseHistory(ctx context.Context,
	serviceId, envName string) (versionList []*apigateway.ServiceReleaseHistoryInfo, has bool, errRet error)

func (*APIGatewayService) DescribeServiceEnvironmentStrategyList

func (me *APIGatewayService) DescribeServiceEnvironmentStrategyList(ctx context.Context,
	serviceId string) (environmentList []*apigateway.ServiceEnvironmentStrategy, errRet error)

limit & domain

func (*APIGatewayService) DescribeServiceSubDomainMappings

func (me *APIGatewayService) DescribeServiceSubDomainMappings(ctx context.Context, serviceId, subDomain string) (info *apigateway.ServiceSubDomainMappings, errRet error)

func (*APIGatewayService) DescribeServiceSubDomains

func (me *APIGatewayService) DescribeServiceSubDomains(ctx context.Context, serviceId string) (domainList []*apigateway.DomainSetList, errRet error)

func (*APIGatewayService) DescribeServiceSubDomainsService

func (me *APIGatewayService) DescribeServiceSubDomainsService(ctx context.Context, serviceId, subDomain string) (resultList []*apigateway.DomainSetList, errRet error)

func (*APIGatewayService) DescribeServiceUsagePlan

func (me *APIGatewayService) DescribeServiceUsagePlan(ctx context.Context,
	serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)

func (*APIGatewayService) DescribeServicesStatus

func (me *APIGatewayService) DescribeServicesStatus(ctx context.Context,
	serviceId,
	serviceName string) (infos []*apigateway.Service, errRet error)

func (*APIGatewayService) DescribeStrategyAttachment

func (me *APIGatewayService) DescribeStrategyAttachment(ctx context.Context, serviceId, strategyId, bindApiId string) (has bool, errRet error)

func (*APIGatewayService) DescribeUsagePlan

func (me *APIGatewayService) DescribeUsagePlan(ctx context.Context, usagePlanId string) (info apigateway.UsagePlanInfo, has bool, errRet error)

func (*APIGatewayService) DescribeUsagePlanEnvironments

func (me *APIGatewayService) DescribeUsagePlanEnvironments(ctx context.Context,
	usagePlanId string, bindType string) (list []*apigateway.UsagePlanEnvironment, errRet error)

func (*APIGatewayService) DescribeUsagePlansStatus

func (me *APIGatewayService) DescribeUsagePlansStatus(ctx context.Context,
	usagePlanId string, usagePlanName string) (infos []*apigateway.UsagePlanStatusInfo, errRet error)

func (*APIGatewayService) DisableApiKey

func (me *APIGatewayService) DisableApiKey(ctx context.Context, accessKeyId string) (errRet error)

func (*APIGatewayService) EnableApiKey

func (me *APIGatewayService) EnableApiKey(ctx context.Context, accessKeyId string) (errRet error)

func (*APIGatewayService) ModifyApiEnvironmentStrategy

func (me *APIGatewayService) ModifyApiEnvironmentStrategy(ctx context.Context,
	serviceId string, strategy int64, environmentName string, apiIDs []string) (result bool, errRet error)

func (*APIGatewayService) ModifyService

func (me *APIGatewayService) ModifyService(ctx context.Context,
	serviceId,
	serviceName,
	protocol,
	serviceDesc string,
	netTypes []string) (errRet error)

func (*APIGatewayService) ModifyServiceEnvironmentStrategy

func (me *APIGatewayService) ModifyServiceEnvironmentStrategy(ctx context.Context,
	serviceId string, strategy int64, environmentName []string) (result bool, errRet error)

func (*APIGatewayService) ModifySubDomainService

func (me *APIGatewayService) ModifySubDomainService(ctx context.Context,
	serviceId, subDomain string, isDefaultMapping bool, certificateId, protocol, netType string, pathMappings []string, isForcedHttps bool) (errRet error)

func (*APIGatewayService) ModifyUsagePlan

func (me *APIGatewayService) ModifyUsagePlan(ctx context.Context,
	usagePlanId string,
	usagePlanName string,
	usagePlanDesc *string,
	maxRequestNum,
	maxRequestNumPreSec int64) (errRet error)

func (*APIGatewayService) ReleaseService

func (me *APIGatewayService) ReleaseService(ctx context.Context,
	serviceId, environmentName, releaseDesc string) (response *apigateway.ReleaseServiceResponse, err error)

func (*APIGatewayService) UnBindEnvironment

func (me *APIGatewayService) UnBindEnvironment(ctx context.Context,
	serviceId, environment, bindType, usagePlanId, apiId string) (errRet error)

func (*APIGatewayService) UnBindSecretId

func (me *APIGatewayService) UnBindSecretId(ctx context.Context,
	usagePlanId string,
	apiKeyId string) (errRet error)

func (*APIGatewayService) UnBindSecretIds

func (me *APIGatewayService) UnBindSecretIds(ctx context.Context, usagePlanId string, accessKeyList []string) (errRet error)

func (*APIGatewayService) UnBindSubDomainService

func (me *APIGatewayService) UnBindSubDomainService(ctx context.Context,
	serviceId, subDomain string) (errRet error)

func (*APIGatewayService) UnReleaseService

func (me *APIGatewayService) UnReleaseService(ctx context.Context, serviceId, environment string) (errRet error)

func (*APIGatewayService) UpdateIPStrategy

func (me *APIGatewayService) UpdateIPStrategy(ctx context.Context, serviceId, strategyId, strategyData string) (errRet error)

Source Files

Jump to

Keyboard shortcuts

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