Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudAPIGatewayAPIApps() *schema.Resource
- func DataSourceTencentCloudAPIGatewayAPIDocs() *schema.Resource
- func DataSourceTencentCloudAPIGatewayAPIKeys() *schema.Resource
- func DataSourceTencentCloudAPIGatewayAPIs() *schema.Resource
- func DataSourceTencentCloudAPIGatewayApiAppService() *schema.Resource
- func DataSourceTencentCloudAPIGatewayApiUsagePlans() *schema.Resource
- func DataSourceTencentCloudAPIGatewayCustomerDomains() *schema.Resource
- func DataSourceTencentCloudAPIGatewayIpStrategy() *schema.Resource
- func DataSourceTencentCloudAPIGatewayPlugins() *schema.Resource
- func DataSourceTencentCloudAPIGatewayServices() *schema.Resource
- func DataSourceTencentCloudAPIGatewayThrottlingApis() *schema.Resource
- func DataSourceTencentCloudAPIGatewayThrottlingServices() *schema.Resource
- func DataSourceTencentCloudAPIGatewayUpstreams() *schema.Resource
- func DataSourceTencentCloudAPIGatewayUsagePlanEnvironments() *schema.Resource
- func DataSourceTencentCloudAPIGatewayUsagePlans() *schema.Resource
- func DataSourceTencentCloudApiGatewayApiAppApi() *schema.Resource
- func DataSourceTencentCloudApiGatewayApiPlugins() *schema.Resource
- func DataSourceTencentCloudApiGatewayBindApiAppsStatus() *schema.Resource
- func DataSourceTencentCloudApiGatewayServiceEnvironmentList() *schema.Resource
- func DataSourceTencentCloudApiGatewayServiceReleaseVersions() *schema.Resource
- func ResourceTencentCloudAPIGatewayAPI() *schema.Resource
- func ResourceTencentCloudAPIGatewayAPIApp() *schema.Resource
- func ResourceTencentCloudAPIGatewayAPIDoc() *schema.Resource
- func ResourceTencentCloudAPIGatewayAPIKey() *schema.Resource
- func ResourceTencentCloudAPIGatewayAPIKeyAttachment() *schema.Resource
- func ResourceTencentCloudAPIGatewayApiAppAttachment() *schema.Resource
- func ResourceTencentCloudAPIGatewayCustomDomain() *schema.Resource
- func ResourceTencentCloudAPIGatewayIPStrategy() *schema.Resource
- func ResourceTencentCloudAPIGatewayPlugin() *schema.Resource
- func ResourceTencentCloudAPIGatewayPluginAttachment() *schema.Resource
- func ResourceTencentCloudAPIGatewayService() *schema.Resource
- func ResourceTencentCloudAPIGatewayServiceRelease() *schema.Resource
- func ResourceTencentCloudAPIGatewayStrategyAttachment() *schema.Resource
- func ResourceTencentCloudAPIGatewayUpdateService() *schema.Resource
- func ResourceTencentCloudAPIGatewayUpstream() *schema.Resource
- func ResourceTencentCloudAPIGatewayUsagePlan() *schema.Resource
- func ResourceTencentCloudAPIGatewayUsagePlanAttachment() *schema.Resource
- func ResourceTencentCloudApiGatewayImportOpenApi() *schema.Resource
- func ResourceTencentCloudApiGatewayUpdateApiAppKey() *schema.Resource
- type APIGatewayService
- func (me *APIGatewayService) BindEnvironment(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) BindSecretId(ctx context.Context, usagePlanId string, apiKeyId string) (errRet error)
- func (me *APIGatewayService) BindSecretIds(ctx context.Context, usagePlanId string, apiKeyIds []string) (errRet error)
- func (me *APIGatewayService) BindSubDomainService(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) CreateApiKey(ctx context.Context, secretName string) (accessKeyId string, errRet error)
- func (me *APIGatewayService) CreateIPStrategy(ctx context.Context, ...) (strategyId string, errRet error)
- func (me *APIGatewayService) CreateService(ctx context.Context, ...) (serviceId string, errRet error)
- func (me *APIGatewayService) CreateStrategyAttachment(ctx context.Context, serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) CreateUsagePlan(ctx context.Context, usagePlanName string, usagePlanDesc *string, ...) (usagePlanId string, errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayAPIAppById(ctx context.Context, apiAppId string) (errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayAPIDocById(ctx context.Context, apiDocId string) (errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApi(ctx context.Context, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, ...) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayPluginById(ctx context.Context, pluginId string) (errRet error)
- func (me *APIGatewayService) DeleteApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) DeleteApigatewayUpstreamById(ctx context.Context, upstreamId string) (errRet error)
- func (me *APIGatewayService) DeleteIPStrategy(ctx context.Context, serviceId, strategyId string) (errRet error)
- func (me *APIGatewayService) DeleteService(ctx context.Context, serviceId string) (errRet error)
- func (me *APIGatewayService) DeleteStrategyAttachment(ctx context.Context, serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) DeleteUsagePlan(ctx context.Context, usagePlanId string) (errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (apiAppAttachment *apigateway.ApiAppApiInfo, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter(ctx context.Context, param map[string]interface{}) (apiAppService *apigateway.DescribeServiceForApiAppResponseParams, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter(ctx context.Context, param map[string]interface{}) (ApiUsagePlan []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayPluginByFilter(ctx context.Context, param map[string]interface{}) (plugin []*apigateway.AvailableApiInfo, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayUpstreamByFilter(ctx context.Context, param map[string]interface{}) (upstream []*apigateway.BindApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApi(ctx context.Context, serviceId, apiId string) (info apigateway.ApiInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeApiApp(ctx context.Context, apiAppId string) (apiDoc *apigateway.ApiAppInfos, errRet error)
- func (me *APIGatewayService) DescribeApiAppList(ctx context.Context, apiAppId, apiAppName string) (apiApp []*apigateway.ApiAppInfo, errRet error)
- func (me *APIGatewayService) DescribeApiDoc(ctx context.Context, apiDocId string) (apiDoc *apigateway.APIDocInfo, errRet error)
- func (me *APIGatewayService) DescribeApiDocList(ctx context.Context) (apiDoc []*apigateway.APIDoc, errRet error)
- func (me *APIGatewayService) DescribeApiEnvironmentStrategyList(ctx context.Context, serviceId string, environmentNames []string, apiId string) (environmentApiList []*apigateway.ApiEnvironmentStrategy, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayApiAppApiByFilter(ctx context.Context, param map[string]interface{}) (apiAppApi *apigateway.ApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayApiPluginsByFilter(ctx context.Context, param map[string]interface{}) (ApiPlugins []*apigateway.AttachedPluginInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter(ctx context.Context, param map[string]interface{}) (bindApiAppsStatus []*apigateway.ApiAppApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (importOpenApi *apigateway.ApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, ...) (pluginAttachment *apigateway.AttachedApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayPluginById(ctx context.Context, pluginId string) (plugin *apigateway.Plugin, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter(ctx context.Context, param map[string]interface{}) (environmentList []*apigateway.Environment, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter(ctx context.Context, param map[string]interface{}) (versionList []*apigateway.DescribeServiceReleaseVersionResultVersionListInfo, ...)
- func (me *APIGatewayService) DescribeApiKey(ctx context.Context, accessKeyId string) (apiKey *apigateway.ApiKey, has bool, errRet error)
- func (me *APIGatewayService) DescribeApiKeysStatus(ctx context.Context, secretName, accessKeyId string) (apiKeySet []*apigateway.ApiKey, errRet error)
- func (me *APIGatewayService) DescribeApiUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeApiUsagePlanSecretIds(ctx context.Context, usagePlanId string) (list []*apigateway.UsagePlanBindSecret, errRet error)
- func (me *APIGatewayService) DescribeApigatewayUpstreamById(ctx context.Context, upstreamId string) (upstreamInfo *apigateway.UpstreamInfo, errRet error)
- func (me *APIGatewayService) DescribeApisStatus(ctx context.Context, serviceId, apiName, apiId string) (infos []*apigateway.DescribeApisStatusResultApiIdStatusSetInfo, errRet error)
- func (me *APIGatewayService) DescribeIPStrategies(ctx context.Context, serviceId, strategyId, environmentName string) (ipStrategies *apigateway.IPStrategy, errRet error)
- func (me *APIGatewayService) DescribeIPStrategyHas(ctx context.Context, serviceId, strategyId string) (has bool, errRet error)
- func (me *APIGatewayService) DescribeIPStrategyStatus(ctx context.Context, serviceId, strategyId string) (ipStrategies *apigateway.IPStrategy, has bool, errRet error)
- func (me *APIGatewayService) DescribeIPStrategysStatus(ctx context.Context, serviceId, strategyName string) (infos []*apigateway.IPStrategy, errRet error)
- func (me *APIGatewayService) DescribeService(ctx context.Context, serviceId string) (info apigateway.DescribeServiceResponse, has bool, errRet error)
- func (me *APIGatewayService) DescribeServiceEnvironmentReleaseHistory(ctx context.Context, serviceId, envName string) (versionList []*apigateway.ServiceReleaseHistoryInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeServiceEnvironmentStrategyList(ctx context.Context, serviceId string) (environmentList []*apigateway.ServiceEnvironmentStrategy, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomainMappings(ctx context.Context, serviceId, subDomain string) (info *apigateway.ServiceSubDomainMappings, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomains(ctx context.Context, serviceId string) (domainList []*apigateway.DomainSetList, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomainsService(ctx context.Context, serviceId, subDomain string) (resultList []*apigateway.DomainSetList, errRet error)
- func (me *APIGatewayService) DescribeServiceUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeServicesStatus(ctx context.Context, serviceId, serviceName string) (infos []*apigateway.Service, errRet error)
- func (me *APIGatewayService) DescribeStrategyAttachment(ctx context.Context, serviceId, strategyId, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) DescribeUsagePlan(ctx context.Context, usagePlanId string) (info apigateway.UsagePlanInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeUsagePlanEnvironments(ctx context.Context, usagePlanId string, bindType string) (list []*apigateway.UsagePlanEnvironment, errRet error)
- func (me *APIGatewayService) DescribeUsagePlansStatus(ctx context.Context, usagePlanId string, usagePlanName string) (infos []*apigateway.UsagePlanStatusInfo, errRet error)
- func (me *APIGatewayService) DisableApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) EnableApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) ModifyApiEnvironmentStrategy(ctx context.Context, serviceId string, strategy int64, environmentName string, ...) (result bool, errRet error)
- func (me *APIGatewayService) ModifyService(ctx context.Context, serviceId, serviceName, protocol, serviceDesc string, ...) (errRet error)
- func (me *APIGatewayService) ModifyServiceEnvironmentStrategy(ctx context.Context, serviceId string, strategy int64, ...) (result bool, errRet error)
- func (me *APIGatewayService) ModifySubDomainService(ctx context.Context, serviceId, subDomain string, isDefaultMapping bool, ...) (errRet error)
- func (me *APIGatewayService) ModifyUsagePlan(ctx context.Context, usagePlanId string, usagePlanName string, ...) (errRet error)
- func (me *APIGatewayService) ReleaseService(ctx context.Context, serviceId, environmentName, releaseDesc string) (response *apigateway.ReleaseServiceResponse, err error)
- func (me *APIGatewayService) UnBindEnvironment(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) UnBindSecretId(ctx context.Context, usagePlanId string, apiKeyId string) (errRet error)
- func (me *APIGatewayService) UnBindSecretIds(ctx context.Context, usagePlanId string, accessKeyList []string) (errRet error)
- func (me *APIGatewayService) UnBindSubDomainService(ctx context.Context, serviceId, subDomain string) (errRet error)
- func (me *APIGatewayService) UnReleaseService(ctx context.Context, serviceId, environment string) (errRet error)
- func (me *APIGatewayService) UpdateIPStrategy(ctx context.Context, serviceId, strategyId, strategyData string) (errRet error)
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_PROTOCOLS = []string{ API_GATEWAY_API_PROTOCOL_HTTP, API_GATEWAY_API_PROTOCOL_WEBSOCKET, }
View Source
var API_GATEWAY_API_RESPONSE_TYPES = []string{"HTML", "JSON", "TEXT", "BINARY", "XML", ""}
View Source
var API_GATEWAY_APT_TYPES = []string{ API_GATEWAY_API_TYPE_NORMAL, API_GATEWAY_API_TYPE_TSF, }
View Source
var API_GATEWAY_AUTH_TYPES = []string{ API_GATEWAY_AUTH_TYPE_SECRET, API_GATEWAY_AUTH_TYPE_NONE, API_GATEWAY_AUTH_TYPE_OAUTH, API_GATEWAY_AUTH_TYPE_APP, }
View Source
var API_GATEWAY_KEYS = []string{ API_GATEWAY_KEY_ENABLED, API_GATEWAY_KEY_DISABLED, }
View Source
var API_GATEWAY_KEYS_TYPE = []string{ API_GATEWAY_KEY_TYPE_AUTO, API_GATEWAY_KEY_TYPE_MANUAL, }
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, }
View Source
var API_GATEWAY_NET_IP_VERSIONS = []string{ API_GATEWAY_NET_IP_VERSION4, API_GATEWAY_NET_IP_VERSION6, }
View Source
var API_GATEWAY_SERVICE_ENVS = []string{ API_GATEWAY_SERVICE_ENV_TEST, API_GATEWAY_SERVICE_ENV_RELEASE, API_GATEWAY_SERVICE_ENV_PREPUB, }
View Source
var API_GATEWAY_SERVICE_PROTOCOLS = []string{ API_GATEWAY_SERVICE_PROTOCOL_HTTP, API_GATEWAY_SERVICE_PROTOCOL_HTTPS, API_GATEWAY_SERVICE_PROTOCOL_ALL, }
View Source
var API_GATEWAY_SERVICE_TYPES = []string{ API_GATEWAY_SERVICE_TYPE_WEBSOCKET, API_GATEWAY_SERVICE_TYPE_HTTP, API_GATEWAY_SERVICE_TYPE_SCF, API_GATEWAY_SERVICE_TYPE_TSF, API_GATEWAY_SERVICE_TYPE_MOCK, API_GATEWAY_SERVICE_TYPE_TARGET, API_GATEWAY_SERVICE_TYPE_COS, }
View Source
var API_GATEWAY_TYPES = []string{ API_GATEWAY_TYPE_SERVICE, API_GATEWAY_TYPE_API, }
View Source
var API_GATEWAY_UPSTREAM_SCHEME = []string{ API_GATEWAY_UPSTREAM_SCHEME_HTTP, API_GATEWAY_UPSTREAM_SCHEME_HTTPS, API_GATEWAY_UPSTREAM_SCHEME_gRPC, API_GATEWAY_UPSTREAM_SCHEME_gPRCs, }
View Source
var API_GATEWAY_UPSTREAM_TYPE = []string{ API_GATEWAY_UPSTREAM_TYPE_IP, API_GATEWAY_UPSTREAM_TYPE_K8S, }
View Source
var IMPORT_OPEN_API_ENCODE_TYPE = []string{ IMPORT_OPEN_API_ENCODE_TYPE_YAML, IMPORT_OPEN_API_ENCODE_TYPE_JSON, }
Functions ¶
func ResourceTencentCloudAPIGatewayUpdateService ¶ added in v1.81.73
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 (*APIGatewayService) BindSecretIds ¶
func (*APIGatewayService) BindSubDomainService ¶
func (*APIGatewayService) CreateApiKey ¶
func (*APIGatewayService) CreateIPStrategy ¶
func (*APIGatewayService) CreateService ¶
func (*APIGatewayService) CreateStrategyAttachment ¶
func (*APIGatewayService) CreateUsagePlan ¶
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 (*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 (*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 (*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 (*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 (*APIGatewayService) ModifyService ¶
func (*APIGatewayService) ModifyServiceEnvironmentStrategy ¶
func (*APIGatewayService) ModifySubDomainService ¶
func (*APIGatewayService) ModifyUsagePlan ¶
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 (*APIGatewayService) UnBindSecretIds ¶
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 ¶
- data_source_tc_api_gateway_api_app_api.go
- data_source_tc_api_gateway_api_app_service.go
- data_source_tc_api_gateway_api_apps.go
- data_source_tc_api_gateway_api_docs.go
- data_source_tc_api_gateway_api_keys.go
- data_source_tc_api_gateway_api_plugins.go
- data_source_tc_api_gateway_api_usage_plans.go
- data_source_tc_api_gateway_apis.go
- data_source_tc_api_gateway_bind_api_apps_status.go
- data_source_tc_api_gateway_customer_domains.go
- data_source_tc_api_gateway_ip_strategies.go
- data_source_tc_api_gateway_plugins.go
- data_source_tc_api_gateway_service_environment_list.go
- data_source_tc_api_gateway_service_release_versions.go
- data_source_tc_api_gateway_services.go
- data_source_tc_api_gateway_throttling_apis.go
- data_source_tc_api_gateway_throttling_services.go
- data_source_tc_api_gateway_upstreams.go
- data_source_tc_api_gateway_usage_plan_environments.go
- data_source_tc_api_gateway_usage_plans.go
- extension_api_gateway.go
- resource_tc_api_gateway_api.go
- resource_tc_api_gateway_api_app.go
- resource_tc_api_gateway_api_app_attachment.go
- resource_tc_api_gateway_api_doc.go
- resource_tc_api_gateway_api_key.go
- resource_tc_api_gateway_api_key_attachment.go
- resource_tc_api_gateway_custom_domain.go
- resource_tc_api_gateway_import_open_api.go
- resource_tc_api_gateway_ip_strategy.go
- resource_tc_api_gateway_plugin.go
- resource_tc_api_gateway_plugin_attachment.go
- resource_tc_api_gateway_service.go
- resource_tc_api_gateway_service_release.go
- resource_tc_api_gateway_strategy_attachment.go
- resource_tc_api_gateway_update_api_app_key.go
- resource_tc_api_gateway_update_service.go
- resource_tc_api_gateway_upstream.go
- resource_tc_api_gateway_usage_plan.go
- resource_tc_api_gateway_usage_plan_attachment.go
- service_tencentcloud_api_gateway.go
Click to show internal directories.
Click to hide internal directories.