Documentation ¶
Index ¶
- type AclApiBindingCreate
- type AclApiBindingInfo
- type AclBatchDelete
- type AclBatchResultFailureResp
- type AclBindApiInfo
- type AclBindingBatchDelete
- type AclBindingBatchFailure
- type AddEipV2Request
- type AddEipV2Response
- type AddEngressEipV2Request
- type AddEngressEipV2Response
- type AddingBackendInstancesV2Request
- type AddingBackendInstancesV2Response
- type ApiAclCreate
- type ApiAclCreateAclType
- type ApiAclCreateAclTypeEnum
- type ApiAclCreateEntityType
- type ApiAclCreateEntityTypeEnum
- type ApiAclInfoWithBindNum
- type ApiActionInfo
- type ApiActionInfoAction
- type ApiActionInfoActionEnum
- type ApiAuthBase
- type ApiAuthBaseAppType
- type ApiAuthBaseAppTypeEnum
- type ApiAuthBaseAuthTunnel
- type ApiAuthBaseAuthTunnelEnum
- type ApiAuthCreate
- type ApiAuthInfo
- type ApiAuthInfoAppType
- type ApiAuthInfoAppTypeEnum
- type ApiAuthInfoAuthTunnel
- type ApiAuthInfoAuthTunnelEnum
- type ApiAuthRelations
- type ApiAuthRelationsAuthRole
- type ApiAuthRelationsAuthRoleEnum
- type ApiAuthRelationsAuthTunnel
- type ApiAuthRelationsAuthTunnelEnum
- type ApiBackendVpcReq
- type ApiBaseInfo
- type ApiBaseInfoAuthType
- type ApiBaseInfoAuthTypeEnum
- type ApiBaseInfoBackendType
- type ApiBaseInfoBackendTypeEnum
- type ApiBaseInfoContentType
- type ApiBaseInfoContentTypeEnum
- type ApiBaseInfoMatchMode
- type ApiBaseInfoMatchModeEnum
- type ApiBaseInfoReqMethod
- type ApiBaseInfoReqMethodEnum
- type ApiBaseInfoReqProtocol
- type ApiBaseInfoReqProtocolEnum
- type ApiBaseInfoType
- type ApiBaseInfoTypeEnum
- type ApiBatchPublish
- type ApiBindAclInfo
- type ApiBindAclInfoAclType
- type ApiBindAclInfoAclTypeEnum
- type ApiBindAclInfoEntityType
- type ApiBindAclInfoEntityTypeEnum
- type ApiCommon
- type ApiCommonAuthType
- type ApiCommonAuthTypeEnum
- type ApiCommonBackendType
- type ApiCommonBackendTypeEnum
- type ApiCommonContentType
- type ApiCommonContentTypeEnum
- type ApiCommonMatchMode
- type ApiCommonMatchModeEnum
- type ApiCommonReqMethod
- type ApiCommonReqMethodEnum
- type ApiCommonReqProtocol
- type ApiCommonReqProtocolEnum
- type ApiCommonType
- type ApiCommonTypeEnum
- type ApiConditionBase
- type ApiConditionBaseConditionOrigin
- type ApiConditionBaseConditionOriginEnum
- type ApiConditionBaseConditionType
- type ApiConditionBaseConditionTypeEnum
- type ApiCreate
- type ApiCreateAuthType
- type ApiCreateAuthTypeEnum
- type ApiCreateBackendType
- type ApiCreateBackendTypeEnum
- type ApiCreateBase
- type ApiCreateBaseAuthType
- type ApiCreateBaseAuthTypeEnum
- type ApiCreateBaseBackendType
- type ApiCreateBaseBackendTypeEnum
- type ApiCreateBaseContentType
- type ApiCreateBaseContentTypeEnum
- type ApiCreateBaseMatchMode
- type ApiCreateBaseMatchModeEnum
- type ApiCreateBaseReqMethod
- type ApiCreateBaseReqMethodEnum
- type ApiCreateBaseReqProtocol
- type ApiCreateBaseReqProtocolEnum
- type ApiCreateBaseType
- type ApiCreateBaseTypeEnum
- type ApiCreateContentType
- type ApiCreateContentTypeEnum
- type ApiCreateMatchMode
- type ApiCreateMatchModeEnum
- type ApiCreateReqMethod
- type ApiCreateReqMethodEnum
- type ApiCreateReqProtocol
- type ApiCreateReqProtocolEnum
- type ApiCreateType
- type ApiCreateTypeEnum
- type ApiDebugInfo
- type ApiDebugInfoMethod
- type ApiDebugInfoMethodEnum
- type ApiForSign
- type ApiForThrottle
- type ApiFunc
- type ApiFuncCreate
- type ApiFuncCreateInvocationType
- type ApiFuncCreateInvocationTypeEnum
- type ApiFuncCreateNetworkType
- type ApiFuncCreateNetworkTypeEnum
- type ApiFuncInvocationType
- type ApiFuncInvocationTypeEnum
- type ApiFuncNetworkType
- type ApiFuncNetworkTypeEnum
- type ApiGroupBase
- type ApiGroupCommonInfo
- type ApiGroupCommonInfoStatus
- type ApiGroupCommonInfoStatusEnum
- type ApiGroupCreate
- type ApiGroupInfo
- type ApiGroupInfoStatus
- type ApiGroupInfoStatusEnum
- type ApiInfo
- type ApiInfoAuthType
- type ApiInfoAuthTypeEnum
- type ApiInfoBackendType
- type ApiInfoBackendTypeEnum
- type ApiInfoContentType
- type ApiInfoContentTypeEnum
- type ApiInfoMatchMode
- type ApiInfoMatchModeEnum
- type ApiInfoPerPage
- type ApiInfoPerPageAuthType
- type ApiInfoPerPageAuthTypeEnum
- type ApiInfoPerPageBackendType
- type ApiInfoPerPageBackendTypeEnum
- type ApiInfoPerPageContentType
- type ApiInfoPerPageContentTypeEnum
- type ApiInfoPerPageMatchMode
- type ApiInfoPerPageMatchModeEnum
- type ApiInfoPerPageReqMethod
- type ApiInfoPerPageReqMethodEnum
- type ApiInfoPerPageReqProtocol
- type ApiInfoPerPageReqProtocolEnum
- type ApiInfoPerPageType
- type ApiInfoPerPageTypeEnum
- type ApiInfoReqMethod
- type ApiInfoReqMethodEnum
- type ApiInfoReqProtocol
- type ApiInfoReqProtocolEnum
- type ApiInfoType
- type ApiInfoTypeEnum
- type ApiMock
- type ApiMockCreate
- type ApiOperPluginInfo
- type ApiOutline
- type ApiPolicyFunctionBase
- type ApiPolicyFunctionBaseInvocationType
- type ApiPolicyFunctionBaseInvocationTypeEnum
- type ApiPolicyFunctionBaseNetworkType
- type ApiPolicyFunctionBaseNetworkTypeEnum
- type ApiPolicyFunctionCreate
- type ApiPolicyFunctionCreateEffectMode
- type ApiPolicyFunctionCreateEffectModeEnum
- type ApiPolicyFunctionCreateInvocationType
- type ApiPolicyFunctionCreateInvocationTypeEnum
- type ApiPolicyFunctionCreateNetworkType
- type ApiPolicyFunctionCreateNetworkTypeEnum
- type ApiPolicyFunctionResp
- type ApiPolicyFunctionRespEffectMode
- type ApiPolicyFunctionRespEffectModeEnum
- type ApiPolicyFunctionRespInvocationType
- type ApiPolicyFunctionRespInvocationTypeEnum
- type ApiPolicyFunctionRespNetworkType
- type ApiPolicyFunctionRespNetworkTypeEnum
- type ApiPolicyHttpBase
- type ApiPolicyHttpBaseReqMethod
- type ApiPolicyHttpBaseReqMethodEnum
- type ApiPolicyHttpBaseReqProtocol
- type ApiPolicyHttpBaseReqProtocolEnum
- type ApiPolicyHttpCreate
- type ApiPolicyHttpCreateEffectMode
- type ApiPolicyHttpCreateEffectModeEnum
- type ApiPolicyHttpCreateReqMethod
- type ApiPolicyHttpCreateReqMethodEnum
- type ApiPolicyHttpCreateReqProtocol
- type ApiPolicyHttpCreateReqProtocolEnum
- type ApiPolicyHttpCreateVpcChannelStatus
- type ApiPolicyHttpCreateVpcChannelStatusEnum
- type ApiPolicyHttpResp
- type ApiPolicyHttpRespEffectMode
- type ApiPolicyHttpRespEffectModeEnum
- type ApiPolicyHttpRespReqMethod
- type ApiPolicyHttpRespReqMethodEnum
- type ApiPolicyHttpRespReqProtocol
- type ApiPolicyHttpRespReqProtocolEnum
- type ApiPolicyMockBase
- type ApiPolicyMockCreate
- type ApiPolicyMockCreateEffectMode
- type ApiPolicyMockCreateEffectModeEnum
- type ApiPolicyMockResp
- type ApiPolicyMockRespEffectMode
- type ApiPolicyMockRespEffectModeEnum
- type ApiPolicyReqBase
- type ApiPolicyReqBaseEffectMode
- type ApiPolicyReqBaseEffectModeEnum
- type ApiPolicyRespBase
- type ApiPolicyRespBaseEffectMode
- type ApiPolicyRespBaseEffectModeEnum
- type ApiRespBaseInfo
- type ApiRespBaseInfoAuthType
- type ApiRespBaseInfoAuthTypeEnum
- type ApiRespBaseInfoBackendType
- type ApiRespBaseInfoBackendTypeEnum
- type ApiRespBaseInfoContentType
- type ApiRespBaseInfoContentTypeEnum
- type ApiRespBaseInfoMatchMode
- type ApiRespBaseInfoMatchModeEnum
- type ApiRespBaseInfoReqMethod
- type ApiRespBaseInfoReqMethodEnum
- type ApiRespBaseInfoReqProtocol
- type ApiRespBaseInfoReqProtocolEnum
- type ApiRespBaseInfoType
- type ApiRespBaseInfoTypeEnum
- type ApiVersion
- type ApiVersionResp
- type ApiVersionRespStatus
- type ApiVersionRespStatusEnum
- type AppBaseInfo
- type AppCodeBaseInfo
- type AppCodeCreate
- type AppCreate
- type AppInfo
- type AppInfoAppType
- type AppInfoAppTypeEnum
- type AppInfoCreator
- type AppInfoCreatorEnum
- type AppInfoStatus
- type AppInfoStatusEnum
- type AppInfoWithBindNum
- type AppInfoWithBindNumAppType
- type AppInfoWithBindNumAppTypeEnum
- type AppInfoWithBindNumCreator
- type AppInfoWithBindNumCreatorEnum
- type AppInfoWithBindNumStatus
- type AppInfoWithBindNumStatusEnum
- type AppResetCreate
- type AssociateCertificateV2Request
- type AssociateCertificateV2Response
- type AssociateCertificateV2ResponseStatus
- type AssociateCertificateV2ResponseStatusEnum
- type AssociateDomainV2Request
- type AssociateDomainV2Response
- type AssociateDomainV2ResponseStatus
- type AssociateDomainV2ResponseStatusEnum
- type AssociateRequestThrottlingPolicyV2Request
- type AssociateRequestThrottlingPolicyV2Response
- type AssociateSignatureKeyV2Request
- type AssociateSignatureKeyV2Response
- type AttachApiToPluginRequest
- type AttachApiToPluginResponse
- type AttachOrDetachCertsReqBody
- type AttachOrDetachDomainInfo
- type AttachOrDetachDomainsReqBody
- type AttachPluginToApiRequest
- type AttachPluginToApiResponse
- type AttachedPluginInfo
- type AttachedPluginInfoPluginScope
- type AttachedPluginInfoPluginScopeEnum
- type AttachedPluginInfoPluginType
- type AttachedPluginInfoPluginTypeEnum
- type AuthOpt
- type AuthOptAppCodeAuthType
- type AuthOptAppCodeAuthTypeEnum
- type AuthResult
- type AuthResultStatus
- type AuthResultStatusEnum
- type AuthorizerBase
- type AuthorizerBaseAuthorizerType
- type AuthorizerBaseAuthorizerTypeEnum
- type AuthorizerBaseType
- type AuthorizerBaseTypeEnum
- type AuthorizerCreate
- type AuthorizerCreateAuthorizerType
- type AuthorizerCreateAuthorizerTypeEnum
- type AuthorizerCreateType
- type AuthorizerCreateTypeEnum
- type AuthorizerResp
- type AuthorizerRespAuthorizerType
- type AuthorizerRespAuthorizerTypeEnum
- type AuthorizerRespType
- type AuthorizerRespTypeEnum
- type AvailableZone
- type BackendApi
- type BackendApiBase
- type BackendApiBaseInfo
- type BackendApiBaseInfoReqMethod
- type BackendApiBaseInfoReqMethodEnum
- type BackendApiBaseInfoReqProtocol
- type BackendApiBaseInfoReqProtocolEnum
- type BackendApiBaseReqMethod
- type BackendApiBaseReqMethodEnum
- type BackendApiBaseReqProtocol
- type BackendApiBaseReqProtocolEnum
- type BackendApiCreate
- type BackendApiCreateReqMethod
- type BackendApiCreateReqMethodEnum
- type BackendApiCreateReqProtocol
- type BackendApiCreateReqProtocolEnum
- type BackendApiCreateVpcChannelStatus
- type BackendApiCreateVpcChannelStatusEnum
- type BackendApiReqMethod
- type BackendApiReqMethodEnum
- type BackendApiReqProtocol
- type BackendApiReqProtocolEnum
- type BackendLatencyStats
- type BackendParam
- type BackendParamBase
- type BackendParamBaseLocation
- type BackendParamBaseLocationEnum
- type BackendParamBaseOrigin
- type BackendParamBaseOriginEnum
- type BackendParamLocation
- type BackendParamLocationEnum
- type BackendParamOrigin
- type BackendParamOriginEnum
- type BasePage
- type BaseSignature
- type BaseSignatureSignAlgorithm
- type BaseSignatureSignAlgorithmEnum
- type BaseSignatureSignType
- type BaseSignatureSignTypeEnum
- type BatchAssociateCertsV2Request
- type BatchAssociateCertsV2Response
- type BatchAssociateDomainsV2Request
- type BatchAssociateDomainsV2Response
- type BatchDeleteAclV2Request
- type BatchDeleteAclV2Response
- type BatchDeleteApiAclBindingV2Request
- type BatchDeleteApiAclBindingV2Response
- type BatchDisableMembersRequest
- type BatchDisableMembersResponse
- type BatchDisassociateCertsV2Request
- type BatchDisassociateCertsV2Response
- type BatchDisassociateDomainsV2Request
- type BatchDisassociateDomainsV2Response
- type BatchDisassociateThrottlingPolicyV2Request
- type BatchDisassociateThrottlingPolicyV2Response
- type BatchEnableMembersRequest
- type BatchEnableMembersResponse
- type BatchFailure
- type BatchPublishOrOfflineApiV2Request
- type BatchPublishOrOfflineApiV2Response
- type CancelingAuthorizationV2Request
- type CancelingAuthorizationV2Response
- type CertBase
- type CertBaseType
- type CertBaseTypeEnum
- type CertForm
- type CertificateForm
- type CertificateFormType
- type CertificateFormTypeEnum
- type ChangeApiVersionV2Request
- type ChangeApiVersionV2Response
- type CheckAppV2Request
- type CheckAppV2Response
- type CoditionResp
- type CoditionRespConditionOrigin
- type CoditionRespConditionOriginEnum
- type CoditionRespConditionType
- type CoditionRespConditionTypeEnum
- type Config
- type ConfigConfigName
- type ConfigConfigNameEnum
- type CorsPluginContent
- type CreateAclStrategyV2Request
- type CreateAclStrategyV2Response
- type CreateAnAppV2Request
- type CreateAnAppV2Response
- type CreateAnAppV2ResponseAppType
- type CreateAnAppV2ResponseAppTypeEnum
- type CreateAnAppV2ResponseCreator
- type CreateAnAppV2ResponseCreatorEnum
- type CreateAnAppV2ResponseStatus
- type CreateAnAppV2ResponseStatusEnum
- type CreateApiAclBindingV2Request
- type CreateApiAclBindingV2Response
- type CreateApiGroupV2Request
- type CreateApiGroupV2Response
- type CreateApiGroupV2ResponseStatus
- type CreateApiGroupV2ResponseStatusEnum
- type CreateApiV2Request
- type CreateApiV2Response
- type CreateApiV2ResponseAuthType
- type CreateApiV2ResponseAuthTypeEnum
- type CreateApiV2ResponseBackendType
- type CreateApiV2ResponseBackendTypeEnum
- type CreateApiV2ResponseContentType
- type CreateApiV2ResponseContentTypeEnum
- type CreateApiV2ResponseMatchMode
- type CreateApiV2ResponseMatchModeEnum
- type CreateApiV2ResponseReqMethod
- type CreateApiV2ResponseReqMethodEnum
- type CreateApiV2ResponseReqProtocol
- type CreateApiV2ResponseReqProtocolEnum
- type CreateApiV2ResponseType
- type CreateApiV2ResponseTypeEnum
- type CreateAppCodeAutoV2Request
- type CreateAppCodeAutoV2Response
- type CreateAppCodeV2Request
- type CreateAppCodeV2Response
- type CreateAuthorizingAppsV2Request
- type CreateAuthorizingAppsV2Response
- type CreateCertificateV2Request
- type CreateCertificateV2Response
- type CreateCertificateV2ResponseType
- type CreateCertificateV2ResponseTypeEnum
- type CreateCustomAuthorizerV2Request
- type CreateCustomAuthorizerV2Response
- type CreateCustomAuthorizerV2ResponseAuthorizerType
- type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum
- type CreateCustomAuthorizerV2ResponseType
- type CreateCustomAuthorizerV2ResponseTypeEnum
- type CreateEnvironmentV2Request
- type CreateEnvironmentV2Response
- type CreateEnvironmentVariableV2Request
- type CreateEnvironmentVariableV2Response
- type CreateFeatureV2Request
- type CreateFeatureV2Response
- type CreateGatewayResponseV2Request
- type CreateGatewayResponseV2Response
- type CreateInstanceV2Request
- type CreateInstanceV2Response
- type CreateMemberGroupRequest
- type CreateMemberGroupResponse
- type CreateOrDeletePublishRecordForApiV2Request
- type CreateOrDeletePublishRecordForApiV2Response
- type CreatePluginRequest
- type CreatePluginResponse
- type CreatePluginResponsePluginScope
- type CreatePluginResponsePluginScopeEnum
- type CreatePluginResponsePluginType
- type CreatePluginResponsePluginTypeEnum
- type CreateRequestThrottlingPolicyV2Request
- type CreateRequestThrottlingPolicyV2Response
- type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type CreateRequestThrottlingPolicyV2ResponseTimeUnit
- type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type CreateRequestThrottlingPolicyV2ResponseType
- type CreateRequestThrottlingPolicyV2ResponseTypeEnum
- type CreateSignatureKeyV2Request
- type CreateSignatureKeyV2Response
- type CreateSignatureKeyV2ResponseSignAlgorithm
- type CreateSignatureKeyV2ResponseSignAlgorithmEnum
- type CreateSignatureKeyV2ResponseSignType
- type CreateSignatureKeyV2ResponseSignTypeEnum
- type CreateSpecialThrottlingConfigurationV2Request
- type CreateSpecialThrottlingConfigurationV2Response
- type CreateVpcChannelV2Request
- type CreateVpcChannelV2Response
- type CreateVpcChannelV2ResponseBalanceStrategy
- type CreateVpcChannelV2ResponseBalanceStrategyEnum
- type CreateVpcChannelV2ResponseMemberType
- type CreateVpcChannelV2ResponseMemberTypeEnum
- type CreateVpcChannelV2ResponseStatus
- type CreateVpcChannelV2ResponseStatusEnum
- type DebugApiV2Request
- type DebugApiV2Response
- type DeleteAclV2Request
- type DeleteAclV2Response
- type DeleteApiAclBindingV2Request
- type DeleteApiAclBindingV2Response
- type DeleteApiByVersionIdV2Request
- type DeleteApiByVersionIdV2Response
- type DeleteApiGroupV2Request
- type DeleteApiGroupV2Response
- type DeleteApiV2Request
- type DeleteApiV2Response
- type DeleteAppCodeV2Request
- type DeleteAppCodeV2Response
- type DeleteAppV2Request
- type DeleteAppV2Response
- type DeleteBackendInstanceV2Request
- type DeleteBackendInstanceV2Response
- type DeleteCertificateV2Request
- type DeleteCertificateV2Response
- type DeleteCustomAuthorizerV2Request
- type DeleteCustomAuthorizerV2Response
- type DeleteEnvironmentV2Request
- type DeleteEnvironmentV2Response
- type DeleteEnvironmentVariableV2Request
- type DeleteEnvironmentVariableV2Response
- type DeleteGatewayResponseTypeV2Request
- type DeleteGatewayResponseTypeV2RequestResponseType
- type DeleteGatewayResponseTypeV2RequestResponseTypeEnum
- type DeleteGatewayResponseTypeV2Response
- type DeleteGatewayResponseV2Request
- type DeleteGatewayResponseV2Response
- type DeleteInstancesV2Request
- type DeleteInstancesV2Response
- type DeleteMemberGroupRequest
- type DeleteMemberGroupResponse
- type DeletePluginRequest
- type DeletePluginResponse
- type DeleteRequestThrottlingPolicyV2Request
- type DeleteRequestThrottlingPolicyV2Response
- type DeleteSignatureKeyV2Request
- type DeleteSignatureKeyV2Response
- type DeleteSpecialThrottlingConfigurationV2Request
- type DeleteSpecialThrottlingConfigurationV2Response
- type DeleteVpcChannelV2Request
- type DeleteVpcChannelV2Response
- type DetachApiFromPluginRequest
- type DetachApiFromPluginResponse
- type DetachPluginFromApiRequest
- type DetachPluginFromApiResponse
- type DisassociateCertificateV2Request
- type DisassociateCertificateV2Response
- type DisassociateDomainV2Request
- type DisassociateDomainV2Response
- type DisassociateRequestThrottlingPolicyV2Request
- type DisassociateRequestThrottlingPolicyV2Response
- type DisassociateSignatureKeyV2Request
- type DisassociateSignatureKeyV2Response
- type EipBindReq
- type EndpointService
- type EnvCreate
- type EnvInfo
- type EnvVariableBase
- type EnvVariableCreate
- type EnvVariableInfo
- type ExportApiDefinitionsV2Request
- type ExportApiDefinitionsV2Response
- type ExportOpenApiReq
- type ExportOpenApiReqDefine
- type ExportOpenApiReqDefineEnum
- type ExportOpenApiReqType
- type ExportOpenApiReqTypeEnum
- type Failure
- type FeatureInfo
- type FeatureToggle
- type Identity
- type IdentityLocation
- type IdentityLocationEnum
- type Ignore
- type ImportApiDefinitionsV2Request
- type ImportApiDefinitionsV2RequestBody
- type ImportApiDefinitionsV2RequestBodyApiMode
- type ImportApiDefinitionsV2RequestBodyApiModeEnum
- type ImportApiDefinitionsV2RequestBodyExtendMode
- type ImportApiDefinitionsV2RequestBodyExtendModeEnum
- type ImportApiDefinitionsV2Response
- type ImportBaseResult
- type ImportMicroserviceRequest
- type ImportMicroserviceResponse
- type InnerLatencyStats
- type InstanceAbstractReq
- type InstanceConfig
- type InstanceConfigConfigName
- type InstanceConfigConfigNameEnum
- type InstanceCreateReq
- type InstanceCreateReqLoadbalancerProvider
- type InstanceCreateReqLoadbalancerProviderEnum
- type InstanceCreateReqSpecId
- type InstanceCreateReqSpecIdEnum
- type InstanceModReq
- type IpDetails
- type LatencyStats
- type ListAclPolicyBindedToApiV2Request
- type ListAclPolicyBindedToApiV2Response
- type ListAclStrategiesV2Request
- type ListAclStrategiesV2Response
- type ListApiAttachablePluginsRequest
- type ListApiAttachablePluginsResponse
- type ListApiAttachedPluginsRequest
- type ListApiAttachedPluginsResponse
- type ListApiGroupsQuantitiesV2Request
- type ListApiGroupsQuantitiesV2Response
- type ListApiGroupsV2Request
- type ListApiGroupsV2Response
- type ListApiQuantitiesV2Request
- type ListApiQuantitiesV2Response
- type ListApiRuntimeDefinitionV2Request
- type ListApiRuntimeDefinitionV2Response
- type ListApiRuntimeDefinitionV2ResponseAuthType
- type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum
- type ListApiRuntimeDefinitionV2ResponseBackendType
- type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum
- type ListApiRuntimeDefinitionV2ResponseContentType
- type ListApiRuntimeDefinitionV2ResponseContentTypeEnum
- type ListApiRuntimeDefinitionV2ResponseMatchMode
- type ListApiRuntimeDefinitionV2ResponseMatchModeEnum
- type ListApiRuntimeDefinitionV2ResponseReqMethod
- type ListApiRuntimeDefinitionV2ResponseReqMethodEnum
- type ListApiRuntimeDefinitionV2ResponseReqProtocol
- type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum
- type ListApiRuntimeDefinitionV2ResponseType
- type ListApiRuntimeDefinitionV2ResponseTypeEnum
- type ListApiVersionDetailV2Request
- type ListApiVersionDetailV2Response
- type ListApiVersionDetailV2ResponseAuthType
- type ListApiVersionDetailV2ResponseAuthTypeEnum
- type ListApiVersionDetailV2ResponseBackendType
- type ListApiVersionDetailV2ResponseBackendTypeEnum
- type ListApiVersionDetailV2ResponseContentType
- type ListApiVersionDetailV2ResponseContentTypeEnum
- type ListApiVersionDetailV2ResponseMatchMode
- type ListApiVersionDetailV2ResponseMatchModeEnum
- type ListApiVersionDetailV2ResponseReqMethod
- type ListApiVersionDetailV2ResponseReqMethodEnum
- type ListApiVersionDetailV2ResponseReqProtocol
- type ListApiVersionDetailV2ResponseReqProtocolEnum
- type ListApiVersionDetailV2ResponseType
- type ListApiVersionDetailV2ResponseTypeEnum
- type ListApiVersionsV2Request
- type ListApiVersionsV2Response
- type ListApisBindedToAclPolicyV2Request
- type ListApisBindedToAclPolicyV2Response
- type ListApisBindedToAppV2Request
- type ListApisBindedToAppV2Response
- type ListApisBindedToRequestThrottlingPolicyV2Request
- type ListApisBindedToRequestThrottlingPolicyV2Response
- type ListApisBindedToSignatureKeyV2Request
- type ListApisBindedToSignatureKeyV2Response
- type ListApisNotBoundWithSignatureKeyV2Request
- type ListApisNotBoundWithSignatureKeyV2Response
- type ListApisUnbindedToAclPolicyV2Request
- type ListApisUnbindedToAclPolicyV2Response
- type ListApisUnbindedToAppV2Request
- type ListApisUnbindedToAppV2Response
- type ListApisUnbindedToRequestThrottlingPolicyV2Request
- type ListApisUnbindedToRequestThrottlingPolicyV2Response
- type ListApisV2Request
- type ListApisV2Response
- type ListAppCodesV2Request
- type ListAppCodesV2Response
- type ListAppQuantitiesV2Request
- type ListAppQuantitiesV2Response
- type ListAppsBindedToApiV2Request
- type ListAppsBindedToApiV2Response
- type ListAppsV2Request
- type ListAppsV2Response
- type ListAttachedDomainsV2Request
- type ListAttachedDomainsV2Response
- type ListAvailableZonesV2Request
- type ListAvailableZonesV2Response
- type ListBackendInstancesV2Request
- type ListBackendInstancesV2Response
- type ListCertificatesV2Request
- type ListCertificatesV2RequestType
- type ListCertificatesV2RequestTypeEnum
- type ListCertificatesV2Response
- type ListCustomAuthorizersV2Request
- type ListCustomAuthorizersV2Response
- type ListEnvironmentVariablesV2Request
- type ListEnvironmentVariablesV2Response
- type ListEnvironmentsV2Request
- type ListEnvironmentsV2Response
- type ListFeaturesV2Request
- type ListFeaturesV2Response
- type ListGatewayResponsesV2Request
- type ListGatewayResponsesV2Response
- type ListInstanceConfigsV2Request
- type ListInstanceConfigsV2Response
- type ListInstancesV2Request
- type ListInstancesV2RequestStatus
- type ListInstancesV2RequestStatusEnum
- type ListInstancesV2Response
- type ListLatelyApiStatisticsV2Request
- type ListLatelyApiStatisticsV2Response
- type ListLatelyGroupStatisticsV2Request
- type ListLatelyGroupStatisticsV2Response
- type ListMemberGroupsRequest
- type ListMemberGroupsResponse
- type ListMetricDataRequest
- type ListMetricDataRequestDim
- type ListMetricDataRequestDimEnum
- type ListMetricDataRequestFilter
- type ListMetricDataRequestFilterEnum
- type ListMetricDataRequestMetricName
- type ListMetricDataRequestMetricNameEnum
- type ListMetricDataRequestPeriod
- type ListMetricDataRequestPeriodEnum
- type ListMetricDataResponse
- type ListPluginAttachableApisRequest
- type ListPluginAttachableApisResponse
- type ListPluginAttachedApisRequest
- type ListPluginAttachedApisResponse
- type ListPluginsRequest
- type ListPluginsResponse
- type ListProjectCofigsV2Request
- type ListProjectCofigsV2Response
- type ListRequestThrottlingPoliciesBindedToApiV2Request
- type ListRequestThrottlingPoliciesBindedToApiV2Response
- type ListRequestThrottlingPolicyV2Request
- type ListRequestThrottlingPolicyV2Response
- type ListSignatureKeysBindedToApiV2Request
- type ListSignatureKeysBindedToApiV2Response
- type ListSignatureKeysV2Request
- type ListSignatureKeysV2Response
- type ListSpecialThrottlingConfigurationsV2Request
- type ListSpecialThrottlingConfigurationsV2Response
- type ListTagsV2Request
- type ListTagsV2Response
- type ListVpcChannelsV2Request
- type ListVpcChannelsV2Response
- type LocalName
- type MemberBase
- type MemberBaseStatus
- type MemberBaseStatusEnum
- type MemberGroupCreate
- type MemberGroupCreateBatch
- type MemberGroupInfo
- type MemberInfo
- type MemberInfoStatus
- type MemberInfoStatusEnum
- type MembersBatchEnableOrDisable
- type MetricData
- type MicroServiceCreate
- type MicroServiceCreateServiceType
- type MicroServiceCreateServiceTypeEnum
- type MicroServiceInfo
- type MicroServiceInfoCce
- type MicroServiceInfoCceBase
- type MicroServiceInfoCceBaseWorkloadType
- type MicroServiceInfoCceBaseWorkloadTypeEnum
- type MicroServiceInfoCceCreate
- type MicroServiceInfoCceCreateWorkloadType
- type MicroServiceInfoCceCreateWorkloadTypeEnum
- type MicroServiceInfoCceWorkloadType
- type MicroServiceInfoCceWorkloadTypeEnum
- type MicroServiceInfoCse
- type MicroServiceInfoCseBase
- type MicroServiceInfoCseCreate
- type MicroServiceInfoServiceType
- type MicroServiceInfoServiceTypeEnum
- type MicroserviceApiCreate
- type MicroserviceApiCreateMatchMode
- type MicroserviceApiCreateMatchModeEnum
- type MicroserviceApiCreateReqMethod
- type MicroserviceApiCreateReqMethodEnum
- type MicroserviceGroup
- type MicroserviceImportApiResp
- type MicroserviceImportApiRespMatchMode
- type MicroserviceImportApiRespMatchModeEnum
- type MicroserviceImportReq
- type MicroserviceImportReqAuthType
- type MicroserviceImportReqAuthTypeEnum
- type MicroserviceImportReqProtocol
- type MicroserviceImportReqProtocolEnum
- type MicroserviceImportReqServiceType
- type MicroserviceImportReqServiceTypeEnum
- type MicroserviceLabel
- type NetworkTrafficStats
- type NodeIps
- type OpenEngressEipReq
- type PluginApiAttachInfo
- type PluginApiAttachInfoPluginScope
- type PluginApiAttachInfoPluginScopeEnum
- type PluginApiAttachInfoPluginType
- type PluginApiAttachInfoPluginTypeEnum
- type PluginApiInfo
- type PluginApiInfoAuthType
- type PluginApiInfoAuthTypeEnum
- type PluginApiInfoMatchMode
- type PluginApiInfoMatchModeEnum
- type PluginApiInfoReqMethod
- type PluginApiInfoReqMethodEnum
- type PluginApiInfoReqProtocol
- type PluginApiInfoReqProtocolEnum
- type PluginCreate
- type PluginCreatePluginScope
- type PluginCreatePluginScopeEnum
- type PluginCreatePluginType
- type PluginCreatePluginTypeEnum
- type PluginInfo
- type PluginInfoPluginScope
- type PluginInfoPluginScopeEnum
- type PluginInfoPluginType
- type PluginInfoPluginTypeEnum
- type PluginOperApiInfo
- type PublishResp
- type RemoveEipV2Request
- type RemoveEipV2Response
- type RemoveEngressEipV2Request
- type RemoveEngressEipV2Response
- type ReqParam
- type ReqParamBase
- type ReqParamBaseLocation
- type ReqParamBaseLocationEnum
- type ReqParamBasePassThrough
- type ReqParamBasePassThroughEnum
- type ReqParamBaseRequired
- type ReqParamBaseRequiredEnum
- type ReqParamBaseType
- type ReqParamBaseTypeEnum
- type ReqParamBaseValidEnable
- type ReqParamBaseValidEnableEnum
- type ReqParamLocation
- type ReqParamLocationEnum
- type ReqParamPassThrough
- type ReqParamPassThroughEnum
- type ReqParamRequired
- type ReqParamRequiredEnum
- type ReqParamType
- type ReqParamTypeEnum
- type ReqParamValidEnable
- type ReqParamValidEnableEnum
- type RequestCountStats
- type ResettingAppSecretV2Request
- type ResettingAppSecretV2Response
- type ResettingAppSecretV2ResponseAppType
- type ResettingAppSecretV2ResponseAppTypeEnum
- type ResettingAppSecretV2ResponseCreator
- type ResettingAppSecretV2ResponseCreatorEnum
- type ResettingAppSecretV2ResponseStatus
- type ResettingAppSecretV2ResponseStatusEnum
- type RespInstanceBase
- type RespInstanceBaseChargingMode
- type RespInstanceBaseChargingModeEnum
- type RespInstanceBaseInstanceStatus
- type RespInstanceBaseInstanceStatusEnum
- type RespInstanceBaseLoadbalancerProvider
- type RespInstanceBaseLoadbalancerProviderEnum
- type RespInstanceBaseSpec
- type RespInstanceBaseSpecEnum
- type RespInstanceBaseStatus
- type RespInstanceBaseStatusEnum
- type ResponseInfo
- type ResponseInfoResp
- type ResponsesCreate
- type ResponsesInfo
- type ShowDetailsOfAclPolicyV2Request
- type ShowDetailsOfAclPolicyV2Response
- type ShowDetailsOfApiGroupV2Request
- type ShowDetailsOfApiGroupV2Response
- type ShowDetailsOfApiGroupV2ResponseStatus
- type ShowDetailsOfApiGroupV2ResponseStatusEnum
- type ShowDetailsOfApiV2Request
- type ShowDetailsOfApiV2Response
- type ShowDetailsOfApiV2ResponseAuthType
- type ShowDetailsOfApiV2ResponseAuthTypeEnum
- type ShowDetailsOfApiV2ResponseBackendType
- type ShowDetailsOfApiV2ResponseBackendTypeEnum
- type ShowDetailsOfApiV2ResponseContentType
- type ShowDetailsOfApiV2ResponseContentTypeEnum
- type ShowDetailsOfApiV2ResponseMatchMode
- type ShowDetailsOfApiV2ResponseMatchModeEnum
- type ShowDetailsOfApiV2ResponseReqMethod
- type ShowDetailsOfApiV2ResponseReqMethodEnum
- type ShowDetailsOfApiV2ResponseReqProtocol
- type ShowDetailsOfApiV2ResponseReqProtocolEnum
- type ShowDetailsOfApiV2ResponseType
- type ShowDetailsOfApiV2ResponseTypeEnum
- type ShowDetailsOfAppCodeV2Request
- type ShowDetailsOfAppCodeV2Response
- type ShowDetailsOfAppV2Request
- type ShowDetailsOfAppV2Response
- type ShowDetailsOfAppV2ResponseAppType
- type ShowDetailsOfAppV2ResponseAppTypeEnum
- type ShowDetailsOfAppV2ResponseCreator
- type ShowDetailsOfAppV2ResponseCreatorEnum
- type ShowDetailsOfAppV2ResponseStatus
- type ShowDetailsOfAppV2ResponseStatusEnum
- type ShowDetailsOfCertificateV2Request
- type ShowDetailsOfCertificateV2Response
- type ShowDetailsOfCertificateV2ResponseType
- type ShowDetailsOfCertificateV2ResponseTypeEnum
- type ShowDetailsOfCustomAuthorizersV2Request
- type ShowDetailsOfCustomAuthorizersV2Response
- type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType
- type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum
- type ShowDetailsOfCustomAuthorizersV2ResponseType
- type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum
- type ShowDetailsOfDomainNameCertificateV2Request
- type ShowDetailsOfDomainNameCertificateV2Response
- type ShowDetailsOfEnvironmentVariableV2Request
- type ShowDetailsOfEnvironmentVariableV2Response
- type ShowDetailsOfGatewayResponseTypeV2Request
- type ShowDetailsOfGatewayResponseTypeV2RequestResponseType
- type ShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum
- type ShowDetailsOfGatewayResponseTypeV2Response
- type ShowDetailsOfGatewayResponseV2Request
- type ShowDetailsOfGatewayResponseV2Response
- type ShowDetailsOfInstanceProgressV2Request
- type ShowDetailsOfInstanceProgressV2Response
- type ShowDetailsOfInstanceProgressV2ResponseProgress
- type ShowDetailsOfInstanceProgressV2ResponseProgressEnum
- type ShowDetailsOfInstanceProgressV2ResponseStatus
- type ShowDetailsOfInstanceProgressV2ResponseStatusEnum
- type ShowDetailsOfInstanceV2Request
- type ShowDetailsOfInstanceV2Response
- type ShowDetailsOfInstanceV2ResponseChargingMode
- type ShowDetailsOfInstanceV2ResponseChargingModeEnum
- type ShowDetailsOfInstanceV2ResponseInstanceStatus
- type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum
- type ShowDetailsOfInstanceV2ResponseLoadbalancerProvider
- type ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum
- type ShowDetailsOfInstanceV2ResponseSpec
- type ShowDetailsOfInstanceV2ResponseSpecEnum
- type ShowDetailsOfInstanceV2ResponseStatus
- type ShowDetailsOfInstanceV2ResponseStatusEnum
- type ShowDetailsOfMemberGroupRequest
- type ShowDetailsOfMemberGroupResponse
- type ShowDetailsOfRequestThrottlingPolicyV2Request
- type ShowDetailsOfRequestThrottlingPolicyV2Response
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
- func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
- func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseType
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum
- type ShowDetailsOfVpcChannelV2Request
- type ShowDetailsOfVpcChannelV2Response
- type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy
- type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum
- type ShowDetailsOfVpcChannelV2ResponseMemberType
- type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum
- type ShowDetailsOfVpcChannelV2ResponseStatus
- type ShowDetailsOfVpcChannelV2ResponseStatusEnum
- type ShowPluginRequest
- type ShowPluginResponse
- type ShowPluginResponsePluginScope
- type ShowPluginResponsePluginScopeEnum
- type ShowPluginResponsePluginType
- type ShowPluginResponsePluginTypeEnum
- type SignApiBinding
- type SignApiBindingBase
- type SignApiBindingInfo
- type SignApiBindingInfoSignType
- type SignApiBindingInfoSignTypeEnum
- type SignApiBindingResult
- type Signature
- type SignatureSignAlgorithm
- type SignatureSignAlgorithmEnum
- type SignatureSignType
- type SignatureSignTypeEnum
- type SignatureWithBindNum
- type SignatureWithBindNumSignAlgorithm
- type SignatureWithBindNumSignAlgorithmEnum
- type SignatureWithBindNumSignType
- type SignatureWithBindNumSignTypeEnum
- type StatisticsApi
- type StatisticsApiCycle
- type StatisticsApiCycleEnum
- type StatisticsGroup
- type Success
- type SuccessAction
- type SuccessActionEnum
- type Swagger
- type ThrottleApiBinding
- type ThrottleApiBindingCreate
- type ThrottleApiBindingScope
- type ThrottleApiBindingScopeEnum
- type ThrottleBaseInfo
- type ThrottleBaseInfoTimeUnit
- type ThrottleBaseInfoTimeUnitEnum
- type ThrottleBaseInfoType
- type ThrottleBaseInfoTypeEnum
- type ThrottleBindingBatchDelete
- type ThrottleBindingBatchFailure
- type ThrottleForApi
- type ThrottleForApiIsIncluSpecialThrottle
- type ThrottleForApiIsIncluSpecialThrottleEnum
- type ThrottleForApiTimeUnit
- type ThrottleForApiTimeUnitEnum
- type ThrottleForApiType
- type ThrottleForApiTypeEnum
- type ThrottleSpecialBase
- type ThrottleSpecialCreate
- type ThrottleSpecialCreateObjectType
- type ThrottleSpecialCreateObjectTypeEnum
- type ThrottleSpecialInfo
- type ThrottleSpecialUpdate
- type ThrottlesInfo
- type ThrottlesInfoIsIncluSpecialThrottle
- type ThrottlesInfoIsIncluSpecialThrottleEnum
- type ThrottlesInfoTimeUnit
- type ThrottlesInfoTimeUnitEnum
- type ThrottlesInfoType
- type ThrottlesInfoTypeEnum
- type TmsKeyValue
- type UnbindApiForAcl
- type UpdateAclStrategyV2Request
- type UpdateAclStrategyV2Response
- type UpdateApiGroupV2Request
- type UpdateApiGroupV2Response
- type UpdateApiGroupV2ResponseStatus
- type UpdateApiGroupV2ResponseStatusEnum
- type UpdateApiV2Request
- type UpdateApiV2Response
- type UpdateApiV2ResponseAuthType
- type UpdateApiV2ResponseAuthTypeEnum
- type UpdateApiV2ResponseBackendType
- type UpdateApiV2ResponseBackendTypeEnum
- type UpdateApiV2ResponseContentType
- type UpdateApiV2ResponseContentTypeEnum
- type UpdateApiV2ResponseMatchMode
- type UpdateApiV2ResponseMatchModeEnum
- type UpdateApiV2ResponseReqMethod
- type UpdateApiV2ResponseReqMethodEnum
- type UpdateApiV2ResponseReqProtocol
- type UpdateApiV2ResponseReqProtocolEnum
- type UpdateApiV2ResponseType
- type UpdateApiV2ResponseTypeEnum
- type UpdateAppV2Request
- type UpdateAppV2Response
- type UpdateAppV2ResponseAppType
- type UpdateAppV2ResponseAppTypeEnum
- type UpdateAppV2ResponseCreator
- type UpdateAppV2ResponseCreatorEnum
- type UpdateAppV2ResponseStatus
- type UpdateAppV2ResponseStatusEnum
- type UpdateBackendInstancesV2Request
- type UpdateBackendInstancesV2Response
- type UpdateCertificateV2Request
- type UpdateCertificateV2Response
- type UpdateCertificateV2ResponseType
- type UpdateCertificateV2ResponseTypeEnum
- type UpdateCustomAuthorizerV2Request
- type UpdateCustomAuthorizerV2Response
- type UpdateCustomAuthorizerV2ResponseAuthorizerType
- type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum
- type UpdateCustomAuthorizerV2ResponseType
- type UpdateCustomAuthorizerV2ResponseTypeEnum
- type UpdateDomainV2Request
- type UpdateDomainV2Response
- type UpdateDomainV2ResponseStatus
- type UpdateDomainV2ResponseStatusEnum
- type UpdateEngressEipV2Request
- type UpdateEngressEipV2Response
- type UpdateEnvironmentV2Request
- type UpdateEnvironmentV2Response
- type UpdateGatewayResponseTypeV2Request
- type UpdateGatewayResponseTypeV2RequestResponseType
- type UpdateGatewayResponseTypeV2RequestResponseTypeEnum
- type UpdateGatewayResponseTypeV2Response
- type UpdateGatewayResponseV2Request
- type UpdateGatewayResponseV2Response
- type UpdateHealthCheckRequest
- type UpdateHealthCheckResponse
- type UpdateHealthCheckResponseMethod
- type UpdateHealthCheckResponseMethodEnum
- type UpdateHealthCheckResponseProtocol
- type UpdateHealthCheckResponseProtocolEnum
- type UpdateHealthCheckResponseStatus
- type UpdateHealthCheckResponseStatusEnum
- type UpdateInstanceV2Request
- type UpdateInstanceV2Response
- type UpdateInstanceV2ResponseChargingMode
- type UpdateInstanceV2ResponseChargingModeEnum
- type UpdateInstanceV2ResponseInstanceStatus
- type UpdateInstanceV2ResponseInstanceStatusEnum
- type UpdateInstanceV2ResponseLoadbalancerProvider
- type UpdateInstanceV2ResponseLoadbalancerProviderEnum
- type UpdateInstanceV2ResponseSpec
- type UpdateInstanceV2ResponseSpecEnum
- type UpdateInstanceV2ResponseStatus
- type UpdateInstanceV2ResponseStatusEnum
- type UpdateMemberGroupRequest
- type UpdateMemberGroupResponse
- type UpdatePluginRequest
- type UpdatePluginResponse
- type UpdatePluginResponsePluginScope
- type UpdatePluginResponsePluginScopeEnum
- type UpdatePluginResponsePluginType
- type UpdatePluginResponsePluginTypeEnum
- type UpdateRequestThrottlingPolicyV2Request
- type UpdateRequestThrottlingPolicyV2Response
- type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type UpdateRequestThrottlingPolicyV2ResponseTimeUnit
- type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type UpdateRequestThrottlingPolicyV2ResponseType
- type UpdateRequestThrottlingPolicyV2ResponseTypeEnum
- type UpdateSignatureKeyV2Request
- type UpdateSignatureKeyV2Response
- type UpdateSignatureKeyV2ResponseSignAlgorithm
- type UpdateSignatureKeyV2ResponseSignAlgorithmEnum
- type UpdateSignatureKeyV2ResponseSignType
- type UpdateSignatureKeyV2ResponseSignTypeEnum
- type UpdateSpecialThrottlingConfigurationV2Request
- type UpdateSpecialThrottlingConfigurationV2Response
- type UpdateVpcChannelV2Request
- type UpdateVpcChannelV2Response
- type UpdateVpcChannelV2ResponseBalanceStrategy
- type UpdateVpcChannelV2ResponseBalanceStrategyEnum
- type UpdateVpcChannelV2ResponseMemberType
- type UpdateVpcChannelV2ResponseMemberTypeEnum
- type UpdateVpcChannelV2ResponseStatus
- type UpdateVpcChannelV2ResponseStatusEnum
- type UrlDomain
- type UrlDomainBase
- type UrlDomainBaseInfo
- type UrlDomainBaseInfoStatus
- type UrlDomainBaseInfoStatusEnum
- type UrlDomainBaseMinSslVersion
- type UrlDomainBaseMinSslVersionEnum
- type UrlDomainCreate
- type UrlDomainCreateMinSslVersion
- type UrlDomainCreateMinSslVersionEnum
- type UrlDomainMinSslVersion
- type UrlDomainMinSslVersionEnum
- type UrlDomainModify
- type UrlDomainModifyMinSslVersion
- type UrlDomainModifyMinSslVersionEnum
- type UrlDomainRefInfo
- type UrlDomainRefInfoStatus
- type UrlDomainRefInfoStatusEnum
- type VpcBase
- type VpcBaseBalanceStrategy
- type VpcBaseBalanceStrategyEnum
- type VpcBaseInfo
- type VpcBaseMemberType
- type VpcBaseMemberTypeEnum
- type VpcChannelInfo
- type VpcChannelInfoBalanceStrategy
- type VpcChannelInfoBalanceStrategyEnum
- type VpcChannelInfoMemberType
- type VpcChannelInfoMemberTypeEnum
- type VpcChannelInfoStatus
- type VpcChannelInfoStatusEnum
- type VpcCreate
- type VpcCreateBalanceStrategy
- type VpcCreateBalanceStrategyEnum
- type VpcCreateMemberType
- type VpcCreateMemberTypeEnum
- type VpcHealthConfig
- type VpcHealthConfigBase
- type VpcHealthConfigBaseMethod
- type VpcHealthConfigBaseMethodEnum
- type VpcHealthConfigBaseProtocol
- type VpcHealthConfigBaseProtocolEnum
- type VpcHealthConfigBaseStatus
- type VpcHealthConfigBaseStatusEnum
- type VpcHealthConfigInfo
- type VpcHealthConfigInfoMethod
- type VpcHealthConfigInfoMethodEnum
- type VpcHealthConfigInfoProtocol
- type VpcHealthConfigInfoProtocolEnum
- type VpcHealthConfigInfoStatus
- type VpcHealthConfigInfoStatusEnum
- type VpcHealthConfigMethod
- type VpcHealthConfigMethodEnum
- type VpcHealthConfigProtocol
- type VpcHealthConfigProtocolEnum
- type VpcHealthConfigStatus
- type VpcHealthConfigStatusEnum
- type VpcInfo
- type VpcMemberCreate
- type VpcMemberInfo
- type VpcMemberInfoStatus
- type VpcMemberInfoStatusEnum
- type VpcMemberModify
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclApiBindingCreate ¶ added in v0.0.65
type AclApiBindingCreate struct { // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // API发布记录编号 PublishIds *[]string `json:"publish_ids,omitempty"` }
func (AclApiBindingCreate) String ¶ added in v0.0.65
func (o AclApiBindingCreate) String() string
type AclApiBindingInfo ¶ added in v0.0.65
type AclApiBindingInfo struct { // 绑定关系编号 Id *string `json:"id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // 绑定时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
func (AclApiBindingInfo) String ¶ added in v0.0.65
func (o AclApiBindingInfo) String() string
type AclBatchDelete ¶ added in v0.0.65
type AclBatchDelete struct { // 需要删除的ACL策略ID列表 Acls *[]string `json:"acls,omitempty"` }
func (AclBatchDelete) String ¶ added in v0.0.65
func (o AclBatchDelete) String() string
type AclBatchResultFailureResp ¶ added in v0.0.65
type AclBatchResultFailureResp struct { // 删除失败的ACL策略ID AclId *string `json:"acl_id,omitempty"` // 删除失败的ACL策略名称 AclName *string `json:"acl_name,omitempty"` // 删除失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 删除失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
func (AclBatchResultFailureResp) String ¶ added in v0.0.65
func (o AclBatchResultFailureResp) String() string
type AclBindApiInfo ¶ added in v0.0.69
type AclBindApiInfo struct { // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API类型 ApiType *int64 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // 生效的环境编号 EnvId *string `json:"env_id,omitempty"` // 生效的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定关系编号 BindId *string `json:"bind_id,omitempty"` // API分组名称 GroupName *string `json:"group_name,omitempty"` // 绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` // API发布记录编号 PublishId *string `json:"publish_id,omitempty"` }
func (AclBindApiInfo) String ¶ added in v0.0.69
func (o AclBindApiInfo) String() string
type AclBindingBatchDelete ¶ added in v0.0.65
type AclBindingBatchDelete struct { // 需要解除绑定的API和ACL绑定关系ID列表 AclBindings *[]string `json:"acl_bindings,omitempty"` }
func (AclBindingBatchDelete) String ¶ added in v0.0.65
func (o AclBindingBatchDelete) String() string
type AclBindingBatchFailure ¶ added in v0.0.69
type AclBindingBatchFailure struct { // 解除绑定失败的API和ACL绑定关系ID BindId *string `json:"bind_id,omitempty"` // 解除绑定失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 解除绑定失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 解除绑定失败的API的ID ApiId *string `json:"api_id,omitempty"` // 解除绑定失败的API的名称 ApiName *string `json:"api_name,omitempty"` }
func (AclBindingBatchFailure) String ¶ added in v0.0.69
func (o AclBindingBatchFailure) String() string
type AddEipV2Request ¶ added in v0.0.65
type AddEipV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *EipBindReq `json:"body,omitempty"` }
Request Object
func (AddEipV2Request) String ¶ added in v0.0.65
func (o AddEipV2Request) String() string
type AddEipV2Response ¶ added in v0.0.65
type AddEipV2Response struct { // 弹性公网IP编号 EipId *string `json:"eip_id,omitempty"` // 弹性公网IP EipAddress *string `json:"eip_address,omitempty"` // 弹性公网IP状态 EipStatus *string `json:"eip_status,omitempty"` // 弹性公网IP(IPV6) EipIpv6Address *string `json:"eip_ipv6_address,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddEipV2Response) String ¶ added in v0.0.65
func (o AddEipV2Response) String() string
type AddEngressEipV2Request ¶ added in v0.0.65
type AddEngressEipV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *OpenEngressEipReq `json:"body,omitempty"` }
Request Object
func (AddEngressEipV2Request) String ¶ added in v0.0.65
func (o AddEngressEipV2Request) String() string
type AddEngressEipV2Response ¶ added in v0.0.65
type AddEngressEipV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddEngressEipV2Response) String ¶ added in v0.0.65
func (o AddEngressEipV2Response) String() string
type AddingBackendInstancesV2Request ¶ added in v0.0.65
type AddingBackendInstancesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcMemberCreate `json:"body,omitempty"` }
Request Object
func (AddingBackendInstancesV2Request) String ¶ added in v0.0.65
func (o AddingBackendInstancesV2Request) String() string
type AddingBackendInstancesV2Response ¶ added in v0.0.65
type AddingBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddingBackendInstancesV2Response) String ¶ added in v0.0.65
func (o AddingBackendInstancesV2Response) String() string
type ApiAclCreate ¶ added in v0.0.65
type ApiAclCreate struct { // ACL策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 AclName string `json:"acl_name"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AclType ApiAclCreateAclType `json:"acl_type"` // ACL策略值,支持一个或多个值,使用英文半角逗号分隔 AclValue string `json:"acl_value"` // 对象类型: - IP:IP地址 - DOMAIN:账号名 - DOMAIN_ID:账号ID EntityType ApiAclCreateEntityType `json:"entity_type"` }
func (ApiAclCreate) String ¶ added in v0.0.65
func (o ApiAclCreate) String() string
type ApiAclCreateAclType ¶ added in v0.1.7
type ApiAclCreateAclType struct {
// contains filtered or unexported fields
}
func (ApiAclCreateAclType) MarshalJSON ¶ added in v0.1.7
func (c ApiAclCreateAclType) MarshalJSON() ([]byte, error)
func (*ApiAclCreateAclType) UnmarshalJSON ¶ added in v0.1.7
func (c *ApiAclCreateAclType) UnmarshalJSON(b []byte) error
func (ApiAclCreateAclType) Value ¶ added in v0.1.7
func (c ApiAclCreateAclType) Value() string
type ApiAclCreateAclTypeEnum ¶ added in v0.1.7
type ApiAclCreateAclTypeEnum struct { PERMIT ApiAclCreateAclType DENY ApiAclCreateAclType }
func GetApiAclCreateAclTypeEnum ¶ added in v0.1.7
func GetApiAclCreateAclTypeEnum() ApiAclCreateAclTypeEnum
type ApiAclCreateEntityType ¶ added in v0.1.7
type ApiAclCreateEntityType struct {
// contains filtered or unexported fields
}
func (ApiAclCreateEntityType) MarshalJSON ¶ added in v0.1.7
func (c ApiAclCreateEntityType) MarshalJSON() ([]byte, error)
func (*ApiAclCreateEntityType) UnmarshalJSON ¶ added in v0.1.7
func (c *ApiAclCreateEntityType) UnmarshalJSON(b []byte) error
func (ApiAclCreateEntityType) Value ¶ added in v0.1.7
func (c ApiAclCreateEntityType) Value() string
type ApiAclCreateEntityTypeEnum ¶ added in v0.1.7
type ApiAclCreateEntityTypeEnum struct { IP ApiAclCreateEntityType DOMAIN ApiAclCreateEntityType DOMAIN_ID ApiAclCreateEntityType }
func GetApiAclCreateEntityTypeEnum ¶ added in v0.1.7
func GetApiAclCreateEntityTypeEnum() ApiAclCreateEntityTypeEnum
type ApiAclInfoWithBindNum ¶ added in v0.0.65
type ApiAclInfoWithBindNum struct { // ACL策略名称 AclName *string `json:"acl_name,omitempty"` // 类型 - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略的值 AclValue *string `json:"acl_value,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 对象类型 - IP - DOMAIN - DOMAIN_ID EntityType *string `json:"entity_type,omitempty"` // ACL策略编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (ApiAclInfoWithBindNum) String ¶ added in v0.0.65
func (o ApiAclInfoWithBindNum) String() string
type ApiActionInfo ¶ added in v0.0.69
type ApiActionInfo struct { // 需要进行的操作。 - online:发布 - offline:下线 Action ApiActionInfoAction `json:"action"` // 环境的编号,即:API需要发布到哪个环境 EnvId string `json:"env_id"` // API的编号,即:需要进行发布或下线的API的编号 ApiId string `json:"api_id"` // 对发布动作的简述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiActionInfo) String ¶ added in v0.0.69
func (o ApiActionInfo) String() string
type ApiActionInfoAction ¶ added in v0.0.69
type ApiActionInfoAction struct {
// contains filtered or unexported fields
}
func (ApiActionInfoAction) MarshalJSON ¶ added in v0.0.69
func (c ApiActionInfoAction) MarshalJSON() ([]byte, error)
func (*ApiActionInfoAction) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiActionInfoAction) UnmarshalJSON(b []byte) error
func (ApiActionInfoAction) Value ¶ added in v0.0.90
func (c ApiActionInfoAction) Value() string
type ApiActionInfoActionEnum ¶ added in v0.0.69
type ApiActionInfoActionEnum struct { ONLINE ApiActionInfoAction OFFLINE ApiActionInfoAction }
func GetApiActionInfoActionEnum ¶ added in v0.0.69
func GetApiActionInfoActionEnum() ApiActionInfoActionEnum
type ApiAuthBase ¶ added in v0.0.69
type ApiAuthBase struct { // 授权关系编号 Id *string `json:"id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API的名称 ApiName *string `json:"api_name,omitempty"` // API绑定的分组名称 GroupName *string `json:"group_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // api授权绑定的环境ID EnvId *string `json:"env_id,omitempty"` // 授权者 AuthRole *string `json:"auth_role,omitempty"` // 授权创建的时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // APP的名称 AppName *string `json:"app_name,omitempty"` // APP的描述 AppRemark *string `json:"app_remark,omitempty"` // APP的类型: 默认为apig,暂不支持其他类型 AppType *ApiAuthBaseAppType `json:"app_type,omitempty"` // APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持 AppCreator *string `json:"app_creator,omitempty"` // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API绑定的分组ID GroupId *string `json:"group_id,omitempty"` // 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道 暂不支持,默认NORMAL AuthTunnel *ApiAuthBaseAuthTunnel `json:"auth_tunnel,omitempty"` // 绿色通道的白名单配置 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道的黑名单配置 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParam *string `json:"visit_param,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` }
func (ApiAuthBase) String ¶ added in v0.0.69
func (o ApiAuthBase) String() string
type ApiAuthBaseAppType ¶ added in v0.0.69
type ApiAuthBaseAppType struct {
// contains filtered or unexported fields
}
func (ApiAuthBaseAppType) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthBaseAppType) MarshalJSON() ([]byte, error)
func (*ApiAuthBaseAppType) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthBaseAppType) UnmarshalJSON(b []byte) error
func (ApiAuthBaseAppType) Value ¶ added in v0.0.90
func (c ApiAuthBaseAppType) Value() string
type ApiAuthBaseAppTypeEnum ¶ added in v0.0.69
type ApiAuthBaseAppTypeEnum struct { APIG ApiAuthBaseAppType ROMA ApiAuthBaseAppType }
func GetApiAuthBaseAppTypeEnum ¶ added in v0.0.69
func GetApiAuthBaseAppTypeEnum() ApiAuthBaseAppTypeEnum
type ApiAuthBaseAuthTunnel ¶ added in v0.0.69
type ApiAuthBaseAuthTunnel struct {
// contains filtered or unexported fields
}
func (ApiAuthBaseAuthTunnel) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthBaseAuthTunnel) MarshalJSON() ([]byte, error)
func (*ApiAuthBaseAuthTunnel) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthBaseAuthTunnel) UnmarshalJSON(b []byte) error
func (ApiAuthBaseAuthTunnel) Value ¶ added in v0.0.90
func (c ApiAuthBaseAuthTunnel) Value() string
type ApiAuthBaseAuthTunnelEnum ¶ added in v0.0.69
type ApiAuthBaseAuthTunnelEnum struct { NORMAL ApiAuthBaseAuthTunnel GREEN ApiAuthBaseAuthTunnel }
func GetApiAuthBaseAuthTunnelEnum ¶ added in v0.0.69
func GetApiAuthBaseAuthTunnelEnum() ApiAuthBaseAuthTunnelEnum
type ApiAuthCreate ¶ added in v0.0.69
type ApiAuthCreate struct { // 需要授权的环境编号 EnvId string `json:"env_id"` // APP的编号列表 AppIds []string `json:"app_ids"` // API的编号列表[,可以选择租户自己的API,也可以选择从云商店上购买的API](tag:hws)。 ApiIds []string `json:"api_ids"` }
func (ApiAuthCreate) String ¶ added in v0.0.69
func (o ApiAuthCreate) String() string
type ApiAuthInfo ¶ added in v0.0.69
type ApiAuthInfo struct { // 授权关系编号 Id *string `json:"id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API的名称 ApiName *string `json:"api_name,omitempty"` // API绑定的分组名称 GroupName *string `json:"group_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // api授权绑定的环境ID EnvId *string `json:"env_id,omitempty"` // 授权者 AuthRole *string `json:"auth_role,omitempty"` // 授权创建的时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // APP的名称 AppName *string `json:"app_name,omitempty"` // APP的描述 AppRemark *string `json:"app_remark,omitempty"` // APP的类型: 默认为apig,暂不支持其他类型 AppType *ApiAuthInfoAppType `json:"app_type,omitempty"` // APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持 AppCreator *string `json:"app_creator,omitempty"` // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API绑定的分组ID GroupId *string `json:"group_id,omitempty"` // 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道 暂不支持,默认NORMAL AuthTunnel *ApiAuthInfoAuthTunnel `json:"auth_tunnel,omitempty"` // 绿色通道的白名单配置 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道的黑名单配置 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParam *string `json:"visit_param,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` // api授权绑定的环境名称 EnvName *string `json:"env_name,omitempty"` // APP的编号 AppId *string `json:"app_id,omitempty"` }
func (ApiAuthInfo) String ¶ added in v0.0.69
func (o ApiAuthInfo) String() string
type ApiAuthInfoAppType ¶ added in v0.0.69
type ApiAuthInfoAppType struct {
// contains filtered or unexported fields
}
func (ApiAuthInfoAppType) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthInfoAppType) MarshalJSON() ([]byte, error)
func (*ApiAuthInfoAppType) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthInfoAppType) UnmarshalJSON(b []byte) error
func (ApiAuthInfoAppType) Value ¶ added in v0.0.90
func (c ApiAuthInfoAppType) Value() string
type ApiAuthInfoAppTypeEnum ¶ added in v0.0.69
type ApiAuthInfoAppTypeEnum struct { APIG ApiAuthInfoAppType ROMA ApiAuthInfoAppType }
func GetApiAuthInfoAppTypeEnum ¶ added in v0.0.69
func GetApiAuthInfoAppTypeEnum() ApiAuthInfoAppTypeEnum
type ApiAuthInfoAuthTunnel ¶ added in v0.0.69
type ApiAuthInfoAuthTunnel struct {
// contains filtered or unexported fields
}
func (ApiAuthInfoAuthTunnel) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthInfoAuthTunnel) MarshalJSON() ([]byte, error)
func (*ApiAuthInfoAuthTunnel) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthInfoAuthTunnel) UnmarshalJSON(b []byte) error
func (ApiAuthInfoAuthTunnel) Value ¶ added in v0.0.90
func (c ApiAuthInfoAuthTunnel) Value() string
type ApiAuthInfoAuthTunnelEnum ¶ added in v0.0.69
type ApiAuthInfoAuthTunnelEnum struct { NORMAL ApiAuthInfoAuthTunnel GREEN ApiAuthInfoAuthTunnel }
func GetApiAuthInfoAuthTunnelEnum ¶ added in v0.0.69
func GetApiAuthInfoAuthTunnelEnum() ApiAuthInfoAuthTunnelEnum
type ApiAuthRelations ¶ added in v0.0.69
type ApiAuthRelations struct { // API编号 ApiId *string `json:"api_id,omitempty"` AuthResult *AuthResult `json:"auth_result,omitempty"` // 授权时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // 授权关系编号 Id *string `json:"id,omitempty"` // APP编号 AppId *string `json:"app_id,omitempty"` // 授权者 - PROVIDER:API提供者授权 - CONSUMER:API消费者授权 AuthRole *ApiAuthRelationsAuthRole `json:"auth_role,omitempty"` // 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道 暂不支持,默认NORMAL AuthTunnel *ApiAuthRelationsAuthTunnel `json:"auth_tunnel,omitempty"` // 绿色通道的白名单配置 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道的黑名单配置 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParams *string `json:"visit_params,omitempty"` }
func (ApiAuthRelations) String ¶ added in v0.0.69
func (o ApiAuthRelations) String() string
type ApiAuthRelationsAuthRole ¶ added in v0.0.69
type ApiAuthRelationsAuthRole struct {
// contains filtered or unexported fields
}
func (ApiAuthRelationsAuthRole) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthRelationsAuthRole) MarshalJSON() ([]byte, error)
func (*ApiAuthRelationsAuthRole) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthRelationsAuthRole) UnmarshalJSON(b []byte) error
func (ApiAuthRelationsAuthRole) Value ¶ added in v0.0.90
func (c ApiAuthRelationsAuthRole) Value() string
type ApiAuthRelationsAuthRoleEnum ¶ added in v0.0.69
type ApiAuthRelationsAuthRoleEnum struct { PROVIDER ApiAuthRelationsAuthRole CONSUMER ApiAuthRelationsAuthRole }
func GetApiAuthRelationsAuthRoleEnum ¶ added in v0.0.69
func GetApiAuthRelationsAuthRoleEnum() ApiAuthRelationsAuthRoleEnum
type ApiAuthRelationsAuthTunnel ¶ added in v0.0.69
type ApiAuthRelationsAuthTunnel struct {
// contains filtered or unexported fields
}
func (ApiAuthRelationsAuthTunnel) MarshalJSON ¶ added in v0.0.69
func (c ApiAuthRelationsAuthTunnel) MarshalJSON() ([]byte, error)
func (*ApiAuthRelationsAuthTunnel) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiAuthRelationsAuthTunnel) UnmarshalJSON(b []byte) error
func (ApiAuthRelationsAuthTunnel) Value ¶ added in v0.0.90
func (c ApiAuthRelationsAuthTunnel) Value() string
type ApiAuthRelationsAuthTunnelEnum ¶ added in v0.0.69
type ApiAuthRelationsAuthTunnelEnum struct { NORMAL ApiAuthRelationsAuthTunnel GREEN ApiAuthRelationsAuthTunnel }
func GetApiAuthRelationsAuthTunnelEnum ¶ added in v0.0.69
func GetApiAuthRelationsAuthTunnelEnum() ApiAuthRelationsAuthTunnelEnum
type ApiBackendVpcReq ¶
type ApiBackendVpcReq struct { // 代理主机 VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"` // VPC通道编号 VpcChannelId string `json:"vpc_channel_id"` }
VPC通道详情。vpc_channel_status = 1,则这个object类型为必填信息
func (ApiBackendVpcReq) String ¶
func (o ApiBackendVpcReq) String() string
type ApiBaseInfo ¶
type ApiBaseInfo struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiBaseInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiBaseInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiBaseInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiBaseInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiBaseInfoMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiBaseInfoBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiBaseInfoContentType `json:"content_type,omitempty"` }
func (ApiBaseInfo) String ¶
func (o ApiBaseInfo) String() string
type ApiBaseInfoAuthType ¶
type ApiBaseInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoAuthType) MarshalJSON ¶
func (c ApiBaseInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoAuthType) UnmarshalJSON ¶
func (c *ApiBaseInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoAuthType) Value ¶ added in v0.0.90
func (c ApiBaseInfoAuthType) Value() string
type ApiBaseInfoAuthTypeEnum ¶
type ApiBaseInfoAuthTypeEnum struct { NONE ApiBaseInfoAuthType APP ApiBaseInfoAuthType IAM ApiBaseInfoAuthType AUTHORIZER ApiBaseInfoAuthType }
func GetApiBaseInfoAuthTypeEnum ¶
func GetApiBaseInfoAuthTypeEnum() ApiBaseInfoAuthTypeEnum
type ApiBaseInfoBackendType ¶
type ApiBaseInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoBackendType) MarshalJSON ¶
func (c ApiBaseInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoBackendType) UnmarshalJSON ¶
func (c *ApiBaseInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoBackendType) Value ¶ added in v0.0.90
func (c ApiBaseInfoBackendType) Value() string
type ApiBaseInfoBackendTypeEnum ¶
type ApiBaseInfoBackendTypeEnum struct { HTTP ApiBaseInfoBackendType FUNCTION ApiBaseInfoBackendType MOCK ApiBaseInfoBackendType }
func GetApiBaseInfoBackendTypeEnum ¶
func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum
type ApiBaseInfoContentType ¶ added in v0.0.76
type ApiBaseInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiBaseInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiBaseInfoContentType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoContentType) Value ¶ added in v0.0.90
func (c ApiBaseInfoContentType) Value() string
type ApiBaseInfoContentTypeEnum ¶ added in v0.0.76
type ApiBaseInfoContentTypeEnum struct { APPLICATION_JSON ApiBaseInfoContentType APPLICATION_XML ApiBaseInfoContentType MULTIPART_FORM_DATE ApiBaseInfoContentType TEXT_PLAIN ApiBaseInfoContentType }
func GetApiBaseInfoContentTypeEnum ¶ added in v0.0.76
func GetApiBaseInfoContentTypeEnum() ApiBaseInfoContentTypeEnum
type ApiBaseInfoMatchMode ¶
type ApiBaseInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoMatchMode) MarshalJSON ¶
func (c ApiBaseInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoMatchMode) UnmarshalJSON ¶
func (c *ApiBaseInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiBaseInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiBaseInfoMatchMode) Value() string
type ApiBaseInfoMatchModeEnum ¶
type ApiBaseInfoMatchModeEnum struct { SWA ApiBaseInfoMatchMode NORMAL ApiBaseInfoMatchMode }
func GetApiBaseInfoMatchModeEnum ¶
func GetApiBaseInfoMatchModeEnum() ApiBaseInfoMatchModeEnum
type ApiBaseInfoReqMethod ¶
type ApiBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoReqMethod) MarshalJSON ¶
func (c ApiBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoReqMethod) UnmarshalJSON ¶
func (c *ApiBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiBaseInfoReqMethod) Value() string
type ApiBaseInfoReqMethodEnum ¶
type ApiBaseInfoReqMethodEnum struct { GET ApiBaseInfoReqMethod POST ApiBaseInfoReqMethod PUT ApiBaseInfoReqMethod DELETE ApiBaseInfoReqMethod HEAD ApiBaseInfoReqMethod PATCH ApiBaseInfoReqMethod OPTIONS ApiBaseInfoReqMethod ANY ApiBaseInfoReqMethod }
func GetApiBaseInfoReqMethodEnum ¶
func GetApiBaseInfoReqMethodEnum() ApiBaseInfoReqMethodEnum
type ApiBaseInfoReqProtocol ¶
type ApiBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoReqProtocol) MarshalJSON ¶
func (c ApiBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *ApiBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiBaseInfoReqProtocol) Value() string
type ApiBaseInfoReqProtocolEnum ¶
type ApiBaseInfoReqProtocolEnum struct { HTTP ApiBaseInfoReqProtocol HTTPS ApiBaseInfoReqProtocol BOTH ApiBaseInfoReqProtocol }
func GetApiBaseInfoReqProtocolEnum ¶
func GetApiBaseInfoReqProtocolEnum() ApiBaseInfoReqProtocolEnum
type ApiBaseInfoType ¶
type ApiBaseInfoType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoType) MarshalJSON ¶
func (c ApiBaseInfoType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoType) UnmarshalJSON ¶
func (c *ApiBaseInfoType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoType) Value ¶ added in v0.0.90
func (c ApiBaseInfoType) Value() int32
type ApiBaseInfoTypeEnum ¶
type ApiBaseInfoTypeEnum struct { E_1 ApiBaseInfoType E_2 ApiBaseInfoType }
func GetApiBaseInfoTypeEnum ¶
func GetApiBaseInfoTypeEnum() ApiBaseInfoTypeEnum
type ApiBatchPublish ¶ added in v0.0.65
type ApiBatchPublish struct { // 需要发布或下线的API ID列表,单次更新上限为1000个API Apis *[]string `json:"apis,omitempty"` // 环境ID EnvId *string `json:"env_id,omitempty"` // 对本次发布的描述信息 字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiBatchPublish) String ¶ added in v0.0.65
func (o ApiBatchPublish) String() string
type ApiBindAclInfo ¶ added in v0.0.69
type ApiBindAclInfo struct { // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // ACL策略名称 AclName *string `json:"acl_name,omitempty"` // ACL策略作用的对象类型 EntityType *ApiBindAclInfoEntityType `json:"entity_type,omitempty"` // ACL策略类型 - PERMIT:白名单类型 - DENY:黑名单类型 AclType *ApiBindAclInfoAclType `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 生效的环境编号 EnvId *string `json:"env_id,omitempty"` // 生效的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定关系编号 BindId *string `json:"bind_id,omitempty"` // 绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` }
func (ApiBindAclInfo) String ¶ added in v0.0.69
func (o ApiBindAclInfo) String() string
type ApiBindAclInfoAclType ¶ added in v0.0.69
type ApiBindAclInfoAclType struct {
// contains filtered or unexported fields
}
func (ApiBindAclInfoAclType) MarshalJSON ¶ added in v0.0.69
func (c ApiBindAclInfoAclType) MarshalJSON() ([]byte, error)
func (*ApiBindAclInfoAclType) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiBindAclInfoAclType) UnmarshalJSON(b []byte) error
func (ApiBindAclInfoAclType) Value ¶ added in v0.0.90
func (c ApiBindAclInfoAclType) Value() string
type ApiBindAclInfoAclTypeEnum ¶ added in v0.0.69
type ApiBindAclInfoAclTypeEnum struct { PERMIT ApiBindAclInfoAclType DENY ApiBindAclInfoAclType }
func GetApiBindAclInfoAclTypeEnum ¶ added in v0.0.69
func GetApiBindAclInfoAclTypeEnum() ApiBindAclInfoAclTypeEnum
type ApiBindAclInfoEntityType ¶ added in v0.0.69
type ApiBindAclInfoEntityType struct {
// contains filtered or unexported fields
}
func (ApiBindAclInfoEntityType) MarshalJSON ¶ added in v0.0.69
func (c ApiBindAclInfoEntityType) MarshalJSON() ([]byte, error)
func (*ApiBindAclInfoEntityType) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiBindAclInfoEntityType) UnmarshalJSON(b []byte) error
func (ApiBindAclInfoEntityType) Value ¶ added in v0.0.90
func (c ApiBindAclInfoEntityType) Value() string
type ApiBindAclInfoEntityTypeEnum ¶ added in v0.0.69
type ApiBindAclInfoEntityTypeEnum struct { IP ApiBindAclInfoEntityType DOMAIN ApiBindAclInfoEntityType DOMAIN_ID ApiBindAclInfoEntityType }
func GetApiBindAclInfoEntityTypeEnum ¶ added in v0.0.69
func GetApiBindAclInfoEntityTypeEnum() ApiBindAclInfoEntityTypeEnum
type ApiCommon ¶
type ApiCommon struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiCommonType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCommonReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCommonReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCommonAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCommonMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCommonBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiCommonContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` }
type ApiCommonAuthType ¶
type ApiCommonAuthType struct {
// contains filtered or unexported fields
}
func (ApiCommonAuthType) MarshalJSON ¶
func (c ApiCommonAuthType) MarshalJSON() ([]byte, error)
func (*ApiCommonAuthType) UnmarshalJSON ¶
func (c *ApiCommonAuthType) UnmarshalJSON(b []byte) error
func (ApiCommonAuthType) Value ¶ added in v0.0.90
func (c ApiCommonAuthType) Value() string
type ApiCommonAuthTypeEnum ¶
type ApiCommonAuthTypeEnum struct { NONE ApiCommonAuthType APP ApiCommonAuthType IAM ApiCommonAuthType AUTHORIZER ApiCommonAuthType }
func GetApiCommonAuthTypeEnum ¶
func GetApiCommonAuthTypeEnum() ApiCommonAuthTypeEnum
type ApiCommonBackendType ¶
type ApiCommonBackendType struct {
// contains filtered or unexported fields
}
func (ApiCommonBackendType) MarshalJSON ¶
func (c ApiCommonBackendType) MarshalJSON() ([]byte, error)
func (*ApiCommonBackendType) UnmarshalJSON ¶
func (c *ApiCommonBackendType) UnmarshalJSON(b []byte) error
func (ApiCommonBackendType) Value ¶ added in v0.0.90
func (c ApiCommonBackendType) Value() string
type ApiCommonBackendTypeEnum ¶
type ApiCommonBackendTypeEnum struct { HTTP ApiCommonBackendType FUNCTION ApiCommonBackendType MOCK ApiCommonBackendType }
func GetApiCommonBackendTypeEnum ¶
func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum
type ApiCommonContentType ¶ added in v0.0.76
type ApiCommonContentType struct {
// contains filtered or unexported fields
}
func (ApiCommonContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiCommonContentType) MarshalJSON() ([]byte, error)
func (*ApiCommonContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiCommonContentType) UnmarshalJSON(b []byte) error
func (ApiCommonContentType) Value ¶ added in v0.0.90
func (c ApiCommonContentType) Value() string
type ApiCommonContentTypeEnum ¶ added in v0.0.76
type ApiCommonContentTypeEnum struct { APPLICATION_JSON ApiCommonContentType APPLICATION_XML ApiCommonContentType MULTIPART_FORM_DATE ApiCommonContentType TEXT_PLAIN ApiCommonContentType }
func GetApiCommonContentTypeEnum ¶ added in v0.0.76
func GetApiCommonContentTypeEnum() ApiCommonContentTypeEnum
type ApiCommonMatchMode ¶
type ApiCommonMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCommonMatchMode) MarshalJSON ¶
func (c ApiCommonMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCommonMatchMode) UnmarshalJSON ¶
func (c *ApiCommonMatchMode) UnmarshalJSON(b []byte) error
func (ApiCommonMatchMode) Value ¶ added in v0.0.90
func (c ApiCommonMatchMode) Value() string
type ApiCommonMatchModeEnum ¶
type ApiCommonMatchModeEnum struct { SWA ApiCommonMatchMode NORMAL ApiCommonMatchMode }
func GetApiCommonMatchModeEnum ¶
func GetApiCommonMatchModeEnum() ApiCommonMatchModeEnum
type ApiCommonReqMethod ¶
type ApiCommonReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCommonReqMethod) MarshalJSON ¶
func (c ApiCommonReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCommonReqMethod) UnmarshalJSON ¶
func (c *ApiCommonReqMethod) UnmarshalJSON(b []byte) error
func (ApiCommonReqMethod) Value ¶ added in v0.0.90
func (c ApiCommonReqMethod) Value() string
type ApiCommonReqMethodEnum ¶
type ApiCommonReqMethodEnum struct { GET ApiCommonReqMethod POST ApiCommonReqMethod PUT ApiCommonReqMethod DELETE ApiCommonReqMethod HEAD ApiCommonReqMethod PATCH ApiCommonReqMethod OPTIONS ApiCommonReqMethod ANY ApiCommonReqMethod }
func GetApiCommonReqMethodEnum ¶
func GetApiCommonReqMethodEnum() ApiCommonReqMethodEnum
type ApiCommonReqProtocol ¶
type ApiCommonReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCommonReqProtocol) MarshalJSON ¶
func (c ApiCommonReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCommonReqProtocol) UnmarshalJSON ¶
func (c *ApiCommonReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCommonReqProtocol) Value ¶ added in v0.0.90
func (c ApiCommonReqProtocol) Value() string
type ApiCommonReqProtocolEnum ¶
type ApiCommonReqProtocolEnum struct { HTTP ApiCommonReqProtocol HTTPS ApiCommonReqProtocol BOTH ApiCommonReqProtocol }
func GetApiCommonReqProtocolEnum ¶
func GetApiCommonReqProtocolEnum() ApiCommonReqProtocolEnum
type ApiCommonType ¶
type ApiCommonType struct {
// contains filtered or unexported fields
}
func (ApiCommonType) MarshalJSON ¶
func (c ApiCommonType) MarshalJSON() ([]byte, error)
func (*ApiCommonType) UnmarshalJSON ¶
func (c *ApiCommonType) UnmarshalJSON(b []byte) error
func (ApiCommonType) Value ¶ added in v0.0.90
func (c ApiCommonType) Value() int32
type ApiCommonTypeEnum ¶
type ApiCommonTypeEnum struct { E_1 ApiCommonType E_2 ApiCommonType }
func GetApiCommonTypeEnum ¶
func GetApiCommonTypeEnum() ApiCommonTypeEnum
type ApiConditionBase ¶
type ApiConditionBase struct { // 关联的请求参数对象名称。策略类型为param时必选 ReqParamName *string `json:"req_param_name,omitempty"` // 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则 策略类型为param时必选 ConditionType *ApiConditionBaseConditionType `json:"condition_type,omitempty"` // 策略类型 - param:参数 - source:源IP ConditionOrigin ApiConditionBaseConditionOrigin `json:"condition_origin"` // 策略值 ConditionValue string `json:"condition_value"` }
func (ApiConditionBase) String ¶
func (o ApiConditionBase) String() string
type ApiConditionBaseConditionOrigin ¶
type ApiConditionBaseConditionOrigin struct {
// contains filtered or unexported fields
}
func (ApiConditionBaseConditionOrigin) MarshalJSON ¶
func (c ApiConditionBaseConditionOrigin) MarshalJSON() ([]byte, error)
func (*ApiConditionBaseConditionOrigin) UnmarshalJSON ¶
func (c *ApiConditionBaseConditionOrigin) UnmarshalJSON(b []byte) error
func (ApiConditionBaseConditionOrigin) Value ¶ added in v0.0.90
func (c ApiConditionBaseConditionOrigin) Value() string
type ApiConditionBaseConditionOriginEnum ¶
type ApiConditionBaseConditionOriginEnum struct { PARAM ApiConditionBaseConditionOrigin SOURCE ApiConditionBaseConditionOrigin }
func GetApiConditionBaseConditionOriginEnum ¶
func GetApiConditionBaseConditionOriginEnum() ApiConditionBaseConditionOriginEnum
type ApiConditionBaseConditionType ¶
type ApiConditionBaseConditionType struct {
// contains filtered or unexported fields
}
func (ApiConditionBaseConditionType) MarshalJSON ¶
func (c ApiConditionBaseConditionType) MarshalJSON() ([]byte, error)
func (*ApiConditionBaseConditionType) UnmarshalJSON ¶
func (c *ApiConditionBaseConditionType) UnmarshalJSON(b []byte) error
func (ApiConditionBaseConditionType) Value ¶ added in v0.0.90
func (c ApiConditionBaseConditionType) Value() string
type ApiConditionBaseConditionTypeEnum ¶
type ApiConditionBaseConditionTypeEnum struct { EXACT ApiConditionBaseConditionType ENUM ApiConditionBaseConditionType PATTERN ApiConditionBaseConditionType }
func GetApiConditionBaseConditionTypeEnum ¶
func GetApiConditionBaseConditionTypeEnum() ApiConditionBaseConditionTypeEnum
type ApiCreate ¶
type ApiCreate struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiCreateType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCreateReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCreateReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCreateAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCreateMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCreateBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiCreateContentType `json:"content_type,omitempty"` MockInfo *ApiMockCreate `json:"mock_info,omitempty"` FuncInfo *ApiFuncCreate `json:"func_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParamBase `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"` BackendApi *BackendApiCreate `json:"backend_api,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpCreate `json:"policy_https,omitempty"` }
type ApiCreateAuthType ¶
type ApiCreateAuthType struct {
// contains filtered or unexported fields
}
func (ApiCreateAuthType) MarshalJSON ¶
func (c ApiCreateAuthType) MarshalJSON() ([]byte, error)
func (*ApiCreateAuthType) UnmarshalJSON ¶
func (c *ApiCreateAuthType) UnmarshalJSON(b []byte) error
func (ApiCreateAuthType) Value ¶ added in v0.0.90
func (c ApiCreateAuthType) Value() string
type ApiCreateAuthTypeEnum ¶
type ApiCreateAuthTypeEnum struct { NONE ApiCreateAuthType APP ApiCreateAuthType IAM ApiCreateAuthType AUTHORIZER ApiCreateAuthType }
func GetApiCreateAuthTypeEnum ¶
func GetApiCreateAuthTypeEnum() ApiCreateAuthTypeEnum
type ApiCreateBackendType ¶
type ApiCreateBackendType struct {
// contains filtered or unexported fields
}
func (ApiCreateBackendType) MarshalJSON ¶
func (c ApiCreateBackendType) MarshalJSON() ([]byte, error)
func (*ApiCreateBackendType) UnmarshalJSON ¶
func (c *ApiCreateBackendType) UnmarshalJSON(b []byte) error
func (ApiCreateBackendType) Value ¶ added in v0.0.90
func (c ApiCreateBackendType) Value() string
type ApiCreateBackendTypeEnum ¶
type ApiCreateBackendTypeEnum struct { HTTP ApiCreateBackendType FUNCTION ApiCreateBackendType MOCK ApiCreateBackendType }
func GetApiCreateBackendTypeEnum ¶
func GetApiCreateBackendTypeEnum() ApiCreateBackendTypeEnum
type ApiCreateBase ¶
type ApiCreateBase struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiCreateBaseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCreateBaseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCreateBaseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCreateBaseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCreateBaseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCreateBaseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiCreateBaseContentType `json:"content_type,omitempty"` MockInfo *ApiMockCreate `json:"mock_info,omitempty"` FuncInfo *ApiFuncCreate `json:"func_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParamBase `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"` }
func (ApiCreateBase) String ¶
func (o ApiCreateBase) String() string
type ApiCreateBaseAuthType ¶
type ApiCreateBaseAuthType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseAuthType) MarshalJSON ¶
func (c ApiCreateBaseAuthType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseAuthType) UnmarshalJSON ¶
func (c *ApiCreateBaseAuthType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseAuthType) Value ¶ added in v0.0.90
func (c ApiCreateBaseAuthType) Value() string
type ApiCreateBaseAuthTypeEnum ¶
type ApiCreateBaseAuthTypeEnum struct { NONE ApiCreateBaseAuthType APP ApiCreateBaseAuthType IAM ApiCreateBaseAuthType AUTHORIZER ApiCreateBaseAuthType }
func GetApiCreateBaseAuthTypeEnum ¶
func GetApiCreateBaseAuthTypeEnum() ApiCreateBaseAuthTypeEnum
type ApiCreateBaseBackendType ¶
type ApiCreateBaseBackendType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseBackendType) MarshalJSON ¶
func (c ApiCreateBaseBackendType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseBackendType) UnmarshalJSON ¶
func (c *ApiCreateBaseBackendType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseBackendType) Value ¶ added in v0.0.90
func (c ApiCreateBaseBackendType) Value() string
type ApiCreateBaseBackendTypeEnum ¶
type ApiCreateBaseBackendTypeEnum struct { HTTP ApiCreateBaseBackendType FUNCTION ApiCreateBaseBackendType MOCK ApiCreateBaseBackendType }
func GetApiCreateBaseBackendTypeEnum ¶
func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum
type ApiCreateBaseContentType ¶ added in v0.0.76
type ApiCreateBaseContentType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiCreateBaseContentType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiCreateBaseContentType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseContentType) Value ¶ added in v0.0.90
func (c ApiCreateBaseContentType) Value() string
type ApiCreateBaseContentTypeEnum ¶ added in v0.0.76
type ApiCreateBaseContentTypeEnum struct { APPLICATION_JSON ApiCreateBaseContentType APPLICATION_XML ApiCreateBaseContentType MULTIPART_FORM_DATE ApiCreateBaseContentType TEXT_PLAIN ApiCreateBaseContentType }
func GetApiCreateBaseContentTypeEnum ¶ added in v0.0.76
func GetApiCreateBaseContentTypeEnum() ApiCreateBaseContentTypeEnum
type ApiCreateBaseMatchMode ¶
type ApiCreateBaseMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseMatchMode) MarshalJSON ¶
func (c ApiCreateBaseMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseMatchMode) UnmarshalJSON ¶
func (c *ApiCreateBaseMatchMode) UnmarshalJSON(b []byte) error
func (ApiCreateBaseMatchMode) Value ¶ added in v0.0.90
func (c ApiCreateBaseMatchMode) Value() string
type ApiCreateBaseMatchModeEnum ¶
type ApiCreateBaseMatchModeEnum struct { SWA ApiCreateBaseMatchMode NORMAL ApiCreateBaseMatchMode }
func GetApiCreateBaseMatchModeEnum ¶
func GetApiCreateBaseMatchModeEnum() ApiCreateBaseMatchModeEnum
type ApiCreateBaseReqMethod ¶
type ApiCreateBaseReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseReqMethod) MarshalJSON ¶
func (c ApiCreateBaseReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseReqMethod) UnmarshalJSON ¶
func (c *ApiCreateBaseReqMethod) UnmarshalJSON(b []byte) error
func (ApiCreateBaseReqMethod) Value ¶ added in v0.0.90
func (c ApiCreateBaseReqMethod) Value() string
type ApiCreateBaseReqMethodEnum ¶
type ApiCreateBaseReqMethodEnum struct { GET ApiCreateBaseReqMethod POST ApiCreateBaseReqMethod PUT ApiCreateBaseReqMethod DELETE ApiCreateBaseReqMethod HEAD ApiCreateBaseReqMethod PATCH ApiCreateBaseReqMethod OPTIONS ApiCreateBaseReqMethod ANY ApiCreateBaseReqMethod }
func GetApiCreateBaseReqMethodEnum ¶
func GetApiCreateBaseReqMethodEnum() ApiCreateBaseReqMethodEnum
type ApiCreateBaseReqProtocol ¶
type ApiCreateBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseReqProtocol) MarshalJSON ¶
func (c ApiCreateBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseReqProtocol) UnmarshalJSON ¶
func (c *ApiCreateBaseReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCreateBaseReqProtocol) Value ¶ added in v0.0.90
func (c ApiCreateBaseReqProtocol) Value() string
type ApiCreateBaseReqProtocolEnum ¶
type ApiCreateBaseReqProtocolEnum struct { HTTP ApiCreateBaseReqProtocol HTTPS ApiCreateBaseReqProtocol BOTH ApiCreateBaseReqProtocol }
func GetApiCreateBaseReqProtocolEnum ¶
func GetApiCreateBaseReqProtocolEnum() ApiCreateBaseReqProtocolEnum
type ApiCreateBaseType ¶
type ApiCreateBaseType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseType) MarshalJSON ¶
func (c ApiCreateBaseType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseType) UnmarshalJSON ¶
func (c *ApiCreateBaseType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseType) Value ¶ added in v0.0.90
func (c ApiCreateBaseType) Value() int32
type ApiCreateBaseTypeEnum ¶
type ApiCreateBaseTypeEnum struct { E_1 ApiCreateBaseType E_2 ApiCreateBaseType }
func GetApiCreateBaseTypeEnum ¶
func GetApiCreateBaseTypeEnum() ApiCreateBaseTypeEnum
type ApiCreateContentType ¶ added in v0.0.76
type ApiCreateContentType struct {
// contains filtered or unexported fields
}
func (ApiCreateContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiCreateContentType) MarshalJSON() ([]byte, error)
func (*ApiCreateContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiCreateContentType) UnmarshalJSON(b []byte) error
func (ApiCreateContentType) Value ¶ added in v0.0.90
func (c ApiCreateContentType) Value() string
type ApiCreateContentTypeEnum ¶ added in v0.0.76
type ApiCreateContentTypeEnum struct { APPLICATION_JSON ApiCreateContentType APPLICATION_XML ApiCreateContentType MULTIPART_FORM_DATE ApiCreateContentType TEXT_PLAIN ApiCreateContentType }
func GetApiCreateContentTypeEnum ¶ added in v0.0.76
func GetApiCreateContentTypeEnum() ApiCreateContentTypeEnum
type ApiCreateMatchMode ¶
type ApiCreateMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCreateMatchMode) MarshalJSON ¶
func (c ApiCreateMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCreateMatchMode) UnmarshalJSON ¶
func (c *ApiCreateMatchMode) UnmarshalJSON(b []byte) error
func (ApiCreateMatchMode) Value ¶ added in v0.0.90
func (c ApiCreateMatchMode) Value() string
type ApiCreateMatchModeEnum ¶
type ApiCreateMatchModeEnum struct { SWA ApiCreateMatchMode NORMAL ApiCreateMatchMode }
func GetApiCreateMatchModeEnum ¶
func GetApiCreateMatchModeEnum() ApiCreateMatchModeEnum
type ApiCreateReqMethod ¶
type ApiCreateReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCreateReqMethod) MarshalJSON ¶
func (c ApiCreateReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCreateReqMethod) UnmarshalJSON ¶
func (c *ApiCreateReqMethod) UnmarshalJSON(b []byte) error
func (ApiCreateReqMethod) Value ¶ added in v0.0.90
func (c ApiCreateReqMethod) Value() string
type ApiCreateReqMethodEnum ¶
type ApiCreateReqMethodEnum struct { GET ApiCreateReqMethod POST ApiCreateReqMethod PUT ApiCreateReqMethod DELETE ApiCreateReqMethod HEAD ApiCreateReqMethod PATCH ApiCreateReqMethod OPTIONS ApiCreateReqMethod ANY ApiCreateReqMethod }
func GetApiCreateReqMethodEnum ¶
func GetApiCreateReqMethodEnum() ApiCreateReqMethodEnum
type ApiCreateReqProtocol ¶
type ApiCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCreateReqProtocol) MarshalJSON ¶
func (c ApiCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCreateReqProtocol) UnmarshalJSON ¶
func (c *ApiCreateReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCreateReqProtocol) Value ¶ added in v0.0.90
func (c ApiCreateReqProtocol) Value() string
type ApiCreateReqProtocolEnum ¶
type ApiCreateReqProtocolEnum struct { HTTP ApiCreateReqProtocol HTTPS ApiCreateReqProtocol BOTH ApiCreateReqProtocol }
func GetApiCreateReqProtocolEnum ¶
func GetApiCreateReqProtocolEnum() ApiCreateReqProtocolEnum
type ApiCreateType ¶
type ApiCreateType struct {
// contains filtered or unexported fields
}
func (ApiCreateType) MarshalJSON ¶
func (c ApiCreateType) MarshalJSON() ([]byte, error)
func (*ApiCreateType) UnmarshalJSON ¶
func (c *ApiCreateType) UnmarshalJSON(b []byte) error
func (ApiCreateType) Value ¶ added in v0.0.90
func (c ApiCreateType) Value() int32
type ApiCreateTypeEnum ¶
type ApiCreateTypeEnum struct { E_1 ApiCreateType E_2 ApiCreateType }
func GetApiCreateTypeEnum ¶
func GetApiCreateTypeEnum() ApiCreateTypeEnum
type ApiDebugInfo ¶ added in v0.0.69
type ApiDebugInfo struct { // 请求消息体,最长2097152字节 Body *string `json:"body,omitempty"` // 头域参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 - mode为MARKET或CONSUMER时,不支持取值为\"X-Auth-Token\"和\"Authorization\",不区分大小写 > 头域名称在使用前会被规范化,如:\"x-MY-hEaDer\"会被规范化为\"X-My-Header\" Header map[string][]string `json:"header,omitempty"` // API的请求方法 Method ApiDebugInfoMethod `json:"method"` // 调试模式 - DEVELOPER 调试尚未发布的API定义 - MARKET [调试云商店已购买的API](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk) - CONSUMER 调试指定运行环境下的API定义 > DEVELOPER模式,接口调用者必须是API拥有者。 [MARKET模式,接口调用者必须是API购买者或拥有者。](tag:hws) CONSUMER模式,接口调用者必须有API在指定环境上的授权信息或是API拥有者。 Mode string `json:"mode"` // API的请求路径,需以\"/\"开头,最大长度1024 > 须符合路径规范,百分号编码格式可被正确解码 Path string `json:"path"` // 查询参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、下划线、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 Query map[string][]string `json:"query,omitempty"` // API的请求协议 - HTTP - HTTPS Scheme string `json:"scheme"` // 调试请求使用的APP的key AppKey *string `json:"app_key,omitempty"` // 调试请求使用的APP的密钥 AppSecret *string `json:"app_secret,omitempty"` // API的访问域名,未提供时根据mode的取值使用如下默认值: - DEVELOPER API分组的子域名 - MARKET [云商店为API分组分配的域名](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk) - CONSUMER API分组的子域名 Domain *string `json:"domain,omitempty"` // 调试请求指定的运行环境,仅在mode为CONSUMER时有效,未提供时有如下默认值: - CONSUMER RELEASE Stage *string `json:"stage,omitempty"` }
func (ApiDebugInfo) String ¶ added in v0.0.69
func (o ApiDebugInfo) String() string
type ApiDebugInfoMethod ¶ added in v0.0.69
type ApiDebugInfoMethod struct {
// contains filtered or unexported fields
}
func (ApiDebugInfoMethod) MarshalJSON ¶ added in v0.0.69
func (c ApiDebugInfoMethod) MarshalJSON() ([]byte, error)
func (*ApiDebugInfoMethod) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiDebugInfoMethod) UnmarshalJSON(b []byte) error
func (ApiDebugInfoMethod) Value ¶ added in v0.0.90
func (c ApiDebugInfoMethod) Value() string
type ApiDebugInfoMethodEnum ¶ added in v0.0.69
type ApiDebugInfoMethodEnum struct { GET ApiDebugInfoMethod POST ApiDebugInfoMethod PUT ApiDebugInfoMethod DELETE ApiDebugInfoMethod HEAD ApiDebugInfoMethod PATCH ApiDebugInfoMethod OPTIONS ApiDebugInfoMethod }
func GetApiDebugInfoMethodEnum ¶ added in v0.0.69
func GetApiDebugInfoMethodEnum() ApiDebugInfoMethodEnum
type ApiForSign ¶ added in v0.0.69
type ApiForSign struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 已绑定的签名密钥名称 SignatureName *string `json:"signature_name,omitempty"` }
func (ApiForSign) String ¶ added in v0.0.69
func (o ApiForSign) String() string
type ApiForThrottle ¶ added in v0.0.69
type ApiForThrottle struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API的发布记录编号 PublishId *string `json:"publish_id,omitempty"` // 与流控策略的绑定关系编号 ThrottleApplyId *string `json:"throttle_apply_id,omitempty"` // 已绑定的流控策略的绑定时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 绑定的流控策略名称 ThrottleName *string `json:"throttle_name,omitempty"` // API的访问地址 ReqUri *string `json:"req_uri,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API编号 Id *string `json:"id,omitempty"` }
func (ApiForThrottle) String ¶ added in v0.0.69
func (o ApiForThrottle) String() string
type ApiFunc ¶
type ApiFunc struct { // 函数URN FunctionUrn string `json:"function_urn"` // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiFuncInvocationType `json:"invocation_type"` // 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构 NetworkType ApiFuncNetworkType `json:"network_type"` // 函数版本 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN Version *string `json:"version,omitempty"` // 函数别名URN 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AliasUrn *string `json:"alias_urn,omitempty"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 后端状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
函数工作流后端详情
type ApiFuncCreate ¶
type ApiFuncCreate struct { // 函数URN FunctionUrn string `json:"function_urn"` // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiFuncCreateInvocationType `json:"invocation_type"` // 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构 NetworkType ApiFuncCreateNetworkType `json:"network_type"` // 函数版本 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN Version *string `json:"version,omitempty"` // 函数别名URN 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AliasUrn *string `json:"alias_urn,omitempty"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
函数后端详情
func (ApiFuncCreate) String ¶
func (o ApiFuncCreate) String() string
type ApiFuncCreateInvocationType ¶
type ApiFuncCreateInvocationType struct {
// contains filtered or unexported fields
}
func (ApiFuncCreateInvocationType) MarshalJSON ¶
func (c ApiFuncCreateInvocationType) MarshalJSON() ([]byte, error)
func (*ApiFuncCreateInvocationType) UnmarshalJSON ¶
func (c *ApiFuncCreateInvocationType) UnmarshalJSON(b []byte) error
func (ApiFuncCreateInvocationType) Value ¶ added in v0.0.90
func (c ApiFuncCreateInvocationType) Value() string
type ApiFuncCreateInvocationTypeEnum ¶
type ApiFuncCreateInvocationTypeEnum struct { ASYNC ApiFuncCreateInvocationType SYNC ApiFuncCreateInvocationType }
func GetApiFuncCreateInvocationTypeEnum ¶
func GetApiFuncCreateInvocationTypeEnum() ApiFuncCreateInvocationTypeEnum
type ApiFuncCreateNetworkType ¶ added in v0.1.3
type ApiFuncCreateNetworkType struct {
// contains filtered or unexported fields
}
func (ApiFuncCreateNetworkType) MarshalJSON ¶ added in v0.1.3
func (c ApiFuncCreateNetworkType) MarshalJSON() ([]byte, error)
func (*ApiFuncCreateNetworkType) UnmarshalJSON ¶ added in v0.1.3
func (c *ApiFuncCreateNetworkType) UnmarshalJSON(b []byte) error
func (ApiFuncCreateNetworkType) Value ¶ added in v0.1.3
func (c ApiFuncCreateNetworkType) Value() string
type ApiFuncCreateNetworkTypeEnum ¶ added in v0.1.3
type ApiFuncCreateNetworkTypeEnum struct { V1 ApiFuncCreateNetworkType V2 ApiFuncCreateNetworkType }
func GetApiFuncCreateNetworkTypeEnum ¶ added in v0.1.3
func GetApiFuncCreateNetworkTypeEnum() ApiFuncCreateNetworkTypeEnum
type ApiFuncInvocationType ¶
type ApiFuncInvocationType struct {
// contains filtered or unexported fields
}
func (ApiFuncInvocationType) MarshalJSON ¶
func (c ApiFuncInvocationType) MarshalJSON() ([]byte, error)
func (*ApiFuncInvocationType) UnmarshalJSON ¶
func (c *ApiFuncInvocationType) UnmarshalJSON(b []byte) error
func (ApiFuncInvocationType) Value ¶ added in v0.0.90
func (c ApiFuncInvocationType) Value() string
type ApiFuncInvocationTypeEnum ¶
type ApiFuncInvocationTypeEnum struct { ASYNC ApiFuncInvocationType SYNC ApiFuncInvocationType }
func GetApiFuncInvocationTypeEnum ¶
func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum
type ApiFuncNetworkType ¶ added in v0.1.3
type ApiFuncNetworkType struct {
// contains filtered or unexported fields
}
func (ApiFuncNetworkType) MarshalJSON ¶ added in v0.1.3
func (c ApiFuncNetworkType) MarshalJSON() ([]byte, error)
func (*ApiFuncNetworkType) UnmarshalJSON ¶ added in v0.1.3
func (c *ApiFuncNetworkType) UnmarshalJSON(b []byte) error
func (ApiFuncNetworkType) Value ¶ added in v0.1.3
func (c ApiFuncNetworkType) Value() string
type ApiFuncNetworkTypeEnum ¶ added in v0.1.3
type ApiFuncNetworkTypeEnum struct { V1 ApiFuncNetworkType V2 ApiFuncNetworkType }
func GetApiFuncNetworkTypeEnum ¶ added in v0.1.3
func GetApiFuncNetworkTypeEnum() ApiFuncNetworkTypeEnum
type ApiGroupBase ¶ added in v0.0.69
type ApiGroupBase struct { // API分组的名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API分组描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiGroupBase) String ¶ added in v0.0.69
func (o ApiGroupBase) String() string
type ApiGroupCommonInfo ¶ added in v0.0.69
type ApiGroupCommonInfo struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ApiGroupCommonInfoStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` }
func (ApiGroupCommonInfo) String ¶ added in v0.0.69
func (o ApiGroupCommonInfo) String() string
type ApiGroupCommonInfoStatus ¶ added in v0.0.69
type ApiGroupCommonInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiGroupCommonInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c ApiGroupCommonInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiGroupCommonInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiGroupCommonInfoStatus) UnmarshalJSON(b []byte) error
func (ApiGroupCommonInfoStatus) Value ¶ added in v0.0.90
func (c ApiGroupCommonInfoStatus) Value() int32
type ApiGroupCommonInfoStatusEnum ¶ added in v0.0.69
type ApiGroupCommonInfoStatusEnum struct {
E_1 ApiGroupCommonInfoStatus
}
func GetApiGroupCommonInfoStatusEnum ¶ added in v0.0.69
func GetApiGroupCommonInfoStatusEnum() ApiGroupCommonInfoStatusEnum
type ApiGroupCreate ¶ added in v0.0.69
type ApiGroupCreate struct { // API分组的名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API分组描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 暂不支持,默认V1 Version *string `json:"version,omitempty"` }
func (ApiGroupCreate) String ¶ added in v0.0.69
func (o ApiGroupCreate) String() string
type ApiGroupInfo ¶ added in v0.0.89
type ApiGroupInfo struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ApiGroupInfoStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 暂不支持,默认为V1 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` }
func (ApiGroupInfo) String ¶ added in v0.0.89
func (o ApiGroupInfo) String() string
type ApiGroupInfoStatus ¶ added in v0.0.89
type ApiGroupInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiGroupInfoStatus) MarshalJSON ¶ added in v0.0.89
func (c ApiGroupInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiGroupInfoStatus) UnmarshalJSON ¶ added in v0.0.89
func (c *ApiGroupInfoStatus) UnmarshalJSON(b []byte) error
func (ApiGroupInfoStatus) Value ¶ added in v0.0.90
func (c ApiGroupInfoStatus) Value() int32
type ApiGroupInfoStatusEnum ¶ added in v0.0.89
type ApiGroupInfoStatusEnum struct {
E_1 ApiGroupInfoStatus
}
func GetApiGroupInfoStatusEnum ¶ added in v0.0.89
func GetApiGroupInfoStatusEnum() ApiGroupInfoStatusEnum
type ApiInfo ¶ added in v0.0.65
type ApiInfo struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiInfoMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiInfoBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiInfoContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` }
type ApiInfoAuthType ¶ added in v0.0.65
type ApiInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiInfoAuthType) MarshalJSON ¶ added in v0.0.65
func (c ApiInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiInfoAuthType) UnmarshalJSON ¶ added in v0.0.65
func (c *ApiInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiInfoAuthType) Value ¶ added in v0.0.90
func (c ApiInfoAuthType) Value() string
type ApiInfoAuthTypeEnum ¶ added in v0.0.65
type ApiInfoAuthTypeEnum struct { NONE ApiInfoAuthType APP ApiInfoAuthType IAM ApiInfoAuthType AUTHORIZER ApiInfoAuthType }
func GetApiInfoAuthTypeEnum ¶ added in v0.0.65
func GetApiInfoAuthTypeEnum() ApiInfoAuthTypeEnum
type ApiInfoBackendType ¶ added in v0.0.65
type ApiInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiInfoBackendType) MarshalJSON ¶ added in v0.0.65
func (c ApiInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiInfoBackendType) UnmarshalJSON ¶ added in v0.0.65
func (c *ApiInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiInfoBackendType) Value ¶ added in v0.0.90
func (c ApiInfoBackendType) Value() string
type ApiInfoBackendTypeEnum ¶ added in v0.0.65
type ApiInfoBackendTypeEnum struct { HTTP ApiInfoBackendType FUNCTION ApiInfoBackendType MOCK ApiInfoBackendType }
func GetApiInfoBackendTypeEnum ¶ added in v0.0.65
func GetApiInfoBackendTypeEnum() ApiInfoBackendTypeEnum
type ApiInfoContentType ¶ added in v0.0.76
type ApiInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiInfoContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiInfoContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiInfoContentType) UnmarshalJSON(b []byte) error
func (ApiInfoContentType) Value ¶ added in v0.0.90
func (c ApiInfoContentType) Value() string
type ApiInfoContentTypeEnum ¶ added in v0.0.76
type ApiInfoContentTypeEnum struct { APPLICATION_JSON ApiInfoContentType APPLICATION_XML ApiInfoContentType MULTIPART_FORM_DATE ApiInfoContentType TEXT_PLAIN ApiInfoContentType }
func GetApiInfoContentTypeEnum ¶ added in v0.0.76
func GetApiInfoContentTypeEnum() ApiInfoContentTypeEnum
type ApiInfoMatchMode ¶ added in v0.0.65
type ApiInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiInfoMatchMode) MarshalJSON ¶ added in v0.0.65
func (c ApiInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiInfoMatchMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ApiInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiInfoMatchMode) Value() string
type ApiInfoMatchModeEnum ¶ added in v0.0.65
type ApiInfoMatchModeEnum struct { SWA ApiInfoMatchMode NORMAL ApiInfoMatchMode }
func GetApiInfoMatchModeEnum ¶ added in v0.0.65
func GetApiInfoMatchModeEnum() ApiInfoMatchModeEnum
type ApiInfoPerPage ¶
type ApiInfoPerPage struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiInfoPerPageType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiInfoPerPageReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiInfoPerPageReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiInfoPerPageAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiInfoPerPageMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiInfoPerPageBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiInfoPerPageContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` }
func (ApiInfoPerPage) String ¶
func (o ApiInfoPerPage) String() string
type ApiInfoPerPageAuthType ¶
type ApiInfoPerPageAuthType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageAuthType) MarshalJSON ¶
func (c ApiInfoPerPageAuthType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageAuthType) UnmarshalJSON ¶
func (c *ApiInfoPerPageAuthType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageAuthType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageAuthType) Value() string
type ApiInfoPerPageAuthTypeEnum ¶
type ApiInfoPerPageAuthTypeEnum struct { NONE ApiInfoPerPageAuthType APP ApiInfoPerPageAuthType IAM ApiInfoPerPageAuthType AUTHORIZER ApiInfoPerPageAuthType }
func GetApiInfoPerPageAuthTypeEnum ¶
func GetApiInfoPerPageAuthTypeEnum() ApiInfoPerPageAuthTypeEnum
type ApiInfoPerPageBackendType ¶
type ApiInfoPerPageBackendType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageBackendType) MarshalJSON ¶
func (c ApiInfoPerPageBackendType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageBackendType) UnmarshalJSON ¶
func (c *ApiInfoPerPageBackendType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageBackendType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageBackendType) Value() string
type ApiInfoPerPageBackendTypeEnum ¶
type ApiInfoPerPageBackendTypeEnum struct { HTTP ApiInfoPerPageBackendType FUNCTION ApiInfoPerPageBackendType MOCK ApiInfoPerPageBackendType }
func GetApiInfoPerPageBackendTypeEnum ¶
func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum
type ApiInfoPerPageContentType ¶ added in v0.0.76
type ApiInfoPerPageContentType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiInfoPerPageContentType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiInfoPerPageContentType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageContentType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageContentType) Value() string
type ApiInfoPerPageContentTypeEnum ¶ added in v0.0.76
type ApiInfoPerPageContentTypeEnum struct { APPLICATION_JSON ApiInfoPerPageContentType APPLICATION_XML ApiInfoPerPageContentType MULTIPART_FORM_DATE ApiInfoPerPageContentType TEXT_PLAIN ApiInfoPerPageContentType }
func GetApiInfoPerPageContentTypeEnum ¶ added in v0.0.76
func GetApiInfoPerPageContentTypeEnum() ApiInfoPerPageContentTypeEnum
type ApiInfoPerPageMatchMode ¶
type ApiInfoPerPageMatchMode struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageMatchMode) MarshalJSON ¶
func (c ApiInfoPerPageMatchMode) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageMatchMode) UnmarshalJSON ¶
func (c *ApiInfoPerPageMatchMode) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageMatchMode) Value ¶ added in v0.0.90
func (c ApiInfoPerPageMatchMode) Value() string
type ApiInfoPerPageMatchModeEnum ¶
type ApiInfoPerPageMatchModeEnum struct { SWA ApiInfoPerPageMatchMode NORMAL ApiInfoPerPageMatchMode }
func GetApiInfoPerPageMatchModeEnum ¶
func GetApiInfoPerPageMatchModeEnum() ApiInfoPerPageMatchModeEnum
type ApiInfoPerPageReqMethod ¶
type ApiInfoPerPageReqMethod struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageReqMethod) MarshalJSON ¶
func (c ApiInfoPerPageReqMethod) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageReqMethod) UnmarshalJSON ¶
func (c *ApiInfoPerPageReqMethod) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageReqMethod) Value ¶ added in v0.0.90
func (c ApiInfoPerPageReqMethod) Value() string
type ApiInfoPerPageReqMethodEnum ¶
type ApiInfoPerPageReqMethodEnum struct { GET ApiInfoPerPageReqMethod POST ApiInfoPerPageReqMethod PUT ApiInfoPerPageReqMethod DELETE ApiInfoPerPageReqMethod HEAD ApiInfoPerPageReqMethod PATCH ApiInfoPerPageReqMethod OPTIONS ApiInfoPerPageReqMethod ANY ApiInfoPerPageReqMethod }
func GetApiInfoPerPageReqMethodEnum ¶
func GetApiInfoPerPageReqMethodEnum() ApiInfoPerPageReqMethodEnum
type ApiInfoPerPageReqProtocol ¶
type ApiInfoPerPageReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageReqProtocol) MarshalJSON ¶
func (c ApiInfoPerPageReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageReqProtocol) UnmarshalJSON ¶
func (c *ApiInfoPerPageReqProtocol) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageReqProtocol) Value ¶ added in v0.0.90
func (c ApiInfoPerPageReqProtocol) Value() string
type ApiInfoPerPageReqProtocolEnum ¶
type ApiInfoPerPageReqProtocolEnum struct { HTTP ApiInfoPerPageReqProtocol HTTPS ApiInfoPerPageReqProtocol BOTH ApiInfoPerPageReqProtocol }
func GetApiInfoPerPageReqProtocolEnum ¶
func GetApiInfoPerPageReqProtocolEnum() ApiInfoPerPageReqProtocolEnum
type ApiInfoPerPageType ¶
type ApiInfoPerPageType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageType) MarshalJSON ¶
func (c ApiInfoPerPageType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageType) UnmarshalJSON ¶
func (c *ApiInfoPerPageType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageType) Value() int32
type ApiInfoPerPageTypeEnum ¶
type ApiInfoPerPageTypeEnum struct { E_1 ApiInfoPerPageType E_2 ApiInfoPerPageType }
func GetApiInfoPerPageTypeEnum ¶
func GetApiInfoPerPageTypeEnum() ApiInfoPerPageTypeEnum
type ApiInfoReqMethod ¶ added in v0.0.65
type ApiInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiInfoReqMethod) MarshalJSON ¶ added in v0.0.65
func (c ApiInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiInfoReqMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *ApiInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiInfoReqMethod) Value() string
type ApiInfoReqMethodEnum ¶ added in v0.0.65
type ApiInfoReqMethodEnum struct { GET ApiInfoReqMethod POST ApiInfoReqMethod PUT ApiInfoReqMethod DELETE ApiInfoReqMethod HEAD ApiInfoReqMethod PATCH ApiInfoReqMethod OPTIONS ApiInfoReqMethod ANY ApiInfoReqMethod }
func GetApiInfoReqMethodEnum ¶ added in v0.0.65
func GetApiInfoReqMethodEnum() ApiInfoReqMethodEnum
type ApiInfoReqProtocol ¶ added in v0.0.65
type ApiInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiInfoReqProtocol) MarshalJSON ¶ added in v0.0.65
func (c ApiInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiInfoReqProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *ApiInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiInfoReqProtocol) Value() string
type ApiInfoReqProtocolEnum ¶ added in v0.0.65
type ApiInfoReqProtocolEnum struct { HTTP ApiInfoReqProtocol HTTPS ApiInfoReqProtocol BOTH ApiInfoReqProtocol }
func GetApiInfoReqProtocolEnum ¶ added in v0.0.65
func GetApiInfoReqProtocolEnum() ApiInfoReqProtocolEnum
type ApiInfoType ¶ added in v0.0.69
type ApiInfoType struct {
// contains filtered or unexported fields
}
func (ApiInfoType) MarshalJSON ¶ added in v0.0.69
func (c ApiInfoType) MarshalJSON() ([]byte, error)
func (*ApiInfoType) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiInfoType) UnmarshalJSON(b []byte) error
func (ApiInfoType) Value ¶ added in v0.0.90
func (c ApiInfoType) Value() int32
type ApiInfoTypeEnum ¶ added in v0.0.69
type ApiInfoTypeEnum struct { E_1 ApiInfoType E_2 ApiInfoType }
func GetApiInfoTypeEnum ¶ added in v0.0.69
func GetApiInfoTypeEnum() ApiInfoTypeEnum
type ApiMock ¶
type ApiMock struct { // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 后端状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
mock后端详情
type ApiMockCreate ¶
type ApiMockCreate struct { // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
mock后端详情
func (ApiMockCreate) String ¶
func (o ApiMockCreate) String() string
type ApiOperPluginInfo ¶ added in v0.1.11
type ApiOperPluginInfo struct { // 绑定API的环境编码。 EnvId string `json:"env_id"` // 绑定的插件编码列表。 PluginIds []string `json:"plugin_ids"` }
func (ApiOperPluginInfo) String ¶ added in v0.1.11
func (o ApiOperPluginInfo) String() string
type ApiOutline ¶ added in v0.0.69
type ApiOutline struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` }
func (ApiOutline) String ¶ added in v0.0.69
func (o ApiOutline) String() string
type ApiPolicyFunctionBase ¶
type ApiPolicyFunctionBase struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionBaseInvocationType `json:"invocation_type"` // 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构 NetworkType ApiPolicyFunctionBaseNetworkType `json:"network_type"` // 函数版本 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN Version *string `json:"version,omitempty"` // 函数别名URN 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AliasUrn *string `json:"alias_urn,omitempty"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` }
func (ApiPolicyFunctionBase) String ¶
func (o ApiPolicyFunctionBase) String() string
type ApiPolicyFunctionBaseInvocationType ¶
type ApiPolicyFunctionBaseInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionBaseInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionBaseInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionBaseInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionBaseInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionBaseInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionBaseInvocationType) Value() string
type ApiPolicyFunctionBaseInvocationTypeEnum ¶
type ApiPolicyFunctionBaseInvocationTypeEnum struct { ASYNC ApiPolicyFunctionBaseInvocationType SYNC ApiPolicyFunctionBaseInvocationType }
func GetApiPolicyFunctionBaseInvocationTypeEnum ¶
func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum
type ApiPolicyFunctionBaseNetworkType ¶ added in v0.1.3
type ApiPolicyFunctionBaseNetworkType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionBaseNetworkType) MarshalJSON ¶ added in v0.1.3
func (c ApiPolicyFunctionBaseNetworkType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionBaseNetworkType) UnmarshalJSON ¶ added in v0.1.3
func (c *ApiPolicyFunctionBaseNetworkType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionBaseNetworkType) Value ¶ added in v0.1.3
func (c ApiPolicyFunctionBaseNetworkType) Value() string
type ApiPolicyFunctionBaseNetworkTypeEnum ¶ added in v0.1.3
type ApiPolicyFunctionBaseNetworkTypeEnum struct { V1 ApiPolicyFunctionBaseNetworkType V2 ApiPolicyFunctionBaseNetworkType }
func GetApiPolicyFunctionBaseNetworkTypeEnum ¶ added in v0.1.3
func GetApiPolicyFunctionBaseNetworkTypeEnum() ApiPolicyFunctionBaseNetworkTypeEnum
type ApiPolicyFunctionCreate ¶
type ApiPolicyFunctionCreate struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionCreateInvocationType `json:"invocation_type"` // 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构 NetworkType ApiPolicyFunctionCreateNetworkType `json:"network_type"` // 函数版本 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN Version *string `json:"version,omitempty"` // 函数别名URN 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AliasUrn *string `json:"alias_urn,omitempty"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyFunctionCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionBase `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyFunctionCreate) String ¶
func (o ApiPolicyFunctionCreate) String() string
type ApiPolicyFunctionCreateEffectMode ¶
type ApiPolicyFunctionCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyFunctionCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyFunctionCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionCreateEffectMode) Value() string
type ApiPolicyFunctionCreateEffectModeEnum ¶
type ApiPolicyFunctionCreateEffectModeEnum struct { ALL ApiPolicyFunctionCreateEffectMode ANY ApiPolicyFunctionCreateEffectMode }
func GetApiPolicyFunctionCreateEffectModeEnum ¶
func GetApiPolicyFunctionCreateEffectModeEnum() ApiPolicyFunctionCreateEffectModeEnum
type ApiPolicyFunctionCreateInvocationType ¶
type ApiPolicyFunctionCreateInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionCreateInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionCreateInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionCreateInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionCreateInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionCreateInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionCreateInvocationType) Value() string
type ApiPolicyFunctionCreateInvocationTypeEnum ¶
type ApiPolicyFunctionCreateInvocationTypeEnum struct { ASYNC ApiPolicyFunctionCreateInvocationType SYNC ApiPolicyFunctionCreateInvocationType }
func GetApiPolicyFunctionCreateInvocationTypeEnum ¶
func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum
type ApiPolicyFunctionCreateNetworkType ¶ added in v0.1.3
type ApiPolicyFunctionCreateNetworkType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionCreateNetworkType) MarshalJSON ¶ added in v0.1.3
func (c ApiPolicyFunctionCreateNetworkType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionCreateNetworkType) UnmarshalJSON ¶ added in v0.1.3
func (c *ApiPolicyFunctionCreateNetworkType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionCreateNetworkType) Value ¶ added in v0.1.3
func (c ApiPolicyFunctionCreateNetworkType) Value() string
type ApiPolicyFunctionCreateNetworkTypeEnum ¶ added in v0.1.3
type ApiPolicyFunctionCreateNetworkTypeEnum struct { V1 ApiPolicyFunctionCreateNetworkType V2 ApiPolicyFunctionCreateNetworkType }
func GetApiPolicyFunctionCreateNetworkTypeEnum ¶ added in v0.1.3
func GetApiPolicyFunctionCreateNetworkTypeEnum() ApiPolicyFunctionCreateNetworkTypeEnum
type ApiPolicyFunctionResp ¶
type ApiPolicyFunctionResp struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionRespInvocationType `json:"invocation_type"` // 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构 NetworkType ApiPolicyFunctionRespNetworkType `json:"network_type"` // 函数版本 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN Version *string `json:"version,omitempty"` // 函数别名URN 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AliasUrn *string `json:"alias_urn,omitempty"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyFunctionRespEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 策略条件列表 Conditions []CoditionResp `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyFunctionResp) String ¶
func (o ApiPolicyFunctionResp) String() string
type ApiPolicyFunctionRespEffectMode ¶
type ApiPolicyFunctionRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionRespEffectMode) MarshalJSON ¶
func (c ApiPolicyFunctionRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyFunctionRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionRespEffectMode) Value() string
type ApiPolicyFunctionRespEffectModeEnum ¶
type ApiPolicyFunctionRespEffectModeEnum struct { ALL ApiPolicyFunctionRespEffectMode ANY ApiPolicyFunctionRespEffectMode }
func GetApiPolicyFunctionRespEffectModeEnum ¶
func GetApiPolicyFunctionRespEffectModeEnum() ApiPolicyFunctionRespEffectModeEnum
type ApiPolicyFunctionRespInvocationType ¶
type ApiPolicyFunctionRespInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionRespInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionRespInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionRespInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionRespInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionRespInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionRespInvocationType) Value() string
type ApiPolicyFunctionRespInvocationTypeEnum ¶
type ApiPolicyFunctionRespInvocationTypeEnum struct { ASYNC ApiPolicyFunctionRespInvocationType SYNC ApiPolicyFunctionRespInvocationType }
func GetApiPolicyFunctionRespInvocationTypeEnum ¶
func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum
type ApiPolicyFunctionRespNetworkType ¶ added in v0.1.3
type ApiPolicyFunctionRespNetworkType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionRespNetworkType) MarshalJSON ¶ added in v0.1.3
func (c ApiPolicyFunctionRespNetworkType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionRespNetworkType) UnmarshalJSON ¶ added in v0.1.3
func (c *ApiPolicyFunctionRespNetworkType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionRespNetworkType) Value ¶ added in v0.1.3
func (c ApiPolicyFunctionRespNetworkType) Value() string
type ApiPolicyFunctionRespNetworkTypeEnum ¶ added in v0.1.3
type ApiPolicyFunctionRespNetworkTypeEnum struct { V1 ApiPolicyFunctionRespNetworkType V2 ApiPolicyFunctionRespNetworkType }
func GetApiPolicyFunctionRespNetworkTypeEnum ¶ added in v0.1.3
func GetApiPolicyFunctionRespNetworkTypeEnum() ApiPolicyFunctionRespNetworkTypeEnum
type ApiPolicyHttpBase ¶
type ApiPolicyHttpBase struct { // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpBaseReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpBaseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` }
func (ApiPolicyHttpBase) String ¶
func (o ApiPolicyHttpBase) String() string
type ApiPolicyHttpBaseReqMethod ¶
type ApiPolicyHttpBaseReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpBaseReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpBaseReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpBaseReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpBaseReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpBaseReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpBaseReqMethod) Value() string
type ApiPolicyHttpBaseReqMethodEnum ¶
type ApiPolicyHttpBaseReqMethodEnum struct { GET ApiPolicyHttpBaseReqMethod POST ApiPolicyHttpBaseReqMethod PUT ApiPolicyHttpBaseReqMethod DELETE ApiPolicyHttpBaseReqMethod HEAD ApiPolicyHttpBaseReqMethod PATCH ApiPolicyHttpBaseReqMethod OPTIONS ApiPolicyHttpBaseReqMethod ANY ApiPolicyHttpBaseReqMethod }
func GetApiPolicyHttpBaseReqMethodEnum ¶
func GetApiPolicyHttpBaseReqMethodEnum() ApiPolicyHttpBaseReqMethodEnum
type ApiPolicyHttpBaseReqProtocol ¶
type ApiPolicyHttpBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpBaseReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpBaseReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpBaseReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpBaseReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpBaseReqProtocol) Value() string
type ApiPolicyHttpBaseReqProtocolEnum ¶
type ApiPolicyHttpBaseReqProtocolEnum struct { HTTP ApiPolicyHttpBaseReqProtocol HTTPS ApiPolicyHttpBaseReqProtocol }
func GetApiPolicyHttpBaseReqProtocolEnum ¶
func GetApiPolicyHttpBaseReqProtocolEnum() ApiPolicyHttpBaseReqProtocolEnum
type ApiPolicyHttpCreate ¶
type ApiPolicyHttpCreate struct { // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpCreateReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpCreateReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyHttpCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionBase `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1 : 使用VPC通道 - 2 : 不使用VPC通道 VpcChannelStatus *ApiPolicyHttpCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"` }
func (ApiPolicyHttpCreate) String ¶
func (o ApiPolicyHttpCreate) String() string
type ApiPolicyHttpCreateEffectMode ¶
type ApiPolicyHttpCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyHttpCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateEffectMode) Value() string
type ApiPolicyHttpCreateEffectModeEnum ¶
type ApiPolicyHttpCreateEffectModeEnum struct { ALL ApiPolicyHttpCreateEffectMode ANY ApiPolicyHttpCreateEffectMode }
func GetApiPolicyHttpCreateEffectModeEnum ¶
func GetApiPolicyHttpCreateEffectModeEnum() ApiPolicyHttpCreateEffectModeEnum
type ApiPolicyHttpCreateReqMethod ¶
type ApiPolicyHttpCreateReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpCreateReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateReqMethod) Value() string
type ApiPolicyHttpCreateReqMethodEnum ¶
type ApiPolicyHttpCreateReqMethodEnum struct { GET ApiPolicyHttpCreateReqMethod POST ApiPolicyHttpCreateReqMethod PUT ApiPolicyHttpCreateReqMethod DELETE ApiPolicyHttpCreateReqMethod HEAD ApiPolicyHttpCreateReqMethod PATCH ApiPolicyHttpCreateReqMethod OPTIONS ApiPolicyHttpCreateReqMethod ANY ApiPolicyHttpCreateReqMethod }
func GetApiPolicyHttpCreateReqMethodEnum ¶
func GetApiPolicyHttpCreateReqMethodEnum() ApiPolicyHttpCreateReqMethodEnum
type ApiPolicyHttpCreateReqProtocol ¶
type ApiPolicyHttpCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateReqProtocol) Value() string
type ApiPolicyHttpCreateReqProtocolEnum ¶
type ApiPolicyHttpCreateReqProtocolEnum struct { HTTP ApiPolicyHttpCreateReqProtocol HTTPS ApiPolicyHttpCreateReqProtocol }
func GetApiPolicyHttpCreateReqProtocolEnum ¶
func GetApiPolicyHttpCreateReqProtocolEnum() ApiPolicyHttpCreateReqProtocolEnum
type ApiPolicyHttpCreateVpcChannelStatus ¶
type ApiPolicyHttpCreateVpcChannelStatus struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON ¶
func (c ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateVpcChannelStatus) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateVpcChannelStatus) Value() int32
type ApiPolicyHttpCreateVpcChannelStatusEnum ¶
type ApiPolicyHttpCreateVpcChannelStatusEnum struct { E_1 ApiPolicyHttpCreateVpcChannelStatus E_2 ApiPolicyHttpCreateVpcChannelStatus }
func GetApiPolicyHttpCreateVpcChannelStatusEnum ¶
func GetApiPolicyHttpCreateVpcChannelStatusEnum() ApiPolicyHttpCreateVpcChannelStatusEnum
type ApiPolicyHttpResp ¶
type ApiPolicyHttpResp struct { // 编号 Id *string `json:"id,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyHttpRespEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 策略条件列表 Conditions []CoditionResp `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpRespReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpRespReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道: - 1: 使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"` }
func (ApiPolicyHttpResp) String ¶
func (o ApiPolicyHttpResp) String() string
type ApiPolicyHttpRespEffectMode ¶
type ApiPolicyHttpRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespEffectMode) MarshalJSON ¶
func (c ApiPolicyHttpRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespEffectMode) Value() string
type ApiPolicyHttpRespEffectModeEnum ¶
type ApiPolicyHttpRespEffectModeEnum struct { ALL ApiPolicyHttpRespEffectMode ANY ApiPolicyHttpRespEffectMode }
func GetApiPolicyHttpRespEffectModeEnum ¶
func GetApiPolicyHttpRespEffectModeEnum() ApiPolicyHttpRespEffectModeEnum
type ApiPolicyHttpRespReqMethod ¶
type ApiPolicyHttpRespReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpRespReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespReqMethod) Value() string
type ApiPolicyHttpRespReqMethodEnum ¶
type ApiPolicyHttpRespReqMethodEnum struct { GET ApiPolicyHttpRespReqMethod POST ApiPolicyHttpRespReqMethod PUT ApiPolicyHttpRespReqMethod DELETE ApiPolicyHttpRespReqMethod HEAD ApiPolicyHttpRespReqMethod PATCH ApiPolicyHttpRespReqMethod OPTIONS ApiPolicyHttpRespReqMethod ANY ApiPolicyHttpRespReqMethod }
func GetApiPolicyHttpRespReqMethodEnum ¶
func GetApiPolicyHttpRespReqMethodEnum() ApiPolicyHttpRespReqMethodEnum
type ApiPolicyHttpRespReqProtocol ¶
type ApiPolicyHttpRespReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpRespReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespReqProtocol) Value() string
type ApiPolicyHttpRespReqProtocolEnum ¶
type ApiPolicyHttpRespReqProtocolEnum struct { HTTP ApiPolicyHttpRespReqProtocol HTTPS ApiPolicyHttpRespReqProtocol }
func GetApiPolicyHttpRespReqProtocolEnum ¶
func GetApiPolicyHttpRespReqProtocolEnum() ApiPolicyHttpRespReqProtocolEnum
type ApiPolicyMockBase ¶
type ApiPolicyMockBase struct { // 返回结果 ResultContent *string `json:"result_content,omitempty"` }
func (ApiPolicyMockBase) String ¶
func (o ApiPolicyMockBase) String() string
type ApiPolicyMockCreate ¶
type ApiPolicyMockCreate struct { // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyMockCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionBase `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyMockCreate) String ¶
func (o ApiPolicyMockCreate) String() string
type ApiPolicyMockCreateEffectMode ¶
type ApiPolicyMockCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyMockCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyMockCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyMockCreateEffectMode) Value() string
type ApiPolicyMockCreateEffectModeEnum ¶
type ApiPolicyMockCreateEffectModeEnum struct { ALL ApiPolicyMockCreateEffectMode ANY ApiPolicyMockCreateEffectMode }
func GetApiPolicyMockCreateEffectModeEnum ¶
func GetApiPolicyMockCreateEffectModeEnum() ApiPolicyMockCreateEffectModeEnum
type ApiPolicyMockResp ¶
type ApiPolicyMockResp struct { // 编号 Id *string `json:"id,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyMockRespEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 策略条件列表 Conditions []CoditionResp `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` }
func (ApiPolicyMockResp) String ¶
func (o ApiPolicyMockResp) String() string
type ApiPolicyMockRespEffectMode ¶
type ApiPolicyMockRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockRespEffectMode) MarshalJSON ¶
func (c ApiPolicyMockRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyMockRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyMockRespEffectMode) Value() string
type ApiPolicyMockRespEffectModeEnum ¶
type ApiPolicyMockRespEffectModeEnum struct { ALL ApiPolicyMockRespEffectMode ANY ApiPolicyMockRespEffectMode }
func GetApiPolicyMockRespEffectModeEnum ¶
func GetApiPolicyMockRespEffectModeEnum() ApiPolicyMockRespEffectModeEnum
type ApiPolicyReqBase ¶
type ApiPolicyReqBase struct { // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyReqBaseEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionBase `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyReqBase) String ¶
func (o ApiPolicyReqBase) String() string
type ApiPolicyReqBaseEffectMode ¶
type ApiPolicyReqBaseEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyReqBaseEffectMode) MarshalJSON ¶
func (c ApiPolicyReqBaseEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyReqBaseEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyReqBaseEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyReqBaseEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyReqBaseEffectMode) Value() string
type ApiPolicyReqBaseEffectModeEnum ¶
type ApiPolicyReqBaseEffectModeEnum struct { ALL ApiPolicyReqBaseEffectMode ANY ApiPolicyReqBaseEffectMode }
func GetApiPolicyReqBaseEffectModeEnum ¶
func GetApiPolicyReqBaseEffectModeEnum() ApiPolicyReqBaseEffectModeEnum
type ApiPolicyRespBase ¶
type ApiPolicyRespBase struct { // 编号 Id *string `json:"id,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyRespBaseEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 策略条件列表 Conditions []CoditionResp `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyRespBase) String ¶
func (o ApiPolicyRespBase) String() string
type ApiPolicyRespBaseEffectMode ¶
type ApiPolicyRespBaseEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyRespBaseEffectMode) MarshalJSON ¶
func (c ApiPolicyRespBaseEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyRespBaseEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyRespBaseEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyRespBaseEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyRespBaseEffectMode) Value() string
type ApiPolicyRespBaseEffectModeEnum ¶
type ApiPolicyRespBaseEffectModeEnum struct { ALL ApiPolicyRespBaseEffectMode ANY ApiPolicyRespBaseEffectMode }
func GetApiPolicyRespBaseEffectModeEnum ¶
func GetApiPolicyRespBaseEffectModeEnum() ApiPolicyRespBaseEffectModeEnum
type ApiRespBaseInfo ¶
type ApiRespBaseInfo struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ApiRespBaseInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiRespBaseInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiRespBaseInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiRespBaseInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiRespBaseInfoMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiRespBaseInfoBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ApiRespBaseInfoContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` }
func (ApiRespBaseInfo) String ¶
func (o ApiRespBaseInfo) String() string
type ApiRespBaseInfoAuthType ¶
type ApiRespBaseInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoAuthType) MarshalJSON ¶
func (c ApiRespBaseInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoAuthType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoAuthType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoAuthType) Value() string
type ApiRespBaseInfoAuthTypeEnum ¶
type ApiRespBaseInfoAuthTypeEnum struct { NONE ApiRespBaseInfoAuthType APP ApiRespBaseInfoAuthType IAM ApiRespBaseInfoAuthType AUTHORIZER ApiRespBaseInfoAuthType }
func GetApiRespBaseInfoAuthTypeEnum ¶
func GetApiRespBaseInfoAuthTypeEnum() ApiRespBaseInfoAuthTypeEnum
type ApiRespBaseInfoBackendType ¶
type ApiRespBaseInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoBackendType) MarshalJSON ¶
func (c ApiRespBaseInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoBackendType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoBackendType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoBackendType) Value() string
type ApiRespBaseInfoBackendTypeEnum ¶
type ApiRespBaseInfoBackendTypeEnum struct { HTTP ApiRespBaseInfoBackendType FUNCTION ApiRespBaseInfoBackendType MOCK ApiRespBaseInfoBackendType }
func GetApiRespBaseInfoBackendTypeEnum ¶
func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum
type ApiRespBaseInfoContentType ¶ added in v0.0.76
type ApiRespBaseInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoContentType) MarshalJSON ¶ added in v0.0.76
func (c ApiRespBaseInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ApiRespBaseInfoContentType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoContentType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoContentType) Value() string
type ApiRespBaseInfoContentTypeEnum ¶ added in v0.0.76
type ApiRespBaseInfoContentTypeEnum struct { APPLICATION_JSON ApiRespBaseInfoContentType APPLICATION_XML ApiRespBaseInfoContentType MULTIPART_FORM_DATE ApiRespBaseInfoContentType TEXT_PLAIN ApiRespBaseInfoContentType }
func GetApiRespBaseInfoContentTypeEnum ¶ added in v0.0.76
func GetApiRespBaseInfoContentTypeEnum() ApiRespBaseInfoContentTypeEnum
type ApiRespBaseInfoMatchMode ¶
type ApiRespBaseInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoMatchMode) MarshalJSON ¶
func (c ApiRespBaseInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoMatchMode) UnmarshalJSON ¶
func (c *ApiRespBaseInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoMatchMode) Value() string
type ApiRespBaseInfoMatchModeEnum ¶
type ApiRespBaseInfoMatchModeEnum struct { SWA ApiRespBaseInfoMatchMode NORMAL ApiRespBaseInfoMatchMode }
func GetApiRespBaseInfoMatchModeEnum ¶
func GetApiRespBaseInfoMatchModeEnum() ApiRespBaseInfoMatchModeEnum
type ApiRespBaseInfoReqMethod ¶
type ApiRespBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoReqMethod) MarshalJSON ¶
func (c ApiRespBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoReqMethod) UnmarshalJSON ¶
func (c *ApiRespBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoReqMethod) Value() string
type ApiRespBaseInfoReqMethodEnum ¶
type ApiRespBaseInfoReqMethodEnum struct { GET ApiRespBaseInfoReqMethod POST ApiRespBaseInfoReqMethod PUT ApiRespBaseInfoReqMethod DELETE ApiRespBaseInfoReqMethod HEAD ApiRespBaseInfoReqMethod PATCH ApiRespBaseInfoReqMethod OPTIONS ApiRespBaseInfoReqMethod ANY ApiRespBaseInfoReqMethod }
func GetApiRespBaseInfoReqMethodEnum ¶
func GetApiRespBaseInfoReqMethodEnum() ApiRespBaseInfoReqMethodEnum
type ApiRespBaseInfoReqProtocol ¶
type ApiRespBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoReqProtocol) MarshalJSON ¶
func (c ApiRespBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *ApiRespBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoReqProtocol) Value() string
type ApiRespBaseInfoReqProtocolEnum ¶
type ApiRespBaseInfoReqProtocolEnum struct { HTTP ApiRespBaseInfoReqProtocol HTTPS ApiRespBaseInfoReqProtocol BOTH ApiRespBaseInfoReqProtocol }
func GetApiRespBaseInfoReqProtocolEnum ¶
func GetApiRespBaseInfoReqProtocolEnum() ApiRespBaseInfoReqProtocolEnum
type ApiRespBaseInfoType ¶
type ApiRespBaseInfoType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoType) MarshalJSON ¶
func (c ApiRespBaseInfoType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoType) Value() int32
type ApiRespBaseInfoTypeEnum ¶
type ApiRespBaseInfoTypeEnum struct { E_1 ApiRespBaseInfoType E_2 ApiRespBaseInfoType }
func GetApiRespBaseInfoTypeEnum ¶
func GetApiRespBaseInfoTypeEnum() ApiRespBaseInfoTypeEnum
type ApiVersion ¶ added in v0.0.69
type ApiVersion struct { // API版本的编号 VersionId *string `json:"version_id,omitempty"` }
func (ApiVersion) String ¶ added in v0.0.69
func (o ApiVersion) String() string
type ApiVersionResp ¶ added in v0.0.65
type ApiVersionResp struct { // API历史版本的ID VersionId *string `json:"version_id,omitempty"` // API的版本号 VersionNo *string `json:"version_no,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布的环境名称 EnvName *string `json:"env_name,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 版本状态 - 1:当前生效中的版本 - 2:未生效的版本 Status *ApiVersionRespStatus `json:"status,omitempty"` }
func (ApiVersionResp) String ¶ added in v0.0.65
func (o ApiVersionResp) String() string
type ApiVersionRespStatus ¶ added in v0.0.69
type ApiVersionRespStatus struct {
// contains filtered or unexported fields
}
func (ApiVersionRespStatus) MarshalJSON ¶ added in v0.0.69
func (c ApiVersionRespStatus) MarshalJSON() ([]byte, error)
func (*ApiVersionRespStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ApiVersionRespStatus) UnmarshalJSON(b []byte) error
func (ApiVersionRespStatus) Value ¶ added in v0.0.90
func (c ApiVersionRespStatus) Value() int32
type ApiVersionRespStatusEnum ¶ added in v0.0.69
type ApiVersionRespStatusEnum struct { E_1 ApiVersionRespStatus E_2 ApiVersionRespStatus }
func GetApiVersionRespStatusEnum ¶ added in v0.0.69
func GetApiVersionRespStatusEnum() ApiVersionRespStatusEnum
type AppBaseInfo ¶ added in v0.0.69
type AppBaseInfo struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` }
func (AppBaseInfo) String ¶ added in v0.0.69
func (o AppBaseInfo) String() string
type AppCodeBaseInfo ¶ added in v0.0.65
type AppCodeBaseInfo struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` }
func (AppCodeBaseInfo) String ¶ added in v0.0.65
func (o AppCodeBaseInfo) String() string
type AppCodeCreate ¶ added in v0.0.65
type AppCodeCreate struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。 AppCode string `json:"app_code"` }
func (AppCodeCreate) String ¶ added in v0.0.65
func (o AppCodeCreate) String() string
type AppCreate ¶ added in v0.0.69
type AppCreate struct { // APP的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64个字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // APP描述。字符长度不能大于255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // APP的key。支持英文,数字,“_”,“-”,且只能以英文或数字开头,8 ~ 64个字符。 AppKey *string `json:"app_key,omitempty"` // 密钥。支持英文,数字,“_”,“-”,“_”,“!”,“@”,“#”,“$”,“%”且只能以英文或数字开头,8 ~ 64个字符。 AppSecret *string `json:"app_secret,omitempty"` }
type AppInfo ¶ added in v0.0.69
type AppInfo struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *AppInfoCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *AppInfoStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *AppInfoAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` }
type AppInfoAppType ¶ added in v0.0.69
type AppInfoAppType struct {
// contains filtered or unexported fields
}
func (AppInfoAppType) MarshalJSON ¶ added in v0.0.69
func (c AppInfoAppType) MarshalJSON() ([]byte, error)
func (*AppInfoAppType) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoAppType) UnmarshalJSON(b []byte) error
func (AppInfoAppType) Value ¶ added in v0.0.90
func (c AppInfoAppType) Value() string
type AppInfoAppTypeEnum ¶ added in v0.0.69
type AppInfoAppTypeEnum struct { APIG AppInfoAppType ROMA AppInfoAppType }
func GetAppInfoAppTypeEnum ¶ added in v0.0.69
func GetAppInfoAppTypeEnum() AppInfoAppTypeEnum
type AppInfoCreator ¶ added in v0.0.69
type AppInfoCreator struct {
// contains filtered or unexported fields
}
func (AppInfoCreator) MarshalJSON ¶ added in v0.0.69
func (c AppInfoCreator) MarshalJSON() ([]byte, error)
func (*AppInfoCreator) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoCreator) UnmarshalJSON(b []byte) error
func (AppInfoCreator) Value ¶ added in v0.0.90
func (c AppInfoCreator) Value() string
type AppInfoCreatorEnum ¶ added in v0.0.69
type AppInfoCreatorEnum struct { USER AppInfoCreator MARKET AppInfoCreator }
func GetAppInfoCreatorEnum ¶ added in v0.0.69
func GetAppInfoCreatorEnum() AppInfoCreatorEnum
type AppInfoStatus ¶ added in v0.0.69
type AppInfoStatus struct {
// contains filtered or unexported fields
}
func (AppInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c AppInfoStatus) MarshalJSON() ([]byte, error)
func (*AppInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoStatus) UnmarshalJSON(b []byte) error
func (AppInfoStatus) Value ¶ added in v0.0.90
func (c AppInfoStatus) Value() int32
type AppInfoStatusEnum ¶ added in v0.0.69
type AppInfoStatusEnum struct {
E_1 AppInfoStatus
}
func GetAppInfoStatusEnum ¶ added in v0.0.69
func GetAppInfoStatusEnum() AppInfoStatusEnum
type AppInfoWithBindNum ¶ added in v0.0.69
type AppInfoWithBindNum struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *AppInfoWithBindNumCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *AppInfoWithBindNumStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *AppInfoWithBindNumAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` }
func (AppInfoWithBindNum) String ¶ added in v0.0.69
func (o AppInfoWithBindNum) String() string
type AppInfoWithBindNumAppType ¶ added in v0.0.69
type AppInfoWithBindNumAppType struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumAppType) MarshalJSON ¶ added in v0.0.69
func (c AppInfoWithBindNumAppType) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumAppType) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoWithBindNumAppType) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumAppType) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumAppType) Value() string
type AppInfoWithBindNumAppTypeEnum ¶ added in v0.0.69
type AppInfoWithBindNumAppTypeEnum struct { APIG AppInfoWithBindNumAppType ROMA AppInfoWithBindNumAppType }
func GetAppInfoWithBindNumAppTypeEnum ¶ added in v0.0.69
func GetAppInfoWithBindNumAppTypeEnum() AppInfoWithBindNumAppTypeEnum
type AppInfoWithBindNumCreator ¶ added in v0.0.69
type AppInfoWithBindNumCreator struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumCreator) MarshalJSON ¶ added in v0.0.69
func (c AppInfoWithBindNumCreator) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumCreator) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoWithBindNumCreator) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumCreator) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumCreator) Value() string
type AppInfoWithBindNumCreatorEnum ¶ added in v0.0.69
type AppInfoWithBindNumCreatorEnum struct { USER AppInfoWithBindNumCreator MARKET AppInfoWithBindNumCreator }
func GetAppInfoWithBindNumCreatorEnum ¶ added in v0.0.69
func GetAppInfoWithBindNumCreatorEnum() AppInfoWithBindNumCreatorEnum
type AppInfoWithBindNumStatus ¶ added in v0.0.69
type AppInfoWithBindNumStatus struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumStatus) MarshalJSON ¶ added in v0.0.69
func (c AppInfoWithBindNumStatus) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *AppInfoWithBindNumStatus) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumStatus) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumStatus) Value() int32
type AppInfoWithBindNumStatusEnum ¶ added in v0.0.69
type AppInfoWithBindNumStatusEnum struct {
E_1 AppInfoWithBindNumStatus
}
func GetAppInfoWithBindNumStatusEnum ¶ added in v0.0.69
func GetAppInfoWithBindNumStatusEnum() AppInfoWithBindNumStatusEnum
type AppResetCreate ¶ added in v0.0.69
type AppResetCreate struct { // 密钥支持英文,数字,“_”,“-”,“!”,“@”,“#”,“$”,“%”,且只能以英文或数字开头,8 ~ 64个字符。用户自定义APP的密钥需要开启配额开关 AppSecret *string `json:"app_secret,omitempty"` }
func (AppResetCreate) String ¶ added in v0.0.69
func (o AppResetCreate) String() string
type AssociateCertificateV2Request ¶
type AssociateCertificateV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *CertForm `json:"body,omitempty"` }
Request Object
func (AssociateCertificateV2Request) String ¶
func (o AssociateCertificateV2Request) String() string
type AssociateCertificateV2Response ¶
type AssociateCertificateV2Response struct { // 自定义域名 UrlDomain string `json:"url_domain"` // 自定义域名的编号 Id string `json:"id"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status AssociateCertificateV2ResponseStatus `json:"status"` // 支持的最小SSL版本 MinSslVersion string `json:"min_ssl_version"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` // 证书的名称 SslName string `json:"ssl_name"` // 证书的编号 SslId string `json:"ssl_id"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateCertificateV2Response) String ¶
func (o AssociateCertificateV2Response) String() string
type AssociateCertificateV2ResponseStatus ¶ added in v0.0.49
type AssociateCertificateV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (AssociateCertificateV2ResponseStatus) MarshalJSON ¶ added in v0.0.49
func (c AssociateCertificateV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*AssociateCertificateV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.49
func (c *AssociateCertificateV2ResponseStatus) UnmarshalJSON(b []byte) error
func (AssociateCertificateV2ResponseStatus) Value ¶ added in v0.0.90
func (c AssociateCertificateV2ResponseStatus) Value() int32
type AssociateCertificateV2ResponseStatusEnum ¶ added in v0.0.49
type AssociateCertificateV2ResponseStatusEnum struct { E_1 AssociateCertificateV2ResponseStatus E_2 AssociateCertificateV2ResponseStatus E_3 AssociateCertificateV2ResponseStatus E_4 AssociateCertificateV2ResponseStatus }
func GetAssociateCertificateV2ResponseStatusEnum ¶ added in v0.0.49
func GetAssociateCertificateV2ResponseStatusEnum() AssociateCertificateV2ResponseStatusEnum
type AssociateDomainV2Request ¶
type AssociateDomainV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` Body *UrlDomainCreate `json:"body,omitempty"` }
Request Object
func (AssociateDomainV2Request) String ¶
func (o AssociateDomainV2Request) String() string
type AssociateDomainV2Response ¶
type AssociateDomainV2Response struct { // 自定义域名 UrlDomain *string `json:"url_domain,omitempty"` // 自定义域名的编号 Id *string `json:"id,omitempty"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status *AssociateDomainV2ResponseStatus `json:"status,omitempty"` // 支持的最小SSL版本 MinSslVersion *string `json:"min_ssl_version,omitempty"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateDomainV2Response) String ¶
func (o AssociateDomainV2Response) String() string
type AssociateDomainV2ResponseStatus ¶
type AssociateDomainV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (AssociateDomainV2ResponseStatus) MarshalJSON ¶
func (c AssociateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*AssociateDomainV2ResponseStatus) UnmarshalJSON ¶
func (c *AssociateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error
func (AssociateDomainV2ResponseStatus) Value ¶ added in v0.0.90
func (c AssociateDomainV2ResponseStatus) Value() int32
type AssociateDomainV2ResponseStatusEnum ¶
type AssociateDomainV2ResponseStatusEnum struct { E_1 AssociateDomainV2ResponseStatus E_2 AssociateDomainV2ResponseStatus E_3 AssociateDomainV2ResponseStatus E_4 AssociateDomainV2ResponseStatus }
func GetAssociateDomainV2ResponseStatusEnum ¶
func GetAssociateDomainV2ResponseStatusEnum() AssociateDomainV2ResponseStatusEnum
type AssociateRequestThrottlingPolicyV2Request ¶
type AssociateRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ThrottleApiBindingCreate `json:"body,omitempty"` }
Request Object
func (AssociateRequestThrottlingPolicyV2Request) String ¶
func (o AssociateRequestThrottlingPolicyV2Request) String() string
type AssociateRequestThrottlingPolicyV2Response ¶
type AssociateRequestThrottlingPolicyV2Response struct { // API与流控策略的绑定关系列表 ThrottleApplys *[]ThrottleApiBinding `json:"throttle_applys,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateRequestThrottlingPolicyV2Response) String ¶
func (o AssociateRequestThrottlingPolicyV2Response) String() string
type AssociateSignatureKeyV2Request ¶
type AssociateSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *SignApiBinding `json:"body,omitempty"` }
Request Object
func (AssociateSignatureKeyV2Request) String ¶
func (o AssociateSignatureKeyV2Request) String() string
type AssociateSignatureKeyV2Response ¶
type AssociateSignatureKeyV2Response struct { // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateSignatureKeyV2Response) String ¶
func (o AssociateSignatureKeyV2Response) String() string
type AttachApiToPluginRequest ¶ added in v0.1.11
type AttachApiToPluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 插件编号 PluginId string `json:"plugin_id"` Body *PluginOperApiInfo `json:"body,omitempty"` }
Request Object
func (AttachApiToPluginRequest) String ¶ added in v0.1.11
func (o AttachApiToPluginRequest) String() string
type AttachApiToPluginResponse ¶ added in v0.1.11
type AttachApiToPluginResponse struct { // 绑定插件信息列表。 AttachedPlugins *[]PluginApiAttachInfo `json:"attached_plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AttachApiToPluginResponse) String ¶ added in v0.1.11
func (o AttachApiToPluginResponse) String() string
type AttachOrDetachCertsReqBody ¶ added in v0.1.7
type AttachOrDetachCertsReqBody struct { // 证书的id集合 CertificateIds []string `json:"certificate_ids"` }
域名绑定和解绑证书的请求体
func (AttachOrDetachCertsReqBody) String ¶ added in v0.1.7
func (o AttachOrDetachCertsReqBody) String() string
type AttachOrDetachDomainInfo ¶ added in v0.1.7
type AttachOrDetachDomainInfo struct { // 域名 Domain string `json:"domain"` // 实例ID集合 InstanceIds *[]string `json:"instance_ids,omitempty"` }
证书绑定或解绑域名信息。如果填了instance_id则只操作该实例下指定域名;如果不填instance_id则操作全局指定域名。
func (AttachOrDetachDomainInfo) String ¶ added in v0.1.7
func (o AttachOrDetachDomainInfo) String() string
type AttachOrDetachDomainsReqBody ¶ added in v0.1.7
type AttachOrDetachDomainsReqBody struct { // 证书绑定或解绑域名列表 Domains []AttachOrDetachDomainInfo `json:"domains"` }
证书批量绑定或解绑域名请求体
func (AttachOrDetachDomainsReqBody) String ¶ added in v0.1.7
func (o AttachOrDetachDomainsReqBody) String() string
type AttachPluginToApiRequest ¶ added in v0.1.11
type AttachPluginToApiRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API编号 ApiId string `json:"api_id"` Body *ApiOperPluginInfo `json:"body,omitempty"` }
Request Object
func (AttachPluginToApiRequest) String ¶ added in v0.1.11
func (o AttachPluginToApiRequest) String() string
type AttachPluginToApiResponse ¶ added in v0.1.11
type AttachPluginToApiResponse struct { // 绑定插件信息列表。 AttachedPlugins *[]PluginApiAttachInfo `json:"attached_plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AttachPluginToApiResponse) String ¶ added in v0.1.11
func (o AttachPluginToApiResponse) String() string
type AttachedPluginInfo ¶ added in v0.1.11
type AttachedPluginInfo struct { // 插件绑定编码。 PluginAttachId *string `json:"plugin_attach_id,omitempty"` // 插件编码。 PluginId *string `json:"plugin_id,omitempty"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType *AttachedPluginInfoPluginType `json:"plugin_type,omitempty"` // 插件可见范围。global:全局可见。 PluginScope *AttachedPluginInfoPluginScope `json:"plugin_scope,omitempty"` // 绑定API的环境编码。 EnvId *string `json:"env_id,omitempty"` // api授权绑定的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定时间。 AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"` // 插件定义内容,支持json。 PluginContent *string `json:"plugin_content,omitempty"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 创建时间。 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间。 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (AttachedPluginInfo) String ¶ added in v0.1.11
func (o AttachedPluginInfo) String() string
type AttachedPluginInfoPluginScope ¶ added in v0.1.11
type AttachedPluginInfoPluginScope struct {
// contains filtered or unexported fields
}
func (AttachedPluginInfoPluginScope) MarshalJSON ¶ added in v0.1.11
func (c AttachedPluginInfoPluginScope) MarshalJSON() ([]byte, error)
func (*AttachedPluginInfoPluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *AttachedPluginInfoPluginScope) UnmarshalJSON(b []byte) error
func (AttachedPluginInfoPluginScope) Value ¶ added in v0.1.11
func (c AttachedPluginInfoPluginScope) Value() string
type AttachedPluginInfoPluginScopeEnum ¶ added in v0.1.11
type AttachedPluginInfoPluginScopeEnum struct {
GLOBAL AttachedPluginInfoPluginScope
}
func GetAttachedPluginInfoPluginScopeEnum ¶ added in v0.1.11
func GetAttachedPluginInfoPluginScopeEnum() AttachedPluginInfoPluginScopeEnum
type AttachedPluginInfoPluginType ¶ added in v0.1.11
type AttachedPluginInfoPluginType struct {
// contains filtered or unexported fields
}
func (AttachedPluginInfoPluginType) MarshalJSON ¶ added in v0.1.11
func (c AttachedPluginInfoPluginType) MarshalJSON() ([]byte, error)
func (*AttachedPluginInfoPluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *AttachedPluginInfoPluginType) UnmarshalJSON(b []byte) error
func (AttachedPluginInfoPluginType) Value ¶ added in v0.1.11
func (c AttachedPluginInfoPluginType) Value() string
type AttachedPluginInfoPluginTypeEnum ¶ added in v0.1.11
type AttachedPluginInfoPluginTypeEnum struct { CORS AttachedPluginInfoPluginType SET_RESP_HEADERS AttachedPluginInfoPluginType KAFKA_LOG AttachedPluginInfoPluginType BREAKER AttachedPluginInfoPluginType RATE_LIMIT AttachedPluginInfoPluginType }
func GetAttachedPluginInfoPluginTypeEnum ¶ added in v0.1.11
func GetAttachedPluginInfoPluginTypeEnum() AttachedPluginInfoPluginTypeEnum
type AuthOpt ¶
type AuthOpt struct { // AppCode简易认证类型,仅在auth_type为APP时生效,默认为DISABLE: - DISABLE:不开启简易认证 - HEADER:开启简易认证且AppCode位置在HEADER AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"` }
认证方式参数
type AuthOptAppCodeAuthType ¶
type AuthOptAppCodeAuthType struct {
// contains filtered or unexported fields
}
func (AuthOptAppCodeAuthType) MarshalJSON ¶
func (c AuthOptAppCodeAuthType) MarshalJSON() ([]byte, error)
func (*AuthOptAppCodeAuthType) UnmarshalJSON ¶
func (c *AuthOptAppCodeAuthType) UnmarshalJSON(b []byte) error
func (AuthOptAppCodeAuthType) Value ¶ added in v0.0.90
func (c AuthOptAppCodeAuthType) Value() string
type AuthOptAppCodeAuthTypeEnum ¶
type AuthOptAppCodeAuthTypeEnum struct { DISABLE AuthOptAppCodeAuthType HEADER AuthOptAppCodeAuthType }
func GetAuthOptAppCodeAuthTypeEnum ¶
func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum
type AuthResult ¶ added in v0.0.69
type AuthResult struct { // 授权结果 - SUCCESS:授权成功 - SKIPPED:跳过 - FAILED:授权失败 Status *AuthResultStatus `json:"status,omitempty"` // 授权失败错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 授权失败错误码 ErrorCode *string `json:"error_code,omitempty"` // 授权失败的API名称 ApiName *string `json:"api_name,omitempty"` // 授权失败的APP名称 AppName *string `json:"app_name,omitempty"` }
授权结果
func (AuthResult) String ¶ added in v0.0.69
func (o AuthResult) String() string
type AuthResultStatus ¶ added in v0.0.69
type AuthResultStatus struct {
// contains filtered or unexported fields
}
func (AuthResultStatus) MarshalJSON ¶ added in v0.0.69
func (c AuthResultStatus) MarshalJSON() ([]byte, error)
func (*AuthResultStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *AuthResultStatus) UnmarshalJSON(b []byte) error
func (AuthResultStatus) Value ¶ added in v0.0.90
func (c AuthResultStatus) Value() string
type AuthResultStatusEnum ¶ added in v0.0.69
type AuthResultStatusEnum struct { SUCCESS AuthResultStatus SKIPPED AuthResultStatus FAILED AuthResultStatus }
func GetAuthResultStatusEnum ¶ added in v0.0.69
func GetAuthResultStatusEnum() AuthResultStatusEnum
type AuthorizerBase ¶ added in v0.0.65
type AuthorizerBase struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type AuthorizerBaseType `json:"type"` // 只能为:FUNC AuthorizerType AuthorizerBaseAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` }
func (AuthorizerBase) String ¶ added in v0.0.65
func (o AuthorizerBase) String() string
type AuthorizerBaseAuthorizerType ¶ added in v0.0.65
type AuthorizerBaseAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerBaseAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerBaseAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerBaseAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerBaseAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerBaseAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerBaseAuthorizerType) Value() string
type AuthorizerBaseAuthorizerTypeEnum ¶ added in v0.0.65
type AuthorizerBaseAuthorizerTypeEnum struct {
FUNC AuthorizerBaseAuthorizerType
}
func GetAuthorizerBaseAuthorizerTypeEnum ¶ added in v0.0.65
func GetAuthorizerBaseAuthorizerTypeEnum() AuthorizerBaseAuthorizerTypeEnum
type AuthorizerBaseType ¶ added in v0.0.65
type AuthorizerBaseType struct {
// contains filtered or unexported fields
}
func (AuthorizerBaseType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerBaseType) MarshalJSON() ([]byte, error)
func (*AuthorizerBaseType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerBaseType) UnmarshalJSON(b []byte) error
func (AuthorizerBaseType) Value ¶ added in v0.0.90
func (c AuthorizerBaseType) Value() string
type AuthorizerBaseTypeEnum ¶ added in v0.0.65
type AuthorizerBaseTypeEnum struct { FRONTEND AuthorizerBaseType BACKEND AuthorizerBaseType }
func GetAuthorizerBaseTypeEnum ¶ added in v0.0.65
func GetAuthorizerBaseTypeEnum() AuthorizerBaseTypeEnum
type AuthorizerCreate ¶ added in v0.0.65
type AuthorizerCreate struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type AuthorizerCreateType `json:"type"` // 只能为:FUNC AuthorizerType AuthorizerCreateAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` }
func (AuthorizerCreate) String ¶ added in v0.0.65
func (o AuthorizerCreate) String() string
type AuthorizerCreateAuthorizerType ¶ added in v0.0.65
type AuthorizerCreateAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerCreateAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerCreateAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerCreateAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerCreateAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerCreateAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerCreateAuthorizerType) Value() string
type AuthorizerCreateAuthorizerTypeEnum ¶ added in v0.0.65
type AuthorizerCreateAuthorizerTypeEnum struct {
FUNC AuthorizerCreateAuthorizerType
}
func GetAuthorizerCreateAuthorizerTypeEnum ¶ added in v0.0.65
func GetAuthorizerCreateAuthorizerTypeEnum() AuthorizerCreateAuthorizerTypeEnum
type AuthorizerCreateType ¶ added in v0.0.65
type AuthorizerCreateType struct {
// contains filtered or unexported fields
}
func (AuthorizerCreateType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerCreateType) MarshalJSON() ([]byte, error)
func (*AuthorizerCreateType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerCreateType) UnmarshalJSON(b []byte) error
func (AuthorizerCreateType) Value ¶ added in v0.0.90
func (c AuthorizerCreateType) Value() string
type AuthorizerCreateTypeEnum ¶ added in v0.0.65
type AuthorizerCreateTypeEnum struct { FRONTEND AuthorizerCreateType BACKEND AuthorizerCreateType }
func GetAuthorizerCreateTypeEnum ¶ added in v0.0.65
func GetAuthorizerCreateTypeEnum() AuthorizerCreateTypeEnum
type AuthorizerResp ¶ added in v0.0.65
type AuthorizerResp struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type AuthorizerRespType `json:"type"` // 只能为:FUNC AuthorizerType AuthorizerRespAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` }
func (AuthorizerResp) String ¶ added in v0.0.65
func (o AuthorizerResp) String() string
type AuthorizerRespAuthorizerType ¶ added in v0.0.65
type AuthorizerRespAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerRespAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerRespAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerRespAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerRespAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerRespAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerRespAuthorizerType) Value() string
type AuthorizerRespAuthorizerTypeEnum ¶ added in v0.0.65
type AuthorizerRespAuthorizerTypeEnum struct {
FUNC AuthorizerRespAuthorizerType
}
func GetAuthorizerRespAuthorizerTypeEnum ¶ added in v0.0.65
func GetAuthorizerRespAuthorizerTypeEnum() AuthorizerRespAuthorizerTypeEnum
type AuthorizerRespType ¶ added in v0.0.65
type AuthorizerRespType struct {
// contains filtered or unexported fields
}
func (AuthorizerRespType) MarshalJSON ¶ added in v0.0.65
func (c AuthorizerRespType) MarshalJSON() ([]byte, error)
func (*AuthorizerRespType) UnmarshalJSON ¶ added in v0.0.65
func (c *AuthorizerRespType) UnmarshalJSON(b []byte) error
func (AuthorizerRespType) Value ¶ added in v0.0.90
func (c AuthorizerRespType) Value() string
type AuthorizerRespTypeEnum ¶ added in v0.0.65
type AuthorizerRespTypeEnum struct { FRONTEND AuthorizerRespType BACKEND AuthorizerRespType }
func GetAuthorizerRespTypeEnum ¶ added in v0.0.65
func GetAuthorizerRespTypeEnum() AuthorizerRespTypeEnum
type AvailableZone ¶ added in v0.0.65
type AvailableZone struct { // 可用区名称。 Name *string `json:"name,omitempty"` // 实例创建失败错误信息 Id *string `json:"id,omitempty"` // 可用区编码。 Code *string `json:"code,omitempty"` // 可用区端口号。 Port *string `json:"port,omitempty"` LocalName *LocalName `json:"local_name,omitempty"` // 可用区支持的实例规格。 Specs map[string]bool `json:"specs,omitempty"` }
func (AvailableZone) String ¶ added in v0.0.65
func (o AvailableZone) String() string
type BackendApi ¶
type BackendApi struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiReqProtocol `json:"req_protocol"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 后端状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"` }
web后端详情
func (BackendApi) String ¶
func (o BackendApi) String() string
type BackendApiBase ¶
type BackendApiBase struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiBaseReqProtocol `json:"req_protocol"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiBaseReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 后端状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (BackendApiBase) String ¶
func (o BackendApiBase) String() string
type BackendApiBaseInfo ¶
type BackendApiBaseInfo struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiBaseInfoReqProtocol `json:"req_protocol"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiBaseInfoReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` }
func (BackendApiBaseInfo) String ¶
func (o BackendApiBaseInfo) String() string
type BackendApiBaseInfoReqMethod ¶
type BackendApiBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiBaseInfoReqMethod) MarshalJSON ¶
func (c BackendApiBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiBaseInfoReqMethod) UnmarshalJSON ¶
func (c *BackendApiBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c BackendApiBaseInfoReqMethod) Value() string
type BackendApiBaseInfoReqMethodEnum ¶
type BackendApiBaseInfoReqMethodEnum struct { GET BackendApiBaseInfoReqMethod POST BackendApiBaseInfoReqMethod PUT BackendApiBaseInfoReqMethod DELETE BackendApiBaseInfoReqMethod HEAD BackendApiBaseInfoReqMethod PATCH BackendApiBaseInfoReqMethod OPTIONS BackendApiBaseInfoReqMethod ANY BackendApiBaseInfoReqMethod }
func GetBackendApiBaseInfoReqMethodEnum ¶
func GetBackendApiBaseInfoReqMethodEnum() BackendApiBaseInfoReqMethodEnum
type BackendApiBaseInfoReqProtocol ¶
type BackendApiBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiBaseInfoReqProtocol) MarshalJSON ¶
func (c BackendApiBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *BackendApiBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiBaseInfoReqProtocol) Value() string
type BackendApiBaseInfoReqProtocolEnum ¶
type BackendApiBaseInfoReqProtocolEnum struct { HTTP BackendApiBaseInfoReqProtocol HTTPS BackendApiBaseInfoReqProtocol }
func GetBackendApiBaseInfoReqProtocolEnum ¶
func GetBackendApiBaseInfoReqProtocolEnum() BackendApiBaseInfoReqProtocolEnum
type BackendApiBaseReqMethod ¶
type BackendApiBaseReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiBaseReqMethod) MarshalJSON ¶
func (c BackendApiBaseReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiBaseReqMethod) UnmarshalJSON ¶
func (c *BackendApiBaseReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiBaseReqMethod) Value ¶ added in v0.0.90
func (c BackendApiBaseReqMethod) Value() string
type BackendApiBaseReqMethodEnum ¶
type BackendApiBaseReqMethodEnum struct { GET BackendApiBaseReqMethod POST BackendApiBaseReqMethod PUT BackendApiBaseReqMethod DELETE BackendApiBaseReqMethod HEAD BackendApiBaseReqMethod PATCH BackendApiBaseReqMethod OPTIONS BackendApiBaseReqMethod ANY BackendApiBaseReqMethod }
func GetBackendApiBaseReqMethodEnum ¶
func GetBackendApiBaseReqMethodEnum() BackendApiBaseReqMethodEnum
type BackendApiBaseReqProtocol ¶
type BackendApiBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiBaseReqProtocol) MarshalJSON ¶
func (c BackendApiBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiBaseReqProtocol) UnmarshalJSON ¶
func (c *BackendApiBaseReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiBaseReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiBaseReqProtocol) Value() string
type BackendApiBaseReqProtocolEnum ¶
type BackendApiBaseReqProtocolEnum struct { HTTP BackendApiBaseReqProtocol HTTPS BackendApiBaseReqProtocol }
func GetBackendApiBaseReqProtocolEnum ¶
func GetBackendApiBaseReqProtocolEnum() BackendApiBaseReqProtocolEnum
type BackendApiCreate ¶
type BackendApiCreate struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiCreateReqProtocol `json:"req_protocol"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiCreateReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *BackendApiCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"` }
web后端详情
func (BackendApiCreate) String ¶
func (o BackendApiCreate) String() string
type BackendApiCreateReqMethod ¶
type BackendApiCreateReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiCreateReqMethod) MarshalJSON ¶
func (c BackendApiCreateReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiCreateReqMethod) UnmarshalJSON ¶
func (c *BackendApiCreateReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiCreateReqMethod) Value ¶ added in v0.0.90
func (c BackendApiCreateReqMethod) Value() string
type BackendApiCreateReqMethodEnum ¶
type BackendApiCreateReqMethodEnum struct { GET BackendApiCreateReqMethod POST BackendApiCreateReqMethod PUT BackendApiCreateReqMethod DELETE BackendApiCreateReqMethod HEAD BackendApiCreateReqMethod PATCH BackendApiCreateReqMethod OPTIONS BackendApiCreateReqMethod ANY BackendApiCreateReqMethod }
func GetBackendApiCreateReqMethodEnum ¶
func GetBackendApiCreateReqMethodEnum() BackendApiCreateReqMethodEnum
type BackendApiCreateReqProtocol ¶
type BackendApiCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiCreateReqProtocol) MarshalJSON ¶
func (c BackendApiCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiCreateReqProtocol) UnmarshalJSON ¶
func (c *BackendApiCreateReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiCreateReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiCreateReqProtocol) Value() string
type BackendApiCreateReqProtocolEnum ¶
type BackendApiCreateReqProtocolEnum struct { HTTP BackendApiCreateReqProtocol HTTPS BackendApiCreateReqProtocol }
func GetBackendApiCreateReqProtocolEnum ¶
func GetBackendApiCreateReqProtocolEnum() BackendApiCreateReqProtocolEnum
type BackendApiCreateVpcChannelStatus ¶
type BackendApiCreateVpcChannelStatus struct {
// contains filtered or unexported fields
}
func (BackendApiCreateVpcChannelStatus) MarshalJSON ¶
func (c BackendApiCreateVpcChannelStatus) MarshalJSON() ([]byte, error)
func (*BackendApiCreateVpcChannelStatus) UnmarshalJSON ¶
func (c *BackendApiCreateVpcChannelStatus) UnmarshalJSON(b []byte) error
func (BackendApiCreateVpcChannelStatus) Value ¶ added in v0.0.90
func (c BackendApiCreateVpcChannelStatus) Value() int32
type BackendApiCreateVpcChannelStatusEnum ¶
type BackendApiCreateVpcChannelStatusEnum struct { E_1 BackendApiCreateVpcChannelStatus E_2 BackendApiCreateVpcChannelStatus }
func GetBackendApiCreateVpcChannelStatusEnum ¶
func GetBackendApiCreateVpcChannelStatusEnum() BackendApiCreateVpcChannelStatusEnum
type BackendApiReqMethod ¶
type BackendApiReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiReqMethod) MarshalJSON ¶
func (c BackendApiReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiReqMethod) UnmarshalJSON ¶
func (c *BackendApiReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiReqMethod) Value ¶ added in v0.0.90
func (c BackendApiReqMethod) Value() string
type BackendApiReqMethodEnum ¶
type BackendApiReqMethodEnum struct { GET BackendApiReqMethod POST BackendApiReqMethod PUT BackendApiReqMethod DELETE BackendApiReqMethod HEAD BackendApiReqMethod PATCH BackendApiReqMethod OPTIONS BackendApiReqMethod ANY BackendApiReqMethod }
func GetBackendApiReqMethodEnum ¶
func GetBackendApiReqMethodEnum() BackendApiReqMethodEnum
type BackendApiReqProtocol ¶
type BackendApiReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiReqProtocol) MarshalJSON ¶
func (c BackendApiReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiReqProtocol) UnmarshalJSON ¶
func (c *BackendApiReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiReqProtocol) Value() string
type BackendApiReqProtocolEnum ¶
type BackendApiReqProtocolEnum struct { HTTP BackendApiReqProtocol HTTPS BackendApiReqProtocol }
func GetBackendApiReqProtocolEnum ¶
func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum
type BackendLatencyStats ¶ added in v0.0.65
type BackendLatencyStats struct { // 最大后端延时 MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"` // 平均后端延时 AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"` }
func (BackendLatencyStats) String ¶ added in v0.0.65
func (o BackendLatencyStats) String() string
type BackendParam ¶
type BackendParam struct { // 参数类别: - 后端服务参数:REQUEST - 常量参数:CONSTANT - 系统参数:SYSTEM Origin BackendParamOrigin `json:"origin"` // 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数位置:PATH、QUERY、HEADER Location BackendParamLocation `json:"location"` // 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称; origin类别为CONSTANT时,此字段值为参数真正的值; origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。 网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiId:API的ID - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成请求ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用 前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa 后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa Value string `json:"value"` // 参数编号 Id *string `json:"id,omitempty"` // 对应的请求参数编号 ReqParamId *string `json:"req_param_id,omitempty"` }
func (BackendParam) String ¶
func (o BackendParam) String() string
type BackendParamBase ¶
type BackendParamBase struct { // 参数类别: - 后端服务参数:REQUEST - 常量参数:CONSTANT - 系统参数:SYSTEM Origin BackendParamBaseOrigin `json:"origin"` // 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数位置:PATH、QUERY、HEADER Location BackendParamBaseLocation `json:"location"` // 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称; origin类别为CONSTANT时,此字段值为参数真正的值; origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。 网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiId:API的ID - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成请求ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用 前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa 后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa Value string `json:"value"` }
func (BackendParamBase) String ¶
func (o BackendParamBase) String() string
type BackendParamBaseLocation ¶
type BackendParamBaseLocation struct {
// contains filtered or unexported fields
}
func (BackendParamBaseLocation) MarshalJSON ¶
func (c BackendParamBaseLocation) MarshalJSON() ([]byte, error)
func (*BackendParamBaseLocation) UnmarshalJSON ¶
func (c *BackendParamBaseLocation) UnmarshalJSON(b []byte) error
func (BackendParamBaseLocation) Value ¶ added in v0.0.90
func (c BackendParamBaseLocation) Value() string
type BackendParamBaseLocationEnum ¶
type BackendParamBaseLocationEnum struct { PATH BackendParamBaseLocation QUERY BackendParamBaseLocation HEADER BackendParamBaseLocation }
func GetBackendParamBaseLocationEnum ¶
func GetBackendParamBaseLocationEnum() BackendParamBaseLocationEnum
type BackendParamBaseOrigin ¶
type BackendParamBaseOrigin struct {
// contains filtered or unexported fields
}
func (BackendParamBaseOrigin) MarshalJSON ¶
func (c BackendParamBaseOrigin) MarshalJSON() ([]byte, error)
func (*BackendParamBaseOrigin) UnmarshalJSON ¶
func (c *BackendParamBaseOrigin) UnmarshalJSON(b []byte) error
func (BackendParamBaseOrigin) Value ¶ added in v0.0.90
func (c BackendParamBaseOrigin) Value() string
type BackendParamBaseOriginEnum ¶
type BackendParamBaseOriginEnum struct { REQUEST BackendParamBaseOrigin CONSTANT BackendParamBaseOrigin SYSTEM BackendParamBaseOrigin }
func GetBackendParamBaseOriginEnum ¶
func GetBackendParamBaseOriginEnum() BackendParamBaseOriginEnum
type BackendParamLocation ¶
type BackendParamLocation struct {
// contains filtered or unexported fields
}
func (BackendParamLocation) MarshalJSON ¶
func (c BackendParamLocation) MarshalJSON() ([]byte, error)
func (*BackendParamLocation) UnmarshalJSON ¶
func (c *BackendParamLocation) UnmarshalJSON(b []byte) error
func (BackendParamLocation) Value ¶ added in v0.0.90
func (c BackendParamLocation) Value() string
type BackendParamLocationEnum ¶
type BackendParamLocationEnum struct { PATH BackendParamLocation QUERY BackendParamLocation HEADER BackendParamLocation }
func GetBackendParamLocationEnum ¶
func GetBackendParamLocationEnum() BackendParamLocationEnum
type BackendParamOrigin ¶
type BackendParamOrigin struct {
// contains filtered or unexported fields
}
func (BackendParamOrigin) MarshalJSON ¶
func (c BackendParamOrigin) MarshalJSON() ([]byte, error)
func (*BackendParamOrigin) UnmarshalJSON ¶
func (c *BackendParamOrigin) UnmarshalJSON(b []byte) error
func (BackendParamOrigin) Value ¶ added in v0.0.90
func (c BackendParamOrigin) Value() string
type BackendParamOriginEnum ¶
type BackendParamOriginEnum struct { REQUEST BackendParamOrigin CONSTANT BackendParamOrigin SYSTEM BackendParamOrigin }
func GetBackendParamOriginEnum ¶
func GetBackendParamOriginEnum() BackendParamOriginEnum
type BasePage ¶ added in v0.0.49
type BasePage struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` }
分页基本信息
type BaseSignature ¶ added in v0.0.69
type BaseSignature struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *BaseSignatureSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *BaseSignatureSignAlgorithm `json:"sign_algorithm,omitempty"` }
func (BaseSignature) String ¶ added in v0.0.69
func (o BaseSignature) String() string
type BaseSignatureSignAlgorithm ¶ added in v0.0.69
type BaseSignatureSignAlgorithm struct {
// contains filtered or unexported fields
}
func (BaseSignatureSignAlgorithm) MarshalJSON ¶ added in v0.0.69
func (c BaseSignatureSignAlgorithm) MarshalJSON() ([]byte, error)
func (*BaseSignatureSignAlgorithm) UnmarshalJSON ¶ added in v0.0.69
func (c *BaseSignatureSignAlgorithm) UnmarshalJSON(b []byte) error
func (BaseSignatureSignAlgorithm) Value ¶ added in v0.0.90
func (c BaseSignatureSignAlgorithm) Value() string
type BaseSignatureSignAlgorithmEnum ¶ added in v0.0.69
type BaseSignatureSignAlgorithmEnum struct { AES_128_CFB BaseSignatureSignAlgorithm AES_256_CFB BaseSignatureSignAlgorithm }
func GetBaseSignatureSignAlgorithmEnum ¶ added in v0.0.69
func GetBaseSignatureSignAlgorithmEnum() BaseSignatureSignAlgorithmEnum
type BaseSignatureSignType ¶ added in v0.0.69
type BaseSignatureSignType struct {
// contains filtered or unexported fields
}
func (BaseSignatureSignType) MarshalJSON ¶ added in v0.0.69
func (c BaseSignatureSignType) MarshalJSON() ([]byte, error)
func (*BaseSignatureSignType) UnmarshalJSON ¶ added in v0.0.69
func (c *BaseSignatureSignType) UnmarshalJSON(b []byte) error
func (BaseSignatureSignType) Value ¶ added in v0.0.90
func (c BaseSignatureSignType) Value() string
type BaseSignatureSignTypeEnum ¶ added in v0.0.69
type BaseSignatureSignTypeEnum struct { HMAC BaseSignatureSignType BASIC BaseSignatureSignType PUBLIC_KEY BaseSignatureSignType AES BaseSignatureSignType }
func GetBaseSignatureSignTypeEnum ¶ added in v0.0.69
func GetBaseSignatureSignTypeEnum() BaseSignatureSignTypeEnum
type BatchAssociateCertsV2Request ¶ added in v0.1.7
type BatchAssociateCertsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *AttachOrDetachCertsReqBody `json:"body,omitempty"` }
Request Object
func (BatchAssociateCertsV2Request) String ¶ added in v0.1.7
func (o BatchAssociateCertsV2Request) String() string
type BatchAssociateCertsV2Response ¶ added in v0.1.7
type BatchAssociateCertsV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAssociateCertsV2Response) String ¶ added in v0.1.7
func (o BatchAssociateCertsV2Response) String() string
type BatchAssociateDomainsV2Request ¶ added in v0.1.7
type BatchAssociateDomainsV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` Body *AttachOrDetachDomainsReqBody `json:"body,omitempty"` }
Request Object
func (BatchAssociateDomainsV2Request) String ¶ added in v0.1.7
func (o BatchAssociateDomainsV2Request) String() string
type BatchAssociateDomainsV2Response ¶ added in v0.1.7
type BatchAssociateDomainsV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAssociateDomainsV2Response) String ¶ added in v0.1.7
func (o BatchAssociateDomainsV2Response) String() string
type BatchDeleteAclV2Request ¶ added in v0.0.65
type BatchDeleteAclV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *AclBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDeleteAclV2Request) String ¶ added in v0.0.65
func (o BatchDeleteAclV2Request) String() string
type BatchDeleteAclV2Response ¶ added in v0.0.65
type BatchDeleteAclV2Response struct { // 删除成功的ACL策略数量 SuccessCount *int32 `json:"success_count,omitempty"` // 删除失败的ACL策略及错误信息 Failure *[]AclBatchResultFailureResp `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteAclV2Response) String ¶ added in v0.0.65
func (o BatchDeleteAclV2Response) String() string
type BatchDeleteApiAclBindingV2Request ¶ added in v0.0.65
type BatchDeleteApiAclBindingV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *AclBindingBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDeleteApiAclBindingV2Request) String ¶ added in v0.0.65
func (o BatchDeleteApiAclBindingV2Request) String() string
type BatchDeleteApiAclBindingV2Response ¶ added in v0.0.65
type BatchDeleteApiAclBindingV2Response struct { // 成功解除绑定的ACL策略数量 SuccessCount *int32 `json:"success_count,omitempty"` // 解除绑定失败的ACL策略及错误信息 Failure *[]AclBindingBatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteApiAclBindingV2Response) String ¶ added in v0.0.65
func (o BatchDeleteApiAclBindingV2Response) String() string
type BatchDisableMembersRequest ¶ added in v0.1.7
type BatchDisableMembersRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MembersBatchEnableOrDisable `json:"body,omitempty"` }
Request Object
func (BatchDisableMembersRequest) String ¶ added in v0.1.7
func (o BatchDisableMembersRequest) String() string
type BatchDisableMembersResponse ¶ added in v0.1.7
type BatchDisableMembersResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDisableMembersResponse) String ¶ added in v0.1.7
func (o BatchDisableMembersResponse) String() string
type BatchDisassociateCertsV2Request ¶ added in v0.1.7
type BatchDisassociateCertsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *AttachOrDetachCertsReqBody `json:"body,omitempty"` }
Request Object
func (BatchDisassociateCertsV2Request) String ¶ added in v0.1.7
func (o BatchDisassociateCertsV2Request) String() string
type BatchDisassociateCertsV2Response ¶ added in v0.1.7
type BatchDisassociateCertsV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDisassociateCertsV2Response) String ¶ added in v0.1.7
func (o BatchDisassociateCertsV2Response) String() string
type BatchDisassociateDomainsV2Request ¶ added in v0.1.7
type BatchDisassociateDomainsV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` Body *AttachOrDetachDomainsReqBody `json:"body,omitempty"` }
Request Object
func (BatchDisassociateDomainsV2Request) String ¶ added in v0.1.7
func (o BatchDisassociateDomainsV2Request) String() string
type BatchDisassociateDomainsV2Response ¶ added in v0.1.7
type BatchDisassociateDomainsV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDisassociateDomainsV2Response) String ¶ added in v0.1.7
func (o BatchDisassociateDomainsV2Response) String() string
type BatchDisassociateThrottlingPolicyV2Request ¶
type BatchDisassociateThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *ThrottleBindingBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDisassociateThrottlingPolicyV2Request) String ¶
func (o BatchDisassociateThrottlingPolicyV2Request) String() string
type BatchDisassociateThrottlingPolicyV2Response ¶
type BatchDisassociateThrottlingPolicyV2Response struct { // 成功解除绑定的API和流控策略绑定关系的数量 SuccessCount *int32 `json:"success_count,omitempty"` // 解除绑定失败的API和流控绑定关系及错误信息 Failure *[]ThrottleBindingBatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDisassociateThrottlingPolicyV2Response) String ¶
func (o BatchDisassociateThrottlingPolicyV2Response) String() string
type BatchEnableMembersRequest ¶ added in v0.1.7
type BatchEnableMembersRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MembersBatchEnableOrDisable `json:"body,omitempty"` }
Request Object
func (BatchEnableMembersRequest) String ¶ added in v0.1.7
func (o BatchEnableMembersRequest) String() string
type BatchEnableMembersResponse ¶ added in v0.1.7
type BatchEnableMembersResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchEnableMembersResponse) String ¶ added in v0.1.7
func (o BatchEnableMembersResponse) String() string
type BatchFailure ¶ added in v0.0.65
type BatchFailure struct { // 发布或下线失败的API ID ApiId *string `json:"api_id,omitempty"` // 发布或下线失败的APi名称 ApiName *string `json:"api_name,omitempty"` // 发布或下线失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 发布或下线失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
func (BatchFailure) String ¶ added in v0.0.65
func (o BatchFailure) String() string
type BatchPublishOrOfflineApiV2Request ¶ added in v0.0.65
type BatchPublishOrOfflineApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // - online:发布 - offline:下线 Action string `json:"action"` Body *ApiBatchPublish `json:"body,omitempty"` }
Request Object
func (BatchPublishOrOfflineApiV2Request) String ¶ added in v0.0.65
func (o BatchPublishOrOfflineApiV2Request) String() string
type BatchPublishOrOfflineApiV2Response ¶ added in v0.0.65
type BatchPublishOrOfflineApiV2Response struct { // 发布或下线成功的信息 Success *[]PublishResp `json:"success,omitempty"` // 发布或下线失败的API及错误信息 Failure *[]BatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchPublishOrOfflineApiV2Response) String ¶ added in v0.0.65
func (o BatchPublishOrOfflineApiV2Response) String() string
type CancelingAuthorizationV2Request ¶
type CancelingAuthorizationV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 授权关系的编号 AppAuthId string `json:"app_auth_id"` }
Request Object
func (CancelingAuthorizationV2Request) String ¶
func (o CancelingAuthorizationV2Request) String() string
type CancelingAuthorizationV2Response ¶
type CancelingAuthorizationV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelingAuthorizationV2Response) String ¶
func (o CancelingAuthorizationV2Response) String() string
type CertBase ¶ added in v0.1.7
type CertBase struct { // 证书ID Id *string `json:"id,omitempty"` // 证书名称 Name *string `json:"name,omitempty"` // 证书类型 - global:全局证书 - instance:实例证书 Type *CertBaseType `json:"type,omitempty"` // 实例编码 - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码 InstanceId *string `json:"instance_id,omitempty"` // 租户项目编号 ProjectId *string `json:"project_id,omitempty"` // 域名 CommonName *string `json:"common_name,omitempty"` // san扩展域名 San *[]string `json:"san,omitempty"` // 有效期到 NotAfter *sdktime.SdkTime `json:"not_after,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
type CertBaseType ¶ added in v0.1.7
type CertBaseType struct {
// contains filtered or unexported fields
}
func (CertBaseType) MarshalJSON ¶ added in v0.1.7
func (c CertBaseType) MarshalJSON() ([]byte, error)
func (*CertBaseType) UnmarshalJSON ¶ added in v0.1.7
func (c *CertBaseType) UnmarshalJSON(b []byte) error
func (CertBaseType) Value ¶ added in v0.1.7
func (c CertBaseType) Value() string
type CertBaseTypeEnum ¶ added in v0.1.7
type CertBaseTypeEnum struct { GLOBAL CertBaseType INSTANCE CertBaseType }
func GetCertBaseTypeEnum ¶ added in v0.1.7
func GetCertBaseTypeEnum() CertBaseTypeEnum
type CertForm ¶ added in v0.0.69
type CertificateForm ¶ added in v0.1.7
type CertificateForm struct { // 证书名称 Name string `json:"name"` // 证书内容 CertContent string `json:"cert_content"` // 证书私钥 PrivateKey string `json:"private_key"` // 证书可见范围 Type *CertificateFormType `json:"type,omitempty"` // 所属实例ID,当type=instance时必填 InstanceId *string `json:"instance_id,omitempty"` }
添加或编辑证书的请求体表单
func (CertificateForm) String ¶ added in v0.1.7
func (o CertificateForm) String() string
type CertificateFormType ¶ added in v0.1.7
type CertificateFormType struct {
// contains filtered or unexported fields
}
func (CertificateFormType) MarshalJSON ¶ added in v0.1.7
func (c CertificateFormType) MarshalJSON() ([]byte, error)
func (*CertificateFormType) UnmarshalJSON ¶ added in v0.1.7
func (c *CertificateFormType) UnmarshalJSON(b []byte) error
func (CertificateFormType) Value ¶ added in v0.1.7
func (c CertificateFormType) Value() string
type CertificateFormTypeEnum ¶ added in v0.1.7
type CertificateFormTypeEnum struct { INSTANCE CertificateFormType GLOBAL CertificateFormType }
func GetCertificateFormTypeEnum ¶ added in v0.1.7
func GetCertificateFormTypeEnum() CertificateFormTypeEnum
type ChangeApiVersionV2Request ¶ added in v0.0.65
type ChangeApiVersionV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiVersion `json:"body,omitempty"` }
Request Object
func (ChangeApiVersionV2Request) String ¶ added in v0.0.65
func (o ChangeApiVersionV2Request) String() string
type ChangeApiVersionV2Response ¶ added in v0.0.65
type ChangeApiVersionV2Response struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeApiVersionV2Response) String ¶ added in v0.0.65
func (o ChangeApiVersionV2Response) String() string
type CheckAppV2Request ¶
type CheckAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (CheckAppV2Request) String ¶
func (o CheckAppV2Request) String() string
type CheckAppV2Response ¶
type CheckAppV2Response struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckAppV2Response) String ¶
func (o CheckAppV2Response) String() string
type CoditionResp ¶
type CoditionResp struct { // 关联的请求参数对象名称。策略类型为param时必选 ReqParamName *string `json:"req_param_name,omitempty"` // 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则 策略类型为param时必选 ConditionType *CoditionRespConditionType `json:"condition_type,omitempty"` // 策略类型 - param:参数 - source:源IP ConditionOrigin CoditionRespConditionOrigin `json:"condition_origin"` // 策略值 ConditionValue string `json:"condition_value"` // 编号 Id *string `json:"id,omitempty"` // 关联的请求参数对象编号 ReqParamId *string `json:"req_param_id,omitempty"` // 关联的请求参数对象位置 ReqParamLocation *string `json:"req_param_location,omitempty"` }
func (CoditionResp) String ¶
func (o CoditionResp) String() string
type CoditionRespConditionOrigin ¶
type CoditionRespConditionOrigin struct {
// contains filtered or unexported fields
}
func (CoditionRespConditionOrigin) MarshalJSON ¶
func (c CoditionRespConditionOrigin) MarshalJSON() ([]byte, error)
func (*CoditionRespConditionOrigin) UnmarshalJSON ¶
func (c *CoditionRespConditionOrigin) UnmarshalJSON(b []byte) error
func (CoditionRespConditionOrigin) Value ¶ added in v0.0.90
func (c CoditionRespConditionOrigin) Value() string
type CoditionRespConditionOriginEnum ¶
type CoditionRespConditionOriginEnum struct { PARAM CoditionRespConditionOrigin SOURCE CoditionRespConditionOrigin }
func GetCoditionRespConditionOriginEnum ¶
func GetCoditionRespConditionOriginEnum() CoditionRespConditionOriginEnum
type CoditionRespConditionType ¶
type CoditionRespConditionType struct {
// contains filtered or unexported fields
}
func (CoditionRespConditionType) MarshalJSON ¶
func (c CoditionRespConditionType) MarshalJSON() ([]byte, error)
func (*CoditionRespConditionType) UnmarshalJSON ¶
func (c *CoditionRespConditionType) UnmarshalJSON(b []byte) error
func (CoditionRespConditionType) Value ¶ added in v0.0.90
func (c CoditionRespConditionType) Value() string
type CoditionRespConditionTypeEnum ¶
type CoditionRespConditionTypeEnum struct { EXACT CoditionRespConditionType ENUM CoditionRespConditionType PATTERN CoditionRespConditionType }
func GetCoditionRespConditionTypeEnum ¶
func GetCoditionRespConditionTypeEnum() CoditionRespConditionTypeEnum
type Config ¶ added in v0.0.65
type Config struct { // 配额编号 ConfigId *string `json:"config_id,omitempty"` // 配额名称 ConfigName *ConfigConfigName `json:"config_name,omitempty"` // 配额值 当前实例所在租户该配额对应的数量 ConfigValue *string `json:"config_value,omitempty"` // 配额创建时间 ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"` // 配额描述: - API_NUM_LIMIT:租户可以创建的API个数限制 - APP_NUM_LIMIT:租户可以创建的APP个数限制 - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制 - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制 - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制 - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制 - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制 - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制 - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制 - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制 - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制 - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制 - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制 - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制 - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制 - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制 - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制 - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制 - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制 - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制 - ELB_SWITCH:是否启用ELB通道 - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制 - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制 - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制 - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持 - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制 - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制 - LTS_SWITCH:是启用LTS上报 - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭 - RESPONSE_NUM_LIMIT:分组自定义响应个数限制 - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制 - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭 - APP_TOKEN_SWITCH:是否启用APPTOKEN - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭 - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式 - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式 - APP_JWT_SWITCH:是否启用APP_JWT认证方式 - APP_ROUTE_SWITCH:是否启用APP路由 - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式 - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式 - CASCADE_SWITCH:是否启用级联网关 - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新 Remark *string `json:"remark,omitempty"` // 该实例对应配额已使用数量 Used *int64 `json:"used,omitempty"` }
type ConfigConfigName ¶ added in v0.0.65
type ConfigConfigName struct {
// contains filtered or unexported fields
}
func (ConfigConfigName) MarshalJSON ¶ added in v0.0.65
func (c ConfigConfigName) MarshalJSON() ([]byte, error)
func (*ConfigConfigName) UnmarshalJSON ¶ added in v0.0.65
func (c *ConfigConfigName) UnmarshalJSON(b []byte) error
func (ConfigConfigName) Value ¶ added in v0.0.90
func (c ConfigConfigName) Value() string
type ConfigConfigNameEnum ¶ added in v0.0.65
type ConfigConfigNameEnum struct { API_NUM_LIMIT ConfigConfigName APP_NUM_LIMIT ConfigConfigName APIGROUP_NUM_LIMIT ConfigConfigName ENVIRONMENT_NUM_LIMIT ConfigConfigName VARIABLE_NUM_LIMIT ConfigConfigName SIGN_NUM_LIMIT ConfigConfigName THROTTLE_NUM_LIMIT ConfigConfigName APIGROUP_DOMAIN_NUM_LIMIT ConfigConfigName API_VERSION_NUM_LIMIT ConfigConfigName VPC_NUM_LIMIT ConfigConfigName VPC_INSTANCE_NUM_LIMIT ConfigConfigName API_PARAM_NUM_LIMIT ConfigConfigName API_USER_CALL_LIMIT ConfigConfigName ACL_NUM_LIMIT ConfigConfigName APP_THROTTLE_LIMIT ConfigConfigName USER_THROTTLE_LIMIT ConfigConfigName API_NUM_LIMIT_PER_GROUP ConfigConfigName API_POLICY_NUM_LIMIT ConfigConfigName API_CONDITION_NUM_LIMIT ConfigConfigName SL_DOMAIN_CALL_LIMIT ConfigConfigName ELB_SWITCH ConfigConfigName AUTHORIZER_NUM_LIMIT ConfigConfigName AUTHORIZER_IDENTITY_NUM_LIMIT ConfigConfigName APP_CODE_NUM_LIMIT ConfigConfigName REGION_MANAGER_WHITELIST_SERVICES ConfigConfigName API_SWAGGER_NUM_LIMIT ConfigConfigName API_TAG_NUM_LIMIT ConfigConfigName LTS_SWITCH ConfigConfigName APP_KEY_SECRET_SWITCH ConfigConfigName RESPONSE_NUM_LIMIT ConfigConfigName CONFIG_NUM_LIMIT_PER_APP ConfigConfigName BACKEND_TOKEN_ALLOW_SWITCH ConfigConfigName APP_TOKEN_SWITCH ConfigConfigName API_DESIGNER_SWITCH ConfigConfigName APP_API_KEY_SWITCH ConfigConfigName APP_BASIC_SWITCH ConfigConfigName APP_JWT_SWITCH ConfigConfigName APP_ROUTE_SWITCH ConfigConfigName PUBLIC_KEY_SWITCH ConfigConfigName APP_SECRET_SWITCH ConfigConfigName CASCADE_SWITCH ConfigConfigName IS_INIT_API_PATH_HASH ConfigConfigName }
func GetConfigConfigNameEnum ¶ added in v0.0.65
func GetConfigConfigNameEnum() ConfigConfigNameEnum
type CorsPluginContent ¶ added in v0.1.11
type CorsPluginContent struct { // Access-Control-Allow-Origin头,该字段必填,允许访问该资源的外域URI。对于不需要携带身份凭证的请求,服务器可以指定该字段的值为通配符*,表示允许来自所有域的请求。 多个域名使用英文逗号分隔。 AllowOrigin string `json:"allow_origin"` // Access-Control-Allow-Methods头,请求所允许使用的 HTTP 方法。 多个方法使用英文逗号分隔。 AllowMethods *string `json:"allow_methods,omitempty"` // Access-Control-Allow-Headers头,请求中允许携带的头域字段。 多个头域使用英文逗号分隔。 AllowHeaders *string `json:"allow_headers,omitempty"` // Access-Control-Expose-Headers 头,让服务器把允许浏览器访问的头放入白名单。 多个头域可通过英文逗号分隔。 ExposeHeaders *string `json:"expose_headers,omitempty"` // Access-Control-Max-Age 头,表示本次预检的有效期,单位:秒,范围为0-86400。在有效期内,无需再次发出预检请求。 MaxAge *int32 `json:"max_age,omitempty"` // Access-Control-Allow-Credentials 头,是否允许浏览器读取response的内容。 AllowCredentials *bool `json:"allow_credentials,omitempty"` }
跨域资源共享插件类型
func (CorsPluginContent) String ¶ added in v0.1.11
func (o CorsPluginContent) String() string
type CreateAclStrategyV2Request ¶ added in v0.0.65
type CreateAclStrategyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ApiAclCreate `json:"body,omitempty"` }
Request Object
func (CreateAclStrategyV2Request) String ¶ added in v0.0.65
func (o CreateAclStrategyV2Request) String() string
type CreateAclStrategyV2Response ¶ added in v0.0.65
type CreateAclStrategyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN - DOMAIN_ID EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAclStrategyV2Response) String ¶ added in v0.0.65
func (o CreateAclStrategyV2Response) String() string
type CreateAnAppV2Request ¶
type CreateAnAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *AppCreate `json:"body,omitempty"` }
Request Object
func (CreateAnAppV2Request) String ¶
func (o CreateAnAppV2Request) String() string
type CreateAnAppV2Response ¶
type CreateAnAppV2Response struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *CreateAnAppV2ResponseCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *CreateAnAppV2ResponseStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *CreateAnAppV2ResponseAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAnAppV2Response) String ¶
func (o CreateAnAppV2Response) String() string
type CreateAnAppV2ResponseAppType ¶
type CreateAnAppV2ResponseAppType struct {
// contains filtered or unexported fields
}
func (CreateAnAppV2ResponseAppType) MarshalJSON ¶
func (c CreateAnAppV2ResponseAppType) MarshalJSON() ([]byte, error)
func (*CreateAnAppV2ResponseAppType) UnmarshalJSON ¶
func (c *CreateAnAppV2ResponseAppType) UnmarshalJSON(b []byte) error
func (CreateAnAppV2ResponseAppType) Value ¶ added in v0.0.90
func (c CreateAnAppV2ResponseAppType) Value() string
type CreateAnAppV2ResponseAppTypeEnum ¶
type CreateAnAppV2ResponseAppTypeEnum struct { APIG CreateAnAppV2ResponseAppType ROMA CreateAnAppV2ResponseAppType }
func GetCreateAnAppV2ResponseAppTypeEnum ¶
func GetCreateAnAppV2ResponseAppTypeEnum() CreateAnAppV2ResponseAppTypeEnum
type CreateAnAppV2ResponseCreator ¶
type CreateAnAppV2ResponseCreator struct {
// contains filtered or unexported fields
}
func (CreateAnAppV2ResponseCreator) MarshalJSON ¶
func (c CreateAnAppV2ResponseCreator) MarshalJSON() ([]byte, error)
func (*CreateAnAppV2ResponseCreator) UnmarshalJSON ¶
func (c *CreateAnAppV2ResponseCreator) UnmarshalJSON(b []byte) error
func (CreateAnAppV2ResponseCreator) Value ¶ added in v0.0.90
func (c CreateAnAppV2ResponseCreator) Value() string
type CreateAnAppV2ResponseCreatorEnum ¶
type CreateAnAppV2ResponseCreatorEnum struct { USER CreateAnAppV2ResponseCreator MARKET CreateAnAppV2ResponseCreator }
func GetCreateAnAppV2ResponseCreatorEnum ¶
func GetCreateAnAppV2ResponseCreatorEnum() CreateAnAppV2ResponseCreatorEnum
type CreateAnAppV2ResponseStatus ¶ added in v0.0.69
type CreateAnAppV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateAnAppV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c CreateAnAppV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateAnAppV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateAnAppV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateAnAppV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateAnAppV2ResponseStatus) Value() int32
type CreateAnAppV2ResponseStatusEnum ¶ added in v0.0.69
type CreateAnAppV2ResponseStatusEnum struct {
E_1 CreateAnAppV2ResponseStatus
}
func GetCreateAnAppV2ResponseStatusEnum ¶ added in v0.0.69
func GetCreateAnAppV2ResponseStatusEnum() CreateAnAppV2ResponseStatusEnum
type CreateApiAclBindingV2Request ¶ added in v0.0.65
type CreateApiAclBindingV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *AclApiBindingCreate `json:"body,omitempty"` }
Request Object
func (CreateApiAclBindingV2Request) String ¶ added in v0.0.65
func (o CreateApiAclBindingV2Request) String() string
type CreateApiAclBindingV2Response ¶ added in v0.0.65
type CreateApiAclBindingV2Response struct { // API与ACL的绑定关系列表 AclBindings *[]AclApiBindingInfo `json:"acl_bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiAclBindingV2Response) String ¶ added in v0.0.65
func (o CreateApiAclBindingV2Response) String() string
type CreateApiGroupV2Request ¶
type CreateApiGroupV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ApiGroupCreate `json:"body,omitempty"` }
Request Object
func (CreateApiGroupV2Request) String ¶
func (o CreateApiGroupV2Request) String() string
type CreateApiGroupV2Response ¶
type CreateApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status CreateApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 暂不支持,默认为V1 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiGroupV2Response) String ¶
func (o CreateApiGroupV2Response) String() string
type CreateApiGroupV2ResponseStatus ¶ added in v0.0.69
type CreateApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateApiGroupV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c CreateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateApiGroupV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateApiGroupV2ResponseStatus) Value() int32
type CreateApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
type CreateApiGroupV2ResponseStatusEnum struct {
E_1 CreateApiGroupV2ResponseStatus
}
func GetCreateApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
func GetCreateApiGroupV2ResponseStatusEnum() CreateApiGroupV2ResponseStatusEnum
type CreateApiV2Request ¶
type CreateApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ApiCreate `json:"body,omitempty"` }
Request Object
func (CreateApiV2Request) String ¶
func (o CreateApiV2Request) String() string
type CreateApiV2Response ¶
type CreateApiV2Response struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type CreateApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol CreateApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod CreateApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType CreateApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *CreateApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType CreateApiV2ResponseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *CreateApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiV2Response) String ¶
func (o CreateApiV2Response) String() string
type CreateApiV2ResponseAuthType ¶
type CreateApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseAuthType) MarshalJSON ¶
func (c CreateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseAuthType) Value() string
type CreateApiV2ResponseAuthTypeEnum ¶
type CreateApiV2ResponseAuthTypeEnum struct { NONE CreateApiV2ResponseAuthType APP CreateApiV2ResponseAuthType IAM CreateApiV2ResponseAuthType AUTHORIZER CreateApiV2ResponseAuthType }
func GetCreateApiV2ResponseAuthTypeEnum ¶
func GetCreateApiV2ResponseAuthTypeEnum() CreateApiV2ResponseAuthTypeEnum
type CreateApiV2ResponseBackendType ¶
type CreateApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseBackendType) MarshalJSON ¶
func (c CreateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseBackendType) Value() string
type CreateApiV2ResponseBackendTypeEnum ¶
type CreateApiV2ResponseBackendTypeEnum struct { HTTP CreateApiV2ResponseBackendType FUNCTION CreateApiV2ResponseBackendType MOCK CreateApiV2ResponseBackendType }
func GetCreateApiV2ResponseBackendTypeEnum ¶
func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum
type CreateApiV2ResponseContentType ¶ added in v0.0.76
type CreateApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseContentType) MarshalJSON ¶ added in v0.0.76
func (c CreateApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *CreateApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseContentType) Value() string
type CreateApiV2ResponseContentTypeEnum ¶ added in v0.0.76
type CreateApiV2ResponseContentTypeEnum struct { APPLICATION_JSON CreateApiV2ResponseContentType APPLICATION_XML CreateApiV2ResponseContentType MULTIPART_FORM_DATE CreateApiV2ResponseContentType TEXT_PLAIN CreateApiV2ResponseContentType }
func GetCreateApiV2ResponseContentTypeEnum ¶ added in v0.0.76
func GetCreateApiV2ResponseContentTypeEnum() CreateApiV2ResponseContentTypeEnum
type CreateApiV2ResponseMatchMode ¶
type CreateApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseMatchMode) MarshalJSON ¶
func (c CreateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *CreateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseMatchMode) Value() string
type CreateApiV2ResponseMatchModeEnum ¶
type CreateApiV2ResponseMatchModeEnum struct { SWA CreateApiV2ResponseMatchMode NORMAL CreateApiV2ResponseMatchMode }
func GetCreateApiV2ResponseMatchModeEnum ¶
func GetCreateApiV2ResponseMatchModeEnum() CreateApiV2ResponseMatchModeEnum
type CreateApiV2ResponseReqMethod ¶
type CreateApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseReqMethod) MarshalJSON ¶
func (c CreateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *CreateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseReqMethod) Value() string
type CreateApiV2ResponseReqMethodEnum ¶
type CreateApiV2ResponseReqMethodEnum struct { GET CreateApiV2ResponseReqMethod POST CreateApiV2ResponseReqMethod PUT CreateApiV2ResponseReqMethod DELETE CreateApiV2ResponseReqMethod HEAD CreateApiV2ResponseReqMethod PATCH CreateApiV2ResponseReqMethod OPTIONS CreateApiV2ResponseReqMethod ANY CreateApiV2ResponseReqMethod }
func GetCreateApiV2ResponseReqMethodEnum ¶
func GetCreateApiV2ResponseReqMethodEnum() CreateApiV2ResponseReqMethodEnum
type CreateApiV2ResponseReqProtocol ¶
type CreateApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseReqProtocol) MarshalJSON ¶
func (c CreateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *CreateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseReqProtocol) Value() string
type CreateApiV2ResponseReqProtocolEnum ¶
type CreateApiV2ResponseReqProtocolEnum struct { HTTP CreateApiV2ResponseReqProtocol HTTPS CreateApiV2ResponseReqProtocol BOTH CreateApiV2ResponseReqProtocol }
func GetCreateApiV2ResponseReqProtocolEnum ¶
func GetCreateApiV2ResponseReqProtocolEnum() CreateApiV2ResponseReqProtocolEnum
type CreateApiV2ResponseType ¶
type CreateApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseType) MarshalJSON ¶
func (c CreateApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseType) Value() int32
type CreateApiV2ResponseTypeEnum ¶
type CreateApiV2ResponseTypeEnum struct { E_1 CreateApiV2ResponseType E_2 CreateApiV2ResponseType }
func GetCreateApiV2ResponseTypeEnum ¶
func GetCreateApiV2ResponseTypeEnum() CreateApiV2ResponseTypeEnum
type CreateAppCodeAutoV2Request ¶ added in v0.0.65
type CreateAppCodeAutoV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (CreateAppCodeAutoV2Request) String ¶ added in v0.0.65
func (o CreateAppCodeAutoV2Request) String() string
type CreateAppCodeAutoV2Response ¶ added in v0.0.65
type CreateAppCodeAutoV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppCodeAutoV2Response) String ¶ added in v0.0.65
func (o CreateAppCodeAutoV2Response) String() string
type CreateAppCodeV2Request ¶ added in v0.0.65
type CreateAppCodeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppCodeCreate `json:"body,omitempty"` }
Request Object
func (CreateAppCodeV2Request) String ¶ added in v0.0.65
func (o CreateAppCodeV2Request) String() string
type CreateAppCodeV2Response ¶ added in v0.0.65
type CreateAppCodeV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppCodeV2Response) String ¶ added in v0.0.65
func (o CreateAppCodeV2Response) String() string
type CreateAuthorizingAppsV2Request ¶
type CreateAuthorizingAppsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ApiAuthCreate `json:"body,omitempty"` }
Request Object
func (CreateAuthorizingAppsV2Request) String ¶
func (o CreateAuthorizingAppsV2Request) String() string
type CreateAuthorizingAppsV2Response ¶
type CreateAuthorizingAppsV2Response struct { // API与APP的授权关系列表 Auths *[]ApiAuthRelations `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAuthorizingAppsV2Response) String ¶
func (o CreateAuthorizingAppsV2Response) String() string
type CreateCertificateV2Request ¶ added in v0.1.7
type CreateCertificateV2Request struct {
Body *CertificateForm `json:"body,omitempty"`
}
Request Object
func (CreateCertificateV2Request) String ¶ added in v0.1.7
func (o CreateCertificateV2Request) String() string
type CreateCertificateV2Response ¶ added in v0.1.7
type CreateCertificateV2Response struct { // 证书ID Id *string `json:"id,omitempty"` // 证书名称 Name *string `json:"name,omitempty"` // 证书类型 - global:全局证书 - instance:实例证书 Type *CreateCertificateV2ResponseType `json:"type,omitempty"` // 实例编码 - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码 InstanceId *string `json:"instance_id,omitempty"` // 租户项目编号 ProjectId *string `json:"project_id,omitempty"` // 域名 CommonName *string `json:"common_name,omitempty"` // san扩展域名 San *[]string `json:"san,omitempty"` // 有效期到 NotAfter *sdktime.SdkTime `json:"not_after,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 公司、组织 Organization *[]string `json:"organization,omitempty"` // 部门 OrganizationalUnit *[]string `json:"organizational_unit,omitempty"` // 城市 Locality *[]string `json:"locality,omitempty"` // 省份 State *[]string `json:"state,omitempty"` // 国家 Country *[]string `json:"country,omitempty"` // 有效期从 NotBefore *sdktime.SdkTime `json:"not_before,omitempty"` // 序列号 SerialNumber *string `json:"serial_number,omitempty"` // 颁发者 Issuer *[]string `json:"issuer,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCertificateV2Response) String ¶ added in v0.1.7
func (o CreateCertificateV2Response) String() string
type CreateCertificateV2ResponseType ¶ added in v0.1.7
type CreateCertificateV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateCertificateV2ResponseType) MarshalJSON ¶ added in v0.1.7
func (c CreateCertificateV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateCertificateV2ResponseType) UnmarshalJSON ¶ added in v0.1.7
func (c *CreateCertificateV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateCertificateV2ResponseType) Value ¶ added in v0.1.7
func (c CreateCertificateV2ResponseType) Value() string
type CreateCertificateV2ResponseTypeEnum ¶ added in v0.1.7
type CreateCertificateV2ResponseTypeEnum struct { GLOBAL CreateCertificateV2ResponseType INSTANCE CreateCertificateV2ResponseType }
func GetCreateCertificateV2ResponseTypeEnum ¶ added in v0.1.7
func GetCreateCertificateV2ResponseTypeEnum() CreateCertificateV2ResponseTypeEnum
type CreateCustomAuthorizerV2Request ¶ added in v0.0.65
type CreateCustomAuthorizerV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *AuthorizerCreate `json:"body,omitempty"` }
Request Object
func (CreateCustomAuthorizerV2Request) String ¶ added in v0.0.65
func (o CreateCustomAuthorizerV2Request) String() string
type CreateCustomAuthorizerV2Response ¶ added in v0.0.65
type CreateCustomAuthorizerV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type CreateCustomAuthorizerV2ResponseType `json:"type"` // 只能为:FUNC AuthorizerType CreateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCustomAuthorizerV2Response) String ¶ added in v0.0.65
func (o CreateCustomAuthorizerV2Response) String() string
type CreateCustomAuthorizerV2ResponseAuthorizerType ¶ added in v0.0.65
type CreateCustomAuthorizerV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (CreateCustomAuthorizerV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c CreateCustomAuthorizerV2ResponseAuthorizerType) Value() string
type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
FUNC CreateCustomAuthorizerV2ResponseAuthorizerType
}
func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum() CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum
type CreateCustomAuthorizerV2ResponseType ¶ added in v0.0.65
type CreateCustomAuthorizerV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateCustomAuthorizerV2ResponseType) MarshalJSON ¶ added in v0.0.65
func (c CreateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateCustomAuthorizerV2ResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *CreateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateCustomAuthorizerV2ResponseType) Value ¶ added in v0.0.90
func (c CreateCustomAuthorizerV2ResponseType) Value() string
type CreateCustomAuthorizerV2ResponseTypeEnum ¶ added in v0.0.65
type CreateCustomAuthorizerV2ResponseTypeEnum struct { FRONTEND CreateCustomAuthorizerV2ResponseType BACKEND CreateCustomAuthorizerV2ResponseType }
func GetCreateCustomAuthorizerV2ResponseTypeEnum ¶ added in v0.0.65
func GetCreateCustomAuthorizerV2ResponseTypeEnum() CreateCustomAuthorizerV2ResponseTypeEnum
type CreateEnvironmentV2Request ¶
type CreateEnvironmentV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *EnvCreate `json:"body,omitempty"` }
Request Object
func (CreateEnvironmentV2Request) String ¶
func (o CreateEnvironmentV2Request) String() string
type CreateEnvironmentV2Response ¶
type CreateEnvironmentV2Response struct { // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` // 描述信息 Remark *string `json:"remark,omitempty"` // 环境id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEnvironmentV2Response) String ¶
func (o CreateEnvironmentV2Response) String() string
type CreateEnvironmentVariableV2Request ¶
type CreateEnvironmentVariableV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *EnvVariableCreate `json:"body,omitempty"` }
Request Object
func (CreateEnvironmentVariableV2Request) String ¶
func (o CreateEnvironmentVariableV2Request) String() string
type CreateEnvironmentVariableV2Response ¶
type CreateEnvironmentVariableV2Response struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEnvironmentVariableV2Response) String ¶
func (o CreateEnvironmentVariableV2Response) String() string
type CreateFeatureV2Request ¶ added in v0.0.65
type CreateFeatureV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *FeatureToggle `json:"body,omitempty"` }
Request Object
func (CreateFeatureV2Request) String ¶ added in v0.0.65
func (o CreateFeatureV2Request) String() string
type CreateFeatureV2Response ¶ added in v0.0.65
type CreateFeatureV2Response struct { // 特性编号 Id *string `json:"id,omitempty"` // 特性名称 Name *string `json:"name,omitempty"` // 是否开启特性 Enable *bool `json:"enable,omitempty"` // 特性参数配置 Config *string `json:"config,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例特性更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateFeatureV2Response) String ¶ added in v0.0.65
func (o CreateFeatureV2Response) String() string
type CreateGatewayResponseV2Request ¶ added in v0.0.65
type CreateGatewayResponseV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` Body *ResponsesCreate `json:"body,omitempty"` }
Request Object
func (CreateGatewayResponseV2Request) String ¶ added in v0.0.65
func (o CreateGatewayResponseV2Request) String() string
type CreateGatewayResponseV2Response ¶ added in v0.0.65
type CreateGatewayResponseV2Response struct { // 响应名称 Name *string `json:"name,omitempty"` // 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX 每项错误类型均为一个JSON体 Responses map[string]ResponseInfoResp `json:"responses,omitempty"` // 响应ID Id *string `json:"id,omitempty"` // 是否为分组默认响应 Default *bool `json:"default,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateGatewayResponseV2Response) String ¶ added in v0.0.65
func (o CreateGatewayResponseV2Response) String() string
type CreateInstanceV2Request ¶ added in v0.0.65
type CreateInstanceV2Request struct {
Body *InstanceCreateReq `json:"body,omitempty"`
}
Request Object
func (CreateInstanceV2Request) String ¶ added in v0.0.65
func (o CreateInstanceV2Request) String() string
type CreateInstanceV2Response ¶ added in v0.0.65
type CreateInstanceV2Response struct { // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 创建实例任务信息 Message *string `json:"message,omitempty"` // 任务编号 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceV2Response) String ¶ added in v0.0.65
func (o CreateInstanceV2Response) String() string
type CreateMemberGroupRequest ¶ added in v0.1.7
type CreateMemberGroupRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MemberGroupCreateBatch `json:"body,omitempty"` }
Request Object
func (CreateMemberGroupRequest) String ¶ added in v0.1.7
func (o CreateMemberGroupRequest) String() string
type CreateMemberGroupResponse ¶ added in v0.1.7
type CreateMemberGroupResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMemberGroupResponse) String ¶ added in v0.1.7
func (o CreateMemberGroupResponse) String() string
type CreateOrDeletePublishRecordForApiV2Request ¶
type CreateOrDeletePublishRecordForApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ApiActionInfo `json:"body,omitempty"` }
Request Object
func (CreateOrDeletePublishRecordForApiV2Request) String ¶
func (o CreateOrDeletePublishRecordForApiV2Request) String() string
type CreateOrDeletePublishRecordForApiV2Response ¶
type CreateOrDeletePublishRecordForApiV2Response struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateOrDeletePublishRecordForApiV2Response) String ¶
func (o CreateOrDeletePublishRecordForApiV2Response) String() string
type CreatePluginRequest ¶ added in v0.1.11
type CreatePluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *PluginCreate `json:"body,omitempty"` }
Request Object
func (CreatePluginRequest) String ¶ added in v0.1.11
func (o CreatePluginRequest) String() string
type CreatePluginResponse ¶ added in v0.1.11
type CreatePluginResponse struct { // 插件编码。 PluginId *string `json:"plugin_id,omitempty"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType *CreatePluginResponsePluginType `json:"plugin_type,omitempty"` // 插件可见范围。global:全局可见; PluginScope *CreatePluginResponsePluginScope `json:"plugin_scope,omitempty"` // 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 PluginContent *string `json:"plugin_content,omitempty"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 创建时间。 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间。 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePluginResponse) String ¶ added in v0.1.11
func (o CreatePluginResponse) String() string
type CreatePluginResponsePluginScope ¶ added in v0.1.11
type CreatePluginResponsePluginScope struct {
// contains filtered or unexported fields
}
func (CreatePluginResponsePluginScope) MarshalJSON ¶ added in v0.1.11
func (c CreatePluginResponsePluginScope) MarshalJSON() ([]byte, error)
func (*CreatePluginResponsePluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *CreatePluginResponsePluginScope) UnmarshalJSON(b []byte) error
func (CreatePluginResponsePluginScope) Value ¶ added in v0.1.11
func (c CreatePluginResponsePluginScope) Value() string
type CreatePluginResponsePluginScopeEnum ¶ added in v0.1.11
type CreatePluginResponsePluginScopeEnum struct {
GLOBAL CreatePluginResponsePluginScope
}
func GetCreatePluginResponsePluginScopeEnum ¶ added in v0.1.11
func GetCreatePluginResponsePluginScopeEnum() CreatePluginResponsePluginScopeEnum
type CreatePluginResponsePluginType ¶ added in v0.1.11
type CreatePluginResponsePluginType struct {
// contains filtered or unexported fields
}
func (CreatePluginResponsePluginType) MarshalJSON ¶ added in v0.1.11
func (c CreatePluginResponsePluginType) MarshalJSON() ([]byte, error)
func (*CreatePluginResponsePluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *CreatePluginResponsePluginType) UnmarshalJSON(b []byte) error
func (CreatePluginResponsePluginType) Value ¶ added in v0.1.11
func (c CreatePluginResponsePluginType) Value() string
type CreatePluginResponsePluginTypeEnum ¶ added in v0.1.11
type CreatePluginResponsePluginTypeEnum struct { CORS CreatePluginResponsePluginType SET_RESP_HEADERS CreatePluginResponsePluginType KAFKA_LOG CreatePluginResponsePluginType BREAKER CreatePluginResponsePluginType RATE_LIMIT CreatePluginResponsePluginType }
func GetCreatePluginResponsePluginTypeEnum ¶ added in v0.1.11
func GetCreatePluginResponsePluginTypeEnum() CreatePluginResponsePluginTypeEnum
type CreateRequestThrottlingPolicyV2Request ¶
type CreateRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ThrottleBaseInfo `json:"body,omitempty"` }
Request Object
func (CreateRequestThrottlingPolicyV2Request) String ¶
func (o CreateRequestThrottlingPolicyV2Request) String() string
type CreateRequestThrottlingPolicyV2Response ¶
type CreateRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit CreateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *CreateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRequestThrottlingPolicyV2Response) String ¶
func (o CreateRequestThrottlingPolicyV2Response) String() string
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶ added in v0.0.69
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶ added in v0.0.69
func (c CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type CreateRequestThrottlingPolicyV2ResponseTimeUnit ¶
type CreateRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND CreateRequestThrottlingPolicyV2ResponseTimeUnit MINUTE CreateRequestThrottlingPolicyV2ResponseTimeUnit HOUR CreateRequestThrottlingPolicyV2ResponseTimeUnit DAY CreateRequestThrottlingPolicyV2ResponseTimeUnit }
func GetCreateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetCreateRequestThrottlingPolicyV2ResponseTimeUnitEnum() CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum
type CreateRequestThrottlingPolicyV2ResponseType ¶
type CreateRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseType) Value() int32
type CreateRequestThrottlingPolicyV2ResponseTypeEnum ¶
type CreateRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 CreateRequestThrottlingPolicyV2ResponseType E_2 CreateRequestThrottlingPolicyV2ResponseType }
func GetCreateRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetCreateRequestThrottlingPolicyV2ResponseTypeEnum() CreateRequestThrottlingPolicyV2ResponseTypeEnum
type CreateSignatureKeyV2Request ¶
type CreateSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *BaseSignature `json:"body,omitempty"` }
Request Object
func (CreateSignatureKeyV2Request) String ¶
func (o CreateSignatureKeyV2Request) String() string
type CreateSignatureKeyV2Response ¶
type CreateSignatureKeyV2Response struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *CreateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *CreateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSignatureKeyV2Response) String ¶
func (o CreateSignatureKeyV2Response) String() string
type CreateSignatureKeyV2ResponseSignAlgorithm ¶ added in v0.0.69
type CreateSignatureKeyV2ResponseSignAlgorithm struct {
// contains filtered or unexported fields
}
func (CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON ¶ added in v0.0.69
func (c CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON() ([]byte, error)
func (*CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON(b []byte) error
func (CreateSignatureKeyV2ResponseSignAlgorithm) Value ¶ added in v0.0.90
func (c CreateSignatureKeyV2ResponseSignAlgorithm) Value() string
type CreateSignatureKeyV2ResponseSignAlgorithmEnum ¶ added in v0.0.69
type CreateSignatureKeyV2ResponseSignAlgorithmEnum struct { AES_128_CFB CreateSignatureKeyV2ResponseSignAlgorithm AES_256_CFB CreateSignatureKeyV2ResponseSignAlgorithm }
func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum ¶ added in v0.0.69
func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum() CreateSignatureKeyV2ResponseSignAlgorithmEnum
type CreateSignatureKeyV2ResponseSignType ¶
type CreateSignatureKeyV2ResponseSignType struct {
// contains filtered or unexported fields
}
func (CreateSignatureKeyV2ResponseSignType) MarshalJSON ¶
func (c CreateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)
func (*CreateSignatureKeyV2ResponseSignType) UnmarshalJSON ¶
func (c *CreateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error
func (CreateSignatureKeyV2ResponseSignType) Value ¶ added in v0.0.90
func (c CreateSignatureKeyV2ResponseSignType) Value() string
type CreateSignatureKeyV2ResponseSignTypeEnum ¶
type CreateSignatureKeyV2ResponseSignTypeEnum struct { HMAC CreateSignatureKeyV2ResponseSignType BASIC CreateSignatureKeyV2ResponseSignType PUBLIC_KEY CreateSignatureKeyV2ResponseSignType AES CreateSignatureKeyV2ResponseSignType }
func GetCreateSignatureKeyV2ResponseSignTypeEnum ¶
func GetCreateSignatureKeyV2ResponseSignTypeEnum() CreateSignatureKeyV2ResponseSignTypeEnum
type CreateSpecialThrottlingConfigurationV2Request ¶
type CreateSpecialThrottlingConfigurationV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` Body *ThrottleSpecialCreate `json:"body,omitempty"` }
Request Object
func (CreateSpecialThrottlingConfigurationV2Request) String ¶
func (o CreateSpecialThrottlingConfigurationV2Request) String() string
type CreateSpecialThrottlingConfigurationV2Response ¶
type CreateSpecialThrottlingConfigurationV2Response struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // 作用的APP或租户的名称 ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSpecialThrottlingConfigurationV2Response) String ¶
func (o CreateSpecialThrottlingConfigurationV2Response) String() string
type CreateVpcChannelV2Request ¶ added in v0.0.65
type CreateVpcChannelV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *VpcCreate `json:"body,omitempty"` }
Request Object
func (CreateVpcChannelV2Request) String ¶ added in v0.0.65
func (o CreateVpcChannelV2Request) String() string
type CreateVpcChannelV2Response ¶ added in v0.0.65
type CreateVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy CreateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType CreateVpcChannelV2ResponseMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *CreateVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateVpcChannelV2Response) String ¶ added in v0.0.65
func (o CreateVpcChannelV2Response) String() string
type CreateVpcChannelV2ResponseBalanceStrategy ¶ added in v0.0.65
type CreateVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseBalanceStrategy) Value() int32
type CreateVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
type CreateVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 CreateVpcChannelV2ResponseBalanceStrategy E_2 CreateVpcChannelV2ResponseBalanceStrategy E_3 CreateVpcChannelV2ResponseBalanceStrategy E_4 CreateVpcChannelV2ResponseBalanceStrategy }
func GetCreateVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
func GetCreateVpcChannelV2ResponseBalanceStrategyEnum() CreateVpcChannelV2ResponseBalanceStrategyEnum
type CreateVpcChannelV2ResponseMemberType ¶ added in v0.0.65
type CreateVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseMemberType) MarshalJSON ¶ added in v0.0.65
func (c CreateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *CreateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseMemberType) Value() string
type CreateVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
type CreateVpcChannelV2ResponseMemberTypeEnum struct { IP CreateVpcChannelV2ResponseMemberType ECS CreateVpcChannelV2ResponseMemberType }
func GetCreateVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
func GetCreateVpcChannelV2ResponseMemberTypeEnum() CreateVpcChannelV2ResponseMemberTypeEnum
type CreateVpcChannelV2ResponseStatus ¶ added in v0.0.69
type CreateVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c CreateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseStatus) Value() int32
type CreateVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
type CreateVpcChannelV2ResponseStatusEnum struct { E_1 CreateVpcChannelV2ResponseStatus E_2 CreateVpcChannelV2ResponseStatus }
func GetCreateVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
func GetCreateVpcChannelV2ResponseStatusEnum() CreateVpcChannelV2ResponseStatusEnum
type DebugApiV2Request ¶ added in v0.0.65
type DebugApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiDebugInfo `json:"body,omitempty"` }
Request Object
func (DebugApiV2Request) String ¶ added in v0.0.65
func (o DebugApiV2Request) String() string
type DebugApiV2Response ¶ added in v0.0.65
type DebugApiV2Response struct { // 调试请求报文内容 Request *string `json:"request,omitempty"` // 调试响应报文内容,响应消息体最大支持2097152字节,超过部分会被截断 > 响应消息体超过限制长度时,超过部分会被截断,并追加\"[TRUNCATED]\"信息。 Response *string `json:"response,omitempty"` // 调试耗时,单位:毫秒 Latency *int32 `json:"latency,omitempty"` // 调试过程日志 Log *string `json:"log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DebugApiV2Response) String ¶ added in v0.0.65
func (o DebugApiV2Response) String() string
type DeleteAclV2Request ¶ added in v0.0.65
type DeleteAclV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` }
Request Object
func (DeleteAclV2Request) String ¶ added in v0.0.65
func (o DeleteAclV2Request) String() string
type DeleteAclV2Response ¶ added in v0.0.65
type DeleteAclV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAclV2Response) String ¶ added in v0.0.65
func (o DeleteAclV2Response) String() string
type DeleteApiAclBindingV2Request ¶ added in v0.0.65
type DeleteApiAclBindingV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 绑定关系编号 AclBindingsId string `json:"acl_bindings_id"` }
Request Object
func (DeleteApiAclBindingV2Request) String ¶ added in v0.0.65
func (o DeleteApiAclBindingV2Request) String() string
type DeleteApiAclBindingV2Response ¶ added in v0.0.65
type DeleteApiAclBindingV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiAclBindingV2Response) String ¶ added in v0.0.65
func (o DeleteApiAclBindingV2Response) String() string
type DeleteApiByVersionIdV2Request ¶ added in v0.0.65
type DeleteApiByVersionIdV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API版本的编号 VersionId string `json:"version_id"` }
Request Object
func (DeleteApiByVersionIdV2Request) String ¶ added in v0.0.65
func (o DeleteApiByVersionIdV2Request) String() string
type DeleteApiByVersionIdV2Response ¶ added in v0.0.65
type DeleteApiByVersionIdV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiByVersionIdV2Response) String ¶ added in v0.0.65
func (o DeleteApiByVersionIdV2Response) String() string
type DeleteApiGroupV2Request ¶
type DeleteApiGroupV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` }
Request Object
func (DeleteApiGroupV2Request) String ¶
func (o DeleteApiGroupV2Request) String() string
type DeleteApiGroupV2Response ¶
type DeleteApiGroupV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiGroupV2Response) String ¶
func (o DeleteApiGroupV2Response) String() string
type DeleteApiV2Request ¶
type DeleteApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` }
Request Object
func (DeleteApiV2Request) String ¶
func (o DeleteApiV2Request) String() string
type DeleteApiV2Response ¶
type DeleteApiV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiV2Response) String ¶
func (o DeleteApiV2Response) String() string
type DeleteAppCodeV2Request ¶ added in v0.0.65
type DeleteAppCodeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // APP Code编号 AppCodeId string `json:"app_code_id"` }
Request Object
func (DeleteAppCodeV2Request) String ¶ added in v0.0.65
func (o DeleteAppCodeV2Request) String() string
type DeleteAppCodeV2Response ¶ added in v0.0.65
type DeleteAppCodeV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppCodeV2Response) String ¶ added in v0.0.65
func (o DeleteAppCodeV2Response) String() string
type DeleteAppV2Request ¶
type DeleteAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (DeleteAppV2Request) String ¶
func (o DeleteAppV2Request) String() string
type DeleteAppV2Response ¶
type DeleteAppV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppV2Response) String ¶
func (o DeleteAppV2Response) String() string
type DeleteBackendInstanceV2Request ¶ added in v0.0.65
type DeleteBackendInstanceV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 后端实例对象的编号 MemberId string `json:"member_id"` }
Request Object
func (DeleteBackendInstanceV2Request) String ¶ added in v0.0.65
func (o DeleteBackendInstanceV2Request) String() string
type DeleteBackendInstanceV2Response ¶ added in v0.0.65
type DeleteBackendInstanceV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBackendInstanceV2Response) String ¶ added in v0.0.65
func (o DeleteBackendInstanceV2Response) String() string
type DeleteCertificateV2Request ¶ added in v0.1.7
type DeleteCertificateV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (DeleteCertificateV2Request) String ¶ added in v0.1.7
func (o DeleteCertificateV2Request) String() string
type DeleteCertificateV2Response ¶ added in v0.1.7
type DeleteCertificateV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteCertificateV2Response) String ¶ added in v0.1.7
func (o DeleteCertificateV2Response) String() string
type DeleteCustomAuthorizerV2Request ¶ added in v0.0.65
type DeleteCustomAuthorizerV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` }
Request Object
func (DeleteCustomAuthorizerV2Request) String ¶ added in v0.0.65
func (o DeleteCustomAuthorizerV2Request) String() string
type DeleteCustomAuthorizerV2Response ¶ added in v0.0.65
type DeleteCustomAuthorizerV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteCustomAuthorizerV2Response) String ¶ added in v0.0.65
func (o DeleteCustomAuthorizerV2Response) String() string
type DeleteEnvironmentV2Request ¶
type DeleteEnvironmentV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 环境的ID EnvId string `json:"env_id"` }
Request Object
func (DeleteEnvironmentV2Request) String ¶
func (o DeleteEnvironmentV2Request) String() string
type DeleteEnvironmentV2Response ¶
type DeleteEnvironmentV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteEnvironmentV2Response) String ¶
func (o DeleteEnvironmentV2Response) String() string
type DeleteEnvironmentVariableV2Request ¶
type DeleteEnvironmentVariableV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 环境变量的编号 EnvVariableId string `json:"env_variable_id"` }
Request Object
func (DeleteEnvironmentVariableV2Request) String ¶
func (o DeleteEnvironmentVariableV2Request) String() string
type DeleteEnvironmentVariableV2Response ¶
type DeleteEnvironmentVariableV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteEnvironmentVariableV2Response) String ¶
func (o DeleteEnvironmentVariableV2Response) String() string
type DeleteGatewayResponseTypeV2Request ¶ added in v0.0.65
type DeleteGatewayResponseTypeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` // 错误类型 ResponseType DeleteGatewayResponseTypeV2RequestResponseType `json:"response_type"` }
Request Object
func (DeleteGatewayResponseTypeV2Request) String ¶ added in v0.0.65
func (o DeleteGatewayResponseTypeV2Request) String() string
type DeleteGatewayResponseTypeV2RequestResponseType ¶ added in v0.0.65
type DeleteGatewayResponseTypeV2RequestResponseType struct {
// contains filtered or unexported fields
}
func (DeleteGatewayResponseTypeV2RequestResponseType) MarshalJSON ¶ added in v0.0.65
func (c DeleteGatewayResponseTypeV2RequestResponseType) MarshalJSON() ([]byte, error)
func (*DeleteGatewayResponseTypeV2RequestResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *DeleteGatewayResponseTypeV2RequestResponseType) UnmarshalJSON(b []byte) error
func (DeleteGatewayResponseTypeV2RequestResponseType) Value ¶ added in v0.0.90
func (c DeleteGatewayResponseTypeV2RequestResponseType) Value() string
type DeleteGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
type DeleteGatewayResponseTypeV2RequestResponseTypeEnum struct { AUTH_FAILURE DeleteGatewayResponseTypeV2RequestResponseType AUTH_HEADER_MISSING DeleteGatewayResponseTypeV2RequestResponseType AUTHORIZER_FAILURE DeleteGatewayResponseTypeV2RequestResponseType AUTHORIZER_CONF_FAILURE DeleteGatewayResponseTypeV2RequestResponseType AUTHORIZER_IDENTITIES_FAILURE DeleteGatewayResponseTypeV2RequestResponseType BACKEND_UNAVAILABLE DeleteGatewayResponseTypeV2RequestResponseType BACKEND_TIMEOUT DeleteGatewayResponseTypeV2RequestResponseType THROTTLED DeleteGatewayResponseTypeV2RequestResponseType UNAUTHORIZED DeleteGatewayResponseTypeV2RequestResponseType ACCESS_DENIED DeleteGatewayResponseTypeV2RequestResponseType NOT_FOUND DeleteGatewayResponseTypeV2RequestResponseType REQUEST_PARAMETERS_FAILURE DeleteGatewayResponseTypeV2RequestResponseType DEFAULT_4_XX DeleteGatewayResponseTypeV2RequestResponseType DEFAULT_5_XX DeleteGatewayResponseTypeV2RequestResponseType }
func GetDeleteGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
func GetDeleteGatewayResponseTypeV2RequestResponseTypeEnum() DeleteGatewayResponseTypeV2RequestResponseTypeEnum
type DeleteGatewayResponseTypeV2Response ¶ added in v0.0.65
type DeleteGatewayResponseTypeV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteGatewayResponseTypeV2Response) String ¶ added in v0.0.65
func (o DeleteGatewayResponseTypeV2Response) String() string
type DeleteGatewayResponseV2Request ¶ added in v0.0.65
type DeleteGatewayResponseV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` }
Request Object
func (DeleteGatewayResponseV2Request) String ¶ added in v0.0.65
func (o DeleteGatewayResponseV2Request) String() string
type DeleteGatewayResponseV2Response ¶ added in v0.0.65
type DeleteGatewayResponseV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteGatewayResponseV2Response) String ¶ added in v0.0.65
func (o DeleteGatewayResponseV2Response) String() string
type DeleteInstancesV2Request ¶ added in v0.0.65
type DeleteInstancesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (DeleteInstancesV2Request) String ¶ added in v0.0.65
func (o DeleteInstancesV2Request) String() string
type DeleteInstancesV2Response ¶ added in v0.0.65
type DeleteInstancesV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteInstancesV2Response) String ¶ added in v0.0.65
func (o DeleteInstancesV2Response) String() string
type DeleteMemberGroupRequest ¶ added in v0.1.7
type DeleteMemberGroupRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` }
Request Object
func (DeleteMemberGroupRequest) String ¶ added in v0.1.7
func (o DeleteMemberGroupRequest) String() string
type DeleteMemberGroupResponse ¶ added in v0.1.7
type DeleteMemberGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteMemberGroupResponse) String ¶ added in v0.1.7
func (o DeleteMemberGroupResponse) String() string
type DeletePluginRequest ¶ added in v0.1.11
type DeletePluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 插件编号 PluginId string `json:"plugin_id"` }
Request Object
func (DeletePluginRequest) String ¶ added in v0.1.11
func (o DeletePluginRequest) String() string
type DeletePluginResponse ¶ added in v0.1.11
type DeletePluginResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeletePluginResponse) String ¶ added in v0.1.11
func (o DeletePluginResponse) String() string
type DeleteRequestThrottlingPolicyV2Request ¶
type DeleteRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` }
Request Object
func (DeleteRequestThrottlingPolicyV2Request) String ¶
func (o DeleteRequestThrottlingPolicyV2Request) String() string
type DeleteRequestThrottlingPolicyV2Response ¶
type DeleteRequestThrottlingPolicyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRequestThrottlingPolicyV2Response) String ¶
func (o DeleteRequestThrottlingPolicyV2Response) String() string
type DeleteSignatureKeyV2Request ¶
type DeleteSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 签名密钥编号 SignId string `json:"sign_id"` }
Request Object
func (DeleteSignatureKeyV2Request) String ¶
func (o DeleteSignatureKeyV2Request) String() string
type DeleteSignatureKeyV2Response ¶
type DeleteSignatureKeyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSignatureKeyV2Response) String ¶
func (o DeleteSignatureKeyV2Response) String() string
type DeleteSpecialThrottlingConfigurationV2Request ¶
type DeleteSpecialThrottlingConfigurationV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 特殊配置的编号 StrategyId string `json:"strategy_id"` }
Request Object
func (DeleteSpecialThrottlingConfigurationV2Request) String ¶
func (o DeleteSpecialThrottlingConfigurationV2Request) String() string
type DeleteSpecialThrottlingConfigurationV2Response ¶
type DeleteSpecialThrottlingConfigurationV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSpecialThrottlingConfigurationV2Response) String ¶
func (o DeleteSpecialThrottlingConfigurationV2Response) String() string
type DeleteVpcChannelV2Request ¶ added in v0.0.65
type DeleteVpcChannelV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` }
Request Object
func (DeleteVpcChannelV2Request) String ¶ added in v0.0.65
func (o DeleteVpcChannelV2Request) String() string
type DeleteVpcChannelV2Response ¶ added in v0.0.65
type DeleteVpcChannelV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVpcChannelV2Response) String ¶ added in v0.0.65
func (o DeleteVpcChannelV2Response) String() string
type DetachApiFromPluginRequest ¶ added in v0.1.11
type DetachApiFromPluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 插件编号 PluginId string `json:"plugin_id"` Body *PluginOperApiInfo `json:"body,omitempty"` }
Request Object
func (DetachApiFromPluginRequest) String ¶ added in v0.1.11
func (o DetachApiFromPluginRequest) String() string
type DetachApiFromPluginResponse ¶ added in v0.1.11
type DetachApiFromPluginResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DetachApiFromPluginResponse) String ¶ added in v0.1.11
func (o DetachApiFromPluginResponse) String() string
type DetachPluginFromApiRequest ¶ added in v0.1.11
type DetachPluginFromApiRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API编号 ApiId string `json:"api_id"` Body *ApiOperPluginInfo `json:"body,omitempty"` }
Request Object
func (DetachPluginFromApiRequest) String ¶ added in v0.1.11
func (o DetachPluginFromApiRequest) String() string
type DetachPluginFromApiResponse ¶ added in v0.1.11
type DetachPluginFromApiResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DetachPluginFromApiResponse) String ¶ added in v0.1.11
func (o DetachPluginFromApiResponse) String() string
type DisassociateCertificateV2Request ¶
type DisassociateCertificateV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (DisassociateCertificateV2Request) String ¶
func (o DisassociateCertificateV2Request) String() string
type DisassociateCertificateV2Response ¶
type DisassociateCertificateV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateCertificateV2Response) String ¶
func (o DisassociateCertificateV2Response) String() string
type DisassociateDomainV2Request ¶
type DisassociateDomainV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` }
Request Object
func (DisassociateDomainV2Request) String ¶
func (o DisassociateDomainV2Request) String() string
type DisassociateDomainV2Response ¶
type DisassociateDomainV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateDomainV2Response) String ¶
func (o DisassociateDomainV2Response) String() string
type DisassociateRequestThrottlingPolicyV2Request ¶
type DisassociateRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API和流控策略绑定关系的编号 ThrottleBindingId string `json:"throttle_binding_id"` }
Request Object
func (DisassociateRequestThrottlingPolicyV2Request) String ¶
func (o DisassociateRequestThrottlingPolicyV2Request) String() string
type DisassociateRequestThrottlingPolicyV2Response ¶
type DisassociateRequestThrottlingPolicyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateRequestThrottlingPolicyV2Response) String ¶
func (o DisassociateRequestThrottlingPolicyV2Response) String() string
type DisassociateSignatureKeyV2Request ¶
type DisassociateSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API与签名密钥的绑定关系编号 SignBindingsId string `json:"sign_bindings_id"` }
Request Object
func (DisassociateSignatureKeyV2Request) String ¶
func (o DisassociateSignatureKeyV2Request) String() string
type DisassociateSignatureKeyV2Response ¶
type DisassociateSignatureKeyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateSignatureKeyV2Response) String ¶
func (o DisassociateSignatureKeyV2Response) String() string
type EipBindReq ¶ added in v0.0.65
type EipBindReq struct { // 弹性公网IP编号 EipId *string `json:"eip_id,omitempty"` }
func (EipBindReq) String ¶ added in v0.0.65
func (o EipBindReq) String() string
type EndpointService ¶ added in v0.0.89
type EndpointService struct { // 终端节点服务名称 ServiceName *string `json:"service_name,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` }
func (EndpointService) String ¶ added in v0.0.89
func (o EndpointService) String() string
type EnvCreate ¶ added in v0.0.69
type EnvInfo ¶ added in v0.0.69
type EnvVariableBase ¶ added in v0.0.69
type EnvVariableBase struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` }
func (EnvVariableBase) String ¶ added in v0.0.69
func (o EnvVariableBase) String() string
type EnvVariableCreate ¶ added in v0.0.69
type EnvVariableCreate struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` }
func (EnvVariableCreate) String ¶ added in v0.0.69
func (o EnvVariableCreate) String() string
type EnvVariableInfo ¶ added in v0.0.69
type EnvVariableInfo struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` }
func (EnvVariableInfo) String ¶ added in v0.0.69
func (o EnvVariableInfo) String() string
type ExportApiDefinitionsV2Request ¶ added in v0.0.65
type ExportApiDefinitionsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ExportOpenApiReq `json:"body,omitempty"` }
Request Object
func (ExportApiDefinitionsV2Request) String ¶ added in v0.0.65
func (o ExportApiDefinitionsV2Request) String() string
type ExportApiDefinitionsV2Response ¶ added in v0.0.65
type ExportApiDefinitionsV2Response struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (ExportApiDefinitionsV2Response) Consume ¶ added in v0.0.65
func (o ExportApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)
func (ExportApiDefinitionsV2Response) String ¶ added in v0.0.65
func (o ExportApiDefinitionsV2Response) String() string
type ExportOpenApiReq ¶ added in v0.0.69
type ExportOpenApiReq struct { // API分组发布的环境ID EnvId string `json:"env_id"` // API分组ID GroupId string `json:"group_id"` // 导出API的定义范围: - spec:基础定义,只包括api前端定义 - proxy:全量定义,包括api前后端定义 - all:扩展定义,包括api前后端定义以及流控、访问控制、自定义认证等扩展定义 - dev:开发定义,包括未发布的api的前后端定义 Define *ExportOpenApiReqDefine `json:"define,omitempty"` // 导出的API定义的格式 Type *ExportOpenApiReqType `json:"type,omitempty"` // 导出的API定义版本,默认为当前时间 Version *string `json:"version,omitempty"` // 导出的API ID列表 Apis *[]string `json:"apis,omitempty"` }
func (ExportOpenApiReq) String ¶ added in v0.0.69
func (o ExportOpenApiReq) String() string
type ExportOpenApiReqDefine ¶ added in v0.0.69
type ExportOpenApiReqDefine struct {
// contains filtered or unexported fields
}
func (ExportOpenApiReqDefine) MarshalJSON ¶ added in v0.0.69
func (c ExportOpenApiReqDefine) MarshalJSON() ([]byte, error)
func (*ExportOpenApiReqDefine) UnmarshalJSON ¶ added in v0.0.69
func (c *ExportOpenApiReqDefine) UnmarshalJSON(b []byte) error
func (ExportOpenApiReqDefine) Value ¶ added in v0.0.90
func (c ExportOpenApiReqDefine) Value() string
type ExportOpenApiReqDefineEnum ¶ added in v0.0.69
type ExportOpenApiReqDefineEnum struct { SPEC ExportOpenApiReqDefine PROXY ExportOpenApiReqDefine ALL ExportOpenApiReqDefine DEV ExportOpenApiReqDefine }
func GetExportOpenApiReqDefineEnum ¶ added in v0.0.69
func GetExportOpenApiReqDefineEnum() ExportOpenApiReqDefineEnum
type ExportOpenApiReqType ¶ added in v0.0.69
type ExportOpenApiReqType struct {
// contains filtered or unexported fields
}
func (ExportOpenApiReqType) MarshalJSON ¶ added in v0.0.69
func (c ExportOpenApiReqType) MarshalJSON() ([]byte, error)
func (*ExportOpenApiReqType) UnmarshalJSON ¶ added in v0.0.69
func (c *ExportOpenApiReqType) UnmarshalJSON(b []byte) error
func (ExportOpenApiReqType) Value ¶ added in v0.0.90
func (c ExportOpenApiReqType) Value() string
type ExportOpenApiReqTypeEnum ¶ added in v0.0.69
type ExportOpenApiReqTypeEnum struct { JSON ExportOpenApiReqType YAML ExportOpenApiReqType YML ExportOpenApiReqType }
func GetExportOpenApiReqTypeEnum ¶ added in v0.0.69
func GetExportOpenApiReqTypeEnum() ExportOpenApiReqTypeEnum
type Failure ¶ added in v0.0.69
type FeatureInfo ¶ added in v0.0.65
type FeatureInfo struct { // 特性编号 Id *string `json:"id,omitempty"` // 特性名称 Name *string `json:"name,omitempty"` // 是否开启特性 Enable *bool `json:"enable,omitempty"` // 特性参数配置 Config *string `json:"config,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例特性更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (FeatureInfo) String ¶ added in v0.0.65
func (o FeatureInfo) String() string
type FeatureToggle ¶ added in v0.0.65
type FeatureToggle struct { // 特性名称 Name string `json:"name"` // 是否开启特性 Enable bool `json:"enable"` // 特性参数配置 Config *string `json:"config,omitempty"` }
func (FeatureToggle) String ¶ added in v0.0.65
func (o FeatureToggle) String() string
type Identity ¶ added in v0.0.65
type Identity struct { // 参数名称 Name string `json:"name"` // 参数位置 Location IdentityLocation `json:"location"` // 参数校验表达式,默认为null,不做校验 Validation *string `json:"validation,omitempty"` }
type IdentityLocation ¶ added in v0.0.65
type IdentityLocation struct {
// contains filtered or unexported fields
}
func (IdentityLocation) MarshalJSON ¶ added in v0.0.65
func (c IdentityLocation) MarshalJSON() ([]byte, error)
func (*IdentityLocation) UnmarshalJSON ¶ added in v0.0.65
func (c *IdentityLocation) UnmarshalJSON(b []byte) error
func (IdentityLocation) Value ¶ added in v0.0.90
func (c IdentityLocation) Value() string
type IdentityLocationEnum ¶ added in v0.0.65
type IdentityLocationEnum struct { HEADER IdentityLocation QUERY IdentityLocation }
func GetIdentityLocationEnum ¶ added in v0.0.65
func GetIdentityLocationEnum() IdentityLocationEnum
type Ignore ¶ added in v0.0.69
type ImportApiDefinitionsV2Request ¶ added in v0.0.65
type ImportApiDefinitionsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *ImportApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (ImportApiDefinitionsV2Request) String ¶ added in v0.0.65
func (o ImportApiDefinitionsV2Request) String() string
type ImportApiDefinitionsV2RequestBody ¶ added in v0.0.65
type ImportApiDefinitionsV2RequestBody struct { // 是否创建新分组 IsCreateGroup *def.MultiPart `json:"is_create_group,omitempty"` // API分组编号,当is_create_group=false时为必填 GroupId *def.MultiPart `json:"group_id,omitempty"` // 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息 ExtendMode *def.MultiPart `json:"extend_mode,omitempty"` // 是否开启简易导入模式 SimpleMode *def.MultiPart `json:"simple_mode,omitempty"` // 是否开启Mock后端 MockMode *def.MultiPart `json:"mock_mode,omitempty"` // 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息 ApiMode *def.MultiPart `json:"api_mode,omitempty"` // 导入Api的请求体,json或yaml格式的文件 FileName *def.FilePart `json:"file_name"` }
func (ImportApiDefinitionsV2RequestBody) String ¶ added in v0.0.65
func (o ImportApiDefinitionsV2RequestBody) String() string
func (*ImportApiDefinitionsV2RequestBody) UnmarshalJSON ¶ added in v0.0.67
func (o *ImportApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error
type ImportApiDefinitionsV2RequestBodyApiMode ¶ added in v0.0.65
type ImportApiDefinitionsV2RequestBodyApiMode struct {
// contains filtered or unexported fields
}
func (ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON ¶ added in v0.0.65
func (c ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON() ([]byte, error)
func (*ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON(b []byte) error
func (ImportApiDefinitionsV2RequestBodyApiMode) Value ¶ added in v0.0.90
func (c ImportApiDefinitionsV2RequestBodyApiMode) Value() string
type ImportApiDefinitionsV2RequestBodyApiModeEnum ¶ added in v0.0.65
type ImportApiDefinitionsV2RequestBodyApiModeEnum struct { MERGE ImportApiDefinitionsV2RequestBodyApiMode OVERRIDE ImportApiDefinitionsV2RequestBodyApiMode }
func GetImportApiDefinitionsV2RequestBodyApiModeEnum ¶ added in v0.0.65
func GetImportApiDefinitionsV2RequestBodyApiModeEnum() ImportApiDefinitionsV2RequestBodyApiModeEnum
type ImportApiDefinitionsV2RequestBodyExtendMode ¶ added in v0.0.65
type ImportApiDefinitionsV2RequestBodyExtendMode struct {
// contains filtered or unexported fields
}
func (ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON ¶ added in v0.0.65
func (c ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON() ([]byte, error)
func (*ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON(b []byte) error
func (ImportApiDefinitionsV2RequestBodyExtendMode) Value ¶ added in v0.0.90
func (c ImportApiDefinitionsV2RequestBodyExtendMode) Value() string
type ImportApiDefinitionsV2RequestBodyExtendModeEnum ¶ added in v0.0.65
type ImportApiDefinitionsV2RequestBodyExtendModeEnum struct { MERGE ImportApiDefinitionsV2RequestBodyExtendMode OVERRIDE ImportApiDefinitionsV2RequestBodyExtendMode }
func GetImportApiDefinitionsV2RequestBodyExtendModeEnum ¶ added in v0.0.65
func GetImportApiDefinitionsV2RequestBodyExtendModeEnum() ImportApiDefinitionsV2RequestBodyExtendModeEnum
type ImportApiDefinitionsV2Response ¶ added in v0.0.65
type ImportApiDefinitionsV2Response struct { // 导入成功信息 Success *[]Success `json:"success,omitempty"` // 导入失败信息 Failure *[]Failure `json:"failure,omitempty"` Swagger *Swagger `json:"swagger,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 被忽略导入的API信息 Ignore *[]Ignore `json:"ignore,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportApiDefinitionsV2Response) String ¶ added in v0.0.65
func (o ImportApiDefinitionsV2Response) String() string
type ImportBaseResult ¶ added in v0.0.69
type ImportBaseResult struct { // 导入成功信息 Success *[]Success `json:"success,omitempty"` // 导入失败信息 Failure *[]Failure `json:"failure,omitempty"` Swagger *Swagger `json:"swagger,omitempty"` }
func (ImportBaseResult) String ¶ added in v0.0.69
func (o ImportBaseResult) String() string
type ImportMicroserviceRequest ¶ added in v0.1.7
type ImportMicroserviceRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *MicroserviceImportReq `json:"body,omitempty"` }
Request Object
func (ImportMicroserviceRequest) String ¶ added in v0.1.7
func (o ImportMicroserviceRequest) String() string
type ImportMicroserviceResponse ¶ added in v0.1.7
type ImportMicroserviceResponse struct { // vpc通道编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // api分组编号 ApiGroupId *string `json:"api_group_id,omitempty"` // 导入的api列表 Apis *[]MicroserviceImportApiResp `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportMicroserviceResponse) String ¶ added in v0.1.7
func (o ImportMicroserviceResponse) String() string
type InnerLatencyStats ¶ added in v0.0.65
type InnerLatencyStats struct { // 最大网关内部延时 单位:ms MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"` // 平均网关内部延时 单位:ms AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"` }
func (InnerLatencyStats) String ¶ added in v0.0.65
func (o InnerLatencyStats) String() string
type InstanceAbstractReq ¶ added in v0.0.65
type InstanceAbstractReq struct { // 实例描述 Description *string `json:"description,omitempty"` // 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainBegin *string `json:"maintain_begin,omitempty"` // 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainEnd *string `json:"maintain_end,omitempty"` }
func (InstanceAbstractReq) String ¶ added in v0.0.65
func (o InstanceAbstractReq) String() string
type InstanceConfig ¶ added in v0.0.65
type InstanceConfig struct { // 配额编号 ConfigId *string `json:"config_id,omitempty"` // 配额名称 ConfigName *InstanceConfigConfigName `json:"config_name,omitempty"` // 配额值 当前实例所在租户该配额对应的数量 ConfigValue *string `json:"config_value,omitempty"` // 配额创建时间 ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"` // 配额描述 - INSTANCE_NUM_LIMIT:租户可以创建的实例个数限制 Remark *string `json:"remark,omitempty"` }
func (InstanceConfig) String ¶ added in v0.0.65
func (o InstanceConfig) String() string
type InstanceConfigConfigName ¶ added in v0.0.65
type InstanceConfigConfigName struct {
// contains filtered or unexported fields
}
func (InstanceConfigConfigName) MarshalJSON ¶ added in v0.0.65
func (c InstanceConfigConfigName) MarshalJSON() ([]byte, error)
func (*InstanceConfigConfigName) UnmarshalJSON ¶ added in v0.0.65
func (c *InstanceConfigConfigName) UnmarshalJSON(b []byte) error
func (InstanceConfigConfigName) Value ¶ added in v0.0.90
func (c InstanceConfigConfigName) Value() string
type InstanceConfigConfigNameEnum ¶ added in v0.0.65
type InstanceConfigConfigNameEnum struct {
INSTANCE_NUM_LIMIT InstanceConfigConfigName
}
func GetInstanceConfigConfigNameEnum ¶ added in v0.0.65
func GetInstanceConfigConfigNameEnum() InstanceConfigConfigNameEnum
type InstanceCreateReq ¶ added in v0.0.65
type InstanceCreateReq struct { // 实例描述 Description *string `json:"description,omitempty"` // 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainBegin *string `json:"maintain_begin,omitempty"` // 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例编号,不填写自动生成 InstanceId *string `json:"instance_id,omitempty"` // 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例 SpecId *InstanceCreateReqSpecId `json:"spec_id,omitempty"` // 虚拟私有云ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。 VpcId *string `json:"vpc_id,omitempty"` // 子网的网络ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。 SubnetId *string `json:"subnet_id,omitempty"` // 指定实例所属的安全组。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。 SecurityGroupId *string `json:"security_group_id,omitempty"` // 弹性公网IP ID。 实例需要开启公网访问时需要填写,绑定后使用者可以通过该入口从公网访问APIG实例中的API等资源 获取方法:登录虚拟私有云服务的控制台界面,在弹性公网IP的详情页面查找弹性公网IP ID。 EipId *string `json:"eip_id,omitempty"` // 企业项目ID,企业帐号必填。 获取方法如下: - 方法1:登录企业项目管理界面,在项目管理详情页面查找项目ID。 - 方法2:通过企业项目管理的API接口查询,具体方法请参见《企业管理API参考》的“查询企业项目列表”章节。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 可用区列表。 可用区指在同一地域下,电力、网络隔离的物理区域,可用区之内内网互通,不同可用区之间物理隔离。选择多个AZ部署可以有效提升可靠性。 获取方法:通过文档中实例管理的可用区列表接口查询。 AvailableZoneIds *[]string `json:"available_zone_ids,omitempty"` // 出公网带宽 实例需要开启出公网功能时需要填写,绑定后使用者可以利用该出口访问公网上的互联网资源 BandwidthSize *int32 `json:"bandwidth_size,omitempty"` // 公网访问是否支持IPv6。 当前仅部分region部分可用区支持IPv6 Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持 LoadbalancerProvider *InstanceCreateReqLoadbalancerProvider `json:"loadbalancer_provider,omitempty"` // 标签列表。 一个实例默认最多支持创建20个标签 Tags *[]TmsKeyValue `json:"tags,omitempty"` }
func (InstanceCreateReq) String ¶ added in v0.0.65
func (o InstanceCreateReq) String() string
type InstanceCreateReqLoadbalancerProvider ¶ added in v0.0.89
type InstanceCreateReqLoadbalancerProvider struct {
// contains filtered or unexported fields
}
func (InstanceCreateReqLoadbalancerProvider) MarshalJSON ¶ added in v0.0.89
func (c InstanceCreateReqLoadbalancerProvider) MarshalJSON() ([]byte, error)
func (*InstanceCreateReqLoadbalancerProvider) UnmarshalJSON ¶ added in v0.0.89
func (c *InstanceCreateReqLoadbalancerProvider) UnmarshalJSON(b []byte) error
func (InstanceCreateReqLoadbalancerProvider) Value ¶ added in v0.0.90
func (c InstanceCreateReqLoadbalancerProvider) Value() string
type InstanceCreateReqLoadbalancerProviderEnum ¶ added in v0.0.89
type InstanceCreateReqLoadbalancerProviderEnum struct { LVS InstanceCreateReqLoadbalancerProvider ELB InstanceCreateReqLoadbalancerProvider }
func GetInstanceCreateReqLoadbalancerProviderEnum ¶ added in v0.0.89
func GetInstanceCreateReqLoadbalancerProviderEnum() InstanceCreateReqLoadbalancerProviderEnum
type InstanceCreateReqSpecId ¶ added in v0.0.65
type InstanceCreateReqSpecId struct {
// contains filtered or unexported fields
}
func (InstanceCreateReqSpecId) MarshalJSON ¶ added in v0.0.65
func (c InstanceCreateReqSpecId) MarshalJSON() ([]byte, error)
func (*InstanceCreateReqSpecId) UnmarshalJSON ¶ added in v0.0.65
func (c *InstanceCreateReqSpecId) UnmarshalJSON(b []byte) error
func (InstanceCreateReqSpecId) Value ¶ added in v0.0.90
func (c InstanceCreateReqSpecId) Value() string
type InstanceCreateReqSpecIdEnum ¶ added in v0.0.65
type InstanceCreateReqSpecIdEnum struct { BASIC InstanceCreateReqSpecId PROFESSIONAL InstanceCreateReqSpecId ENTERPRISE InstanceCreateReqSpecId PLATINUM InstanceCreateReqSpecId BASIC_IPV6 InstanceCreateReqSpecId PROFESSIONAL_IPV6 InstanceCreateReqSpecId ENTERPRISE_IPV6 InstanceCreateReqSpecId PLATINUM_IPV6 InstanceCreateReqSpecId }
func GetInstanceCreateReqSpecIdEnum ¶ added in v0.0.65
func GetInstanceCreateReqSpecIdEnum() InstanceCreateReqSpecIdEnum
type InstanceModReq ¶ added in v0.0.65
type InstanceModReq struct { // 实例描述 Description *string `json:"description,omitempty"` // 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainBegin *string `json:"maintain_begin,omitempty"` // 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。 在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 指定实例所属的安全组。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。 SecurityGroupId *string `json:"security_group_id,omitempty"` }
func (InstanceModReq) String ¶ added in v0.0.65
func (o InstanceModReq) String() string
type IpDetails ¶ added in v0.0.89
type LatencyStats ¶ added in v0.0.65
type LatencyStats struct { // 最大延时 单位:ms MaxLatency *int32 `json:"max_latency,omitempty"` // 平均延时 单位:ms AvgLatency *float32 `json:"avg_latency,omitempty"` }
func (LatencyStats) String ¶ added in v0.0.65
func (o LatencyStats) String() string
type ListAclPolicyBindedToApiV2Request ¶ added in v0.0.65
type ListAclPolicyBindedToApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // 环境名称 EnvName *string `json:"env_name,omitempty"` // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // ACL策略名称 AclName *string `json:"acl_name,omitempty"` }
Request Object
func (ListAclPolicyBindedToApiV2Request) String ¶ added in v0.0.65
func (o ListAclPolicyBindedToApiV2Request) String() string
type ListAclPolicyBindedToApiV2Response ¶ added in v0.0.65
type ListAclPolicyBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的ACL列表 Acls *[]ApiBindAclInfo `json:"acls,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAclPolicyBindedToApiV2Response) String ¶ added in v0.0.65
func (o ListAclPolicyBindedToApiV2Response) String() string
type ListAclStrategiesV2Request ¶ added in v0.0.65
type ListAclStrategiesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // ACL策略编号。 Id *string `json:"id,omitempty"` // ACL策略名称。 Name *string `json:"name,omitempty"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AclType *string `json:"acl_type,omitempty"` // 作用的对象类型: - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListAclStrategiesV2Request) String ¶ added in v0.0.65
func (o ListAclStrategiesV2Request) String() string
type ListAclStrategiesV2Response ¶ added in v0.0.65
type ListAclStrategiesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的ACL策略列表 Acls *[]ApiAclInfoWithBindNum `json:"acls,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAclStrategiesV2Response) String ¶ added in v0.0.65
func (o ListAclStrategiesV2Response) String() string
type ListApiAttachablePluginsRequest ¶ added in v0.1.11
type ListApiAttachablePluginsRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 PluginType *string `json:"plugin_type,omitempty"` // 插件编号 PluginId *string `json:"plugin_id,omitempty"` }
Request Object
func (ListApiAttachablePluginsRequest) String ¶ added in v0.1.11
func (o ListApiAttachablePluginsRequest) String() string
type ListApiAttachablePluginsResponse ¶ added in v0.1.11
type ListApiAttachablePluginsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 插件列表。 Plugins *[]PluginInfo `json:"plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiAttachablePluginsResponse) String ¶ added in v0.1.11
func (o ListApiAttachablePluginsResponse) String() string
type ListApiAttachedPluginsRequest ¶ added in v0.1.11
type ListApiAttachedPluginsRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件编号 PluginId *string `json:"plugin_id,omitempty"` // 环境名称 EnvName *string `json:"env_name,omitempty"` // 插件类型 PluginType *string `json:"plugin_type,omitempty"` }
Request Object
func (ListApiAttachedPluginsRequest) String ¶ added in v0.1.11
func (o ListApiAttachedPluginsRequest) String() string
type ListApiAttachedPluginsResponse ¶ added in v0.1.11
type ListApiAttachedPluginsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 绑定API的插件列表。 Plugins *[]AttachedPluginInfo `json:"plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiAttachedPluginsResponse) String ¶ added in v0.1.11
func (o ListApiAttachedPluginsResponse) String() string
type ListApiGroupsQuantitiesV2Request ¶
type ListApiGroupsQuantitiesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (ListApiGroupsQuantitiesV2Request) String ¶
func (o ListApiGroupsQuantitiesV2Request) String() string
type ListApiGroupsQuantitiesV2Response ¶
type ListApiGroupsQuantitiesV2Response struct { // 未上架的API分组个数 暂不支持 OffsellNums *int32 `json:"offsell_nums,omitempty"` // 已上架的API分组个数 OnsellNums *int32 `json:"onsell_nums,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiGroupsQuantitiesV2Response) String ¶
func (o ListApiGroupsQuantitiesV2Response) String() string
type ListApiGroupsV2Request ¶
type ListApiGroupsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API分组编号 Id *string `json:"id,omitempty"` // API分组名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持API分组名称 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListApiGroupsV2Request) String ¶
func (o ListApiGroupsV2Request) String() string
type ListApiGroupsV2Response ¶
type ListApiGroupsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 分组列表 Groups *[]ApiGroupInfo `json:"groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiGroupsV2Response) String ¶
func (o ListApiGroupsV2Response) String() string
type ListApiQuantitiesV2Request ¶
type ListApiQuantitiesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (ListApiQuantitiesV2Request) String ¶
func (o ListApiQuantitiesV2Request) String() string
type ListApiQuantitiesV2Response ¶
type ListApiQuantitiesV2Response struct { // API总个数 InstanceNum *int32 `json:"instance_num,omitempty"` // 已发布到release环境的API个数 NumsOnRelease *int32 `json:"nums_on_release,omitempty"` // 未发布到release环境的API个数 NumsOffRelease *int32 `json:"nums_off_release,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiQuantitiesV2Response) String ¶
func (o ListApiQuantitiesV2Response) String() string
type ListApiRuntimeDefinitionV2Request ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // API的发布环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListApiRuntimeDefinitionV2Request) String ¶ added in v0.0.65
func (o ListApiRuntimeDefinitionV2Request) String() string
type ListApiRuntimeDefinitionV2Response ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2Response struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ListApiRuntimeDefinitionV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ListApiRuntimeDefinitionV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ListApiRuntimeDefinitionV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ListApiRuntimeDefinitionV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ListApiRuntimeDefinitionV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ListApiRuntimeDefinitionV2ResponseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ListApiRuntimeDefinitionV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // 分组的二级域名 SlDomain *string `json:"sl_domain,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiRuntimeDefinitionV2Response) String ¶ added in v0.0.65
func (o ListApiRuntimeDefinitionV2Response) String() string
type ListApiRuntimeDefinitionV2ResponseAuthType ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON ¶ added in v0.0.65
func (c ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseAuthType) Value() string
type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum struct { NONE ListApiRuntimeDefinitionV2ResponseAuthType APP ListApiRuntimeDefinitionV2ResponseAuthType IAM ListApiRuntimeDefinitionV2ResponseAuthType AUTHORIZER ListApiRuntimeDefinitionV2ResponseAuthType }
func GetListApiRuntimeDefinitionV2ResponseAuthTypeEnum ¶ added in v0.0.65
func GetListApiRuntimeDefinitionV2ResponseAuthTypeEnum() ListApiRuntimeDefinitionV2ResponseAuthTypeEnum
type ListApiRuntimeDefinitionV2ResponseBackendType ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON ¶ added in v0.0.65
func (c ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseBackendType) Value() string
type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum struct { HTTP ListApiRuntimeDefinitionV2ResponseBackendType FUNCTION ListApiRuntimeDefinitionV2ResponseBackendType MOCK ListApiRuntimeDefinitionV2ResponseBackendType }
func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum ¶ added in v0.0.65
func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum() ListApiRuntimeDefinitionV2ResponseBackendTypeEnum
type ListApiRuntimeDefinitionV2ResponseContentType ¶ added in v0.0.76
type ListApiRuntimeDefinitionV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON ¶ added in v0.0.76
func (c ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseContentType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseContentType) Value() string
type ListApiRuntimeDefinitionV2ResponseContentTypeEnum ¶ added in v0.0.76
type ListApiRuntimeDefinitionV2ResponseContentTypeEnum struct { APPLICATION_JSON ListApiRuntimeDefinitionV2ResponseContentType APPLICATION_XML ListApiRuntimeDefinitionV2ResponseContentType MULTIPART_FORM_DATE ListApiRuntimeDefinitionV2ResponseContentType TEXT_PLAIN ListApiRuntimeDefinitionV2ResponseContentType }
func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum ¶ added in v0.0.76
func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum() ListApiRuntimeDefinitionV2ResponseContentTypeEnum
type ListApiRuntimeDefinitionV2ResponseMatchMode ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON ¶ added in v0.0.65
func (c ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseMatchMode) Value() string
type ListApiRuntimeDefinitionV2ResponseMatchModeEnum ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseMatchModeEnum struct { SWA ListApiRuntimeDefinitionV2ResponseMatchMode NORMAL ListApiRuntimeDefinitionV2ResponseMatchMode }
func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum ¶ added in v0.0.65
func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum() ListApiRuntimeDefinitionV2ResponseMatchModeEnum
type ListApiRuntimeDefinitionV2ResponseReqMethod ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON ¶ added in v0.0.65
func (c ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseReqMethod) Value() string
type ListApiRuntimeDefinitionV2ResponseReqMethodEnum ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseReqMethodEnum struct { GET ListApiRuntimeDefinitionV2ResponseReqMethod POST ListApiRuntimeDefinitionV2ResponseReqMethod PUT ListApiRuntimeDefinitionV2ResponseReqMethod DELETE ListApiRuntimeDefinitionV2ResponseReqMethod HEAD ListApiRuntimeDefinitionV2ResponseReqMethod PATCH ListApiRuntimeDefinitionV2ResponseReqMethod OPTIONS ListApiRuntimeDefinitionV2ResponseReqMethod ANY ListApiRuntimeDefinitionV2ResponseReqMethod }
func GetListApiRuntimeDefinitionV2ResponseReqMethodEnum ¶ added in v0.0.65
func GetListApiRuntimeDefinitionV2ResponseReqMethodEnum() ListApiRuntimeDefinitionV2ResponseReqMethodEnum
type ListApiRuntimeDefinitionV2ResponseReqProtocol ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON ¶ added in v0.0.65
func (c ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseReqProtocol) Value() string
type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum ¶ added in v0.0.65
type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum struct { HTTP ListApiRuntimeDefinitionV2ResponseReqProtocol HTTPS ListApiRuntimeDefinitionV2ResponseReqProtocol BOTH ListApiRuntimeDefinitionV2ResponseReqProtocol }
func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum ¶ added in v0.0.65
func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum() ListApiRuntimeDefinitionV2ResponseReqProtocolEnum
type ListApiRuntimeDefinitionV2ResponseType ¶ added in v0.0.69
type ListApiRuntimeDefinitionV2ResponseType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseType) MarshalJSON ¶ added in v0.0.69
func (c ListApiRuntimeDefinitionV2ResponseType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON ¶ added in v0.0.69
func (c *ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseType) Value() int32
type ListApiRuntimeDefinitionV2ResponseTypeEnum ¶ added in v0.0.69
type ListApiRuntimeDefinitionV2ResponseTypeEnum struct { E_1 ListApiRuntimeDefinitionV2ResponseType E_2 ListApiRuntimeDefinitionV2ResponseType }
func GetListApiRuntimeDefinitionV2ResponseTypeEnum ¶ added in v0.0.69
func GetListApiRuntimeDefinitionV2ResponseTypeEnum() ListApiRuntimeDefinitionV2ResponseTypeEnum
type ListApiVersionDetailV2Request ¶ added in v0.0.65
type ListApiVersionDetailV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API版本的编号 VersionId string `json:"version_id"` }
Request Object
func (ListApiVersionDetailV2Request) String ¶ added in v0.0.65
func (o ListApiVersionDetailV2Request) String() string
type ListApiVersionDetailV2Response ¶ added in v0.0.65
type ListApiVersionDetailV2Response struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ListApiVersionDetailV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ListApiVersionDetailV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ListApiVersionDetailV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ListApiVersionDetailV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ListApiVersionDetailV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ListApiVersionDetailV2ResponseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ListApiVersionDetailV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 版本发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` // 系统默认分配的子域名 SlDomain *string `json:"sl_domain,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 版本编号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionDetailV2Response) String ¶ added in v0.0.65
func (o ListApiVersionDetailV2Response) String() string
type ListApiVersionDetailV2ResponseAuthType ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseAuthType) MarshalJSON ¶ added in v0.0.65
func (c ListApiVersionDetailV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseAuthType) Value() string
type ListApiVersionDetailV2ResponseAuthTypeEnum ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseAuthTypeEnum struct { NONE ListApiVersionDetailV2ResponseAuthType APP ListApiVersionDetailV2ResponseAuthType IAM ListApiVersionDetailV2ResponseAuthType AUTHORIZER ListApiVersionDetailV2ResponseAuthType }
func GetListApiVersionDetailV2ResponseAuthTypeEnum ¶ added in v0.0.65
func GetListApiVersionDetailV2ResponseAuthTypeEnum() ListApiVersionDetailV2ResponseAuthTypeEnum
type ListApiVersionDetailV2ResponseBackendType ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseBackendType) MarshalJSON ¶ added in v0.0.65
func (c ListApiVersionDetailV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseBackendType) Value() string
type ListApiVersionDetailV2ResponseBackendTypeEnum ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseBackendTypeEnum struct { HTTP ListApiVersionDetailV2ResponseBackendType FUNCTION ListApiVersionDetailV2ResponseBackendType MOCK ListApiVersionDetailV2ResponseBackendType }
func GetListApiVersionDetailV2ResponseBackendTypeEnum ¶ added in v0.0.65
func GetListApiVersionDetailV2ResponseBackendTypeEnum() ListApiVersionDetailV2ResponseBackendTypeEnum
type ListApiVersionDetailV2ResponseContentType ¶ added in v0.0.76
type ListApiVersionDetailV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseContentType) MarshalJSON ¶ added in v0.0.76
func (c ListApiVersionDetailV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ListApiVersionDetailV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseContentType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseContentType) Value() string
type ListApiVersionDetailV2ResponseContentTypeEnum ¶ added in v0.0.76
type ListApiVersionDetailV2ResponseContentTypeEnum struct { APPLICATION_JSON ListApiVersionDetailV2ResponseContentType APPLICATION_XML ListApiVersionDetailV2ResponseContentType MULTIPART_FORM_DATE ListApiVersionDetailV2ResponseContentType TEXT_PLAIN ListApiVersionDetailV2ResponseContentType }
func GetListApiVersionDetailV2ResponseContentTypeEnum ¶ added in v0.0.76
func GetListApiVersionDetailV2ResponseContentTypeEnum() ListApiVersionDetailV2ResponseContentTypeEnum
type ListApiVersionDetailV2ResponseMatchMode ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseMatchMode) MarshalJSON ¶ added in v0.0.65
func (c ListApiVersionDetailV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseMatchMode) Value() string
type ListApiVersionDetailV2ResponseMatchModeEnum ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseMatchModeEnum struct { SWA ListApiVersionDetailV2ResponseMatchMode NORMAL ListApiVersionDetailV2ResponseMatchMode }
func GetListApiVersionDetailV2ResponseMatchModeEnum ¶ added in v0.0.65
func GetListApiVersionDetailV2ResponseMatchModeEnum() ListApiVersionDetailV2ResponseMatchModeEnum
type ListApiVersionDetailV2ResponseReqMethod ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseReqMethod) MarshalJSON ¶ added in v0.0.65
func (c ListApiVersionDetailV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseReqMethod) Value() string
type ListApiVersionDetailV2ResponseReqMethodEnum ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseReqMethodEnum struct { GET ListApiVersionDetailV2ResponseReqMethod POST ListApiVersionDetailV2ResponseReqMethod PUT ListApiVersionDetailV2ResponseReqMethod DELETE ListApiVersionDetailV2ResponseReqMethod HEAD ListApiVersionDetailV2ResponseReqMethod PATCH ListApiVersionDetailV2ResponseReqMethod OPTIONS ListApiVersionDetailV2ResponseReqMethod ANY ListApiVersionDetailV2ResponseReqMethod }
func GetListApiVersionDetailV2ResponseReqMethodEnum ¶ added in v0.0.65
func GetListApiVersionDetailV2ResponseReqMethodEnum() ListApiVersionDetailV2ResponseReqMethodEnum
type ListApiVersionDetailV2ResponseReqProtocol ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON ¶ added in v0.0.65
func (c ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseReqProtocol) Value() string
type ListApiVersionDetailV2ResponseReqProtocolEnum ¶ added in v0.0.65
type ListApiVersionDetailV2ResponseReqProtocolEnum struct { HTTP ListApiVersionDetailV2ResponseReqProtocol HTTPS ListApiVersionDetailV2ResponseReqProtocol BOTH ListApiVersionDetailV2ResponseReqProtocol }
func GetListApiVersionDetailV2ResponseReqProtocolEnum ¶ added in v0.0.65
func GetListApiVersionDetailV2ResponseReqProtocolEnum() ListApiVersionDetailV2ResponseReqProtocolEnum
type ListApiVersionDetailV2ResponseType ¶ added in v0.0.69
type ListApiVersionDetailV2ResponseType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseType) MarshalJSON ¶ added in v0.0.69
func (c ListApiVersionDetailV2ResponseType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseType) UnmarshalJSON ¶ added in v0.0.69
func (c *ListApiVersionDetailV2ResponseType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseType) Value() int32
type ListApiVersionDetailV2ResponseTypeEnum ¶ added in v0.0.69
type ListApiVersionDetailV2ResponseTypeEnum struct { E_1 ListApiVersionDetailV2ResponseType E_2 ListApiVersionDetailV2ResponseType }
func GetListApiVersionDetailV2ResponseTypeEnum ¶ added in v0.0.69
func GetListApiVersionDetailV2ResponseTypeEnum() ListApiVersionDetailV2ResponseTypeEnum
type ListApiVersionsV2Request ¶ added in v0.0.65
type ListApiVersionsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 环境的编号 EnvId *string `json:"env_id,omitempty"` // 环境的名称 EnvName *string `json:"env_name,omitempty"` }
Request Object
func (ListApiVersionsV2Request) String ¶ added in v0.0.65
func (o ListApiVersionsV2Request) String() string
type ListApiVersionsV2Response ¶ added in v0.0.65
type ListApiVersionsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API历史版本列表 ApiVersions *[]ApiVersionResp `json:"api_versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsV2Response) String ¶ added in v0.0.65
func (o ListApiVersionsV2Response) String() string
type ListApisBindedToAclPolicyV2Request ¶ added in v0.0.65
type ListApisBindedToAclPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // ACL编号 AclId string `json:"acl_id"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisBindedToAclPolicyV2Request) String ¶ added in v0.0.65
func (o ListApisBindedToAclPolicyV2Request) String() string
type ListApisBindedToAclPolicyV2Response ¶ added in v0.0.65
type ListApisBindedToAclPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]AclBindApiInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToAclPolicyV2Response) String ¶ added in v0.0.65
func (o ListApisBindedToAclPolicyV2Response) String() string
type ListApisBindedToAppV2Request ¶
type ListApisBindedToAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 应用编号 AppId string `json:"app_id"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API分组名称 GroupName *string `json:"group_name,omitempty"` // 授权的环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListApisBindedToAppV2Request) String ¶
func (o ListApisBindedToAppV2Request) String() string
type ListApisBindedToAppV2Response ¶
type ListApisBindedToAppV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Auths *[]ApiAuthInfo `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToAppV2Response) String ¶
func (o ListApisBindedToAppV2Response) String() string
type ListApisBindedToRequestThrottlingPolicyV2Request ¶
type ListApisBindedToRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 ThrottleId string `json:"throttle_id"` // 环境的ID EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisBindedToRequestThrottlingPolicyV2Request) String ¶
func (o ListApisBindedToRequestThrottlingPolicyV2Request) String() string
type ListApisBindedToRequestThrottlingPolicyV2Response ¶
type ListApisBindedToRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForThrottle `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToRequestThrottlingPolicyV2Response) String ¶
func (o ListApisBindedToRequestThrottlingPolicyV2Response) String() string
type ListApisBindedToSignatureKeyV2Request ¶
type ListApisBindedToSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 SignId string `json:"sign_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisBindedToSignatureKeyV2Request) String ¶
func (o ListApisBindedToSignatureKeyV2Request) String() string
type ListApisBindedToSignatureKeyV2Response ¶
type ListApisBindedToSignatureKeyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的签名密钥和API绑定关系列表 Bindings *[]SignApiBindingBase `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToSignatureKeyV2Response) String ¶
func (o ListApisBindedToSignatureKeyV2Response) String() string
type ListApisNotBoundWithSignatureKeyV2Request ¶
type ListApisNotBoundWithSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 SignId string `json:"sign_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisNotBoundWithSignatureKeyV2Request) String ¶
func (o ListApisNotBoundWithSignatureKeyV2Request) String() string
type ListApisNotBoundWithSignatureKeyV2Response ¶
type ListApisNotBoundWithSignatureKeyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForSign `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisNotBoundWithSignatureKeyV2Response) String ¶
func (o ListApisNotBoundWithSignatureKeyV2Response) String() string
type ListApisUnbindedToAclPolicyV2Request ¶ added in v0.0.65
type ListApisUnbindedToAclPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // ACL策略编号 AclId string `json:"acl_id"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisUnbindedToAclPolicyV2Request) String ¶ added in v0.0.65
func (o ListApisUnbindedToAclPolicyV2Request) String() string
type ListApisUnbindedToAclPolicyV2Response ¶ added in v0.0.65
type ListApisUnbindedToAclPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]UnbindApiForAcl `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToAclPolicyV2Response) String ¶ added in v0.0.65
func (o ListApisUnbindedToAclPolicyV2Response) String() string
type ListApisUnbindedToAppV2Request ¶
type ListApisUnbindedToAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 应用id AppId string `json:"app_id"` // 环境id EnvId string `json:"env_id"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisUnbindedToAppV2Request) String ¶
func (o ListApisUnbindedToAppV2Request) String() string
type ListApisUnbindedToAppV2Response ¶
type ListApisUnbindedToAppV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Apis *[]ApiOutline `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToAppV2Response) String ¶
func (o ListApisUnbindedToAppV2Response) String() string
type ListApisUnbindedToRequestThrottlingPolicyV2Request ¶
type ListApisUnbindedToRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 ThrottleId string `json:"throttle_id"` // 环境的ID EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisUnbindedToRequestThrottlingPolicyV2Request) String ¶
func (o ListApisUnbindedToRequestThrottlingPolicyV2Request) String() string
type ListApisUnbindedToRequestThrottlingPolicyV2Response ¶
type ListApisUnbindedToRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForThrottle `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String ¶
func (o ListApisUnbindedToRequestThrottlingPolicyV2Response) String() string
type ListApisV2Request ¶
type ListApisV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 请求协议 ReqProtocol *string `json:"req_protocol,omitempty"` // 请求方法 ReqMethod *string `json:"req_method,omitempty"` // 请求路径 ReqUri *string `json:"req_uri,omitempty"` // 授权类型 AuthType *string `json:"auth_type,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name、req_uri PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListApisV2Request) String ¶
func (o ListApisV2Request) String() string
type ListApisV2Response ¶
type ListApisV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的API列表 Apis *[]ApiInfoPerPage `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisV2Response) String ¶
func (o ListApisV2Response) String() string
type ListAppCodesV2Request ¶ added in v0.0.65
type ListAppCodesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListAppCodesV2Request) String ¶ added in v0.0.65
func (o ListAppCodesV2Request) String() string
type ListAppCodesV2Response ¶ added in v0.0.65
type ListAppCodesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // App Code列表 AppCodes *[]AppCodeBaseInfo `json:"app_codes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppCodesV2Response) String ¶ added in v0.0.65
func (o ListAppCodesV2Response) String() string
type ListAppQuantitiesV2Request ¶
type ListAppQuantitiesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (ListAppQuantitiesV2Request) String ¶
func (o ListAppQuantitiesV2Request) String() string
type ListAppQuantitiesV2Response ¶
type ListAppQuantitiesV2Response struct { // 已进行API访问授权的APP个数 AuthedNums *int32 `json:"authed_nums,omitempty"` // 未进行API访问授权的APP个数 UnauthedNums *int32 `json:"unauthed_nums,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppQuantitiesV2Response) String ¶
func (o ListAppQuantitiesV2Response) String() string
type ListAppsBindedToApiV2Request ¶
type ListAppsBindedToApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // APP名称 AppName *string `json:"app_name,omitempty"` // APP编号 AppId *string `json:"app_id,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListAppsBindedToApiV2Request) String ¶
func (o ListAppsBindedToApiV2Request) String() string
type ListAppsBindedToApiV2Response ¶
type ListAppsBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Auths *[]ApiAuthInfo `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppsBindedToApiV2Response) String ¶
func (o ListAppsBindedToApiV2Response) String() string
type ListAppsV2Request ¶
type ListAppsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // APP编号 Id *string `json:"id,omitempty"` // APP名称 Name *string `json:"name,omitempty"` // APP状态 Status *int32 `json:"status,omitempty"` // APP的KEY AppKey *string `json:"app_key,omitempty"` // APP的创建者。 - USER:用户自行创建 - MARKET:[云商店分配](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk) Creator *string `json:"creator,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListAppsV2Request) String ¶
func (o ListAppsV2Request) String() string
type ListAppsV2Response ¶
type ListAppsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // APP列表 Apps *[]AppInfoWithBindNum `json:"apps,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppsV2Response) String ¶
func (o ListAppsV2Response) String() string
type ListAttachedDomainsV2Request ¶ added in v0.1.7
type ListAttachedDomainsV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 独立域名 UrlDomain *string `json:"url_domain,omitempty"` }
Request Object
func (ListAttachedDomainsV2Request) String ¶ added in v0.1.7
func (o ListAttachedDomainsV2Request) String() string
type ListAttachedDomainsV2Response ¶ added in v0.1.7
type ListAttachedDomainsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 已绑定域名集合 BoundDomains *[]UrlDomainRefInfo `json:"bound_domains,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAttachedDomainsV2Response) String ¶ added in v0.1.7
func (o ListAttachedDomainsV2Response) String() string
type ListAvailableZonesV2Request ¶ added in v0.0.65
type ListAvailableZonesV2Request struct { }
Request Object
func (ListAvailableZonesV2Request) String ¶ added in v0.0.65
func (o ListAvailableZonesV2Request) String() string
type ListAvailableZonesV2Response ¶ added in v0.0.65
type ListAvailableZonesV2Response struct { // 可用区列表 AvailableZones *[]AvailableZone `json:"available_zones,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAvailableZonesV2Response) String ¶ added in v0.0.65
func (o ListAvailableZonesV2Response) String() string
type ListBackendInstancesV2Request ¶ added in v0.0.65
type ListBackendInstancesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 云服务器的名称 Name *string `json:"name,omitempty"` // 后端服务器组名称。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListBackendInstancesV2Request) String ¶ added in v0.0.65
func (o ListBackendInstancesV2Request) String() string
type ListBackendInstancesV2Response ¶ added in v0.0.65
type ListBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackendInstancesV2Response) String ¶ added in v0.0.65
func (o ListBackendInstancesV2Response) String() string
type ListCertificatesV2Request ¶ added in v0.1.7
type ListCertificatesV2Request struct { // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 证书名称 Name *string `json:"name,omitempty"` // 证书域名 CommonName *string `json:"common_name,omitempty"` // 证书签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // 证书可见范围 Type *ListCertificatesV2RequestType `json:"type,omitempty"` // 证书所属实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ListCertificatesV2Request) String ¶ added in v0.1.7
func (o ListCertificatesV2Request) String() string
type ListCertificatesV2RequestType ¶ added in v0.1.7
type ListCertificatesV2RequestType struct {
// contains filtered or unexported fields
}
func (ListCertificatesV2RequestType) MarshalJSON ¶ added in v0.1.7
func (c ListCertificatesV2RequestType) MarshalJSON() ([]byte, error)
func (*ListCertificatesV2RequestType) UnmarshalJSON ¶ added in v0.1.7
func (c *ListCertificatesV2RequestType) UnmarshalJSON(b []byte) error
func (ListCertificatesV2RequestType) Value ¶ added in v0.1.7
func (c ListCertificatesV2RequestType) Value() string
type ListCertificatesV2RequestTypeEnum ¶ added in v0.1.7
type ListCertificatesV2RequestTypeEnum struct { INSTANCE ListCertificatesV2RequestType GLOBAL ListCertificatesV2RequestType }
func GetListCertificatesV2RequestTypeEnum ¶ added in v0.1.7
func GetListCertificatesV2RequestTypeEnum() ListCertificatesV2RequestTypeEnum
type ListCertificatesV2Response ¶ added in v0.1.7
type ListCertificatesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 证书基本内容 Certs *[]CertBase `json:"certs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCertificatesV2Response) String ¶ added in v0.1.7
func (o ListCertificatesV2Response) String() string
type ListCustomAuthorizersV2Request ¶ added in v0.0.65
type ListCustomAuthorizersV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
Request Object
func (ListCustomAuthorizersV2Request) String ¶ added in v0.0.65
func (o ListCustomAuthorizersV2Request) String() string
type ListCustomAuthorizersV2Response ¶ added in v0.0.65
type ListCustomAuthorizersV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 自定义认证列表 AuthorizerList *[]AuthorizerResp `json:"authorizer_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCustomAuthorizersV2Response) String ¶ added in v0.0.65
func (o ListCustomAuthorizersV2Response) String() string
type ListEnvironmentVariablesV2Request ¶
type ListEnvironmentVariablesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API分组编号 GroupId string `json:"group_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // 变量名 VariableName *string `json:"variable_name,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListEnvironmentVariablesV2Request) String ¶
func (o ListEnvironmentVariablesV2Request) String() string
type ListEnvironmentVariablesV2Response ¶
type ListEnvironmentVariablesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的环境变量列表 Variables *[]EnvVariableInfo `json:"variables,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentVariablesV2Response) String ¶
func (o ListEnvironmentVariablesV2Response) String() string
type ListEnvironmentsV2Request ¶
type ListEnvironmentsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` }
Request Object
func (ListEnvironmentsV2Request) String ¶
func (o ListEnvironmentsV2Request) String() string
type ListEnvironmentsV2Response ¶
type ListEnvironmentsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的环境列表 Envs *[]EnvInfo `json:"envs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentsV2Response) String ¶
func (o ListEnvironmentsV2Response) String() string
type ListFeaturesV2Request ¶ added in v0.0.65
type ListFeaturesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListFeaturesV2Request) String ¶ added in v0.0.65
func (o ListFeaturesV2Request) String() string
type ListFeaturesV2Response ¶ added in v0.0.65
type ListFeaturesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 实例特性列表 Features *[]FeatureInfo `json:"features,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFeaturesV2Response) String ¶ added in v0.0.65
func (o ListFeaturesV2Response) String() string
type ListGatewayResponsesV2Request ¶ added in v0.0.65
type ListGatewayResponsesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListGatewayResponsesV2Request) String ¶ added in v0.0.65
func (o ListGatewayResponsesV2Request) String() string
type ListGatewayResponsesV2Response ¶ added in v0.0.65
type ListGatewayResponsesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 响应列表 Responses *[]ResponsesInfo `json:"responses,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListGatewayResponsesV2Response) String ¶ added in v0.0.65
func (o ListGatewayResponsesV2Response) String() string
type ListInstanceConfigsV2Request ¶ added in v0.0.76
type ListInstanceConfigsV2Request struct { // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListInstanceConfigsV2Request) String ¶ added in v0.0.76
func (o ListInstanceConfigsV2Request) String() string
type ListInstanceConfigsV2Response ¶ added in v0.0.76
type ListInstanceConfigsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 配额列表 Configs *[]InstanceConfig `json:"configs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstanceConfigsV2Response) String ¶ added in v0.0.76
func (o ListInstanceConfigsV2Response) String() string
type ListInstancesV2Request ¶ added in v0.0.65
type ListInstancesV2Request struct { // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *ListInstancesV2RequestStatus `json:"status,omitempty"` }
Request Object
func (ListInstancesV2Request) String ¶ added in v0.0.65
func (o ListInstancesV2Request) String() string
type ListInstancesV2RequestStatus ¶ added in v0.0.65
type ListInstancesV2RequestStatus struct {
// contains filtered or unexported fields
}
func (ListInstancesV2RequestStatus) MarshalJSON ¶ added in v0.0.65
func (c ListInstancesV2RequestStatus) MarshalJSON() ([]byte, error)
func (*ListInstancesV2RequestStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *ListInstancesV2RequestStatus) UnmarshalJSON(b []byte) error
func (ListInstancesV2RequestStatus) Value ¶ added in v0.0.90
func (c ListInstancesV2RequestStatus) Value() string
type ListInstancesV2RequestStatusEnum ¶ added in v0.0.65
type ListInstancesV2RequestStatusEnum struct { CREATING ListInstancesV2RequestStatus CREATE_SUCCESS ListInstancesV2RequestStatus CREATE_FAIL ListInstancesV2RequestStatus INITING ListInstancesV2RequestStatus REGISTERING ListInstancesV2RequestStatus RUNNING ListInstancesV2RequestStatus INITING_FAILED ListInstancesV2RequestStatus REGISTER_FAILED ListInstancesV2RequestStatus INSTALLING ListInstancesV2RequestStatus INSTALL_FAILED ListInstancesV2RequestStatus UPDATING ListInstancesV2RequestStatus UPDATE_FAILED ListInstancesV2RequestStatus ROLLBACKING ListInstancesV2RequestStatus ROLLBACK_SUCCESS ListInstancesV2RequestStatus ROLLBACK_FAILED ListInstancesV2RequestStatus DELETING ListInstancesV2RequestStatus DELETE_FAILED ListInstancesV2RequestStatus UNREGISTERING ListInstancesV2RequestStatus UN_REGISTER_FAILED ListInstancesV2RequestStatus CREATE_TIMEOUT ListInstancesV2RequestStatus INIT_TIMEOUT ListInstancesV2RequestStatus REGISTER_TIMEOUT ListInstancesV2RequestStatus INSTALL_TIMEOUT ListInstancesV2RequestStatus UPDATE_TIMEOUT ListInstancesV2RequestStatus ROLLBACK_TIMEOUT ListInstancesV2RequestStatus DELETE_TIMEOUT ListInstancesV2RequestStatus UNREGISTER_TIMEOUT ListInstancesV2RequestStatus STARTING ListInstancesV2RequestStatus FREEZING ListInstancesV2RequestStatus FROZEN ListInstancesV2RequestStatus RESTARTING ListInstancesV2RequestStatus RESTART_FAIL ListInstancesV2RequestStatus UNHEALTHY ListInstancesV2RequestStatus RESTART_TIMEOUT ListInstancesV2RequestStatus }
func GetListInstancesV2RequestStatusEnum ¶ added in v0.0.65
func GetListInstancesV2RequestStatusEnum() ListInstancesV2RequestStatusEnum
type ListInstancesV2Response ¶ added in v0.0.65
type ListInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 实例列表 Instances *[]RespInstanceBase `json:"instances,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesV2Response) String ¶ added in v0.0.65
func (o ListInstancesV2Response) String() string
type ListLatelyApiStatisticsV2Request ¶ added in v0.0.65
type ListLatelyApiStatisticsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // 最近统计时长,单位必须为h和m,比如1h和1m,分别代表最近1小时和最近1分钟 Duration string `json:"duration"` }
Request Object
func (ListLatelyApiStatisticsV2Request) String ¶ added in v0.0.65
func (o ListLatelyApiStatisticsV2Request) String() string
type ListLatelyApiStatisticsV2Response ¶ added in v0.0.65
type ListLatelyApiStatisticsV2Response struct { // 响应码 Code *string `json:"code,omitempty"` // 返回消息 Msg *string `json:"msg,omitempty"` // 开始时间的UTC的时间戳 StartTime *int64 `json:"start_time,omitempty"` // 截止时间的UTC的时间戳 EndTime *int64 `json:"end_time,omitempty"` // 统计指标的数据结构结构体 List *[]StatisticsApi `json:"list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLatelyApiStatisticsV2Response) String ¶ added in v0.0.65
func (o ListLatelyApiStatisticsV2Response) String() string
type ListLatelyGroupStatisticsV2Request ¶ added in v0.0.65
type ListLatelyGroupStatisticsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API分组的编号 GroupId string `json:"group_id"` }
Request Object
func (ListLatelyGroupStatisticsV2Request) String ¶ added in v0.0.65
func (o ListLatelyGroupStatisticsV2Request) String() string
type ListLatelyGroupStatisticsV2Response ¶ added in v0.0.65
type ListLatelyGroupStatisticsV2Response struct { // 响应码 Code *string `json:"code,omitempty"` // 返回消息 Msg *string `json:"msg,omitempty"` // 开始时间的UTC的时间戳 StartTime *int64 `json:"start_time,omitempty"` // 截止时间的UTC的时间戳 EndTime *int64 `json:"end_time,omitempty"` // 统计指标的数据结构结构体 List *[]StatisticsGroup `json:"list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLatelyGroupStatisticsV2Response) String ¶ added in v0.0.65
func (o ListLatelyGroupStatisticsV2Response) String() string
type ListMemberGroupsRequest ¶ added in v0.1.7
type ListMemberGroupsRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 字典编码。 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端云服务组的名称 MemberGroupName *string `json:"member_group_name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 当前支持member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListMemberGroupsRequest) String ¶ added in v0.1.7
func (o ListMemberGroupsRequest) String() string
type ListMemberGroupsResponse ¶ added in v0.1.7
type ListMemberGroupsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMemberGroupsResponse) String ¶ added in v0.1.7
func (o ListMemberGroupsResponse) String() string
type ListMetricDataRequest ¶ added in v0.1.7
type ListMetricDataRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 指标维度 - inbound_eip:入口公网带宽,仅ELB类型实例支持 - outbound_eip:出口公网带宽 Dim ListMetricDataRequestDim `json:"dim"` // 指标名称 - upstream_bandwidth:出网带宽 - downstream_bandwidth:入网带宽 - upstream_bandwidth_usage:出网带宽使用率 - downstream_bandwidth_usage:入网带宽使用率 - up_stream:出网流量 - down_stream:入网流量 MetricName ListMetricDataRequestMetricName `json:"metric_name"` // 查询数据起始时间,UNIX时间戳,单位毫秒。 From string `json:"from"` // 查询数据截止时间UNIX时间戳,单位毫秒。from必须小于to。 To string `json:"to"` // 监控数据粒度。 - 1:实时数据 - 300:5分钟粒度 - 1200:20分钟粒度 - 3600:1小时粒度 - 14400:4小时粒度 - 86400:1天粒度 Period ListMetricDataRequestPeriod `json:"period"` // 数据聚合方式。 - average:聚合周期内指标数据的平均值。 - max:聚合周期内指标数据的最大值。 - min:聚合周期内指标数据的最小值。 - sum:聚合周期内指标数据的求和值。 - variance:聚合周期内指标数据的方差。 Filter ListMetricDataRequestFilter `json:"filter"` }
Request Object
func (ListMetricDataRequest) String ¶ added in v0.1.7
func (o ListMetricDataRequest) String() string
type ListMetricDataRequestDim ¶ added in v0.1.7
type ListMetricDataRequestDim struct {
// contains filtered or unexported fields
}
func (ListMetricDataRequestDim) MarshalJSON ¶ added in v0.1.7
func (c ListMetricDataRequestDim) MarshalJSON() ([]byte, error)
func (*ListMetricDataRequestDim) UnmarshalJSON ¶ added in v0.1.7
func (c *ListMetricDataRequestDim) UnmarshalJSON(b []byte) error
func (ListMetricDataRequestDim) Value ¶ added in v0.1.7
func (c ListMetricDataRequestDim) Value() string
type ListMetricDataRequestDimEnum ¶ added in v0.1.7
type ListMetricDataRequestDimEnum struct { INBOUND ListMetricDataRequestDim OUTBOUND ListMetricDataRequestDim }
func GetListMetricDataRequestDimEnum ¶ added in v0.1.7
func GetListMetricDataRequestDimEnum() ListMetricDataRequestDimEnum
type ListMetricDataRequestFilter ¶ added in v0.1.7
type ListMetricDataRequestFilter struct {
// contains filtered or unexported fields
}
func (ListMetricDataRequestFilter) MarshalJSON ¶ added in v0.1.7
func (c ListMetricDataRequestFilter) MarshalJSON() ([]byte, error)
func (*ListMetricDataRequestFilter) UnmarshalJSON ¶ added in v0.1.7
func (c *ListMetricDataRequestFilter) UnmarshalJSON(b []byte) error
func (ListMetricDataRequestFilter) Value ¶ added in v0.1.7
func (c ListMetricDataRequestFilter) Value() string
type ListMetricDataRequestFilterEnum ¶ added in v0.1.7
type ListMetricDataRequestFilterEnum struct { AVERAGE ListMetricDataRequestFilter MAX ListMetricDataRequestFilter MIN ListMetricDataRequestFilter SUM ListMetricDataRequestFilter VARIANCE ListMetricDataRequestFilter }
func GetListMetricDataRequestFilterEnum ¶ added in v0.1.7
func GetListMetricDataRequestFilterEnum() ListMetricDataRequestFilterEnum
type ListMetricDataRequestMetricName ¶ added in v0.1.7
type ListMetricDataRequestMetricName struct {
// contains filtered or unexported fields
}
func (ListMetricDataRequestMetricName) MarshalJSON ¶ added in v0.1.7
func (c ListMetricDataRequestMetricName) MarshalJSON() ([]byte, error)
func (*ListMetricDataRequestMetricName) UnmarshalJSON ¶ added in v0.1.7
func (c *ListMetricDataRequestMetricName) UnmarshalJSON(b []byte) error
func (ListMetricDataRequestMetricName) Value ¶ added in v0.1.7
func (c ListMetricDataRequestMetricName) Value() string
type ListMetricDataRequestMetricNameEnum ¶ added in v0.1.7
type ListMetricDataRequestMetricNameEnum struct { UPSTREAM_BANDWIDTH ListMetricDataRequestMetricName DOWNSTREAM_BANDWIDTH ListMetricDataRequestMetricName UPSTREAM_BANDWIDTH_USAGE ListMetricDataRequestMetricName DOWNSTREAM_BANDWIDTH_USAGE ListMetricDataRequestMetricName UP_STREAM ListMetricDataRequestMetricName DOWN_STREAM ListMetricDataRequestMetricName }
func GetListMetricDataRequestMetricNameEnum ¶ added in v0.1.7
func GetListMetricDataRequestMetricNameEnum() ListMetricDataRequestMetricNameEnum
type ListMetricDataRequestPeriod ¶ added in v0.1.7
type ListMetricDataRequestPeriod struct {
// contains filtered or unexported fields
}
func (ListMetricDataRequestPeriod) MarshalJSON ¶ added in v0.1.7
func (c ListMetricDataRequestPeriod) MarshalJSON() ([]byte, error)
func (*ListMetricDataRequestPeriod) UnmarshalJSON ¶ added in v0.1.7
func (c *ListMetricDataRequestPeriod) UnmarshalJSON(b []byte) error
func (ListMetricDataRequestPeriod) Value ¶ added in v0.1.7
func (c ListMetricDataRequestPeriod) Value() int32
type ListMetricDataRequestPeriodEnum ¶ added in v0.1.7
type ListMetricDataRequestPeriodEnum struct { E_1 ListMetricDataRequestPeriod E_300 ListMetricDataRequestPeriod E_1200 ListMetricDataRequestPeriod E_3600 ListMetricDataRequestPeriod E_14400 ListMetricDataRequestPeriod E_86400 ListMetricDataRequestPeriod }
func GetListMetricDataRequestPeriodEnum ¶ added in v0.1.7
func GetListMetricDataRequestPeriodEnum() ListMetricDataRequestPeriodEnum
type ListMetricDataResponse ¶ added in v0.1.7
type ListMetricDataResponse struct { // 指标数据列表 Datapoints *[]MetricData `json:"datapoints,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMetricDataResponse) String ¶ added in v0.1.7
func (o ListMetricDataResponse) String() string
type ListPluginAttachableApisRequest ¶ added in v0.1.11
type ListPluginAttachableApisRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 插件编号 PluginId string `json:"plugin_id"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 分组编号 GroupId *string `json:"group_id,omitempty"` // 请求方法 ReqMethod *string `json:"req_method,omitempty"` // 请求路径 ReqUri *string `json:"req_uri,omitempty"` }
Request Object
func (ListPluginAttachableApisRequest) String ¶ added in v0.1.11
func (o ListPluginAttachableApisRequest) String() string
type ListPluginAttachableApisResponse ¶ added in v0.1.11
type ListPluginAttachableApisResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 绑定插件的API列表。 Apis *[]PluginApiInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPluginAttachableApisResponse) String ¶ added in v0.1.11
func (o ListPluginAttachableApisResponse) String() string
type ListPluginAttachedApisRequest ¶ added in v0.1.11
type ListPluginAttachedApisRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 插件编号 PluginId string `json:"plugin_id"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 分组编号 GroupId *string `json:"group_id,omitempty"` // 请求方法 ReqMethod *string `json:"req_method,omitempty"` // 请求路径 ReqUri *string `json:"req_uri,omitempty"` }
Request Object
func (ListPluginAttachedApisRequest) String ¶ added in v0.1.11
func (o ListPluginAttachedApisRequest) String() string
type ListPluginAttachedApisResponse ¶ added in v0.1.11
type ListPluginAttachedApisResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 绑定插件的API列表。 Apis *[]PluginApiInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPluginAttachedApisResponse) String ¶ added in v0.1.11
func (o ListPluginAttachedApisResponse) String() string
type ListPluginsRequest ¶ added in v0.1.11
type ListPluginsRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 插件类型 PluginType *string `json:"plugin_type,omitempty"` // 插件可见范围 PluginScope *string `json:"plugin_scope,omitempty"` // 插件编码 PluginId *string `json:"plugin_id,omitempty"` // 插件名称,支持模糊查询 PluginName *string `json:"plugin_name,omitempty"` // 指定需要精确匹配查找的参数名称,目前支持插件名称 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListPluginsRequest) String ¶ added in v0.1.11
func (o ListPluginsRequest) String() string
type ListPluginsResponse ¶ added in v0.1.11
type ListPluginsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 插件列表。 Plugins *[]PluginInfo `json:"plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPluginsResponse) String ¶ added in v0.1.11
func (o ListPluginsResponse) String() string
type ListProjectCofigsV2Request ¶ added in v0.0.65
type ListProjectCofigsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListProjectCofigsV2Request) String ¶ added in v0.0.65
func (o ListProjectCofigsV2Request) String() string
type ListProjectCofigsV2Response ¶ added in v0.0.65
type ListProjectCofigsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 配额列表 Configs *[]Config `json:"configs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectCofigsV2Response) String ¶ added in v0.0.65
func (o ListProjectCofigsV2Response) String() string
type ListRequestThrottlingPoliciesBindedToApiV2Request ¶
type ListRequestThrottlingPoliciesBindedToApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 流控策略的编号 ThrottleId *string `json:"throttle_id,omitempty"` // 流控策略的名称 ThrottleName *string `json:"throttle_name,omitempty"` // 绑定的环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListRequestThrottlingPoliciesBindedToApiV2Request) String ¶
func (o ListRequestThrottlingPoliciesBindedToApiV2Request) String() string
type ListRequestThrottlingPoliciesBindedToApiV2Response ¶
type ListRequestThrottlingPoliciesBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的流控策略列表 Throttles *[]ThrottleForApi `json:"throttles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRequestThrottlingPoliciesBindedToApiV2Response) String ¶
func (o ListRequestThrottlingPoliciesBindedToApiV2Response) String() string
type ListRequestThrottlingPolicyV2Request ¶
type ListRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 Id *string `json:"id,omitempty"` // 流控策略名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListRequestThrottlingPolicyV2Request) String ¶
func (o ListRequestThrottlingPolicyV2Request) String() string
type ListRequestThrottlingPolicyV2Response ¶
type ListRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的流控策略列表 Throttles *[]ThrottlesInfo `json:"throttles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRequestThrottlingPolicyV2Response) String ¶
func (o ListRequestThrottlingPolicyV2Response) String() string
type ListSignatureKeysBindedToApiV2Request ¶
type ListSignatureKeysBindedToApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // API的编号 ApiId string `json:"api_id"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称 SignName *string `json:"sign_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListSignatureKeysBindedToApiV2Request) String ¶
func (o ListSignatureKeysBindedToApiV2Request) String() string
type ListSignatureKeysBindedToApiV2Response ¶
type ListSignatureKeysBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSignatureKeysBindedToApiV2Response) String ¶
func (o ListSignatureKeysBindedToApiV2Response) String() string
type ListSignatureKeysV2Request ¶
type ListSignatureKeysV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 Id *string `json:"id,omitempty"` // 签名密钥名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,目前仅支持name PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListSignatureKeysV2Request) String ¶
func (o ListSignatureKeysV2Request) String() string
type ListSignatureKeysV2Response ¶
type ListSignatureKeysV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的签名密钥列表 Signs *[]SignatureWithBindNum `json:"signs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSignatureKeysV2Response) String ¶
func (o ListSignatureKeysV2Response) String() string
type ListSpecialThrottlingConfigurationsV2Request ¶
type ListSpecialThrottlingConfigurationsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // 特殊流控类型:APP,USER ObjectType *string `json:"object_type,omitempty"` // 筛选的特殊应用名称 AppName *string `json:"app_name,omitempty"` // 筛选的特殊用户名称 User *string `json:"user,omitempty"` }
Request Object
func (ListSpecialThrottlingConfigurationsV2Request) String ¶
func (o ListSpecialThrottlingConfigurationsV2Request) String() string
type ListSpecialThrottlingConfigurationsV2Response ¶
type ListSpecialThrottlingConfigurationsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的特殊配置列表 ThrottleSpecials *[]ThrottleSpecialInfo `json:"throttle_specials,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSpecialThrottlingConfigurationsV2Response) String ¶
func (o ListSpecialThrottlingConfigurationsV2Response) String() string
type ListTagsV2Request ¶ added in v0.0.65
type ListTagsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListTagsV2Request) String ¶ added in v0.0.65
func (o ListTagsV2Request) String() string
type ListTagsV2Response ¶ added in v0.0.65
type ListTagsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 标签列表 Tags *[]string `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTagsV2Response) String ¶ added in v0.0.65
func (o ListTagsV2Response) String() string
type ListVpcChannelsV2Request ¶ added in v0.0.65
type ListVpcChannelsV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 Limit *int32 `json:"limit,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的名称 Name *string `json:"name,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` // 后端服务地址。默认精确查询,不支持模糊查询。 MemberHost *string `json:"member_host,omitempty"` // 后端服务器端口 MemberPort *int32 `json:"member_port,omitempty"` // 后端服务器组名称 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` }
Request Object
func (ListVpcChannelsV2Request) String ¶ added in v0.0.65
func (o ListVpcChannelsV2Request) String() string
type ListVpcChannelsV2Response ¶ added in v0.0.65
type ListVpcChannelsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的VPC通道列表 VpcChannels *[]VpcChannelInfo `json:"vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVpcChannelsV2Response) String ¶ added in v0.0.65
func (o ListVpcChannelsV2Response) String() string
type LocalName ¶ added in v0.0.65
type LocalName struct { // 可用区英文名称。 EnUs *string `json:"en_us,omitempty"` // 可用区中文名称。 ZhCn *string `json:"zh_cn,omitempty"` }
可用区中英文名称。
type MemberBase ¶ added in v0.0.65
type MemberBase struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *MemberBaseStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` }
func (MemberBase) String ¶ added in v0.0.65
func (o MemberBase) String() string
type MemberBaseStatus ¶ added in v0.0.69
type MemberBaseStatus struct {
// contains filtered or unexported fields
}
func (MemberBaseStatus) MarshalJSON ¶ added in v0.0.69
func (c MemberBaseStatus) MarshalJSON() ([]byte, error)
func (*MemberBaseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *MemberBaseStatus) UnmarshalJSON(b []byte) error
func (MemberBaseStatus) Value ¶ added in v0.0.90
func (c MemberBaseStatus) Value() int32
type MemberBaseStatusEnum ¶ added in v0.0.69
type MemberBaseStatusEnum struct { E_1 MemberBaseStatus E_2 MemberBaseStatus }
func GetMemberBaseStatusEnum ¶ added in v0.0.69
func GetMemberBaseStatusEnum() MemberBaseStatusEnum
type MemberGroupCreate ¶ added in v0.0.69
type MemberGroupCreate struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。 MicroserviceVersion *string `json:"microservice_version,omitempty"` // VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。 MicroservicePort *int32 `json:"microservice_port,omitempty"` // VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。 MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"` }
func (MemberGroupCreate) String ¶ added in v0.0.69
func (o MemberGroupCreate) String() string
type MemberGroupCreateBatch ¶ added in v0.1.7
type MemberGroupCreateBatch struct { // 后端服务器组列表 MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"` }
func (MemberGroupCreateBatch) String ¶ added in v0.1.7
func (o MemberGroupCreateBatch) String() string
type MemberGroupInfo ¶ added in v0.0.69
type MemberGroupInfo struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。 MicroserviceVersion *string `json:"microservice_version,omitempty"` // VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。 MicroservicePort *int32 `json:"microservice_port,omitempty"` // VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。 MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (MemberGroupInfo) String ¶ added in v0.0.69
func (o MemberGroupInfo) String() string
type MemberInfo ¶ added in v0.0.65
type MemberInfo struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *MemberInfoStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` // 后端云服务器的编号。 后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。 EcsId *string `json:"ecs_id,omitempty"` // 后端云服务器的名称。 后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。 EcsName *string `json:"ecs_name,omitempty"` }
func (MemberInfo) String ¶ added in v0.0.65
func (o MemberInfo) String() string
type MemberInfoStatus ¶ added in v0.0.69
type MemberInfoStatus struct {
// contains filtered or unexported fields
}
func (MemberInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c MemberInfoStatus) MarshalJSON() ([]byte, error)
func (*MemberInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *MemberInfoStatus) UnmarshalJSON(b []byte) error
func (MemberInfoStatus) Value ¶ added in v0.0.90
func (c MemberInfoStatus) Value() int32
type MemberInfoStatusEnum ¶ added in v0.0.69
type MemberInfoStatusEnum struct { E_1 MemberInfoStatus E_2 MemberInfoStatus }
func GetMemberInfoStatusEnum ¶ added in v0.0.69
func GetMemberInfoStatusEnum() MemberInfoStatusEnum
type MembersBatchEnableOrDisable ¶ added in v0.1.7
type MembersBatchEnableOrDisable struct { // 后端服务器编号列表。 MemberIds *[]string `json:"member_ids,omitempty"` }
func (MembersBatchEnableOrDisable) String ¶ added in v0.1.7
func (o MembersBatchEnableOrDisable) String() string
type MetricData ¶ added in v0.1.7
type MetricData struct { // 聚合周期内指标数据的平均值,仅当请求参数filter字段值为average时支持。 Average *int32 `json:"average,omitempty"` // 聚合周期内指标数据的最大值,仅当请求参数filter字段值为max时支持。 Max *int32 `json:"max,omitempty"` // 聚合周期内指标数据的最小值,仅当请求参数filter字段值为min时支持。 Min *int32 `json:"min,omitempty"` // 聚合周期内指标数据的求和值,仅当请求参数filter字段值为sum时支持。 Sum *int32 `json:"sum,omitempty"` // 聚合周期内指标数据的方差,仅当请求参数filter字段值为variance时支持。 Variance *int32 `json:"variance,omitempty"` // 指标采集时间,UNIX时间戳,单位毫秒。 Timestamp *int32 `json:"timestamp,omitempty"` // 指标单位。 Unit *string `json:"unit,omitempty"` }
func (MetricData) String ¶ added in v0.1.7
func (o MetricData) String() string
type MicroServiceCreate ¶ added in v0.1.7
type MicroServiceCreate struct { // 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎 ServiceType *MicroServiceCreateServiceType `json:"service_type,omitempty"` CseInfo *MicroServiceInfoCseBase `json:"cse_info,omitempty"` CceInfo *MicroServiceInfoCceBase `json:"cce_info,omitempty"` }
func (MicroServiceCreate) String ¶ added in v0.1.7
func (o MicroServiceCreate) String() string
type MicroServiceCreateServiceType ¶ added in v0.1.7
type MicroServiceCreateServiceType struct {
// contains filtered or unexported fields
}
func (MicroServiceCreateServiceType) MarshalJSON ¶ added in v0.1.7
func (c MicroServiceCreateServiceType) MarshalJSON() ([]byte, error)
func (*MicroServiceCreateServiceType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroServiceCreateServiceType) UnmarshalJSON(b []byte) error
func (MicroServiceCreateServiceType) Value ¶ added in v0.1.7
func (c MicroServiceCreateServiceType) Value() string
type MicroServiceCreateServiceTypeEnum ¶ added in v0.1.7
type MicroServiceCreateServiceTypeEnum struct { CSE MicroServiceCreateServiceType CCE MicroServiceCreateServiceType }
func GetMicroServiceCreateServiceTypeEnum ¶ added in v0.1.7
func GetMicroServiceCreateServiceTypeEnum() MicroServiceCreateServiceTypeEnum
type MicroServiceInfo ¶ added in v0.1.7
type MicroServiceInfo struct { // 微服务编号 Id *string `json:"id,omitempty"` // 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎 ServiceType *MicroServiceInfoServiceType `json:"service_type,omitempty"` CseInfo *MicroServiceInfoCse `json:"cse_info,omitempty"` CceInfo *MicroServiceInfoCce `json:"cce_info,omitempty"` // 微服务更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 微服务创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
微服务的响应对象
func (MicroServiceInfo) String ¶ added in v0.1.7
func (o MicroServiceInfo) String() string
type MicroServiceInfoCce ¶ added in v0.1.7
type MicroServiceInfoCce struct { // 云容器引擎集群编号 ClusterId string `json:"cluster_id"` // 命名空间 Namespace string `json:"namespace"` // 工作负载类型 - deployment:无状态负载 - statefulset:有状态负载 - daemonset:守护进程集 WorkloadType MicroServiceInfoCceWorkloadType `json:"workload_type"` // APP名称 AppName string `json:"app_name"` // 云容器引擎集群名称 ClusterName *string `json:"cluster_name,omitempty"` }
CCE微服务详细信息
func (MicroServiceInfoCce) String ¶ added in v0.1.7
func (o MicroServiceInfoCce) String() string
type MicroServiceInfoCceBase ¶ added in v0.1.7
type MicroServiceInfoCceBase struct { // 云容器引擎集群编号 ClusterId string `json:"cluster_id"` // 命名空间 Namespace string `json:"namespace"` // 工作负载类型 - deployment:无状态负载 - statefulset:有状态负载 - daemonset:守护进程集 WorkloadType MicroServiceInfoCceBaseWorkloadType `json:"workload_type"` // APP名称 AppName string `json:"app_name"` }
CCE云容器引擎详细信息,service_type为CCE时必填
func (MicroServiceInfoCceBase) String ¶ added in v0.1.7
func (o MicroServiceInfoCceBase) String() string
type MicroServiceInfoCceBaseWorkloadType ¶ added in v0.1.7
type MicroServiceInfoCceBaseWorkloadType struct {
// contains filtered or unexported fields
}
func (MicroServiceInfoCceBaseWorkloadType) MarshalJSON ¶ added in v0.1.7
func (c MicroServiceInfoCceBaseWorkloadType) MarshalJSON() ([]byte, error)
func (*MicroServiceInfoCceBaseWorkloadType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroServiceInfoCceBaseWorkloadType) UnmarshalJSON(b []byte) error
func (MicroServiceInfoCceBaseWorkloadType) Value ¶ added in v0.1.7
func (c MicroServiceInfoCceBaseWorkloadType) Value() string
type MicroServiceInfoCceBaseWorkloadTypeEnum ¶ added in v0.1.7
type MicroServiceInfoCceBaseWorkloadTypeEnum struct { DEPLOYMENT MicroServiceInfoCceBaseWorkloadType STATEFULSET MicroServiceInfoCceBaseWorkloadType DAEMONSET MicroServiceInfoCceBaseWorkloadType }
func GetMicroServiceInfoCceBaseWorkloadTypeEnum ¶ added in v0.1.7
func GetMicroServiceInfoCceBaseWorkloadTypeEnum() MicroServiceInfoCceBaseWorkloadTypeEnum
type MicroServiceInfoCceCreate ¶ added in v0.1.7
type MicroServiceInfoCceCreate struct { // 云容器引擎集群编号 ClusterId string `json:"cluster_id"` // 命名空间 Namespace string `json:"namespace"` // 工作负载类型 - deployment:无状态负载 - statefulset:有状态负载 - daemonset:守护进程集 WorkloadType MicroServiceInfoCceCreateWorkloadType `json:"workload_type"` // APP名称 AppName string `json:"app_name"` // 工作负载的版本 Version string `json:"version"` // 工作负载的监听端口号 Port int32 `json:"port"` // 工作负载的标签列表。 Labels *[]MicroserviceLabel `json:"labels,omitempty"` }
func (MicroServiceInfoCceCreate) String ¶ added in v0.1.7
func (o MicroServiceInfoCceCreate) String() string
type MicroServiceInfoCceCreateWorkloadType ¶ added in v0.1.7
type MicroServiceInfoCceCreateWorkloadType struct {
// contains filtered or unexported fields
}
func (MicroServiceInfoCceCreateWorkloadType) MarshalJSON ¶ added in v0.1.7
func (c MicroServiceInfoCceCreateWorkloadType) MarshalJSON() ([]byte, error)
func (*MicroServiceInfoCceCreateWorkloadType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroServiceInfoCceCreateWorkloadType) UnmarshalJSON(b []byte) error
func (MicroServiceInfoCceCreateWorkloadType) Value ¶ added in v0.1.7
func (c MicroServiceInfoCceCreateWorkloadType) Value() string
type MicroServiceInfoCceCreateWorkloadTypeEnum ¶ added in v0.1.7
type MicroServiceInfoCceCreateWorkloadTypeEnum struct { DEPLOYMENT MicroServiceInfoCceCreateWorkloadType STATEFULSET MicroServiceInfoCceCreateWorkloadType DAEMONSET MicroServiceInfoCceCreateWorkloadType }
func GetMicroServiceInfoCceCreateWorkloadTypeEnum ¶ added in v0.1.7
func GetMicroServiceInfoCceCreateWorkloadTypeEnum() MicroServiceInfoCceCreateWorkloadTypeEnum
type MicroServiceInfoCceWorkloadType ¶ added in v0.1.7
type MicroServiceInfoCceWorkloadType struct {
// contains filtered or unexported fields
}
func (MicroServiceInfoCceWorkloadType) MarshalJSON ¶ added in v0.1.7
func (c MicroServiceInfoCceWorkloadType) MarshalJSON() ([]byte, error)
func (*MicroServiceInfoCceWorkloadType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroServiceInfoCceWorkloadType) UnmarshalJSON(b []byte) error
func (MicroServiceInfoCceWorkloadType) Value ¶ added in v0.1.7
func (c MicroServiceInfoCceWorkloadType) Value() string
type MicroServiceInfoCceWorkloadTypeEnum ¶ added in v0.1.7
type MicroServiceInfoCceWorkloadTypeEnum struct { DEPLOYMENT MicroServiceInfoCceWorkloadType STATEFULSET MicroServiceInfoCceWorkloadType DAEMONSET MicroServiceInfoCceWorkloadType }
func GetMicroServiceInfoCceWorkloadTypeEnum ¶ added in v0.1.7
func GetMicroServiceInfoCceWorkloadTypeEnum() MicroServiceInfoCceWorkloadTypeEnum
type MicroServiceInfoCse ¶ added in v0.1.7
type MicroServiceInfoCse struct { // 微服务引擎编号 EngineId string `json:"engine_id"` // 微服务编号 ServiceId string `json:"service_id"` // 微服务引擎名称 EngineName *string `json:"engine_name,omitempty"` // 微服务名称 ServiceName *string `json:"service_name,omitempty"` // 注册中心地址 RegisterAddress *string `json:"register_address,omitempty"` // 微服务所属的应用 CseAppId *string `json:"cse_app_id,omitempty"` // 微服务的版本,已废弃,通过后端服务器组中的版本承载。 Version *string `json:"version,omitempty"` }
CSE微服务详细信息
func (MicroServiceInfoCse) String ¶ added in v0.1.7
func (o MicroServiceInfoCse) String() string
type MicroServiceInfoCseBase ¶ added in v0.1.7
type MicroServiceInfoCseBase struct { // 微服务引擎编号 EngineId string `json:"engine_id"` // 微服务编号 ServiceId string `json:"service_id"` }
CSE微服务详细信息,service_type为CSE时必填
func (MicroServiceInfoCseBase) String ¶ added in v0.1.7
func (o MicroServiceInfoCseBase) String() string
type MicroServiceInfoCseCreate ¶ added in v0.1.7
type MicroServiceInfoCseCreate struct { // 微服务引擎编号 EngineId string `json:"engine_id"` // 微服务编号 ServiceId string `json:"service_id"` // 微服务版本 Version string `json:"version"` }
func (MicroServiceInfoCseCreate) String ¶ added in v0.1.7
func (o MicroServiceInfoCseCreate) String() string
type MicroServiceInfoServiceType ¶ added in v0.1.7
type MicroServiceInfoServiceType struct {
// contains filtered or unexported fields
}
func (MicroServiceInfoServiceType) MarshalJSON ¶ added in v0.1.7
func (c MicroServiceInfoServiceType) MarshalJSON() ([]byte, error)
func (*MicroServiceInfoServiceType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroServiceInfoServiceType) UnmarshalJSON(b []byte) error
func (MicroServiceInfoServiceType) Value ¶ added in v0.1.7
func (c MicroServiceInfoServiceType) Value() string
type MicroServiceInfoServiceTypeEnum ¶ added in v0.1.7
type MicroServiceInfoServiceTypeEnum struct { CSE MicroServiceInfoServiceType CCE MicroServiceInfoServiceType }
func GetMicroServiceInfoServiceTypeEnum ¶ added in v0.1.7
func GetMicroServiceInfoServiceTypeEnum() MicroServiceInfoServiceTypeEnum
type MicroserviceApiCreate ¶ added in v0.1.7
type MicroserviceApiCreate struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name *string `json:"name,omitempty"` // API的请求方式 ReqMethod *MicroserviceApiCreateReqMethod `json:"req_method,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 /apic/health_check为APIG预置的健康检查路径,当req_method=GET时不支持req_uri=/apic/health_check。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *MicroserviceApiCreateMatchMode `json:"match_mode,omitempty"` }
导入微服务创建单个API的对象
func (MicroserviceApiCreate) String ¶ added in v0.1.7
func (o MicroserviceApiCreate) String() string
type MicroserviceApiCreateMatchMode ¶ added in v0.1.7
type MicroserviceApiCreateMatchMode struct {
// contains filtered or unexported fields
}
func (MicroserviceApiCreateMatchMode) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceApiCreateMatchMode) MarshalJSON() ([]byte, error)
func (*MicroserviceApiCreateMatchMode) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceApiCreateMatchMode) UnmarshalJSON(b []byte) error
func (MicroserviceApiCreateMatchMode) Value ¶ added in v0.1.7
func (c MicroserviceApiCreateMatchMode) Value() string
type MicroserviceApiCreateMatchModeEnum ¶ added in v0.1.7
type MicroserviceApiCreateMatchModeEnum struct { SWA MicroserviceApiCreateMatchMode NORMAL MicroserviceApiCreateMatchMode }
func GetMicroserviceApiCreateMatchModeEnum ¶ added in v0.1.7
func GetMicroserviceApiCreateMatchModeEnum() MicroserviceApiCreateMatchModeEnum
type MicroserviceApiCreateReqMethod ¶ added in v0.1.7
type MicroserviceApiCreateReqMethod struct {
// contains filtered or unexported fields
}
func (MicroserviceApiCreateReqMethod) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceApiCreateReqMethod) MarshalJSON() ([]byte, error)
func (*MicroserviceApiCreateReqMethod) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceApiCreateReqMethod) UnmarshalJSON(b []byte) error
func (MicroserviceApiCreateReqMethod) Value ¶ added in v0.1.7
func (c MicroserviceApiCreateReqMethod) Value() string
type MicroserviceApiCreateReqMethodEnum ¶ added in v0.1.7
type MicroserviceApiCreateReqMethodEnum struct { GET MicroserviceApiCreateReqMethod POST MicroserviceApiCreateReqMethod PUT MicroserviceApiCreateReqMethod DELETE MicroserviceApiCreateReqMethod HEAD MicroserviceApiCreateReqMethod PATCH MicroserviceApiCreateReqMethod OPTIONS MicroserviceApiCreateReqMethod ANY MicroserviceApiCreateReqMethod }
func GetMicroserviceApiCreateReqMethodEnum ¶ added in v0.1.7
func GetMicroserviceApiCreateReqMethodEnum() MicroserviceApiCreateReqMethodEnum
type MicroserviceGroup ¶ added in v0.1.7
type MicroserviceGroup struct { // 指定已有的分组,为空时创建新的分组 GroupId *string `json:"group_id,omitempty"` // API分组的名称,group_id为空时必填。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 GroupName *string `json:"group_name,omitempty"` // group_id为空时必填,指定新分组所属的集成应用 AppId *string `json:"app_id,omitempty"` }
导入微服务的API分组信息
func (MicroserviceGroup) String ¶ added in v0.1.7
func (o MicroserviceGroup) String() string
type MicroserviceImportApiResp ¶ added in v0.1.7
type MicroserviceImportApiResp struct { // API名称 Name *string `json:"name,omitempty"` // API请求路径 ReqUri *string `json:"req_uri,omitempty"` // API请求方法 ReqMethod *string `json:"req_method,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:SWA MatchMode *MicroserviceImportApiRespMatchMode `json:"match_mode,omitempty"` }
导入的微服务API的响应对象
func (MicroserviceImportApiResp) String ¶ added in v0.1.7
func (o MicroserviceImportApiResp) String() string
type MicroserviceImportApiRespMatchMode ¶ added in v0.1.7
type MicroserviceImportApiRespMatchMode struct {
// contains filtered or unexported fields
}
func (MicroserviceImportApiRespMatchMode) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceImportApiRespMatchMode) MarshalJSON() ([]byte, error)
func (*MicroserviceImportApiRespMatchMode) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceImportApiRespMatchMode) UnmarshalJSON(b []byte) error
func (MicroserviceImportApiRespMatchMode) Value ¶ added in v0.1.7
func (c MicroserviceImportApiRespMatchMode) Value() string
type MicroserviceImportApiRespMatchModeEnum ¶ added in v0.1.7
type MicroserviceImportApiRespMatchModeEnum struct { SWA MicroserviceImportApiRespMatchMode NORMAL MicroserviceImportApiRespMatchMode }
func GetMicroserviceImportApiRespMatchModeEnum ¶ added in v0.1.7
func GetMicroserviceImportApiRespMatchModeEnum() MicroserviceImportApiRespMatchModeEnum
type MicroserviceImportReq ¶ added in v0.1.7
type MicroserviceImportReq struct { GroupInfo *MicroserviceGroup `json:"group_info"` // 微服务中心类型。 - CSE:CSE微服务注册中心 - CCE: CCE云容器引擎 ServiceType MicroserviceImportReqServiceType `json:"service_type"` // API网关访问微服务的请求协议 - HTTP - HTTPS Protocol *MicroserviceImportReqProtocol `json:"protocol,omitempty"` // 导入的api列表 Apis []MicroserviceApiCreate `json:"apis"` // APIG请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000,默认5000 单位:毫秒。 BackendTimeout *int32 `json:"backend_timeout,omitempty"` // API的认证方式,默认无认证[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 AuthType *MicroserviceImportReqAuthType `json:"auth_type,omitempty"` // 是否支持跨域,默认不支持 - true:支持 - false:不支持 Cors *bool `json:"cors,omitempty"` CseInfo *MicroServiceInfoCseCreate `json:"cse_info,omitempty"` CceInfo *MicroServiceInfoCceCreate `json:"cce_info,omitempty"` }
导入微服务的请求对象
func (MicroserviceImportReq) String ¶ added in v0.1.7
func (o MicroserviceImportReq) String() string
type MicroserviceImportReqAuthType ¶ added in v0.1.7
type MicroserviceImportReqAuthType struct {
// contains filtered or unexported fields
}
func (MicroserviceImportReqAuthType) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceImportReqAuthType) MarshalJSON() ([]byte, error)
func (*MicroserviceImportReqAuthType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceImportReqAuthType) UnmarshalJSON(b []byte) error
func (MicroserviceImportReqAuthType) Value ¶ added in v0.1.7
func (c MicroserviceImportReqAuthType) Value() string
type MicroserviceImportReqAuthTypeEnum ¶ added in v0.1.7
type MicroserviceImportReqAuthTypeEnum struct { NONE MicroserviceImportReqAuthType APP MicroserviceImportReqAuthType IAM MicroserviceImportReqAuthType }
func GetMicroserviceImportReqAuthTypeEnum ¶ added in v0.1.7
func GetMicroserviceImportReqAuthTypeEnum() MicroserviceImportReqAuthTypeEnum
type MicroserviceImportReqProtocol ¶ added in v0.1.7
type MicroserviceImportReqProtocol struct {
// contains filtered or unexported fields
}
func (MicroserviceImportReqProtocol) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceImportReqProtocol) MarshalJSON() ([]byte, error)
func (*MicroserviceImportReqProtocol) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceImportReqProtocol) UnmarshalJSON(b []byte) error
func (MicroserviceImportReqProtocol) Value ¶ added in v0.1.7
func (c MicroserviceImportReqProtocol) Value() string
type MicroserviceImportReqProtocolEnum ¶ added in v0.1.7
type MicroserviceImportReqProtocolEnum struct { HTTP MicroserviceImportReqProtocol HTTPS MicroserviceImportReqProtocol }
func GetMicroserviceImportReqProtocolEnum ¶ added in v0.1.7
func GetMicroserviceImportReqProtocolEnum() MicroserviceImportReqProtocolEnum
type MicroserviceImportReqServiceType ¶ added in v0.1.7
type MicroserviceImportReqServiceType struct {
// contains filtered or unexported fields
}
func (MicroserviceImportReqServiceType) MarshalJSON ¶ added in v0.1.7
func (c MicroserviceImportReqServiceType) MarshalJSON() ([]byte, error)
func (*MicroserviceImportReqServiceType) UnmarshalJSON ¶ added in v0.1.7
func (c *MicroserviceImportReqServiceType) UnmarshalJSON(b []byte) error
func (MicroserviceImportReqServiceType) Value ¶ added in v0.1.7
func (c MicroserviceImportReqServiceType) Value() string
type MicroserviceImportReqServiceTypeEnum ¶ added in v0.1.7
type MicroserviceImportReqServiceTypeEnum struct { CSE MicroserviceImportReqServiceType CCE MicroserviceImportReqServiceType }
func GetMicroserviceImportReqServiceTypeEnum ¶ added in v0.1.7
func GetMicroserviceImportReqServiceTypeEnum() MicroserviceImportReqServiceTypeEnum
type MicroserviceLabel ¶ added in v0.1.11
type MicroserviceLabel struct { // 标签名称。 以字母或者数字开头和结尾,由字母、数字、连接符('-')、下划线('_')、点号('.')组成且63个字符之内。 LabelName string `json:"label_name"` // 标签值。 以字母或者数字开头和结尾,由字母、数字、连接符('-')、下划线('_')、点号('.')组成且63个字符之内。 LabelValue string `json:"label_value"` }
func (MicroserviceLabel) String ¶ added in v0.1.11
func (o MicroserviceLabel) String() string
type NetworkTrafficStats ¶ added in v0.0.65
type NetworkTrafficStats struct { // 下行吞吐量(byte) OutputThroughput *int64 `json:"output_throughput,omitempty"` // 上行吞吐量(byte) InputThroughput *int64 `json:"input_throughput,omitempty"` }
func (NetworkTrafficStats) String ¶ added in v0.0.65
func (o NetworkTrafficStats) String() string
type NodeIps ¶ added in v0.0.89
type OpenEngressEipReq ¶ added in v0.0.65
type OpenEngressEipReq struct { // 出公网带宽 单位:Mbit/s BandwidthSize *string `json:"bandwidth_size,omitempty"` }
func (OpenEngressEipReq) String ¶ added in v0.0.65
func (o OpenEngressEipReq) String() string
type PluginApiAttachInfo ¶ added in v0.1.11
type PluginApiAttachInfo struct { // 插件绑定编码。 PluginAttachId *string `json:"plugin_attach_id,omitempty"` // 插件编码。 PluginId *string `json:"plugin_id,omitempty"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType *PluginApiAttachInfoPluginType `json:"plugin_type,omitempty"` // 插件可见范围。global:全局可见。 PluginScope *PluginApiAttachInfoPluginScope `json:"plugin_scope,omitempty"` // 绑定API的环境编码。 EnvId *string `json:"env_id,omitempty"` // api授权绑定的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定的API编码。 ApiId *string `json:"api_id,omitempty"` // API的名称 ApiName *string `json:"api_name,omitempty"` // 绑定时间。 AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"` }
func (PluginApiAttachInfo) String ¶ added in v0.1.11
func (o PluginApiAttachInfo) String() string
type PluginApiAttachInfoPluginScope ¶ added in v0.1.11
type PluginApiAttachInfoPluginScope struct {
// contains filtered or unexported fields
}
func (PluginApiAttachInfoPluginScope) MarshalJSON ¶ added in v0.1.11
func (c PluginApiAttachInfoPluginScope) MarshalJSON() ([]byte, error)
func (*PluginApiAttachInfoPluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiAttachInfoPluginScope) UnmarshalJSON(b []byte) error
func (PluginApiAttachInfoPluginScope) Value ¶ added in v0.1.11
func (c PluginApiAttachInfoPluginScope) Value() string
type PluginApiAttachInfoPluginScopeEnum ¶ added in v0.1.11
type PluginApiAttachInfoPluginScopeEnum struct {
GLOBAL PluginApiAttachInfoPluginScope
}
func GetPluginApiAttachInfoPluginScopeEnum ¶ added in v0.1.11
func GetPluginApiAttachInfoPluginScopeEnum() PluginApiAttachInfoPluginScopeEnum
type PluginApiAttachInfoPluginType ¶ added in v0.1.11
type PluginApiAttachInfoPluginType struct {
// contains filtered or unexported fields
}
func (PluginApiAttachInfoPluginType) MarshalJSON ¶ added in v0.1.11
func (c PluginApiAttachInfoPluginType) MarshalJSON() ([]byte, error)
func (*PluginApiAttachInfoPluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiAttachInfoPluginType) UnmarshalJSON(b []byte) error
func (PluginApiAttachInfoPluginType) Value ¶ added in v0.1.11
func (c PluginApiAttachInfoPluginType) Value() string
type PluginApiAttachInfoPluginTypeEnum ¶ added in v0.1.11
type PluginApiAttachInfoPluginTypeEnum struct { CORS PluginApiAttachInfoPluginType SET_RESP_HEADERS PluginApiAttachInfoPluginType KAFKA_LOG PluginApiAttachInfoPluginType BREAKER PluginApiAttachInfoPluginType RATE_LIMIT PluginApiAttachInfoPluginType }
func GetPluginApiAttachInfoPluginTypeEnum ¶ added in v0.1.11
func GetPluginApiAttachInfoPluginTypeEnum() PluginApiAttachInfoPluginTypeEnum
type PluginApiInfo ¶ added in v0.1.11
type PluginApiInfo struct { // API编号 ApiId *string `json:"api_id,omitempty"` // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 ApiName *string `json:"api_name,omitempty"` // API类型 - 1:公有API - 2:私有API Type *int32 `json:"type,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol *PluginApiInfoReqProtocol `json:"req_protocol,omitempty"` // API的请求方式 ReqMethod *PluginApiInfoReqMethod `json:"req_method,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri *string `json:"req_uri,omitempty"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType *PluginApiInfoAuthType `json:"auth_type,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *PluginApiInfoMatchMode `json:"match_mode,omitempty"` // API描述。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId *string `json:"group_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 归属集成应用编码,兼容roma实例的字段,一般为空 RomaAppId *string `json:"roma_app_id,omitempty"` // 绑定API的环境编码。 EnvId *string `json:"env_id,omitempty"` // 绑定API的环境名称 EnvName *string `json:"env_name,omitempty"` // 发布编码。 PublishId *string `json:"publish_id,omitempty"` // 插件绑定编码。 PluginAttachId *string `json:"plugin_attach_id,omitempty"` // 绑定时间。 AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"` }
func (PluginApiInfo) String ¶ added in v0.1.11
func (o PluginApiInfo) String() string
type PluginApiInfoAuthType ¶ added in v0.1.11
type PluginApiInfoAuthType struct {
// contains filtered or unexported fields
}
func (PluginApiInfoAuthType) MarshalJSON ¶ added in v0.1.11
func (c PluginApiInfoAuthType) MarshalJSON() ([]byte, error)
func (*PluginApiInfoAuthType) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiInfoAuthType) UnmarshalJSON(b []byte) error
func (PluginApiInfoAuthType) Value ¶ added in v0.1.11
func (c PluginApiInfoAuthType) Value() string
type PluginApiInfoAuthTypeEnum ¶ added in v0.1.11
type PluginApiInfoAuthTypeEnum struct { NONE PluginApiInfoAuthType APP PluginApiInfoAuthType IAM PluginApiInfoAuthType AUTHORIZER PluginApiInfoAuthType }
func GetPluginApiInfoAuthTypeEnum ¶ added in v0.1.11
func GetPluginApiInfoAuthTypeEnum() PluginApiInfoAuthTypeEnum
type PluginApiInfoMatchMode ¶ added in v0.1.11
type PluginApiInfoMatchMode struct {
// contains filtered or unexported fields
}
func (PluginApiInfoMatchMode) MarshalJSON ¶ added in v0.1.11
func (c PluginApiInfoMatchMode) MarshalJSON() ([]byte, error)
func (*PluginApiInfoMatchMode) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiInfoMatchMode) UnmarshalJSON(b []byte) error
func (PluginApiInfoMatchMode) Value ¶ added in v0.1.11
func (c PluginApiInfoMatchMode) Value() string
type PluginApiInfoMatchModeEnum ¶ added in v0.1.11
type PluginApiInfoMatchModeEnum struct { SWA PluginApiInfoMatchMode NORMAL PluginApiInfoMatchMode }
func GetPluginApiInfoMatchModeEnum ¶ added in v0.1.11
func GetPluginApiInfoMatchModeEnum() PluginApiInfoMatchModeEnum
type PluginApiInfoReqMethod ¶ added in v0.1.11
type PluginApiInfoReqMethod struct {
// contains filtered or unexported fields
}
func (PluginApiInfoReqMethod) MarshalJSON ¶ added in v0.1.11
func (c PluginApiInfoReqMethod) MarshalJSON() ([]byte, error)
func (*PluginApiInfoReqMethod) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiInfoReqMethod) UnmarshalJSON(b []byte) error
func (PluginApiInfoReqMethod) Value ¶ added in v0.1.11
func (c PluginApiInfoReqMethod) Value() string
type PluginApiInfoReqMethodEnum ¶ added in v0.1.11
type PluginApiInfoReqMethodEnum struct { GET PluginApiInfoReqMethod POST PluginApiInfoReqMethod PUT PluginApiInfoReqMethod DELETE PluginApiInfoReqMethod HEAD PluginApiInfoReqMethod PATCH PluginApiInfoReqMethod OPTIONS PluginApiInfoReqMethod ANY PluginApiInfoReqMethod }
func GetPluginApiInfoReqMethodEnum ¶ added in v0.1.11
func GetPluginApiInfoReqMethodEnum() PluginApiInfoReqMethodEnum
type PluginApiInfoReqProtocol ¶ added in v0.1.11
type PluginApiInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (PluginApiInfoReqProtocol) MarshalJSON ¶ added in v0.1.11
func (c PluginApiInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*PluginApiInfoReqProtocol) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginApiInfoReqProtocol) UnmarshalJSON(b []byte) error
func (PluginApiInfoReqProtocol) Value ¶ added in v0.1.11
func (c PluginApiInfoReqProtocol) Value() string
type PluginApiInfoReqProtocolEnum ¶ added in v0.1.11
type PluginApiInfoReqProtocolEnum struct { HTTP PluginApiInfoReqProtocol HTTPS PluginApiInfoReqProtocol BOTH PluginApiInfoReqProtocol }
func GetPluginApiInfoReqProtocolEnum ¶ added in v0.1.11
func GetPluginApiInfoReqProtocolEnum() PluginApiInfoReqProtocolEnum
type PluginCreate ¶ added in v0.1.11
type PluginCreate struct { // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 PluginName string `json:"plugin_name"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType PluginCreatePluginType `json:"plugin_type"` // 插件可见范围。global:全局可见; PluginScope PluginCreatePluginScope `json:"plugin_scope"` // 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 PluginContent string `json:"plugin_content"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (PluginCreate) String ¶ added in v0.1.11
func (o PluginCreate) String() string
type PluginCreatePluginScope ¶ added in v0.1.11
type PluginCreatePluginScope struct {
// contains filtered or unexported fields
}
func (PluginCreatePluginScope) MarshalJSON ¶ added in v0.1.11
func (c PluginCreatePluginScope) MarshalJSON() ([]byte, error)
func (*PluginCreatePluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginCreatePluginScope) UnmarshalJSON(b []byte) error
func (PluginCreatePluginScope) Value ¶ added in v0.1.11
func (c PluginCreatePluginScope) Value() string
type PluginCreatePluginScopeEnum ¶ added in v0.1.11
type PluginCreatePluginScopeEnum struct {
GLOBAL PluginCreatePluginScope
}
func GetPluginCreatePluginScopeEnum ¶ added in v0.1.11
func GetPluginCreatePluginScopeEnum() PluginCreatePluginScopeEnum
type PluginCreatePluginType ¶ added in v0.1.11
type PluginCreatePluginType struct {
// contains filtered or unexported fields
}
func (PluginCreatePluginType) MarshalJSON ¶ added in v0.1.11
func (c PluginCreatePluginType) MarshalJSON() ([]byte, error)
func (*PluginCreatePluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginCreatePluginType) UnmarshalJSON(b []byte) error
func (PluginCreatePluginType) Value ¶ added in v0.1.11
func (c PluginCreatePluginType) Value() string
type PluginCreatePluginTypeEnum ¶ added in v0.1.11
type PluginCreatePluginTypeEnum struct { CORS PluginCreatePluginType SET_RESP_HEADERS PluginCreatePluginType KAFKA_LOG PluginCreatePluginType BREAKER PluginCreatePluginType RATE_LIMIT PluginCreatePluginType }
func GetPluginCreatePluginTypeEnum ¶ added in v0.1.11
func GetPluginCreatePluginTypeEnum() PluginCreatePluginTypeEnum
type PluginInfo ¶ added in v0.1.11
type PluginInfo struct { // 插件编码。 PluginId string `json:"plugin_id"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 PluginName string `json:"plugin_name"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType PluginInfoPluginType `json:"plugin_type"` // 插件可见范围。global:全局可见; PluginScope PluginInfoPluginScope `json:"plugin_scope"` // 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 PluginContent string `json:"plugin_content"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 创建时间。 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间。 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (PluginInfo) String ¶ added in v0.1.11
func (o PluginInfo) String() string
type PluginInfoPluginScope ¶ added in v0.1.11
type PluginInfoPluginScope struct {
// contains filtered or unexported fields
}
func (PluginInfoPluginScope) MarshalJSON ¶ added in v0.1.11
func (c PluginInfoPluginScope) MarshalJSON() ([]byte, error)
func (*PluginInfoPluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginInfoPluginScope) UnmarshalJSON(b []byte) error
func (PluginInfoPluginScope) Value ¶ added in v0.1.11
func (c PluginInfoPluginScope) Value() string
type PluginInfoPluginScopeEnum ¶ added in v0.1.11
type PluginInfoPluginScopeEnum struct {
GLOBAL PluginInfoPluginScope
}
func GetPluginInfoPluginScopeEnum ¶ added in v0.1.11
func GetPluginInfoPluginScopeEnum() PluginInfoPluginScopeEnum
type PluginInfoPluginType ¶ added in v0.1.11
type PluginInfoPluginType struct {
// contains filtered or unexported fields
}
func (PluginInfoPluginType) MarshalJSON ¶ added in v0.1.11
func (c PluginInfoPluginType) MarshalJSON() ([]byte, error)
func (*PluginInfoPluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *PluginInfoPluginType) UnmarshalJSON(b []byte) error
func (PluginInfoPluginType) Value ¶ added in v0.1.11
func (c PluginInfoPluginType) Value() string
type PluginInfoPluginTypeEnum ¶ added in v0.1.11
type PluginInfoPluginTypeEnum struct { CORS PluginInfoPluginType SET_RESP_HEADERS PluginInfoPluginType KAFKA_LOG PluginInfoPluginType BREAKER PluginInfoPluginType RATE_LIMIT PluginInfoPluginType }
func GetPluginInfoPluginTypeEnum ¶ added in v0.1.11
func GetPluginInfoPluginTypeEnum() PluginInfoPluginTypeEnum
type PluginOperApiInfo ¶ added in v0.1.11
type PluginOperApiInfo struct { // 绑定API的环境编码。 EnvId string `json:"env_id"` // 绑定的API编码列表。 ApiIds []string `json:"api_ids"` }
func (PluginOperApiInfo) String ¶ added in v0.1.11
func (o PluginOperApiInfo) String() string
type PublishResp ¶ added in v0.0.69
type PublishResp struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` }
func (PublishResp) String ¶ added in v0.0.69
func (o PublishResp) String() string
type RemoveEipV2Request ¶ added in v0.0.65
type RemoveEipV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (RemoveEipV2Request) String ¶ added in v0.0.65
func (o RemoveEipV2Request) String() string
type RemoveEipV2Response ¶ added in v0.0.65
type RemoveEipV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveEipV2Response) String ¶ added in v0.0.65
func (o RemoveEipV2Response) String() string
type RemoveEngressEipV2Request ¶ added in v0.0.65
type RemoveEngressEipV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (RemoveEngressEipV2Request) String ¶ added in v0.0.65
func (o RemoveEngressEipV2Request) String() string
type RemoveEngressEipV2Response ¶ added in v0.0.65
type RemoveEngressEipV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveEngressEipV2Response) String ¶ added in v0.0.65
func (o RemoveEngressEipV2Response) String() string
type ReqParam ¶
type ReqParam struct { // 参数名称。 长度为1 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数类型 Type ReqParamType `json:"type"` // 参数位置 Location ReqParamLocation `json:"location"` // 参数默认值 DefaultValue *string `json:"default_value,omitempty"` // 参数示例值 SampleValue *string `json:"sample_value,omitempty"` // 是否必须 - 1:是 - 2:否 location为PATH时,required默认为1,其他场景required默认为2 Required *ReqParamRequired `json:"required,omitempty"` // 是否开启校验 - 1:开启校验 - 2:不开启校验 ValidEnable *ReqParamValidEnable `json:"valid_enable,omitempty"` // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数枚举值 Enumerations *string `json:"enumerations,omitempty"` // 参数最小值 参数类型为NUMBER时有效 MinNum *int32 `json:"min_num,omitempty"` // 参数最大值 参数类型为NUMBER时有效 MaxNum *int32 `json:"max_num,omitempty"` // 参数最小长度 参数类型为STRING时有效 MinSize *int32 `json:"min_size,omitempty"` // 参数最大长度 参数类型为STRING时有效 MaxSize *int32 `json:"max_size,omitempty"` // 正则校验规则 暂不支持 Regular *string `json:"regular,omitempty"` // JSON校验规则 暂不支持 JsonSchema *string `json:"json_schema,omitempty"` // 是否透传 - 1:是 - 2:否 PassThrough *ReqParamPassThrough `json:"pass_through,omitempty"` // 参数编号 Id *string `json:"id,omitempty"` }
type ReqParamBase ¶
type ReqParamBase struct { // 参数名称。 长度为1 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数类型 Type ReqParamBaseType `json:"type"` // 参数位置 Location ReqParamBaseLocation `json:"location"` // 参数默认值 DefaultValue *string `json:"default_value,omitempty"` // 参数示例值 SampleValue *string `json:"sample_value,omitempty"` // 是否必须 - 1:是 - 2:否 location为PATH时,required默认为1,其他场景required默认为2 Required *ReqParamBaseRequired `json:"required,omitempty"` // 是否开启校验 - 1:开启校验 - 2:不开启校验 ValidEnable *ReqParamBaseValidEnable `json:"valid_enable,omitempty"` // 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数枚举值 Enumerations *string `json:"enumerations,omitempty"` // 参数最小值 参数类型为NUMBER时有效 MinNum *int32 `json:"min_num,omitempty"` // 参数最大值 参数类型为NUMBER时有效 MaxNum *int32 `json:"max_num,omitempty"` // 参数最小长度 参数类型为STRING时有效 MinSize *int32 `json:"min_size,omitempty"` // 参数最大长度 参数类型为STRING时有效 MaxSize *int32 `json:"max_size,omitempty"` // 正则校验规则 暂不支持 Regular *string `json:"regular,omitempty"` // JSON校验规则 暂不支持 JsonSchema *string `json:"json_schema,omitempty"` // 是否透传 - 1:是 - 2:否 PassThrough *ReqParamBasePassThrough `json:"pass_through,omitempty"` }
func (ReqParamBase) String ¶
func (o ReqParamBase) String() string
type ReqParamBaseLocation ¶
type ReqParamBaseLocation struct {
// contains filtered or unexported fields
}
func (ReqParamBaseLocation) MarshalJSON ¶
func (c ReqParamBaseLocation) MarshalJSON() ([]byte, error)
func (*ReqParamBaseLocation) UnmarshalJSON ¶
func (c *ReqParamBaseLocation) UnmarshalJSON(b []byte) error
func (ReqParamBaseLocation) Value ¶ added in v0.0.90
func (c ReqParamBaseLocation) Value() string
type ReqParamBaseLocationEnum ¶
type ReqParamBaseLocationEnum struct { PATH ReqParamBaseLocation QUERY ReqParamBaseLocation HEADER ReqParamBaseLocation }
func GetReqParamBaseLocationEnum ¶
func GetReqParamBaseLocationEnum() ReqParamBaseLocationEnum
type ReqParamBasePassThrough ¶
type ReqParamBasePassThrough struct {
// contains filtered or unexported fields
}
func (ReqParamBasePassThrough) MarshalJSON ¶
func (c ReqParamBasePassThrough) MarshalJSON() ([]byte, error)
func (*ReqParamBasePassThrough) UnmarshalJSON ¶
func (c *ReqParamBasePassThrough) UnmarshalJSON(b []byte) error
func (ReqParamBasePassThrough) Value ¶ added in v0.0.90
func (c ReqParamBasePassThrough) Value() int32
type ReqParamBasePassThroughEnum ¶
type ReqParamBasePassThroughEnum struct { E_1 ReqParamBasePassThrough E_2 ReqParamBasePassThrough }
func GetReqParamBasePassThroughEnum ¶
func GetReqParamBasePassThroughEnum() ReqParamBasePassThroughEnum
type ReqParamBaseRequired ¶
type ReqParamBaseRequired struct {
// contains filtered or unexported fields
}
func (ReqParamBaseRequired) MarshalJSON ¶
func (c ReqParamBaseRequired) MarshalJSON() ([]byte, error)
func (*ReqParamBaseRequired) UnmarshalJSON ¶
func (c *ReqParamBaseRequired) UnmarshalJSON(b []byte) error
func (ReqParamBaseRequired) Value ¶ added in v0.0.90
func (c ReqParamBaseRequired) Value() int32
type ReqParamBaseRequiredEnum ¶
type ReqParamBaseRequiredEnum struct { E_1 ReqParamBaseRequired E_2 ReqParamBaseRequired }
func GetReqParamBaseRequiredEnum ¶
func GetReqParamBaseRequiredEnum() ReqParamBaseRequiredEnum
type ReqParamBaseType ¶
type ReqParamBaseType struct {
// contains filtered or unexported fields
}
func (ReqParamBaseType) MarshalJSON ¶
func (c ReqParamBaseType) MarshalJSON() ([]byte, error)
func (*ReqParamBaseType) UnmarshalJSON ¶
func (c *ReqParamBaseType) UnmarshalJSON(b []byte) error
func (ReqParamBaseType) Value ¶ added in v0.0.90
func (c ReqParamBaseType) Value() string
type ReqParamBaseTypeEnum ¶
type ReqParamBaseTypeEnum struct { STRING ReqParamBaseType NUMBER ReqParamBaseType }
func GetReqParamBaseTypeEnum ¶
func GetReqParamBaseTypeEnum() ReqParamBaseTypeEnum
type ReqParamBaseValidEnable ¶
type ReqParamBaseValidEnable struct {
// contains filtered or unexported fields
}
func (ReqParamBaseValidEnable) MarshalJSON ¶
func (c ReqParamBaseValidEnable) MarshalJSON() ([]byte, error)
func (*ReqParamBaseValidEnable) UnmarshalJSON ¶
func (c *ReqParamBaseValidEnable) UnmarshalJSON(b []byte) error
func (ReqParamBaseValidEnable) Value ¶ added in v0.0.90
func (c ReqParamBaseValidEnable) Value() int32
type ReqParamBaseValidEnableEnum ¶
type ReqParamBaseValidEnableEnum struct { E_1 ReqParamBaseValidEnable E_2 ReqParamBaseValidEnable }
func GetReqParamBaseValidEnableEnum ¶
func GetReqParamBaseValidEnableEnum() ReqParamBaseValidEnableEnum
type ReqParamLocation ¶
type ReqParamLocation struct {
// contains filtered or unexported fields
}
func (ReqParamLocation) MarshalJSON ¶
func (c ReqParamLocation) MarshalJSON() ([]byte, error)
func (*ReqParamLocation) UnmarshalJSON ¶
func (c *ReqParamLocation) UnmarshalJSON(b []byte) error
func (ReqParamLocation) Value ¶ added in v0.0.90
func (c ReqParamLocation) Value() string
type ReqParamLocationEnum ¶
type ReqParamLocationEnum struct { PATH ReqParamLocation QUERY ReqParamLocation HEADER ReqParamLocation }
func GetReqParamLocationEnum ¶
func GetReqParamLocationEnum() ReqParamLocationEnum
type ReqParamPassThrough ¶
type ReqParamPassThrough struct {
// contains filtered or unexported fields
}
func (ReqParamPassThrough) MarshalJSON ¶
func (c ReqParamPassThrough) MarshalJSON() ([]byte, error)
func (*ReqParamPassThrough) UnmarshalJSON ¶
func (c *ReqParamPassThrough) UnmarshalJSON(b []byte) error
func (ReqParamPassThrough) Value ¶ added in v0.0.90
func (c ReqParamPassThrough) Value() int32
type ReqParamPassThroughEnum ¶
type ReqParamPassThroughEnum struct { E_1 ReqParamPassThrough E_2 ReqParamPassThrough }
func GetReqParamPassThroughEnum ¶
func GetReqParamPassThroughEnum() ReqParamPassThroughEnum
type ReqParamRequired ¶
type ReqParamRequired struct {
// contains filtered or unexported fields
}
func (ReqParamRequired) MarshalJSON ¶
func (c ReqParamRequired) MarshalJSON() ([]byte, error)
func (*ReqParamRequired) UnmarshalJSON ¶
func (c *ReqParamRequired) UnmarshalJSON(b []byte) error
func (ReqParamRequired) Value ¶ added in v0.0.90
func (c ReqParamRequired) Value() int32
type ReqParamRequiredEnum ¶
type ReqParamRequiredEnum struct { E_1 ReqParamRequired E_2 ReqParamRequired }
func GetReqParamRequiredEnum ¶
func GetReqParamRequiredEnum() ReqParamRequiredEnum
type ReqParamType ¶
type ReqParamType struct {
// contains filtered or unexported fields
}
func (ReqParamType) MarshalJSON ¶
func (c ReqParamType) MarshalJSON() ([]byte, error)
func (*ReqParamType) UnmarshalJSON ¶
func (c *ReqParamType) UnmarshalJSON(b []byte) error
func (ReqParamType) Value ¶ added in v0.0.90
func (c ReqParamType) Value() string
type ReqParamTypeEnum ¶
type ReqParamTypeEnum struct { STRING ReqParamType NUMBER ReqParamType }
func GetReqParamTypeEnum ¶
func GetReqParamTypeEnum() ReqParamTypeEnum
type ReqParamValidEnable ¶
type ReqParamValidEnable struct {
// contains filtered or unexported fields
}
func (ReqParamValidEnable) MarshalJSON ¶
func (c ReqParamValidEnable) MarshalJSON() ([]byte, error)
func (*ReqParamValidEnable) UnmarshalJSON ¶
func (c *ReqParamValidEnable) UnmarshalJSON(b []byte) error
func (ReqParamValidEnable) Value ¶ added in v0.0.90
func (c ReqParamValidEnable) Value() int32
type ReqParamValidEnableEnum ¶
type ReqParamValidEnableEnum struct { E_1 ReqParamValidEnable E_2 ReqParamValidEnable }
func GetReqParamValidEnableEnum ¶
func GetReqParamValidEnableEnum() ReqParamValidEnableEnum
type RequestCountStats ¶ added in v0.0.65
type RequestCountStats struct { // 请求总次数 ReqCount *int32 `json:"req_count,omitempty"` // 2xx响应码总次数 ReqCount2xx *int32 `json:"req_count2xx,omitempty"` // 4xx响应码总次数 ReqCount4xx *int32 `json:"req_count4xx,omitempty"` // 5xx响应码总次数 ReqCount5xx *int32 `json:"req_count5xx,omitempty"` // 错误次数 ReqCountError *int32 `json:"req_count_error,omitempty"` }
func (RequestCountStats) String ¶ added in v0.0.65
func (o RequestCountStats) String() string
type ResettingAppSecretV2Request ¶
type ResettingAppSecretV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppResetCreate `json:"body,omitempty"` }
Request Object
func (ResettingAppSecretV2Request) String ¶
func (o ResettingAppSecretV2Request) String() string
type ResettingAppSecretV2Response ¶
type ResettingAppSecretV2Response struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *ResettingAppSecretV2ResponseCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *ResettingAppSecretV2ResponseStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *ResettingAppSecretV2ResponseAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResettingAppSecretV2Response) String ¶
func (o ResettingAppSecretV2Response) String() string
type ResettingAppSecretV2ResponseAppType ¶
type ResettingAppSecretV2ResponseAppType struct {
// contains filtered or unexported fields
}
func (ResettingAppSecretV2ResponseAppType) MarshalJSON ¶
func (c ResettingAppSecretV2ResponseAppType) MarshalJSON() ([]byte, error)
func (*ResettingAppSecretV2ResponseAppType) UnmarshalJSON ¶
func (c *ResettingAppSecretV2ResponseAppType) UnmarshalJSON(b []byte) error
func (ResettingAppSecretV2ResponseAppType) Value ¶ added in v0.0.90
func (c ResettingAppSecretV2ResponseAppType) Value() string
type ResettingAppSecretV2ResponseAppTypeEnum ¶
type ResettingAppSecretV2ResponseAppTypeEnum struct { APIG ResettingAppSecretV2ResponseAppType ROMA ResettingAppSecretV2ResponseAppType }
func GetResettingAppSecretV2ResponseAppTypeEnum ¶
func GetResettingAppSecretV2ResponseAppTypeEnum() ResettingAppSecretV2ResponseAppTypeEnum
type ResettingAppSecretV2ResponseCreator ¶
type ResettingAppSecretV2ResponseCreator struct {
// contains filtered or unexported fields
}
func (ResettingAppSecretV2ResponseCreator) MarshalJSON ¶
func (c ResettingAppSecretV2ResponseCreator) MarshalJSON() ([]byte, error)
func (*ResettingAppSecretV2ResponseCreator) UnmarshalJSON ¶
func (c *ResettingAppSecretV2ResponseCreator) UnmarshalJSON(b []byte) error
func (ResettingAppSecretV2ResponseCreator) Value ¶ added in v0.0.90
func (c ResettingAppSecretV2ResponseCreator) Value() string
type ResettingAppSecretV2ResponseCreatorEnum ¶
type ResettingAppSecretV2ResponseCreatorEnum struct { USER ResettingAppSecretV2ResponseCreator MARKET ResettingAppSecretV2ResponseCreator }
func GetResettingAppSecretV2ResponseCreatorEnum ¶
func GetResettingAppSecretV2ResponseCreatorEnum() ResettingAppSecretV2ResponseCreatorEnum
type ResettingAppSecretV2ResponseStatus ¶ added in v0.0.69
type ResettingAppSecretV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ResettingAppSecretV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c ResettingAppSecretV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ResettingAppSecretV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ResettingAppSecretV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ResettingAppSecretV2ResponseStatus) Value ¶ added in v0.0.90
func (c ResettingAppSecretV2ResponseStatus) Value() int32
type ResettingAppSecretV2ResponseStatusEnum ¶ added in v0.0.69
type ResettingAppSecretV2ResponseStatusEnum struct {
E_1 ResettingAppSecretV2ResponseStatus
}
func GetResettingAppSecretV2ResponseStatusEnum ¶ added in v0.0.69
func GetResettingAppSecretV2ResponseStatusEnum() ResettingAppSecretV2ResponseStatusEnum
type RespInstanceBase ¶ added in v0.0.65
type RespInstanceBase struct { // 实例ID Id *string `json:"id,omitempty"` // 实例所属租户ID ProjectId *string `json:"project_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *RespInstanceBaseStatus `json:"status,omitempty"` // 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时 InstanceStatus *RespInstanceBaseInstanceStatus `json:"instance_status,omitempty"` // 实例类型 默认apig Type *string `json:"type,omitempty"` // 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例 Spec *RespInstanceBaseSpec `json:"spec,omitempty"` // 实例创建时间。unix时间戳格式。 CreateTime *int64 `json:"create_time,omitempty"` // 企业项目ID,企业帐号必填 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例绑定的弹性IP地址 EipAddress *string `json:"eip_address,omitempty"` // 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws,hws_hk)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) ChargingMode *RespInstanceBaseChargingMode `json:"charging_mode,omitempty"` // [包周期计费订单编号](tag:hws,hws_hk)[计费订单编号参数暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) CbcMetadata *string `json:"cbc_metadata,omitempty"` // 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持 LoadbalancerProvider *RespInstanceBaseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"` }
func (RespInstanceBase) String ¶ added in v0.0.65
func (o RespInstanceBase) String() string
type RespInstanceBaseChargingMode ¶ added in v0.0.65
type RespInstanceBaseChargingMode struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseChargingMode) MarshalJSON ¶ added in v0.0.65
func (c RespInstanceBaseChargingMode) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseChargingMode) UnmarshalJSON ¶ added in v0.0.65
func (c *RespInstanceBaseChargingMode) UnmarshalJSON(b []byte) error
func (RespInstanceBaseChargingMode) Value ¶ added in v0.0.90
func (c RespInstanceBaseChargingMode) Value() int32
type RespInstanceBaseChargingModeEnum ¶ added in v0.0.65
type RespInstanceBaseChargingModeEnum struct { E_0 RespInstanceBaseChargingMode E_1 RespInstanceBaseChargingMode }
func GetRespInstanceBaseChargingModeEnum ¶ added in v0.0.65
func GetRespInstanceBaseChargingModeEnum() RespInstanceBaseChargingModeEnum
type RespInstanceBaseInstanceStatus ¶ added in v0.0.65
type RespInstanceBaseInstanceStatus struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseInstanceStatus) MarshalJSON ¶ added in v0.0.65
func (c RespInstanceBaseInstanceStatus) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseInstanceStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *RespInstanceBaseInstanceStatus) UnmarshalJSON(b []byte) error
func (RespInstanceBaseInstanceStatus) Value ¶ added in v0.0.90
func (c RespInstanceBaseInstanceStatus) Value() int32
type RespInstanceBaseInstanceStatusEnum ¶ added in v0.0.65
type RespInstanceBaseInstanceStatusEnum struct { E_1 RespInstanceBaseInstanceStatus E_2 RespInstanceBaseInstanceStatus E_3 RespInstanceBaseInstanceStatus E_4 RespInstanceBaseInstanceStatus E_5 RespInstanceBaseInstanceStatus E_6 RespInstanceBaseInstanceStatus E_7 RespInstanceBaseInstanceStatus E_8 RespInstanceBaseInstanceStatus E_10 RespInstanceBaseInstanceStatus E_11 RespInstanceBaseInstanceStatus E_12 RespInstanceBaseInstanceStatus E_13 RespInstanceBaseInstanceStatus E_20 RespInstanceBaseInstanceStatus E_21 RespInstanceBaseInstanceStatus E_22 RespInstanceBaseInstanceStatus E_23 RespInstanceBaseInstanceStatus E_24 RespInstanceBaseInstanceStatus E_25 RespInstanceBaseInstanceStatus E_26 RespInstanceBaseInstanceStatus E_27 RespInstanceBaseInstanceStatus E_28 RespInstanceBaseInstanceStatus E_29 RespInstanceBaseInstanceStatus E_30 RespInstanceBaseInstanceStatus E_31 RespInstanceBaseInstanceStatus E_32 RespInstanceBaseInstanceStatus E_33 RespInstanceBaseInstanceStatus E_34 RespInstanceBaseInstanceStatus E_35 RespInstanceBaseInstanceStatus E_36 RespInstanceBaseInstanceStatus E_37 RespInstanceBaseInstanceStatus E_38 RespInstanceBaseInstanceStatus E_39 RespInstanceBaseInstanceStatus E_40 RespInstanceBaseInstanceStatus E_41 RespInstanceBaseInstanceStatus }
func GetRespInstanceBaseInstanceStatusEnum ¶ added in v0.0.65
func GetRespInstanceBaseInstanceStatusEnum() RespInstanceBaseInstanceStatusEnum
type RespInstanceBaseLoadbalancerProvider ¶ added in v0.0.89
type RespInstanceBaseLoadbalancerProvider struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseLoadbalancerProvider) MarshalJSON ¶ added in v0.0.89
func (c RespInstanceBaseLoadbalancerProvider) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseLoadbalancerProvider) UnmarshalJSON ¶ added in v0.0.89
func (c *RespInstanceBaseLoadbalancerProvider) UnmarshalJSON(b []byte) error
func (RespInstanceBaseLoadbalancerProvider) Value ¶ added in v0.0.90
func (c RespInstanceBaseLoadbalancerProvider) Value() string
type RespInstanceBaseLoadbalancerProviderEnum ¶ added in v0.0.89
type RespInstanceBaseLoadbalancerProviderEnum struct { LVS RespInstanceBaseLoadbalancerProvider ELB RespInstanceBaseLoadbalancerProvider }
func GetRespInstanceBaseLoadbalancerProviderEnum ¶ added in v0.0.89
func GetRespInstanceBaseLoadbalancerProviderEnum() RespInstanceBaseLoadbalancerProviderEnum
type RespInstanceBaseSpec ¶ added in v0.0.65
type RespInstanceBaseSpec struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseSpec) MarshalJSON ¶ added in v0.0.65
func (c RespInstanceBaseSpec) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseSpec) UnmarshalJSON ¶ added in v0.0.65
func (c *RespInstanceBaseSpec) UnmarshalJSON(b []byte) error
func (RespInstanceBaseSpec) Value ¶ added in v0.0.90
func (c RespInstanceBaseSpec) Value() string
type RespInstanceBaseSpecEnum ¶ added in v0.0.65
type RespInstanceBaseSpecEnum struct { BASIC RespInstanceBaseSpec PROFESSIONAL RespInstanceBaseSpec ENTERPRISE RespInstanceBaseSpec PLATINUM RespInstanceBaseSpec BASIC_IPV6 RespInstanceBaseSpec PROFESSIONAL_IPV6 RespInstanceBaseSpec ENTERPRISE_IPV6 RespInstanceBaseSpec PLATINUM_IPV6 RespInstanceBaseSpec }
func GetRespInstanceBaseSpecEnum ¶ added in v0.0.65
func GetRespInstanceBaseSpecEnum() RespInstanceBaseSpecEnum
type RespInstanceBaseStatus ¶ added in v0.0.65
type RespInstanceBaseStatus struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseStatus) MarshalJSON ¶ added in v0.0.65
func (c RespInstanceBaseStatus) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *RespInstanceBaseStatus) UnmarshalJSON(b []byte) error
func (RespInstanceBaseStatus) Value ¶ added in v0.0.90
func (c RespInstanceBaseStatus) Value() string
type RespInstanceBaseStatusEnum ¶ added in v0.0.65
type RespInstanceBaseStatusEnum struct { CREATING RespInstanceBaseStatus CREATE_SUCCESS RespInstanceBaseStatus CREATE_FAIL RespInstanceBaseStatus INITING RespInstanceBaseStatus REGISTERING RespInstanceBaseStatus RUNNING RespInstanceBaseStatus INITING_FAILED RespInstanceBaseStatus REGISTER_FAILED RespInstanceBaseStatus INSTALLING RespInstanceBaseStatus INSTALL_FAILED RespInstanceBaseStatus UPDATING RespInstanceBaseStatus UPDATE_FAILED RespInstanceBaseStatus ROLLBACKING RespInstanceBaseStatus ROLLBACK_SUCCESS RespInstanceBaseStatus ROLLBACK_FAILED RespInstanceBaseStatus DELETING RespInstanceBaseStatus DELETE_FAILED RespInstanceBaseStatus UNREGISTERING RespInstanceBaseStatus UN_REGISTER_FAILED RespInstanceBaseStatus CREATE_TIMEOUT RespInstanceBaseStatus INIT_TIMEOUT RespInstanceBaseStatus REGISTER_TIMEOUT RespInstanceBaseStatus INSTALL_TIMEOUT RespInstanceBaseStatus UPDATE_TIMEOUT RespInstanceBaseStatus ROLLBACK_TIMEOUT RespInstanceBaseStatus DELETE_TIMEOUT RespInstanceBaseStatus UNREGISTER_TIMEOUT RespInstanceBaseStatus STARTING RespInstanceBaseStatus FREEZING RespInstanceBaseStatus FROZEN RespInstanceBaseStatus RESTARTING RespInstanceBaseStatus RESTART_FAIL RespInstanceBaseStatus UNHEALTHY RespInstanceBaseStatus RESTART_TIMEOUT RespInstanceBaseStatus }
func GetRespInstanceBaseStatusEnum ¶ added in v0.0.65
func GetRespInstanceBaseStatusEnum() RespInstanceBaseStatusEnum
type ResponseInfo ¶ added in v0.0.65
type ResponseInfo struct { // 响应的HTTP状态码 Status *int32 `json:"status,omitempty"` // 响应的Body模板 Body *string `json:"body,omitempty"` }
func (ResponseInfo) String ¶ added in v0.0.65
func (o ResponseInfo) String() string
type ResponseInfoResp ¶ added in v0.0.65
type ResponseInfoResp struct { // 响应的HTTP状态码 Status *int32 `json:"status,omitempty"` // 响应的Body模板 Body *string `json:"body,omitempty"` // 是否为默认响应 Default *bool `json:"default,omitempty"` }
func (ResponseInfoResp) String ¶ added in v0.0.65
func (o ResponseInfoResp) String() string
type ResponsesCreate ¶ added in v0.0.65
type ResponsesCreate struct { // 响应名称 Name *string `json:"name,omitempty"` // 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX 每项错误类型均为一个JSON体 Responses map[string]ResponseInfo `json:"responses,omitempty"` }
func (ResponsesCreate) String ¶ added in v0.0.65
func (o ResponsesCreate) String() string
type ResponsesInfo ¶ added in v0.1.3
type ResponsesInfo struct { // 响应名称 Name *string `json:"name,omitempty"` // 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX 每项错误类型均为一个JSON体 Responses map[string]ResponseInfoResp `json:"responses,omitempty"` // 响应ID Id *string `json:"id,omitempty"` // 是否为分组默认响应 Default *bool `json:"default,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (ResponsesInfo) String ¶ added in v0.1.3
func (o ResponsesInfo) String() string
type ShowDetailsOfAclPolicyV2Request ¶ added in v0.0.65
type ShowDetailsOfAclPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` }
Request Object
func (ShowDetailsOfAclPolicyV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfAclPolicyV2Request) String() string
type ShowDetailsOfAclPolicyV2Response ¶ added in v0.0.65
type ShowDetailsOfAclPolicyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN - DOMAIN_ID EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAclPolicyV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfAclPolicyV2Response) String() string
type ShowDetailsOfApiGroupV2Request ¶
type ShowDetailsOfApiGroupV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` }
Request Object
func (ShowDetailsOfApiGroupV2Request) String ¶
func (o ShowDetailsOfApiGroupV2Request) String() string
type ShowDetailsOfApiGroupV2Response ¶
type ShowDetailsOfApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ShowDetailsOfApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 暂不支持,默认为V1 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfApiGroupV2Response) String ¶
func (o ShowDetailsOfApiGroupV2Response) String() string
type ShowDetailsOfApiGroupV2ResponseStatus ¶ added in v0.0.69
type ShowDetailsOfApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiGroupV2ResponseStatus) Value() int32
type ShowDetailsOfApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
type ShowDetailsOfApiGroupV2ResponseStatusEnum struct {
E_1 ShowDetailsOfApiGroupV2ResponseStatus
}
func GetShowDetailsOfApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
func GetShowDetailsOfApiGroupV2ResponseStatusEnum() ShowDetailsOfApiGroupV2ResponseStatusEnum
type ShowDetailsOfApiV2Request ¶
type ShowDetailsOfApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` }
Request Object
func (ShowDetailsOfApiV2Request) String ¶
func (o ShowDetailsOfApiV2Request) String() string
type ShowDetailsOfApiV2Response ¶
type ShowDetailsOfApiV2Response struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type ShowDetailsOfApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ShowDetailsOfApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ShowDetailsOfApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ShowDetailsOfApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ShowDetailsOfApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ShowDetailsOfApiV2ResponseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *ShowDetailsOfApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfApiV2Response) String ¶
func (o ShowDetailsOfApiV2Response) String() string
type ShowDetailsOfApiV2ResponseAuthType ¶
type ShowDetailsOfApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseAuthType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseAuthType) Value() string
type ShowDetailsOfApiV2ResponseAuthTypeEnum ¶
type ShowDetailsOfApiV2ResponseAuthTypeEnum struct { NONE ShowDetailsOfApiV2ResponseAuthType APP ShowDetailsOfApiV2ResponseAuthType IAM ShowDetailsOfApiV2ResponseAuthType AUTHORIZER ShowDetailsOfApiV2ResponseAuthType }
func GetShowDetailsOfApiV2ResponseAuthTypeEnum ¶
func GetShowDetailsOfApiV2ResponseAuthTypeEnum() ShowDetailsOfApiV2ResponseAuthTypeEnum
type ShowDetailsOfApiV2ResponseBackendType ¶
type ShowDetailsOfApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseBackendType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseBackendType) Value() string
type ShowDetailsOfApiV2ResponseBackendTypeEnum ¶
type ShowDetailsOfApiV2ResponseBackendTypeEnum struct { HTTP ShowDetailsOfApiV2ResponseBackendType FUNCTION ShowDetailsOfApiV2ResponseBackendType MOCK ShowDetailsOfApiV2ResponseBackendType }
func GetShowDetailsOfApiV2ResponseBackendTypeEnum ¶
func GetShowDetailsOfApiV2ResponseBackendTypeEnum() ShowDetailsOfApiV2ResponseBackendTypeEnum
type ShowDetailsOfApiV2ResponseContentType ¶ added in v0.0.76
type ShowDetailsOfApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseContentType) MarshalJSON ¶ added in v0.0.76
func (c ShowDetailsOfApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseContentType) Value() string
type ShowDetailsOfApiV2ResponseContentTypeEnum ¶ added in v0.0.76
type ShowDetailsOfApiV2ResponseContentTypeEnum struct { APPLICATION_JSON ShowDetailsOfApiV2ResponseContentType APPLICATION_XML ShowDetailsOfApiV2ResponseContentType MULTIPART_FORM_DATE ShowDetailsOfApiV2ResponseContentType TEXT_PLAIN ShowDetailsOfApiV2ResponseContentType }
func GetShowDetailsOfApiV2ResponseContentTypeEnum ¶ added in v0.0.76
func GetShowDetailsOfApiV2ResponseContentTypeEnum() ShowDetailsOfApiV2ResponseContentTypeEnum
type ShowDetailsOfApiV2ResponseMatchMode ¶
type ShowDetailsOfApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseMatchMode) Value() string
type ShowDetailsOfApiV2ResponseMatchModeEnum ¶
type ShowDetailsOfApiV2ResponseMatchModeEnum struct { SWA ShowDetailsOfApiV2ResponseMatchMode NORMAL ShowDetailsOfApiV2ResponseMatchMode }
func GetShowDetailsOfApiV2ResponseMatchModeEnum ¶
func GetShowDetailsOfApiV2ResponseMatchModeEnum() ShowDetailsOfApiV2ResponseMatchModeEnum
type ShowDetailsOfApiV2ResponseReqMethod ¶
type ShowDetailsOfApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseReqMethod) Value() string
type ShowDetailsOfApiV2ResponseReqMethodEnum ¶
type ShowDetailsOfApiV2ResponseReqMethodEnum struct { GET ShowDetailsOfApiV2ResponseReqMethod POST ShowDetailsOfApiV2ResponseReqMethod PUT ShowDetailsOfApiV2ResponseReqMethod DELETE ShowDetailsOfApiV2ResponseReqMethod HEAD ShowDetailsOfApiV2ResponseReqMethod PATCH ShowDetailsOfApiV2ResponseReqMethod OPTIONS ShowDetailsOfApiV2ResponseReqMethod ANY ShowDetailsOfApiV2ResponseReqMethod }
func GetShowDetailsOfApiV2ResponseReqMethodEnum ¶
func GetShowDetailsOfApiV2ResponseReqMethodEnum() ShowDetailsOfApiV2ResponseReqMethodEnum
type ShowDetailsOfApiV2ResponseReqProtocol ¶
type ShowDetailsOfApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseReqProtocol) Value() string
type ShowDetailsOfApiV2ResponseReqProtocolEnum ¶
type ShowDetailsOfApiV2ResponseReqProtocolEnum struct { HTTP ShowDetailsOfApiV2ResponseReqProtocol HTTPS ShowDetailsOfApiV2ResponseReqProtocol BOTH ShowDetailsOfApiV2ResponseReqProtocol }
func GetShowDetailsOfApiV2ResponseReqProtocolEnum ¶
func GetShowDetailsOfApiV2ResponseReqProtocolEnum() ShowDetailsOfApiV2ResponseReqProtocolEnum
type ShowDetailsOfApiV2ResponseType ¶
type ShowDetailsOfApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseType) Value() int32
type ShowDetailsOfApiV2ResponseTypeEnum ¶
type ShowDetailsOfApiV2ResponseTypeEnum struct { E_1 ShowDetailsOfApiV2ResponseType E_2 ShowDetailsOfApiV2ResponseType }
func GetShowDetailsOfApiV2ResponseTypeEnum ¶
func GetShowDetailsOfApiV2ResponseTypeEnum() ShowDetailsOfApiV2ResponseTypeEnum
type ShowDetailsOfAppCodeV2Request ¶ added in v0.0.65
type ShowDetailsOfAppCodeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // APP Code编号 AppCodeId string `json:"app_code_id"` }
Request Object
func (ShowDetailsOfAppCodeV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfAppCodeV2Request) String() string
type ShowDetailsOfAppCodeV2Response ¶ added in v0.0.65
type ShowDetailsOfAppCodeV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppCodeV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfAppCodeV2Response) String() string
type ShowDetailsOfAppV2Request ¶
type ShowDetailsOfAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (ShowDetailsOfAppV2Request) String ¶
func (o ShowDetailsOfAppV2Request) String() string
type ShowDetailsOfAppV2Response ¶
type ShowDetailsOfAppV2Response struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *ShowDetailsOfAppV2ResponseCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *ShowDetailsOfAppV2ResponseStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *ShowDetailsOfAppV2ResponseAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppV2Response) String ¶
func (o ShowDetailsOfAppV2Response) String() string
type ShowDetailsOfAppV2ResponseAppType ¶
type ShowDetailsOfAppV2ResponseAppType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseAppType) MarshalJSON ¶
func (c ShowDetailsOfAppV2ResponseAppType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON ¶
func (c *ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseAppType) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseAppType) Value() string
type ShowDetailsOfAppV2ResponseAppTypeEnum ¶
type ShowDetailsOfAppV2ResponseAppTypeEnum struct { APIG ShowDetailsOfAppV2ResponseAppType ROMA ShowDetailsOfAppV2ResponseAppType }
func GetShowDetailsOfAppV2ResponseAppTypeEnum ¶
func GetShowDetailsOfAppV2ResponseAppTypeEnum() ShowDetailsOfAppV2ResponseAppTypeEnum
type ShowDetailsOfAppV2ResponseCreator ¶
type ShowDetailsOfAppV2ResponseCreator struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseCreator) MarshalJSON ¶
func (c ShowDetailsOfAppV2ResponseCreator) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON ¶
func (c *ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseCreator) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseCreator) Value() string
type ShowDetailsOfAppV2ResponseCreatorEnum ¶
type ShowDetailsOfAppV2ResponseCreatorEnum struct { USER ShowDetailsOfAppV2ResponseCreator MARKET ShowDetailsOfAppV2ResponseCreator }
func GetShowDetailsOfAppV2ResponseCreatorEnum ¶
func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum
type ShowDetailsOfAppV2ResponseStatus ¶ added in v0.0.69
type ShowDetailsOfAppV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c ShowDetailsOfAppV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseStatus) Value() int32
type ShowDetailsOfAppV2ResponseStatusEnum ¶ added in v0.0.69
type ShowDetailsOfAppV2ResponseStatusEnum struct {
E_1 ShowDetailsOfAppV2ResponseStatus
}
func GetShowDetailsOfAppV2ResponseStatusEnum ¶ added in v0.0.69
func GetShowDetailsOfAppV2ResponseStatusEnum() ShowDetailsOfAppV2ResponseStatusEnum
type ShowDetailsOfCertificateV2Request ¶ added in v0.1.7
type ShowDetailsOfCertificateV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (ShowDetailsOfCertificateV2Request) String ¶ added in v0.1.7
func (o ShowDetailsOfCertificateV2Request) String() string
type ShowDetailsOfCertificateV2Response ¶ added in v0.1.7
type ShowDetailsOfCertificateV2Response struct { // 证书ID Id *string `json:"id,omitempty"` // 证书名称 Name *string `json:"name,omitempty"` // 证书类型 - global:全局证书 - instance:实例证书 Type *ShowDetailsOfCertificateV2ResponseType `json:"type,omitempty"` // 实例编码 - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码 InstanceId *string `json:"instance_id,omitempty"` // 租户项目编号 ProjectId *string `json:"project_id,omitempty"` // 域名 CommonName *string `json:"common_name,omitempty"` // san扩展域名 San *[]string `json:"san,omitempty"` // 有效期到 NotAfter *sdktime.SdkTime `json:"not_after,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 公司、组织 Organization *[]string `json:"organization,omitempty"` // 部门 OrganizationalUnit *[]string `json:"organizational_unit,omitempty"` // 城市 Locality *[]string `json:"locality,omitempty"` // 省份 State *[]string `json:"state,omitempty"` // 国家 Country *[]string `json:"country,omitempty"` // 有效期从 NotBefore *sdktime.SdkTime `json:"not_before,omitempty"` // 序列号 SerialNumber *string `json:"serial_number,omitempty"` // 颁发者 Issuer *[]string `json:"issuer,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfCertificateV2Response) String ¶ added in v0.1.7
func (o ShowDetailsOfCertificateV2Response) String() string
type ShowDetailsOfCertificateV2ResponseType ¶ added in v0.1.7
type ShowDetailsOfCertificateV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfCertificateV2ResponseType) MarshalJSON ¶ added in v0.1.7
func (c ShowDetailsOfCertificateV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfCertificateV2ResponseType) UnmarshalJSON ¶ added in v0.1.7
func (c *ShowDetailsOfCertificateV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfCertificateV2ResponseType) Value ¶ added in v0.1.7
func (c ShowDetailsOfCertificateV2ResponseType) Value() string
type ShowDetailsOfCertificateV2ResponseTypeEnum ¶ added in v0.1.7
type ShowDetailsOfCertificateV2ResponseTypeEnum struct { GLOBAL ShowDetailsOfCertificateV2ResponseType INSTANCE ShowDetailsOfCertificateV2ResponseType }
func GetShowDetailsOfCertificateV2ResponseTypeEnum ¶ added in v0.1.7
func GetShowDetailsOfCertificateV2ResponseTypeEnum() ShowDetailsOfCertificateV2ResponseTypeEnum
type ShowDetailsOfCustomAuthorizersV2Request ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` }
Request Object
func (ShowDetailsOfCustomAuthorizersV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfCustomAuthorizersV2Request) String() string
type ShowDetailsOfCustomAuthorizersV2Response ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type ShowDetailsOfCustomAuthorizersV2ResponseType `json:"type"` // 只能为:FUNC AuthorizerType ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfCustomAuthorizersV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfCustomAuthorizersV2Response) String() string
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value() string
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum struct {
FUNC ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType
}
func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum
type ShowDetailsOfCustomAuthorizersV2ResponseType ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfCustomAuthorizersV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfCustomAuthorizersV2ResponseType) Value() string
type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum ¶ added in v0.0.65
type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum struct { FRONTEND ShowDetailsOfCustomAuthorizersV2ResponseType BACKEND ShowDetailsOfCustomAuthorizersV2ResponseType }
func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum ¶ added in v0.0.65
func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum
type ShowDetailsOfDomainNameCertificateV2Request ¶
type ShowDetailsOfDomainNameCertificateV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (ShowDetailsOfDomainNameCertificateV2Request) String ¶
func (o ShowDetailsOfDomainNameCertificateV2Request) String() string
type ShowDetailsOfDomainNameCertificateV2Response ¶
type ShowDetailsOfDomainNameCertificateV2Response struct { // 证书域名 CommonName *string `json:"common_name,omitempty"` // SAN域名 San *[]string `json:"san,omitempty"` // 证书版本 Version *int32 `json:"version,omitempty"` // 公司、组织 Organization *[]string `json:"organization,omitempty"` // 部门 OrganizationalUnit *[]string `json:"organizational_unit,omitempty"` // 城市 Locality *[]string `json:"locality,omitempty"` // 省份 State *[]string `json:"state,omitempty"` // 国家 Country *[]string `json:"country,omitempty"` // 证书有效期起始时间 NotBefore *string `json:"not_before,omitempty"` // 证书有效期截止时间 NotAfter *string `json:"not_after,omitempty"` // 序列号 SerialNumber *string `json:"serial_number,omitempty"` // 颁发者 Issuer *[]string `json:"issuer,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfDomainNameCertificateV2Response) String ¶
func (o ShowDetailsOfDomainNameCertificateV2Response) String() string
type ShowDetailsOfEnvironmentVariableV2Request ¶
type ShowDetailsOfEnvironmentVariableV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 环境变量的编号 EnvVariableId string `json:"env_variable_id"` }
Request Object
func (ShowDetailsOfEnvironmentVariableV2Request) String ¶
func (o ShowDetailsOfEnvironmentVariableV2Request) String() string
type ShowDetailsOfEnvironmentVariableV2Response ¶
type ShowDetailsOfEnvironmentVariableV2Response struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfEnvironmentVariableV2Response) String ¶
func (o ShowDetailsOfEnvironmentVariableV2Response) String() string
type ShowDetailsOfGatewayResponseTypeV2Request ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseTypeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` // 错误类型 ResponseType ShowDetailsOfGatewayResponseTypeV2RequestResponseType `json:"response_type"` }
Request Object
func (ShowDetailsOfGatewayResponseTypeV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfGatewayResponseTypeV2Request) String() string
type ShowDetailsOfGatewayResponseTypeV2RequestResponseType ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseTypeV2RequestResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfGatewayResponseTypeV2RequestResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfGatewayResponseTypeV2RequestResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfGatewayResponseTypeV2RequestResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfGatewayResponseTypeV2RequestResponseType) Value() string
type ShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum struct { AUTH_FAILURE ShowDetailsOfGatewayResponseTypeV2RequestResponseType AUTH_HEADER_MISSING ShowDetailsOfGatewayResponseTypeV2RequestResponseType AUTHORIZER_FAILURE ShowDetailsOfGatewayResponseTypeV2RequestResponseType AUTHORIZER_CONF_FAILURE ShowDetailsOfGatewayResponseTypeV2RequestResponseType AUTHORIZER_IDENTITIES_FAILURE ShowDetailsOfGatewayResponseTypeV2RequestResponseType BACKEND_UNAVAILABLE ShowDetailsOfGatewayResponseTypeV2RequestResponseType BACKEND_TIMEOUT ShowDetailsOfGatewayResponseTypeV2RequestResponseType THROTTLED ShowDetailsOfGatewayResponseTypeV2RequestResponseType UNAUTHORIZED ShowDetailsOfGatewayResponseTypeV2RequestResponseType ACCESS_DENIED ShowDetailsOfGatewayResponseTypeV2RequestResponseType NOT_FOUND ShowDetailsOfGatewayResponseTypeV2RequestResponseType REQUEST_PARAMETERS_FAILURE ShowDetailsOfGatewayResponseTypeV2RequestResponseType DEFAULT_4_XX ShowDetailsOfGatewayResponseTypeV2RequestResponseType DEFAULT_5_XX ShowDetailsOfGatewayResponseTypeV2RequestResponseType }
func GetShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
func GetShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum() ShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum
type ShowDetailsOfGatewayResponseTypeV2Response ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseTypeV2Response struct { Body map[string]ResponseInfoResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfGatewayResponseTypeV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfGatewayResponseTypeV2Response) String() string
type ShowDetailsOfGatewayResponseV2Request ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` }
Request Object
func (ShowDetailsOfGatewayResponseV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfGatewayResponseV2Request) String() string
type ShowDetailsOfGatewayResponseV2Response ¶ added in v0.0.65
type ShowDetailsOfGatewayResponseV2Response struct { // 响应名称 Name *string `json:"name,omitempty"` // 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX 每项错误类型均为一个JSON体 Responses map[string]ResponseInfoResp `json:"responses,omitempty"` // 响应ID Id *string `json:"id,omitempty"` // 是否为分组默认响应 Default *bool `json:"default,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfGatewayResponseV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfGatewayResponseV2Response) String() string
type ShowDetailsOfInstanceProgressV2Request ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (ShowDetailsOfInstanceProgressV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfInstanceProgressV2Request) String() string
type ShowDetailsOfInstanceProgressV2Response ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2Response struct { // 实例创建进度 单位:百分比 Progress *ShowDetailsOfInstanceProgressV2ResponseProgress `json:"progress,omitempty"` // 实例创建状态 - creating:创建中 - success:创建成功 - failed:创建失败 Status *ShowDetailsOfInstanceProgressV2ResponseStatus `json:"status,omitempty"` // 实例创建失败错误码 ErrorCode *string `json:"error_code,omitempty"` // 实例创建失败错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 实例创建开始时间。unix时间戳格式。 StartTime *int64 `json:"start_time,omitempty"` // 实例创建结束时间。unix时间戳格式。 EndTime *int64 `json:"end_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfInstanceProgressV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfInstanceProgressV2Response) String() string
type ShowDetailsOfInstanceProgressV2ResponseProgress ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2ResponseProgress struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceProgressV2ResponseProgress) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceProgressV2ResponseProgress) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceProgressV2ResponseProgress) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceProgressV2ResponseProgress) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceProgressV2ResponseProgress) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceProgressV2ResponseProgress) Value() int32
type ShowDetailsOfInstanceProgressV2ResponseProgressEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2ResponseProgressEnum struct { E_30 ShowDetailsOfInstanceProgressV2ResponseProgress E_50 ShowDetailsOfInstanceProgressV2ResponseProgress E_80 ShowDetailsOfInstanceProgressV2ResponseProgress E_90 ShowDetailsOfInstanceProgressV2ResponseProgress E_100 ShowDetailsOfInstanceProgressV2ResponseProgress }
func GetShowDetailsOfInstanceProgressV2ResponseProgressEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceProgressV2ResponseProgressEnum() ShowDetailsOfInstanceProgressV2ResponseProgressEnum
type ShowDetailsOfInstanceProgressV2ResponseStatus ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceProgressV2ResponseStatus) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceProgressV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceProgressV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceProgressV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceProgressV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceProgressV2ResponseStatus) Value() string
type ShowDetailsOfInstanceProgressV2ResponseStatusEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceProgressV2ResponseStatusEnum struct { CREATING ShowDetailsOfInstanceProgressV2ResponseStatus SUCCESS ShowDetailsOfInstanceProgressV2ResponseStatus FAILED ShowDetailsOfInstanceProgressV2ResponseStatus }
func GetShowDetailsOfInstanceProgressV2ResponseStatusEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceProgressV2ResponseStatusEnum() ShowDetailsOfInstanceProgressV2ResponseStatusEnum
type ShowDetailsOfInstanceV2Request ¶ added in v0.0.65
type ShowDetailsOfInstanceV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` }
Request Object
func (ShowDetailsOfInstanceV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfInstanceV2Request) String() string
type ShowDetailsOfInstanceV2Response ¶ added in v0.0.65
type ShowDetailsOfInstanceV2Response struct { // 实例ID Id *string `json:"id,omitempty"` // 实例所属租户ID ProjectId *string `json:"project_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *ShowDetailsOfInstanceV2ResponseStatus `json:"status,omitempty"` // 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时 InstanceStatus *ShowDetailsOfInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"` // 实例类型 默认apig Type *string `json:"type,omitempty"` // 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例 Spec *ShowDetailsOfInstanceV2ResponseSpec `json:"spec,omitempty"` // 实例创建时间。unix时间戳格式。 CreateTime *int64 `json:"create_time,omitempty"` // 企业项目ID,企业帐号必填 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例绑定的弹性IP地址 EipAddress *string `json:"eip_address,omitempty"` // 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws,hws_hk)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) ChargingMode *ShowDetailsOfInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"` // [包周期计费订单编号](tag:hws,hws_hk)[计费订单编号参数暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) CbcMetadata *string `json:"cbc_metadata,omitempty"` // 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持 LoadbalancerProvider *ShowDetailsOfInstanceV2ResponseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"` // 实例描述 Description *string `json:"description,omitempty"` // 虚拟私有云ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。 VpcId *string `json:"vpc_id,omitempty"` // 子网的网络ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。 SubnetId *string `json:"subnet_id,omitempty"` // 指定实例所属的安全组。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。 SecurityGroupId *string `json:"security_group_id,omitempty"` // '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。' MaintainBegin *string `json:"maintain_begin,omitempty"` // '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例入口,虚拟私有云访问地址 IngressIp *string `json:"ingress_ip,omitempty"` // 实例入口,虚拟私有云访问地址 (IPv6) IngressIpV6 *string `json:"ingress_ip_v6,omitempty"` // 实例所属用户ID UserId *string `json:"user_id,omitempty"` // 出公网网段 (IPv6) 。 当前仅部分region部分可用区支持IPv6 NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"` // 弹性IP地址(IPv6)。 当前仅部分region部分可用区支持IPv6 EipIpv6Address *string `json:"eip_ipv6_address,omitempty"` // 实例出公网IP NatEipAddress *string `json:"nat_eip_address,omitempty"` // 出公网带宽 BandwidthSize *int32 `json:"bandwidth_size,omitempty"` // 可用区 AvailableZoneIds *string `json:"available_zone_ids,omitempty"` // 实例版本编号 InstanceVersion *string `json:"instance_version,omitempty"` // 子网的网络ID。 暂不支持 VirsubnetId *string `json:"virsubnet_id,omitempty"` // roma弹性公网IP。 暂不支持 RomaEipAddress *string `json:"roma_eip_address,omitempty"` // 监听信息 暂不支持 Listeners *interface{} `json:"listeners,omitempty"` // 实例支持的特性列表 SupportedFeatures *[]string `json:"supported_features,omitempty"` EndpointService *EndpointService `json:"endpoint_service,omitempty"` // 终端节点服务列表 EndpointServices *[]EndpointService `json:"endpoint_services,omitempty"` NodeIps *NodeIps `json:"node_ips,omitempty"` // 公网入口地址列表 Publicips *[]IpDetails `json:"publicips,omitempty"` // 私网入口地址列表 Privateips *[]IpDetails `json:"privateips,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfInstanceV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfInstanceV2Response) String() string
type ShowDetailsOfInstanceV2ResponseChargingMode ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseChargingMode struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseChargingMode) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseChargingMode) Value() int32
type ShowDetailsOfInstanceV2ResponseChargingModeEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseChargingModeEnum struct { E_0 ShowDetailsOfInstanceV2ResponseChargingMode E_1 ShowDetailsOfInstanceV2ResponseChargingMode }
func GetShowDetailsOfInstanceV2ResponseChargingModeEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceV2ResponseChargingModeEnum() ShowDetailsOfInstanceV2ResponseChargingModeEnum
type ShowDetailsOfInstanceV2ResponseInstanceStatus ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseInstanceStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseInstanceStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseInstanceStatus) Value() int32
type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum struct { E_1 ShowDetailsOfInstanceV2ResponseInstanceStatus E_2 ShowDetailsOfInstanceV2ResponseInstanceStatus E_3 ShowDetailsOfInstanceV2ResponseInstanceStatus E_4 ShowDetailsOfInstanceV2ResponseInstanceStatus E_5 ShowDetailsOfInstanceV2ResponseInstanceStatus E_6 ShowDetailsOfInstanceV2ResponseInstanceStatus E_7 ShowDetailsOfInstanceV2ResponseInstanceStatus E_8 ShowDetailsOfInstanceV2ResponseInstanceStatus E_10 ShowDetailsOfInstanceV2ResponseInstanceStatus E_11 ShowDetailsOfInstanceV2ResponseInstanceStatus E_12 ShowDetailsOfInstanceV2ResponseInstanceStatus E_13 ShowDetailsOfInstanceV2ResponseInstanceStatus E_20 ShowDetailsOfInstanceV2ResponseInstanceStatus E_21 ShowDetailsOfInstanceV2ResponseInstanceStatus E_22 ShowDetailsOfInstanceV2ResponseInstanceStatus E_23 ShowDetailsOfInstanceV2ResponseInstanceStatus E_24 ShowDetailsOfInstanceV2ResponseInstanceStatus E_25 ShowDetailsOfInstanceV2ResponseInstanceStatus E_26 ShowDetailsOfInstanceV2ResponseInstanceStatus E_27 ShowDetailsOfInstanceV2ResponseInstanceStatus E_28 ShowDetailsOfInstanceV2ResponseInstanceStatus E_29 ShowDetailsOfInstanceV2ResponseInstanceStatus E_30 ShowDetailsOfInstanceV2ResponseInstanceStatus E_31 ShowDetailsOfInstanceV2ResponseInstanceStatus E_32 ShowDetailsOfInstanceV2ResponseInstanceStatus E_33 ShowDetailsOfInstanceV2ResponseInstanceStatus E_34 ShowDetailsOfInstanceV2ResponseInstanceStatus E_35 ShowDetailsOfInstanceV2ResponseInstanceStatus E_36 ShowDetailsOfInstanceV2ResponseInstanceStatus E_37 ShowDetailsOfInstanceV2ResponseInstanceStatus E_38 ShowDetailsOfInstanceV2ResponseInstanceStatus E_39 ShowDetailsOfInstanceV2ResponseInstanceStatus E_40 ShowDetailsOfInstanceV2ResponseInstanceStatus E_41 ShowDetailsOfInstanceV2ResponseInstanceStatus }
func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum() ShowDetailsOfInstanceV2ResponseInstanceStatusEnum
type ShowDetailsOfInstanceV2ResponseLoadbalancerProvider ¶ added in v0.0.89
type ShowDetailsOfInstanceV2ResponseLoadbalancerProvider struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) MarshalJSON ¶ added in v0.0.89
func (c ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON ¶ added in v0.0.89
func (c *ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) Value() string
type ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum ¶ added in v0.0.89
type ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum struct { LVS ShowDetailsOfInstanceV2ResponseLoadbalancerProvider ELB ShowDetailsOfInstanceV2ResponseLoadbalancerProvider }
func GetShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum ¶ added in v0.0.89
func GetShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum() ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum
type ShowDetailsOfInstanceV2ResponseSpec ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseSpec struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseSpec) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseSpec) Value() string
type ShowDetailsOfInstanceV2ResponseSpecEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseSpecEnum struct { BASIC ShowDetailsOfInstanceV2ResponseSpec PROFESSIONAL ShowDetailsOfInstanceV2ResponseSpec ENTERPRISE ShowDetailsOfInstanceV2ResponseSpec PLATINUM ShowDetailsOfInstanceV2ResponseSpec BASIC_IPV6 ShowDetailsOfInstanceV2ResponseSpec PROFESSIONAL_IPV6 ShowDetailsOfInstanceV2ResponseSpec ENTERPRISE_IPV6 ShowDetailsOfInstanceV2ResponseSpec PLATINUM_IPV6 ShowDetailsOfInstanceV2ResponseSpec }
func GetShowDetailsOfInstanceV2ResponseSpecEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceV2ResponseSpecEnum() ShowDetailsOfInstanceV2ResponseSpecEnum
type ShowDetailsOfInstanceV2ResponseStatus ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseStatus) Value() string
type ShowDetailsOfInstanceV2ResponseStatusEnum ¶ added in v0.0.65
type ShowDetailsOfInstanceV2ResponseStatusEnum struct { CREATING ShowDetailsOfInstanceV2ResponseStatus CREATE_SUCCESS ShowDetailsOfInstanceV2ResponseStatus CREATE_FAIL ShowDetailsOfInstanceV2ResponseStatus INITING ShowDetailsOfInstanceV2ResponseStatus REGISTERING ShowDetailsOfInstanceV2ResponseStatus RUNNING ShowDetailsOfInstanceV2ResponseStatus INITING_FAILED ShowDetailsOfInstanceV2ResponseStatus REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus INSTALLING ShowDetailsOfInstanceV2ResponseStatus INSTALL_FAILED ShowDetailsOfInstanceV2ResponseStatus UPDATING ShowDetailsOfInstanceV2ResponseStatus UPDATE_FAILED ShowDetailsOfInstanceV2ResponseStatus ROLLBACKING ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_SUCCESS ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_FAILED ShowDetailsOfInstanceV2ResponseStatus DELETING ShowDetailsOfInstanceV2ResponseStatus DELETE_FAILED ShowDetailsOfInstanceV2ResponseStatus UNREGISTERING ShowDetailsOfInstanceV2ResponseStatus UN_REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus CREATE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus INIT_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus REGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus INSTALL_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus UPDATE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus DELETE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus UNREGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus STARTING ShowDetailsOfInstanceV2ResponseStatus FREEZING ShowDetailsOfInstanceV2ResponseStatus FROZEN ShowDetailsOfInstanceV2ResponseStatus RESTARTING ShowDetailsOfInstanceV2ResponseStatus RESTART_FAIL ShowDetailsOfInstanceV2ResponseStatus UNHEALTHY ShowDetailsOfInstanceV2ResponseStatus RESTART_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus }
func GetShowDetailsOfInstanceV2ResponseStatusEnum ¶ added in v0.0.65
func GetShowDetailsOfInstanceV2ResponseStatusEnum() ShowDetailsOfInstanceV2ResponseStatusEnum
type ShowDetailsOfMemberGroupRequest ¶ added in v0.1.7
type ShowDetailsOfMemberGroupRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` }
Request Object
func (ShowDetailsOfMemberGroupRequest) String ¶ added in v0.1.7
func (o ShowDetailsOfMemberGroupRequest) String() string
type ShowDetailsOfMemberGroupResponse ¶ added in v0.1.7
type ShowDetailsOfMemberGroupResponse struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。 MicroserviceVersion *string `json:"microservice_version,omitempty"` // VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。 MicroservicePort *int32 `json:"microservice_port,omitempty"` // VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。 MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfMemberGroupResponse) String ¶ added in v0.1.7
func (o ShowDetailsOfMemberGroupResponse) String() string
type ShowDetailsOfRequestThrottlingPolicyV2Request ¶
type ShowDetailsOfRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` }
Request Object
func (ShowDetailsOfRequestThrottlingPolicyV2Request) String ¶
func (o ShowDetailsOfRequestThrottlingPolicyV2Request) String() string
type ShowDetailsOfRequestThrottlingPolicyV2Response ¶
type ShowDetailsOfRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ShowDetailsOfRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfRequestThrottlingPolicyV2Response) String ¶
func (o ShowDetailsOfRequestThrottlingPolicyV2Response) String() string
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶ added in v0.0.69
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶ added in v0.0.69
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶ added in v0.0.69
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit MINUTE ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit HOUR ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit DAY ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum
type ShowDetailsOfRequestThrottlingPolicyV2ResponseType ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value() int32
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 ShowDetailsOfRequestThrottlingPolicyV2ResponseType E_2 ShowDetailsOfRequestThrottlingPolicyV2ResponseType }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum
type ShowDetailsOfVpcChannelV2Request ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` }
Request Object
func (ShowDetailsOfVpcChannelV2Request) String ¶ added in v0.0.65
func (o ShowDetailsOfVpcChannelV2Request) String() string
type ShowDetailsOfVpcChannelV2Response ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy ShowDetailsOfVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType ShowDetailsOfVpcChannelV2ResponseMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *ShowDetailsOfVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"` // 后端实例列表。 Members *[]VpcMemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfVpcChannelV2Response) String ¶ added in v0.0.65
func (o ShowDetailsOfVpcChannelV2Response) String() string
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value() int32
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_2 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_3 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_4 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy }
func GetShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
func GetShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum() ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum
type ShowDetailsOfVpcChannelV2ResponseMemberType ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON ¶ added in v0.0.65
func (c ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseMemberType) Value() string
type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum struct { IP ShowDetailsOfVpcChannelV2ResponseMemberType ECS ShowDetailsOfVpcChannelV2ResponseMemberType }
func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum() ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum
type ShowDetailsOfVpcChannelV2ResponseStatus ¶ added in v0.0.69
type ShowDetailsOfVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseStatus) Value() int32
type ShowDetailsOfVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
type ShowDetailsOfVpcChannelV2ResponseStatusEnum struct { E_1 ShowDetailsOfVpcChannelV2ResponseStatus E_2 ShowDetailsOfVpcChannelV2ResponseStatus }
func GetShowDetailsOfVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
func GetShowDetailsOfVpcChannelV2ResponseStatusEnum() ShowDetailsOfVpcChannelV2ResponseStatusEnum
type ShowPluginRequest ¶ added in v0.1.11
type ShowPluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 插件编号 PluginId string `json:"plugin_id"` }
Request Object
func (ShowPluginRequest) String ¶ added in v0.1.11
func (o ShowPluginRequest) String() string
type ShowPluginResponse ¶ added in v0.1.11
type ShowPluginResponse struct { // 插件编码。 PluginId *string `json:"plugin_id,omitempty"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType *ShowPluginResponsePluginType `json:"plugin_type,omitempty"` // 插件可见范围。global:全局可见; PluginScope *ShowPluginResponsePluginScope `json:"plugin_scope,omitempty"` // 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 PluginContent *string `json:"plugin_content,omitempty"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 创建时间。 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间。 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPluginResponse) String ¶ added in v0.1.11
func (o ShowPluginResponse) String() string
type ShowPluginResponsePluginScope ¶ added in v0.1.11
type ShowPluginResponsePluginScope struct {
// contains filtered or unexported fields
}
func (ShowPluginResponsePluginScope) MarshalJSON ¶ added in v0.1.11
func (c ShowPluginResponsePluginScope) MarshalJSON() ([]byte, error)
func (*ShowPluginResponsePluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *ShowPluginResponsePluginScope) UnmarshalJSON(b []byte) error
func (ShowPluginResponsePluginScope) Value ¶ added in v0.1.11
func (c ShowPluginResponsePluginScope) Value() string
type ShowPluginResponsePluginScopeEnum ¶ added in v0.1.11
type ShowPluginResponsePluginScopeEnum struct {
GLOBAL ShowPluginResponsePluginScope
}
func GetShowPluginResponsePluginScopeEnum ¶ added in v0.1.11
func GetShowPluginResponsePluginScopeEnum() ShowPluginResponsePluginScopeEnum
type ShowPluginResponsePluginType ¶ added in v0.1.11
type ShowPluginResponsePluginType struct {
// contains filtered or unexported fields
}
func (ShowPluginResponsePluginType) MarshalJSON ¶ added in v0.1.11
func (c ShowPluginResponsePluginType) MarshalJSON() ([]byte, error)
func (*ShowPluginResponsePluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *ShowPluginResponsePluginType) UnmarshalJSON(b []byte) error
func (ShowPluginResponsePluginType) Value ¶ added in v0.1.11
func (c ShowPluginResponsePluginType) Value() string
type ShowPluginResponsePluginTypeEnum ¶ added in v0.1.11
type ShowPluginResponsePluginTypeEnum struct { CORS ShowPluginResponsePluginType SET_RESP_HEADERS ShowPluginResponsePluginType KAFKA_LOG ShowPluginResponsePluginType BREAKER ShowPluginResponsePluginType RATE_LIMIT ShowPluginResponsePluginType }
func GetShowPluginResponsePluginTypeEnum ¶ added in v0.1.11
func GetShowPluginResponsePluginTypeEnum() ShowPluginResponsePluginTypeEnum
type SignApiBinding ¶ added in v0.0.69
type SignApiBinding struct { // 签名密钥编号 SignId string `json:"sign_id"` // API的发布记录编号 PublishIds []string `json:"publish_ids"` }
func (SignApiBinding) String ¶ added in v0.0.69
func (o SignApiBinding) String() string
type SignApiBindingBase ¶ added in v0.0.69
type SignApiBindingBase struct { // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 绑定时间 BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"` // API所属环境的编号 EnvId *string `json:"env_id,omitempty"` // API所属环境的名称 EnvName *string `json:"env_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` // API描述 ApiRemark *string `json:"api_remark,omitempty"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 SignName *string `json:"sign_name,omitempty"` }
func (SignApiBindingBase) String ¶ added in v0.0.69
func (o SignApiBindingBase) String() string
type SignApiBindingInfo ¶ added in v0.0.69
type SignApiBindingInfo struct { // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 绑定时间 BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"` // API所属环境的编号 EnvId *string `json:"env_id,omitempty"` // API所属环境的名称 EnvName *string `json:"env_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` // API描述 ApiRemark *string `json:"api_remark,omitempty"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 SignName *string `json:"sign_name,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignApiBindingInfoSignType `json:"sign_type,omitempty"` }
func (SignApiBindingInfo) String ¶ added in v0.0.69
func (o SignApiBindingInfo) String() string
type SignApiBindingInfoSignType ¶ added in v0.0.69
type SignApiBindingInfoSignType struct {
// contains filtered or unexported fields
}
func (SignApiBindingInfoSignType) MarshalJSON ¶ added in v0.0.69
func (c SignApiBindingInfoSignType) MarshalJSON() ([]byte, error)
func (*SignApiBindingInfoSignType) UnmarshalJSON ¶ added in v0.0.69
func (c *SignApiBindingInfoSignType) UnmarshalJSON(b []byte) error
func (SignApiBindingInfoSignType) Value ¶ added in v0.0.90
func (c SignApiBindingInfoSignType) Value() string
type SignApiBindingInfoSignTypeEnum ¶ added in v0.0.69
type SignApiBindingInfoSignTypeEnum struct { HMAC SignApiBindingInfoSignType BASIC SignApiBindingInfoSignType PUBLIC_KEY SignApiBindingInfoSignType AES SignApiBindingInfoSignType }
func GetSignApiBindingInfoSignTypeEnum ¶ added in v0.0.69
func GetSignApiBindingInfoSignTypeEnum() SignApiBindingInfoSignTypeEnum
type SignApiBindingResult ¶ added in v0.0.69
type SignApiBindingResult struct { // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` }
func (SignApiBindingResult) String ¶ added in v0.0.69
func (o SignApiBindingResult) String() string
type Signature ¶ added in v0.0.69
type Signature struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignatureSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *SignatureSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` }
type SignatureSignAlgorithm ¶ added in v0.0.69
type SignatureSignAlgorithm struct {
// contains filtered or unexported fields
}
func (SignatureSignAlgorithm) MarshalJSON ¶ added in v0.0.69
func (c SignatureSignAlgorithm) MarshalJSON() ([]byte, error)
func (*SignatureSignAlgorithm) UnmarshalJSON ¶ added in v0.0.69
func (c *SignatureSignAlgorithm) UnmarshalJSON(b []byte) error
func (SignatureSignAlgorithm) Value ¶ added in v0.0.90
func (c SignatureSignAlgorithm) Value() string
type SignatureSignAlgorithmEnum ¶ added in v0.0.69
type SignatureSignAlgorithmEnum struct { AES_128_CFB SignatureSignAlgorithm AES_256_CFB SignatureSignAlgorithm }
func GetSignatureSignAlgorithmEnum ¶ added in v0.0.69
func GetSignatureSignAlgorithmEnum() SignatureSignAlgorithmEnum
type SignatureSignType ¶ added in v0.0.69
type SignatureSignType struct {
// contains filtered or unexported fields
}
func (SignatureSignType) MarshalJSON ¶ added in v0.0.69
func (c SignatureSignType) MarshalJSON() ([]byte, error)
func (*SignatureSignType) UnmarshalJSON ¶ added in v0.0.69
func (c *SignatureSignType) UnmarshalJSON(b []byte) error
func (SignatureSignType) Value ¶ added in v0.0.90
func (c SignatureSignType) Value() string
type SignatureSignTypeEnum ¶ added in v0.0.69
type SignatureSignTypeEnum struct { HMAC SignatureSignType BASIC SignatureSignType PUBLIC_KEY SignatureSignType AES SignatureSignType }
func GetSignatureSignTypeEnum ¶ added in v0.0.69
func GetSignatureSignTypeEnum() SignatureSignTypeEnum
type SignatureWithBindNum ¶ added in v0.0.69
type SignatureWithBindNum struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignatureWithBindNumSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *SignatureWithBindNumSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 绑定的自定义后端数量 暂不支持 LdapiBindNum *int32 `json:"ldapi_bind_num,omitempty"` }
func (SignatureWithBindNum) String ¶ added in v0.0.69
func (o SignatureWithBindNum) String() string
type SignatureWithBindNumSignAlgorithm ¶ added in v0.0.69
type SignatureWithBindNumSignAlgorithm struct {
// contains filtered or unexported fields
}
func (SignatureWithBindNumSignAlgorithm) MarshalJSON ¶ added in v0.0.69
func (c SignatureWithBindNumSignAlgorithm) MarshalJSON() ([]byte, error)
func (*SignatureWithBindNumSignAlgorithm) UnmarshalJSON ¶ added in v0.0.69
func (c *SignatureWithBindNumSignAlgorithm) UnmarshalJSON(b []byte) error
func (SignatureWithBindNumSignAlgorithm) Value ¶ added in v0.0.90
func (c SignatureWithBindNumSignAlgorithm) Value() string
type SignatureWithBindNumSignAlgorithmEnum ¶ added in v0.0.69
type SignatureWithBindNumSignAlgorithmEnum struct { AES_128_CFB SignatureWithBindNumSignAlgorithm AES_256_CFB SignatureWithBindNumSignAlgorithm }
func GetSignatureWithBindNumSignAlgorithmEnum ¶ added in v0.0.69
func GetSignatureWithBindNumSignAlgorithmEnum() SignatureWithBindNumSignAlgorithmEnum
type SignatureWithBindNumSignType ¶ added in v0.0.69
type SignatureWithBindNumSignType struct {
// contains filtered or unexported fields
}
func (SignatureWithBindNumSignType) MarshalJSON ¶ added in v0.0.69
func (c SignatureWithBindNumSignType) MarshalJSON() ([]byte, error)
func (*SignatureWithBindNumSignType) UnmarshalJSON ¶ added in v0.0.69
func (c *SignatureWithBindNumSignType) UnmarshalJSON(b []byte) error
func (SignatureWithBindNumSignType) Value ¶ added in v0.0.90
func (c SignatureWithBindNumSignType) Value() string
type SignatureWithBindNumSignTypeEnum ¶ added in v0.0.69
type SignatureWithBindNumSignTypeEnum struct { HMAC SignatureWithBindNumSignType BASIC SignatureWithBindNumSignType PUBLIC_KEY SignatureWithBindNumSignType AES SignatureWithBindNumSignType }
func GetSignatureWithBindNumSignTypeEnum ¶ added in v0.0.69
func GetSignatureWithBindNumSignTypeEnum() SignatureWithBindNumSignTypeEnum
type StatisticsApi ¶ added in v0.0.65
type StatisticsApi struct { // 最大延时 单位:ms MaxLatency *int32 `json:"max_latency,omitempty"` // 平均延时 单位:ms AvgLatency *float32 `json:"avg_latency,omitempty"` // 请求总次数 ReqCount *int32 `json:"req_count,omitempty"` // 2xx响应码总次数 ReqCount2xx *int32 `json:"req_count2xx,omitempty"` // 4xx响应码总次数 ReqCount4xx *int32 `json:"req_count4xx,omitempty"` // 5xx响应码总次数 ReqCount5xx *int32 `json:"req_count5xx,omitempty"` // 错误次数 ReqCountError *int32 `json:"req_count_error,omitempty"` // 最大网关内部延时 单位:ms MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"` // 平均网关内部延时 单位:ms AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"` // 最大后端延时 MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"` // 平均后端延时 AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"` // 下行吞吐量(byte) OutputThroughput *int64 `json:"output_throughput,omitempty"` // 上行吞吐量(byte) InputThroughput *int64 `json:"input_throughput,omitempty"` // API访问的UTC时间戳 CurrentMinute *int64 `json:"current_minute,omitempty"` // 统计周期 Cycle *StatisticsApiCycle `json:"cycle,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API拥有者 Provider *string `json:"provider,omitempty"` // API请求时间 ReqTime *sdktime.SdkTime `json:"req_time,omitempty"` // 记录时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 Status *int32 `json:"status,omitempty"` }
func (StatisticsApi) String ¶ added in v0.0.65
func (o StatisticsApi) String() string
type StatisticsApiCycle ¶ added in v0.0.65
type StatisticsApiCycle struct {
// contains filtered or unexported fields
}
func (StatisticsApiCycle) MarshalJSON ¶ added in v0.0.65
func (c StatisticsApiCycle) MarshalJSON() ([]byte, error)
func (*StatisticsApiCycle) UnmarshalJSON ¶ added in v0.0.65
func (c *StatisticsApiCycle) UnmarshalJSON(b []byte) error
func (StatisticsApiCycle) Value ¶ added in v0.0.90
func (c StatisticsApiCycle) Value() string
type StatisticsApiCycleEnum ¶ added in v0.0.65
type StatisticsApiCycleEnum struct { MINUTE StatisticsApiCycle HOUR StatisticsApiCycle DAY StatisticsApiCycle }
func GetStatisticsApiCycleEnum ¶ added in v0.0.65
func GetStatisticsApiCycleEnum() StatisticsApiCycleEnum
type StatisticsGroup ¶ added in v0.0.65
type StatisticsGroup struct { // 最大延时 单位:ms MaxLatency *int32 `json:"max_latency,omitempty"` // 平均延时 单位:ms AvgLatency *float32 `json:"avg_latency,omitempty"` // 请求总次数 ReqCount *int32 `json:"req_count,omitempty"` // 2xx响应码总次数 ReqCount2xx *int32 `json:"req_count2xx,omitempty"` // 4xx响应码总次数 ReqCount4xx *int32 `json:"req_count4xx,omitempty"` // 5xx响应码总次数 ReqCount5xx *int32 `json:"req_count5xx,omitempty"` // 错误次数 ReqCountError *int32 `json:"req_count_error,omitempty"` // 下行吞吐量(byte) OutputThroughput *int64 `json:"output_throughput,omitempty"` // 上行吞吐量(byte) InputThroughput *int64 `json:"input_throughput,omitempty"` // API访问的UTC时间戳 CurrentMinute *int64 `json:"current_minute,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API拥有者 Provider *string `json:"provider,omitempty"` // API请求时间 ReqTime *sdktime.SdkTime `json:"req_time,omitempty"` // 记录时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` }
func (StatisticsGroup) String ¶ added in v0.0.65
func (o StatisticsGroup) String() string
type Success ¶ added in v0.0.69
type Success struct { // API请求路径 Path *string `json:"path,omitempty"` // API请求方法 Method *string `json:"method,omitempty"` // 导入行为: - update:表示更新API - create:表示新建API Action *SuccessAction `json:"action,omitempty"` // 导入成功的API编号 Id *string `json:"id,omitempty"` }
type SuccessAction ¶ added in v0.0.69
type SuccessAction struct {
// contains filtered or unexported fields
}
func (SuccessAction) MarshalJSON ¶ added in v0.0.69
func (c SuccessAction) MarshalJSON() ([]byte, error)
func (*SuccessAction) UnmarshalJSON ¶ added in v0.0.69
func (c *SuccessAction) UnmarshalJSON(b []byte) error
func (SuccessAction) Value ¶ added in v0.0.90
func (c SuccessAction) Value() string
type SuccessActionEnum ¶ added in v0.0.69
type SuccessActionEnum struct { UPDATE SuccessAction CREATE SuccessAction }
func GetSuccessActionEnum ¶ added in v0.0.69
func GetSuccessActionEnum() SuccessActionEnum
type Swagger ¶ added in v0.0.69
type Swagger struct { // swagger文档编号 Id *string `json:"id,omitempty"` // 导入结果说明 Result *string `json:"result,omitempty"` }
swagger文档导入结果 暂不支持
type ThrottleApiBinding ¶ added in v0.0.69
type ThrottleApiBinding struct { // API的发布记录编号 PublishId *string `json:"publish_id,omitempty"` // 策略作用域,取值如下: - 1:整个API - 2: 单个用户 - 3:单个APP 目前只支持1 Scope *ThrottleApiBindingScope `json:"scope,omitempty"` // 流控策略的ID StrategyId *string `json:"strategy_id,omitempty"` // 绑定时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` }
func (ThrottleApiBinding) String ¶ added in v0.0.69
func (o ThrottleApiBinding) String() string
type ThrottleApiBindingCreate ¶ added in v0.0.69
type ThrottleApiBindingCreate struct { // 流控策略编号 StrategyId string `json:"strategy_id"` // API的发布记录编号 PublishIds []string `json:"publish_ids"` }
func (ThrottleApiBindingCreate) String ¶ added in v0.0.69
func (o ThrottleApiBindingCreate) String() string
type ThrottleApiBindingScope ¶ added in v0.0.69
type ThrottleApiBindingScope struct {
// contains filtered or unexported fields
}
func (ThrottleApiBindingScope) MarshalJSON ¶ added in v0.0.69
func (c ThrottleApiBindingScope) MarshalJSON() ([]byte, error)
func (*ThrottleApiBindingScope) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleApiBindingScope) UnmarshalJSON(b []byte) error
func (ThrottleApiBindingScope) Value ¶ added in v0.0.90
func (c ThrottleApiBindingScope) Value() int32
type ThrottleApiBindingScopeEnum ¶ added in v0.0.69
type ThrottleApiBindingScopeEnum struct { E_1 ThrottleApiBindingScope E_2 ThrottleApiBindingScope E_3 ThrottleApiBindingScope }
func GetThrottleApiBindingScopeEnum ¶ added in v0.0.69
func GetThrottleApiBindingScopeEnum() ThrottleApiBindingScopeEnum
type ThrottleBaseInfo ¶ added in v0.0.69
type ThrottleBaseInfo struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottleBaseInfoTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottleBaseInfoType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` }
func (ThrottleBaseInfo) String ¶ added in v0.0.69
func (o ThrottleBaseInfo) String() string
type ThrottleBaseInfoTimeUnit ¶ added in v0.0.69
type ThrottleBaseInfoTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottleBaseInfoTimeUnit) MarshalJSON ¶ added in v0.0.69
func (c ThrottleBaseInfoTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottleBaseInfoTimeUnit) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleBaseInfoTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottleBaseInfoTimeUnit) Value ¶ added in v0.0.90
func (c ThrottleBaseInfoTimeUnit) Value() string
type ThrottleBaseInfoTimeUnitEnum ¶ added in v0.0.69
type ThrottleBaseInfoTimeUnitEnum struct { SECOND ThrottleBaseInfoTimeUnit MINUTE ThrottleBaseInfoTimeUnit HOUR ThrottleBaseInfoTimeUnit DAY ThrottleBaseInfoTimeUnit }
func GetThrottleBaseInfoTimeUnitEnum ¶ added in v0.0.69
func GetThrottleBaseInfoTimeUnitEnum() ThrottleBaseInfoTimeUnitEnum
type ThrottleBaseInfoType ¶ added in v0.0.69
type ThrottleBaseInfoType struct {
// contains filtered or unexported fields
}
func (ThrottleBaseInfoType) MarshalJSON ¶ added in v0.0.69
func (c ThrottleBaseInfoType) MarshalJSON() ([]byte, error)
func (*ThrottleBaseInfoType) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleBaseInfoType) UnmarshalJSON(b []byte) error
func (ThrottleBaseInfoType) Value ¶ added in v0.0.90
func (c ThrottleBaseInfoType) Value() int32
type ThrottleBaseInfoTypeEnum ¶ added in v0.0.69
type ThrottleBaseInfoTypeEnum struct { E_1 ThrottleBaseInfoType E_2 ThrottleBaseInfoType }
func GetThrottleBaseInfoTypeEnum ¶ added in v0.0.69
func GetThrottleBaseInfoTypeEnum() ThrottleBaseInfoTypeEnum
type ThrottleBindingBatchDelete ¶
type ThrottleBindingBatchDelete struct { // 需要解除绑定的API和流控策略绑定关系ID列表 ThrottleBindings *[]string `json:"throttle_bindings,omitempty"` }
func (ThrottleBindingBatchDelete) String ¶
func (o ThrottleBindingBatchDelete) String() string
type ThrottleBindingBatchFailure ¶ added in v0.0.69
type ThrottleBindingBatchFailure struct { // 解除绑定失败的API和流控策略绑定关系ID BindId *string `json:"bind_id,omitempty"` // 解除绑定失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 解除绑定失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 解除绑定失败的API的ID ApiId *string `json:"api_id,omitempty"` // 解除绑定失败的API的名称 ApiName *string `json:"api_name,omitempty"` }
func (ThrottleBindingBatchFailure) String ¶ added in v0.0.69
func (o ThrottleBindingBatchFailure) String() string
type ThrottleForApi ¶ added in v0.0.69
type ThrottleForApi struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottleForApiTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottleForApiType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ThrottleForApiIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 流控策略生效的环境(即在哪个环境上有效) EnvName *string `json:"env_name,omitempty"` // 流控策略与API绑定关系编号 BindId *string `json:"bind_id,omitempty"` // 流控策略与API绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` }
func (ThrottleForApi) String ¶ added in v0.0.69
func (o ThrottleForApi) String() string
type ThrottleForApiIsIncluSpecialThrottle ¶ added in v0.0.69
type ThrottleForApiIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ThrottleForApiIsIncluSpecialThrottle) MarshalJSON ¶ added in v0.0.69
func (c ThrottleForApiIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (ThrottleForApiIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c ThrottleForApiIsIncluSpecialThrottle) Value() int32
type ThrottleForApiIsIncluSpecialThrottleEnum ¶ added in v0.0.69
type ThrottleForApiIsIncluSpecialThrottleEnum struct { E_1 ThrottleForApiIsIncluSpecialThrottle E_2 ThrottleForApiIsIncluSpecialThrottle }
func GetThrottleForApiIsIncluSpecialThrottleEnum ¶ added in v0.0.69
func GetThrottleForApiIsIncluSpecialThrottleEnum() ThrottleForApiIsIncluSpecialThrottleEnum
type ThrottleForApiTimeUnit ¶ added in v0.0.69
type ThrottleForApiTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottleForApiTimeUnit) MarshalJSON ¶ added in v0.0.69
func (c ThrottleForApiTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottleForApiTimeUnit) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleForApiTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottleForApiTimeUnit) Value ¶ added in v0.0.90
func (c ThrottleForApiTimeUnit) Value() string
type ThrottleForApiTimeUnitEnum ¶ added in v0.0.69
type ThrottleForApiTimeUnitEnum struct { SECOND ThrottleForApiTimeUnit MINUTE ThrottleForApiTimeUnit HOUR ThrottleForApiTimeUnit DAY ThrottleForApiTimeUnit }
func GetThrottleForApiTimeUnitEnum ¶ added in v0.0.69
func GetThrottleForApiTimeUnitEnum() ThrottleForApiTimeUnitEnum
type ThrottleForApiType ¶ added in v0.0.69
type ThrottleForApiType struct {
// contains filtered or unexported fields
}
func (ThrottleForApiType) MarshalJSON ¶ added in v0.0.69
func (c ThrottleForApiType) MarshalJSON() ([]byte, error)
func (*ThrottleForApiType) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleForApiType) UnmarshalJSON(b []byte) error
func (ThrottleForApiType) Value ¶ added in v0.0.90
func (c ThrottleForApiType) Value() int32
type ThrottleForApiTypeEnum ¶ added in v0.0.69
type ThrottleForApiTypeEnum struct { E_1 ThrottleForApiType E_2 ThrottleForApiType }
func GetThrottleForApiTypeEnum ¶ added in v0.0.69
func GetThrottleForApiTypeEnum() ThrottleForApiTypeEnum
type ThrottleSpecialBase ¶ added in v0.0.69
type ThrottleSpecialBase struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` }
func (ThrottleSpecialBase) String ¶ added in v0.0.69
func (o ThrottleSpecialBase) String() string
type ThrottleSpecialCreate ¶ added in v0.0.69
type ThrottleSpecialCreate struct { // 流控时间内特殊对象能够访问API的最大次数限制 CallLimits int32 `json:"call_limits"` // 特殊APP的编号或特殊租户的帐号ID ObjectId string `json:"object_id"` // 特殊对象类型 ObjectType ThrottleSpecialCreateObjectType `json:"object_type"` }
func (ThrottleSpecialCreate) String ¶ added in v0.0.69
func (o ThrottleSpecialCreate) String() string
type ThrottleSpecialCreateObjectType ¶ added in v0.0.69
type ThrottleSpecialCreateObjectType struct {
// contains filtered or unexported fields
}
func (ThrottleSpecialCreateObjectType) MarshalJSON ¶ added in v0.0.69
func (c ThrottleSpecialCreateObjectType) MarshalJSON() ([]byte, error)
func (*ThrottleSpecialCreateObjectType) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottleSpecialCreateObjectType) UnmarshalJSON(b []byte) error
func (ThrottleSpecialCreateObjectType) Value ¶ added in v0.0.90
func (c ThrottleSpecialCreateObjectType) Value() string
type ThrottleSpecialCreateObjectTypeEnum ¶ added in v0.0.69
type ThrottleSpecialCreateObjectTypeEnum struct { APP ThrottleSpecialCreateObjectType USER ThrottleSpecialCreateObjectType }
func GetThrottleSpecialCreateObjectTypeEnum ¶ added in v0.0.69
func GetThrottleSpecialCreateObjectTypeEnum() ThrottleSpecialCreateObjectTypeEnum
type ThrottleSpecialInfo ¶ added in v0.0.69
type ThrottleSpecialInfo struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // 作用的APP或租户的名称 ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` }
func (ThrottleSpecialInfo) String ¶ added in v0.0.69
func (o ThrottleSpecialInfo) String() string
type ThrottleSpecialUpdate ¶ added in v0.0.69
type ThrottleSpecialUpdate struct { // 流控时间内特殊对象能够访问API的最大次数限制 CallLimits int64 `json:"call_limits"` }
func (ThrottleSpecialUpdate) String ¶ added in v0.0.69
func (o ThrottleSpecialUpdate) String() string
type ThrottlesInfo ¶ added in v0.0.69
type ThrottlesInfo struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottlesInfoTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottlesInfoType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ThrottlesInfoIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
func (ThrottlesInfo) String ¶ added in v0.0.69
func (o ThrottlesInfo) String() string
type ThrottlesInfoIsIncluSpecialThrottle ¶ added in v0.0.69
type ThrottlesInfoIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON ¶ added in v0.0.69
func (c ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (ThrottlesInfoIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c ThrottlesInfoIsIncluSpecialThrottle) Value() int32
type ThrottlesInfoIsIncluSpecialThrottleEnum ¶ added in v0.0.69
type ThrottlesInfoIsIncluSpecialThrottleEnum struct { E_1 ThrottlesInfoIsIncluSpecialThrottle E_2 ThrottlesInfoIsIncluSpecialThrottle }
func GetThrottlesInfoIsIncluSpecialThrottleEnum ¶ added in v0.0.69
func GetThrottlesInfoIsIncluSpecialThrottleEnum() ThrottlesInfoIsIncluSpecialThrottleEnum
type ThrottlesInfoTimeUnit ¶ added in v0.0.69
type ThrottlesInfoTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoTimeUnit) MarshalJSON ¶ added in v0.0.69
func (c ThrottlesInfoTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoTimeUnit) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottlesInfoTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottlesInfoTimeUnit) Value ¶ added in v0.0.90
func (c ThrottlesInfoTimeUnit) Value() string
type ThrottlesInfoTimeUnitEnum ¶ added in v0.0.69
type ThrottlesInfoTimeUnitEnum struct { SECOND ThrottlesInfoTimeUnit MINUTE ThrottlesInfoTimeUnit HOUR ThrottlesInfoTimeUnit DAY ThrottlesInfoTimeUnit }
func GetThrottlesInfoTimeUnitEnum ¶ added in v0.0.69
func GetThrottlesInfoTimeUnitEnum() ThrottlesInfoTimeUnitEnum
type ThrottlesInfoType ¶ added in v0.0.69
type ThrottlesInfoType struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoType) MarshalJSON ¶ added in v0.0.69
func (c ThrottlesInfoType) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoType) UnmarshalJSON ¶ added in v0.0.69
func (c *ThrottlesInfoType) UnmarshalJSON(b []byte) error
func (ThrottlesInfoType) Value ¶ added in v0.0.90
func (c ThrottlesInfoType) Value() int32
type ThrottlesInfoTypeEnum ¶ added in v0.0.69
type ThrottlesInfoTypeEnum struct { E_1 ThrottlesInfoType E_2 ThrottlesInfoType }
func GetThrottlesInfoTypeEnum ¶ added in v0.0.69
func GetThrottlesInfoTypeEnum() ThrottlesInfoTypeEnum
type TmsKeyValue ¶ added in v0.1.11
type TmsKeyValue struct { // 键。 支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : = + - @; \\_sys\\_开头属于系统标签,租户不能输入 Key *string `json:"key,omitempty"` // 值。 支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @ Value *string `json:"value,omitempty"` }
func (TmsKeyValue) String ¶ added in v0.1.11
func (o TmsKeyValue) String() string
type UnbindApiForAcl ¶ added in v0.0.69
type UnbindApiForAcl struct { // API的ID Id *string `json:"id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API开放状态 Type *int32 `json:"type,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API发布记录编号 PublishId *string `json:"publish_id,omitempty"` // 绑定的其他同类型的ACL策略名称 AclName *string `json:"acl_name,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` // API的认证方式 AuthType *string `json:"auth_type,omitempty"` }
func (UnbindApiForAcl) String ¶ added in v0.0.69
func (o UnbindApiForAcl) String() string
type UpdateAclStrategyV2Request ¶ added in v0.0.65
type UpdateAclStrategyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` Body *ApiAclCreate `json:"body,omitempty"` }
Request Object
func (UpdateAclStrategyV2Request) String ¶ added in v0.0.65
func (o UpdateAclStrategyV2Request) String() string
type UpdateAclStrategyV2Response ¶ added in v0.0.65
type UpdateAclStrategyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN - DOMAIN_ID EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAclStrategyV2Response) String ¶ added in v0.0.65
func (o UpdateAclStrategyV2Response) String() string
type UpdateApiGroupV2Request ¶
type UpdateApiGroupV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` Body *ApiGroupBase `json:"body,omitempty"` }
Request Object
func (UpdateApiGroupV2Request) String ¶
func (o UpdateApiGroupV2Request) String() string
type UpdateApiGroupV2Response ¶
type UpdateApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status UpdateApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 暂不支持,默认为V1 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApiGroupV2Response) String ¶
func (o UpdateApiGroupV2Response) String() string
type UpdateApiGroupV2ResponseStatus ¶ added in v0.0.69
type UpdateApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateApiGroupV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c UpdateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateApiGroupV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateApiGroupV2ResponseStatus) Value() int32
type UpdateApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
type UpdateApiGroupV2ResponseStatusEnum struct {
E_1 UpdateApiGroupV2ResponseStatus
}
func GetUpdateApiGroupV2ResponseStatusEnum ¶ added in v0.0.69
func GetUpdateApiGroupV2ResponseStatusEnum() UpdateApiGroupV2ResponseStatusEnum
type UpdateApiV2Request ¶
type UpdateApiV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiCreate `json:"body,omitempty"` }
Request Object
func (UpdateApiV2Request) String ¶
func (o UpdateApiV2Request) String() string
type UpdateApiV2Response ¶
type UpdateApiV2Response struct { // API名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型 - 1:公有API - 2:私有API Type UpdateApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol UpdateApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod UpdateApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType UpdateApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *UpdateApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType UpdateApiV2ResponseBackendType `json:"backend_type"` // API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID ResponseId *string `json:"response_id,omitempty"` // 集成应用ID 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名 暂不支持 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain 暂不支持 ContentType *UpdateApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *int32 `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 默认V1,其他版本暂不支持 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 函数工作流策略后端列表 PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApiV2Response) String ¶
func (o UpdateApiV2Response) String() string
type UpdateApiV2ResponseAuthType ¶
type UpdateApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseAuthType) MarshalJSON ¶
func (c UpdateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseAuthType) Value() string
type UpdateApiV2ResponseAuthTypeEnum ¶
type UpdateApiV2ResponseAuthTypeEnum struct { NONE UpdateApiV2ResponseAuthType APP UpdateApiV2ResponseAuthType IAM UpdateApiV2ResponseAuthType AUTHORIZER UpdateApiV2ResponseAuthType }
func GetUpdateApiV2ResponseAuthTypeEnum ¶
func GetUpdateApiV2ResponseAuthTypeEnum() UpdateApiV2ResponseAuthTypeEnum
type UpdateApiV2ResponseBackendType ¶
type UpdateApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseBackendType) MarshalJSON ¶
func (c UpdateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseBackendType) Value() string
type UpdateApiV2ResponseBackendTypeEnum ¶
type UpdateApiV2ResponseBackendTypeEnum struct { HTTP UpdateApiV2ResponseBackendType FUNCTION UpdateApiV2ResponseBackendType MOCK UpdateApiV2ResponseBackendType }
func GetUpdateApiV2ResponseBackendTypeEnum ¶
func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum
type UpdateApiV2ResponseContentType ¶ added in v0.0.76
type UpdateApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseContentType) MarshalJSON ¶ added in v0.0.76
func (c UpdateApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseContentType) UnmarshalJSON ¶ added in v0.0.76
func (c *UpdateApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseContentType) Value() string
type UpdateApiV2ResponseContentTypeEnum ¶ added in v0.0.76
type UpdateApiV2ResponseContentTypeEnum struct { APPLICATION_JSON UpdateApiV2ResponseContentType APPLICATION_XML UpdateApiV2ResponseContentType MULTIPART_FORM_DATE UpdateApiV2ResponseContentType TEXT_PLAIN UpdateApiV2ResponseContentType }
func GetUpdateApiV2ResponseContentTypeEnum ¶ added in v0.0.76
func GetUpdateApiV2ResponseContentTypeEnum() UpdateApiV2ResponseContentTypeEnum
type UpdateApiV2ResponseMatchMode ¶
type UpdateApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseMatchMode) MarshalJSON ¶
func (c UpdateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseMatchMode) Value() string
type UpdateApiV2ResponseMatchModeEnum ¶
type UpdateApiV2ResponseMatchModeEnum struct { SWA UpdateApiV2ResponseMatchMode NORMAL UpdateApiV2ResponseMatchMode }
func GetUpdateApiV2ResponseMatchModeEnum ¶
func GetUpdateApiV2ResponseMatchModeEnum() UpdateApiV2ResponseMatchModeEnum
type UpdateApiV2ResponseReqMethod ¶
type UpdateApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseReqMethod) MarshalJSON ¶
func (c UpdateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseReqMethod) Value() string
type UpdateApiV2ResponseReqMethodEnum ¶
type UpdateApiV2ResponseReqMethodEnum struct { GET UpdateApiV2ResponseReqMethod POST UpdateApiV2ResponseReqMethod PUT UpdateApiV2ResponseReqMethod DELETE UpdateApiV2ResponseReqMethod HEAD UpdateApiV2ResponseReqMethod PATCH UpdateApiV2ResponseReqMethod OPTIONS UpdateApiV2ResponseReqMethod ANY UpdateApiV2ResponseReqMethod }
func GetUpdateApiV2ResponseReqMethodEnum ¶
func GetUpdateApiV2ResponseReqMethodEnum() UpdateApiV2ResponseReqMethodEnum
type UpdateApiV2ResponseReqProtocol ¶
type UpdateApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseReqProtocol) MarshalJSON ¶
func (c UpdateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseReqProtocol) Value() string
type UpdateApiV2ResponseReqProtocolEnum ¶
type UpdateApiV2ResponseReqProtocolEnum struct { HTTP UpdateApiV2ResponseReqProtocol HTTPS UpdateApiV2ResponseReqProtocol BOTH UpdateApiV2ResponseReqProtocol }
func GetUpdateApiV2ResponseReqProtocolEnum ¶
func GetUpdateApiV2ResponseReqProtocolEnum() UpdateApiV2ResponseReqProtocolEnum
type UpdateApiV2ResponseType ¶
type UpdateApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseType) MarshalJSON ¶
func (c UpdateApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseType) Value() int32
type UpdateApiV2ResponseTypeEnum ¶
type UpdateApiV2ResponseTypeEnum struct { E_1 UpdateApiV2ResponseType E_2 UpdateApiV2ResponseType }
func GetUpdateApiV2ResponseTypeEnum ¶
func GetUpdateApiV2ResponseTypeEnum() UpdateApiV2ResponseTypeEnum
type UpdateAppV2Request ¶
type UpdateAppV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppCreate `json:"body,omitempty"` }
Request Object
func (UpdateAppV2Request) String ¶
func (o UpdateAppV2Request) String() string
type UpdateAppV2Response ¶
type UpdateAppV2Response struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云商店分配 暂不支持MARKET Creator *UpdateAppV2ResponseCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *UpdateAppV2ResponseStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 默认apig,暂不支持其他类型 AppType *UpdateAppV2ResponseAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 暂不支持 RomaAppType *string `json:"roma_app_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAppV2Response) String ¶
func (o UpdateAppV2Response) String() string
type UpdateAppV2ResponseAppType ¶
type UpdateAppV2ResponseAppType struct {
// contains filtered or unexported fields
}
func (UpdateAppV2ResponseAppType) MarshalJSON ¶
func (c UpdateAppV2ResponseAppType) MarshalJSON() ([]byte, error)
func (*UpdateAppV2ResponseAppType) UnmarshalJSON ¶
func (c *UpdateAppV2ResponseAppType) UnmarshalJSON(b []byte) error
func (UpdateAppV2ResponseAppType) Value ¶ added in v0.0.90
func (c UpdateAppV2ResponseAppType) Value() string
type UpdateAppV2ResponseAppTypeEnum ¶
type UpdateAppV2ResponseAppTypeEnum struct { APIG UpdateAppV2ResponseAppType ROMA UpdateAppV2ResponseAppType }
func GetUpdateAppV2ResponseAppTypeEnum ¶
func GetUpdateAppV2ResponseAppTypeEnum() UpdateAppV2ResponseAppTypeEnum
type UpdateAppV2ResponseCreator ¶
type UpdateAppV2ResponseCreator struct {
// contains filtered or unexported fields
}
func (UpdateAppV2ResponseCreator) MarshalJSON ¶
func (c UpdateAppV2ResponseCreator) MarshalJSON() ([]byte, error)
func (*UpdateAppV2ResponseCreator) UnmarshalJSON ¶
func (c *UpdateAppV2ResponseCreator) UnmarshalJSON(b []byte) error
func (UpdateAppV2ResponseCreator) Value ¶ added in v0.0.90
func (c UpdateAppV2ResponseCreator) Value() string
type UpdateAppV2ResponseCreatorEnum ¶
type UpdateAppV2ResponseCreatorEnum struct { USER UpdateAppV2ResponseCreator MARKET UpdateAppV2ResponseCreator }
func GetUpdateAppV2ResponseCreatorEnum ¶
func GetUpdateAppV2ResponseCreatorEnum() UpdateAppV2ResponseCreatorEnum
type UpdateAppV2ResponseStatus ¶ added in v0.0.69
type UpdateAppV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateAppV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c UpdateAppV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateAppV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateAppV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateAppV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateAppV2ResponseStatus) Value() int32
type UpdateAppV2ResponseStatusEnum ¶ added in v0.0.69
type UpdateAppV2ResponseStatusEnum struct {
E_1 UpdateAppV2ResponseStatus
}
func GetUpdateAppV2ResponseStatusEnum ¶ added in v0.0.69
func GetUpdateAppV2ResponseStatusEnum() UpdateAppV2ResponseStatusEnum
type UpdateBackendInstancesV2Request ¶ added in v0.1.7
type UpdateBackendInstancesV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcMemberModify `json:"body,omitempty"` }
Request Object
func (UpdateBackendInstancesV2Request) String ¶ added in v0.1.7
func (o UpdateBackendInstancesV2Request) String() string
type UpdateBackendInstancesV2Response ¶ added in v0.1.7
type UpdateBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateBackendInstancesV2Response) String ¶ added in v0.1.7
func (o UpdateBackendInstancesV2Response) String() string
type UpdateCertificateV2Request ¶ added in v0.1.7
type UpdateCertificateV2Request struct { // 证书的编号 CertificateId string `json:"certificate_id"` Body *CertificateForm `json:"body,omitempty"` }
Request Object
func (UpdateCertificateV2Request) String ¶ added in v0.1.7
func (o UpdateCertificateV2Request) String() string
type UpdateCertificateV2Response ¶ added in v0.1.7
type UpdateCertificateV2Response struct { // 证书ID Id *string `json:"id,omitempty"` // 证书名称 Name *string `json:"name,omitempty"` // 证书类型 - global:全局证书 - instance:实例证书 Type *UpdateCertificateV2ResponseType `json:"type,omitempty"` // 实例编码 - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码 InstanceId *string `json:"instance_id,omitempty"` // 租户项目编号 ProjectId *string `json:"project_id,omitempty"` // 域名 CommonName *string `json:"common_name,omitempty"` // san扩展域名 San *[]string `json:"san,omitempty"` // 有效期到 NotAfter *sdktime.SdkTime `json:"not_after,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 公司、组织 Organization *[]string `json:"organization,omitempty"` // 部门 OrganizationalUnit *[]string `json:"organizational_unit,omitempty"` // 城市 Locality *[]string `json:"locality,omitempty"` // 省份 State *[]string `json:"state,omitempty"` // 国家 Country *[]string `json:"country,omitempty"` // 有效期从 NotBefore *sdktime.SdkTime `json:"not_before,omitempty"` // 序列号 SerialNumber *string `json:"serial_number,omitempty"` // 颁发者 Issuer *[]string `json:"issuer,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCertificateV2Response) String ¶ added in v0.1.7
func (o UpdateCertificateV2Response) String() string
type UpdateCertificateV2ResponseType ¶ added in v0.1.7
type UpdateCertificateV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateCertificateV2ResponseType) MarshalJSON ¶ added in v0.1.7
func (c UpdateCertificateV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateCertificateV2ResponseType) UnmarshalJSON ¶ added in v0.1.7
func (c *UpdateCertificateV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateCertificateV2ResponseType) Value ¶ added in v0.1.7
func (c UpdateCertificateV2ResponseType) Value() string
type UpdateCertificateV2ResponseTypeEnum ¶ added in v0.1.7
type UpdateCertificateV2ResponseTypeEnum struct { GLOBAL UpdateCertificateV2ResponseType INSTANCE UpdateCertificateV2ResponseType }
func GetUpdateCertificateV2ResponseTypeEnum ¶ added in v0.1.7
func GetUpdateCertificateV2ResponseTypeEnum() UpdateCertificateV2ResponseTypeEnum
type UpdateCustomAuthorizerV2Request ¶ added in v0.0.65
type UpdateCustomAuthorizerV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` Body *AuthorizerCreate `json:"body,omitempty"` }
Request Object
func (UpdateCustomAuthorizerV2Request) String ¶ added in v0.0.65
func (o UpdateCustomAuthorizerV2Request) String() string
type UpdateCustomAuthorizerV2Response ¶ added in v0.0.65
type UpdateCustomAuthorizerV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 不支持修改 Type UpdateCustomAuthorizerV2ResponseType `json:"type"` // 只能为:FUNC AuthorizerType UpdateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 AuthorizerUri string `json:"authorizer_uri"` // 函数版本。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerVersion *string `json:"authorizer_version,omitempty"` // 函数别名地址。 当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 暂不支持 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 暂不支持 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 暂不支持 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCustomAuthorizerV2Response) String ¶ added in v0.0.65
func (o UpdateCustomAuthorizerV2Response) String() string
type UpdateCustomAuthorizerV2ResponseAuthorizerType ¶ added in v0.0.65
type UpdateCustomAuthorizerV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON ¶ added in v0.0.65
func (c UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (UpdateCustomAuthorizerV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c UpdateCustomAuthorizerV2ResponseAuthorizerType) Value() string
type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
FUNC UpdateCustomAuthorizerV2ResponseAuthorizerType
}
func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶ added in v0.0.65
func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum() UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum
type UpdateCustomAuthorizerV2ResponseType ¶ added in v0.0.65
type UpdateCustomAuthorizerV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateCustomAuthorizerV2ResponseType) MarshalJSON ¶ added in v0.0.65
func (c UpdateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateCustomAuthorizerV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateCustomAuthorizerV2ResponseType) Value() string
type UpdateCustomAuthorizerV2ResponseTypeEnum ¶ added in v0.0.65
type UpdateCustomAuthorizerV2ResponseTypeEnum struct { FRONTEND UpdateCustomAuthorizerV2ResponseType BACKEND UpdateCustomAuthorizerV2ResponseType }
func GetUpdateCustomAuthorizerV2ResponseTypeEnum ¶ added in v0.0.65
func GetUpdateCustomAuthorizerV2ResponseTypeEnum() UpdateCustomAuthorizerV2ResponseTypeEnum
type UpdateDomainV2Request ¶ added in v0.0.49
type UpdateDomainV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *UrlDomainModify `json:"body,omitempty"` }
Request Object
func (UpdateDomainV2Request) String ¶ added in v0.0.49
func (o UpdateDomainV2Request) String() string
type UpdateDomainV2Response ¶ added in v0.0.49
type UpdateDomainV2Response struct { // 自定义域名 UrlDomain *string `json:"url_domain,omitempty"` // 自定义域名的编号 Id *string `json:"id,omitempty"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status *UpdateDomainV2ResponseStatus `json:"status,omitempty"` // 支持的最小SSL版本 MinSslVersion *string `json:"min_ssl_version,omitempty"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainV2Response) String ¶ added in v0.0.49
func (o UpdateDomainV2Response) String() string
type UpdateDomainV2ResponseStatus ¶ added in v0.0.49
type UpdateDomainV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateDomainV2ResponseStatus) MarshalJSON ¶ added in v0.0.49
func (c UpdateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateDomainV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.49
func (c *UpdateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateDomainV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateDomainV2ResponseStatus) Value() int32
type UpdateDomainV2ResponseStatusEnum ¶ added in v0.0.49
type UpdateDomainV2ResponseStatusEnum struct { E_1 UpdateDomainV2ResponseStatus E_2 UpdateDomainV2ResponseStatus E_3 UpdateDomainV2ResponseStatus E_4 UpdateDomainV2ResponseStatus }
func GetUpdateDomainV2ResponseStatusEnum ¶ added in v0.0.49
func GetUpdateDomainV2ResponseStatusEnum() UpdateDomainV2ResponseStatusEnum
type UpdateEngressEipV2Request ¶ added in v0.0.65
type UpdateEngressEipV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *OpenEngressEipReq `json:"body,omitempty"` }
Request Object
func (UpdateEngressEipV2Request) String ¶ added in v0.0.65
func (o UpdateEngressEipV2Request) String() string
type UpdateEngressEipV2Response ¶ added in v0.0.65
type UpdateEngressEipV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateEngressEipV2Response) String ¶ added in v0.0.65
func (o UpdateEngressEipV2Response) String() string
type UpdateEnvironmentV2Request ¶
type UpdateEnvironmentV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 环境的ID EnvId string `json:"env_id"` Body *EnvCreate `json:"body,omitempty"` }
Request Object
func (UpdateEnvironmentV2Request) String ¶
func (o UpdateEnvironmentV2Request) String() string
type UpdateEnvironmentV2Response ¶
type UpdateEnvironmentV2Response struct { // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` // 描述信息 Remark *string `json:"remark,omitempty"` // 环境id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateEnvironmentV2Response) String ¶
func (o UpdateEnvironmentV2Response) String() string
type UpdateGatewayResponseTypeV2Request ¶ added in v0.0.65
type UpdateGatewayResponseTypeV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` // 错误类型 ResponseType UpdateGatewayResponseTypeV2RequestResponseType `json:"response_type"` Body *ResponseInfo `json:"body,omitempty"` }
Request Object
func (UpdateGatewayResponseTypeV2Request) String ¶ added in v0.0.65
func (o UpdateGatewayResponseTypeV2Request) String() string
type UpdateGatewayResponseTypeV2RequestResponseType ¶ added in v0.0.65
type UpdateGatewayResponseTypeV2RequestResponseType struct {
// contains filtered or unexported fields
}
func (UpdateGatewayResponseTypeV2RequestResponseType) MarshalJSON ¶ added in v0.0.65
func (c UpdateGatewayResponseTypeV2RequestResponseType) MarshalJSON() ([]byte, error)
func (*UpdateGatewayResponseTypeV2RequestResponseType) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateGatewayResponseTypeV2RequestResponseType) UnmarshalJSON(b []byte) error
func (UpdateGatewayResponseTypeV2RequestResponseType) Value ¶ added in v0.0.90
func (c UpdateGatewayResponseTypeV2RequestResponseType) Value() string
type UpdateGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
type UpdateGatewayResponseTypeV2RequestResponseTypeEnum struct { AUTH_FAILURE UpdateGatewayResponseTypeV2RequestResponseType AUTH_HEADER_MISSING UpdateGatewayResponseTypeV2RequestResponseType AUTHORIZER_FAILURE UpdateGatewayResponseTypeV2RequestResponseType AUTHORIZER_CONF_FAILURE UpdateGatewayResponseTypeV2RequestResponseType AUTHORIZER_IDENTITIES_FAILURE UpdateGatewayResponseTypeV2RequestResponseType BACKEND_UNAVAILABLE UpdateGatewayResponseTypeV2RequestResponseType BACKEND_TIMEOUT UpdateGatewayResponseTypeV2RequestResponseType THROTTLED UpdateGatewayResponseTypeV2RequestResponseType UNAUTHORIZED UpdateGatewayResponseTypeV2RequestResponseType ACCESS_DENIED UpdateGatewayResponseTypeV2RequestResponseType NOT_FOUND UpdateGatewayResponseTypeV2RequestResponseType REQUEST_PARAMETERS_FAILURE UpdateGatewayResponseTypeV2RequestResponseType DEFAULT_4_XX UpdateGatewayResponseTypeV2RequestResponseType DEFAULT_5_XX UpdateGatewayResponseTypeV2RequestResponseType }
func GetUpdateGatewayResponseTypeV2RequestResponseTypeEnum ¶ added in v0.0.65
func GetUpdateGatewayResponseTypeV2RequestResponseTypeEnum() UpdateGatewayResponseTypeV2RequestResponseTypeEnum
type UpdateGatewayResponseTypeV2Response ¶ added in v0.0.65
type UpdateGatewayResponseTypeV2Response struct { Body map[string]ResponseInfoResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateGatewayResponseTypeV2Response) String ¶ added in v0.0.65
func (o UpdateGatewayResponseTypeV2Response) String() string
type UpdateGatewayResponseV2Request ¶ added in v0.0.65
type UpdateGatewayResponseV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 响应编号 ResponseId string `json:"response_id"` Body *ResponsesCreate `json:"body,omitempty"` }
Request Object
func (UpdateGatewayResponseV2Request) String ¶ added in v0.0.65
func (o UpdateGatewayResponseV2Request) String() string
type UpdateGatewayResponseV2Response ¶ added in v0.0.65
type UpdateGatewayResponseV2Response struct { // 响应名称 Name *string `json:"name,omitempty"` // 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX 每项错误类型均为一个JSON体 Responses map[string]ResponseInfoResp `json:"responses,omitempty"` // 响应ID Id *string `json:"id,omitempty"` // 是否为分组默认响应 Default *bool `json:"default,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateGatewayResponseV2Response) String ¶ added in v0.0.65
func (o UpdateGatewayResponseV2Response) String() string
type UpdateHealthCheckRequest ¶ added in v0.1.7
type UpdateHealthCheckRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcHealthConfig `json:"body,omitempty"` }
Request Object
func (UpdateHealthCheckRequest) String ¶ added in v0.1.7
func (o UpdateHealthCheckRequest) String() string
type UpdateHealthCheckResponse ¶ added in v0.1.7
type UpdateHealthCheckResponse struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol UpdateHealthCheckResponseProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *UpdateHealthCheckResponseMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *UpdateHealthCheckResponseStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 健康检查的编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateHealthCheckResponse) String ¶ added in v0.1.7
func (o UpdateHealthCheckResponse) String() string
type UpdateHealthCheckResponseMethod ¶ added in v0.1.7
type UpdateHealthCheckResponseMethod struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseMethod) MarshalJSON ¶ added in v0.1.7
func (c UpdateHealthCheckResponseMethod) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseMethod) UnmarshalJSON ¶ added in v0.1.7
func (c *UpdateHealthCheckResponseMethod) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseMethod) Value ¶ added in v0.1.7
func (c UpdateHealthCheckResponseMethod) Value() string
type UpdateHealthCheckResponseMethodEnum ¶ added in v0.1.7
type UpdateHealthCheckResponseMethodEnum struct { GET UpdateHealthCheckResponseMethod HEAD UpdateHealthCheckResponseMethod }
func GetUpdateHealthCheckResponseMethodEnum ¶ added in v0.1.7
func GetUpdateHealthCheckResponseMethodEnum() UpdateHealthCheckResponseMethodEnum
type UpdateHealthCheckResponseProtocol ¶ added in v0.1.7
type UpdateHealthCheckResponseProtocol struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseProtocol) MarshalJSON ¶ added in v0.1.7
func (c UpdateHealthCheckResponseProtocol) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseProtocol) UnmarshalJSON ¶ added in v0.1.7
func (c *UpdateHealthCheckResponseProtocol) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseProtocol) Value ¶ added in v0.1.7
func (c UpdateHealthCheckResponseProtocol) Value() string
type UpdateHealthCheckResponseProtocolEnum ¶ added in v0.1.7
type UpdateHealthCheckResponseProtocolEnum struct { TCP UpdateHealthCheckResponseProtocol HTTP UpdateHealthCheckResponseProtocol HTTPS UpdateHealthCheckResponseProtocol }
func GetUpdateHealthCheckResponseProtocolEnum ¶ added in v0.1.7
func GetUpdateHealthCheckResponseProtocolEnum() UpdateHealthCheckResponseProtocolEnum
type UpdateHealthCheckResponseStatus ¶ added in v0.1.7
type UpdateHealthCheckResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseStatus) MarshalJSON ¶ added in v0.1.7
func (c UpdateHealthCheckResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseStatus) UnmarshalJSON ¶ added in v0.1.7
func (c *UpdateHealthCheckResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseStatus) Value ¶ added in v0.1.7
func (c UpdateHealthCheckResponseStatus) Value() int32
type UpdateHealthCheckResponseStatusEnum ¶ added in v0.1.7
type UpdateHealthCheckResponseStatusEnum struct { E_1 UpdateHealthCheckResponseStatus E_2 UpdateHealthCheckResponseStatus }
func GetUpdateHealthCheckResponseStatusEnum ¶ added in v0.1.7
func GetUpdateHealthCheckResponseStatusEnum() UpdateHealthCheckResponseStatusEnum
type UpdateInstanceV2Request ¶ added in v0.0.65
type UpdateInstanceV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` Body *InstanceModReq `json:"body,omitempty"` }
Request Object
func (UpdateInstanceV2Request) String ¶ added in v0.0.65
func (o UpdateInstanceV2Request) String() string
type UpdateInstanceV2Response ¶ added in v0.0.65
type UpdateInstanceV2Response struct { // 实例ID Id *string `json:"id,omitempty"` // 实例所属租户ID ProjectId *string `json:"project_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *UpdateInstanceV2ResponseStatus `json:"status,omitempty"` // 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时 InstanceStatus *UpdateInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"` // 实例类型 默认apig Type *string `json:"type,omitempty"` // 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例 Spec *UpdateInstanceV2ResponseSpec `json:"spec,omitempty"` // 实例创建时间。unix时间戳格式。 CreateTime *int64 `json:"create_time,omitempty"` // 企业项目ID,企业帐号必填 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例绑定的弹性IP地址 EipAddress *string `json:"eip_address,omitempty"` // 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws,hws_hk)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) ChargingMode *UpdateInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"` // [包周期计费订单编号](tag:hws,hws_hk)[计费订单编号参数暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm) CbcMetadata *string `json:"cbc_metadata,omitempty"` // 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持 LoadbalancerProvider *UpdateInstanceV2ResponseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"` // 实例描述 Description *string `json:"description,omitempty"` // 虚拟私有云ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。 VpcId *string `json:"vpc_id,omitempty"` // 子网的网络ID。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。 SubnetId *string `json:"subnet_id,omitempty"` // 指定实例所属的安全组。 获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。 SecurityGroupId *string `json:"security_group_id,omitempty"` // '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。' MaintainBegin *string `json:"maintain_begin,omitempty"` // '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例入口,虚拟私有云访问地址 IngressIp *string `json:"ingress_ip,omitempty"` // 实例入口,虚拟私有云访问地址 (IPv6) IngressIpV6 *string `json:"ingress_ip_v6,omitempty"` // 实例所属用户ID UserId *string `json:"user_id,omitempty"` // 出公网网段 (IPv6) 。 当前仅部分region部分可用区支持IPv6 NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"` // 弹性IP地址(IPv6)。 当前仅部分region部分可用区支持IPv6 EipIpv6Address *string `json:"eip_ipv6_address,omitempty"` // 实例出公网IP NatEipAddress *string `json:"nat_eip_address,omitempty"` // 出公网带宽 BandwidthSize *int32 `json:"bandwidth_size,omitempty"` // 可用区 AvailableZoneIds *string `json:"available_zone_ids,omitempty"` // 实例版本编号 InstanceVersion *string `json:"instance_version,omitempty"` // 子网的网络ID。 暂不支持 VirsubnetId *string `json:"virsubnet_id,omitempty"` // roma弹性公网IP。 暂不支持 RomaEipAddress *string `json:"roma_eip_address,omitempty"` // 监听信息 暂不支持 Listeners *interface{} `json:"listeners,omitempty"` // 实例支持的特性列表 SupportedFeatures *[]string `json:"supported_features,omitempty"` EndpointService *EndpointService `json:"endpoint_service,omitempty"` // 终端节点服务列表 EndpointServices *[]EndpointService `json:"endpoint_services,omitempty"` NodeIps *NodeIps `json:"node_ips,omitempty"` // 公网入口地址列表 Publicips *[]IpDetails `json:"publicips,omitempty"` // 私网入口地址列表 Privateips *[]IpDetails `json:"privateips,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceV2Response) String ¶ added in v0.0.65
func (o UpdateInstanceV2Response) String() string
type UpdateInstanceV2ResponseChargingMode ¶ added in v0.0.65
type UpdateInstanceV2ResponseChargingMode struct {
// contains filtered or unexported fields
}
func (UpdateInstanceV2ResponseChargingMode) MarshalJSON ¶ added in v0.0.65
func (c UpdateInstanceV2ResponseChargingMode) MarshalJSON() ([]byte, error)
func (*UpdateInstanceV2ResponseChargingMode) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateInstanceV2ResponseChargingMode) UnmarshalJSON(b []byte) error
func (UpdateInstanceV2ResponseChargingMode) Value ¶ added in v0.0.90
func (c UpdateInstanceV2ResponseChargingMode) Value() int32
type UpdateInstanceV2ResponseChargingModeEnum ¶ added in v0.0.65
type UpdateInstanceV2ResponseChargingModeEnum struct { E_0 UpdateInstanceV2ResponseChargingMode E_1 UpdateInstanceV2ResponseChargingMode }
func GetUpdateInstanceV2ResponseChargingModeEnum ¶ added in v0.0.65
func GetUpdateInstanceV2ResponseChargingModeEnum() UpdateInstanceV2ResponseChargingModeEnum
type UpdateInstanceV2ResponseInstanceStatus ¶ added in v0.0.65
type UpdateInstanceV2ResponseInstanceStatus struct {
// contains filtered or unexported fields
}
func (UpdateInstanceV2ResponseInstanceStatus) MarshalJSON ¶ added in v0.0.65
func (c UpdateInstanceV2ResponseInstanceStatus) MarshalJSON() ([]byte, error)
func (*UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON(b []byte) error
func (UpdateInstanceV2ResponseInstanceStatus) Value ¶ added in v0.0.90
func (c UpdateInstanceV2ResponseInstanceStatus) Value() int32
type UpdateInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.65
type UpdateInstanceV2ResponseInstanceStatusEnum struct { E_1 UpdateInstanceV2ResponseInstanceStatus E_2 UpdateInstanceV2ResponseInstanceStatus E_3 UpdateInstanceV2ResponseInstanceStatus E_4 UpdateInstanceV2ResponseInstanceStatus E_5 UpdateInstanceV2ResponseInstanceStatus E_6 UpdateInstanceV2ResponseInstanceStatus E_7 UpdateInstanceV2ResponseInstanceStatus E_8 UpdateInstanceV2ResponseInstanceStatus E_10 UpdateInstanceV2ResponseInstanceStatus E_11 UpdateInstanceV2ResponseInstanceStatus E_12 UpdateInstanceV2ResponseInstanceStatus E_13 UpdateInstanceV2ResponseInstanceStatus E_20 UpdateInstanceV2ResponseInstanceStatus E_21 UpdateInstanceV2ResponseInstanceStatus E_22 UpdateInstanceV2ResponseInstanceStatus E_23 UpdateInstanceV2ResponseInstanceStatus E_24 UpdateInstanceV2ResponseInstanceStatus E_25 UpdateInstanceV2ResponseInstanceStatus E_26 UpdateInstanceV2ResponseInstanceStatus E_27 UpdateInstanceV2ResponseInstanceStatus E_28 UpdateInstanceV2ResponseInstanceStatus E_29 UpdateInstanceV2ResponseInstanceStatus E_30 UpdateInstanceV2ResponseInstanceStatus E_31 UpdateInstanceV2ResponseInstanceStatus E_32 UpdateInstanceV2ResponseInstanceStatus E_33 UpdateInstanceV2ResponseInstanceStatus E_34 UpdateInstanceV2ResponseInstanceStatus E_35 UpdateInstanceV2ResponseInstanceStatus E_36 UpdateInstanceV2ResponseInstanceStatus E_37 UpdateInstanceV2ResponseInstanceStatus E_38 UpdateInstanceV2ResponseInstanceStatus E_39 UpdateInstanceV2ResponseInstanceStatus E_40 UpdateInstanceV2ResponseInstanceStatus E_41 UpdateInstanceV2ResponseInstanceStatus }
func GetUpdateInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.65
func GetUpdateInstanceV2ResponseInstanceStatusEnum() UpdateInstanceV2ResponseInstanceStatusEnum
type UpdateInstanceV2ResponseLoadbalancerProvider ¶ added in v0.0.89
type UpdateInstanceV2ResponseLoadbalancerProvider struct {
// contains filtered or unexported fields
}
func (UpdateInstanceV2ResponseLoadbalancerProvider) MarshalJSON ¶ added in v0.0.89
func (c UpdateInstanceV2ResponseLoadbalancerProvider) MarshalJSON() ([]byte, error)
func (*UpdateInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON ¶ added in v0.0.89
func (c *UpdateInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON(b []byte) error
func (UpdateInstanceV2ResponseLoadbalancerProvider) Value ¶ added in v0.0.90
func (c UpdateInstanceV2ResponseLoadbalancerProvider) Value() string
type UpdateInstanceV2ResponseLoadbalancerProviderEnum ¶ added in v0.0.89
type UpdateInstanceV2ResponseLoadbalancerProviderEnum struct { LVS UpdateInstanceV2ResponseLoadbalancerProvider ELB UpdateInstanceV2ResponseLoadbalancerProvider }
func GetUpdateInstanceV2ResponseLoadbalancerProviderEnum ¶ added in v0.0.89
func GetUpdateInstanceV2ResponseLoadbalancerProviderEnum() UpdateInstanceV2ResponseLoadbalancerProviderEnum
type UpdateInstanceV2ResponseSpec ¶ added in v0.0.65
type UpdateInstanceV2ResponseSpec struct {
// contains filtered or unexported fields
}
func (UpdateInstanceV2ResponseSpec) MarshalJSON ¶ added in v0.0.65
func (c UpdateInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)
func (*UpdateInstanceV2ResponseSpec) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error
func (UpdateInstanceV2ResponseSpec) Value ¶ added in v0.0.90
func (c UpdateInstanceV2ResponseSpec) Value() string
type UpdateInstanceV2ResponseSpecEnum ¶ added in v0.0.65
type UpdateInstanceV2ResponseSpecEnum struct { BASIC UpdateInstanceV2ResponseSpec PROFESSIONAL UpdateInstanceV2ResponseSpec ENTERPRISE UpdateInstanceV2ResponseSpec PLATINUM UpdateInstanceV2ResponseSpec BASIC_IPV6 UpdateInstanceV2ResponseSpec PROFESSIONAL_IPV6 UpdateInstanceV2ResponseSpec ENTERPRISE_IPV6 UpdateInstanceV2ResponseSpec PLATINUM_IPV6 UpdateInstanceV2ResponseSpec }
func GetUpdateInstanceV2ResponseSpecEnum ¶ added in v0.0.65
func GetUpdateInstanceV2ResponseSpecEnum() UpdateInstanceV2ResponseSpecEnum
type UpdateInstanceV2ResponseStatus ¶ added in v0.0.65
type UpdateInstanceV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateInstanceV2ResponseStatus) MarshalJSON ¶ added in v0.0.65
func (c UpdateInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateInstanceV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateInstanceV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateInstanceV2ResponseStatus) Value() string
type UpdateInstanceV2ResponseStatusEnum ¶ added in v0.0.65
type UpdateInstanceV2ResponseStatusEnum struct { CREATING UpdateInstanceV2ResponseStatus CREATE_SUCCESS UpdateInstanceV2ResponseStatus CREATE_FAIL UpdateInstanceV2ResponseStatus INITING UpdateInstanceV2ResponseStatus REGISTERING UpdateInstanceV2ResponseStatus RUNNING UpdateInstanceV2ResponseStatus INITING_FAILED UpdateInstanceV2ResponseStatus REGISTER_FAILED UpdateInstanceV2ResponseStatus INSTALLING UpdateInstanceV2ResponseStatus INSTALL_FAILED UpdateInstanceV2ResponseStatus UPDATING UpdateInstanceV2ResponseStatus UPDATE_FAILED UpdateInstanceV2ResponseStatus ROLLBACKING UpdateInstanceV2ResponseStatus ROLLBACK_SUCCESS UpdateInstanceV2ResponseStatus ROLLBACK_FAILED UpdateInstanceV2ResponseStatus DELETING UpdateInstanceV2ResponseStatus DELETE_FAILED UpdateInstanceV2ResponseStatus UNREGISTERING UpdateInstanceV2ResponseStatus UN_REGISTER_FAILED UpdateInstanceV2ResponseStatus CREATE_TIMEOUT UpdateInstanceV2ResponseStatus INIT_TIMEOUT UpdateInstanceV2ResponseStatus REGISTER_TIMEOUT UpdateInstanceV2ResponseStatus INSTALL_TIMEOUT UpdateInstanceV2ResponseStatus UPDATE_TIMEOUT UpdateInstanceV2ResponseStatus ROLLBACK_TIMEOUT UpdateInstanceV2ResponseStatus DELETE_TIMEOUT UpdateInstanceV2ResponseStatus UNREGISTER_TIMEOUT UpdateInstanceV2ResponseStatus STARTING UpdateInstanceV2ResponseStatus FREEZING UpdateInstanceV2ResponseStatus FROZEN UpdateInstanceV2ResponseStatus RESTARTING UpdateInstanceV2ResponseStatus RESTART_FAIL UpdateInstanceV2ResponseStatus UNHEALTHY UpdateInstanceV2ResponseStatus RESTART_TIMEOUT UpdateInstanceV2ResponseStatus }
func GetUpdateInstanceV2ResponseStatusEnum ¶ added in v0.0.65
func GetUpdateInstanceV2ResponseStatusEnum() UpdateInstanceV2ResponseStatusEnum
type UpdateMemberGroupRequest ¶ added in v0.1.7
type UpdateMemberGroupRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` Body *MemberGroupCreate `json:"body,omitempty"` }
Request Object
func (UpdateMemberGroupRequest) String ¶ added in v0.1.7
func (o UpdateMemberGroupRequest) String() string
type UpdateMemberGroupResponse ¶ added in v0.1.7
type UpdateMemberGroupResponse struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。 MicroserviceVersion *string `json:"microservice_version,omitempty"` // VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。 MicroservicePort *int32 `json:"microservice_port,omitempty"` // VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。 MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMemberGroupResponse) String ¶ added in v0.1.7
func (o UpdateMemberGroupResponse) String() string
type UpdatePluginRequest ¶ added in v0.1.11
type UpdatePluginRequest struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 插件编号 PluginId string `json:"plugin_id"` Body *PluginCreate `json:"body,omitempty"` }
Request Object
func (UpdatePluginRequest) String ¶ added in v0.1.11
func (o UpdatePluginRequest) String() string
type UpdatePluginResponse ¶ added in v0.1.11
type UpdatePluginResponse struct { // 插件编码。 PluginId *string `json:"plugin_id,omitempty"` // 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 PluginName *string `json:"plugin_name,omitempty"` // 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 PluginType *UpdatePluginResponsePluginType `json:"plugin_type,omitempty"` // 插件可见范围。global:全局可见; PluginScope *UpdatePluginResponsePluginScope `json:"plugin_scope,omitempty"` // 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 PluginContent *string `json:"plugin_content,omitempty"` // 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 创建时间。 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间。 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePluginResponse) String ¶ added in v0.1.11
func (o UpdatePluginResponse) String() string
type UpdatePluginResponsePluginScope ¶ added in v0.1.11
type UpdatePluginResponsePluginScope struct {
// contains filtered or unexported fields
}
func (UpdatePluginResponsePluginScope) MarshalJSON ¶ added in v0.1.11
func (c UpdatePluginResponsePluginScope) MarshalJSON() ([]byte, error)
func (*UpdatePluginResponsePluginScope) UnmarshalJSON ¶ added in v0.1.11
func (c *UpdatePluginResponsePluginScope) UnmarshalJSON(b []byte) error
func (UpdatePluginResponsePluginScope) Value ¶ added in v0.1.11
func (c UpdatePluginResponsePluginScope) Value() string
type UpdatePluginResponsePluginScopeEnum ¶ added in v0.1.11
type UpdatePluginResponsePluginScopeEnum struct {
GLOBAL UpdatePluginResponsePluginScope
}
func GetUpdatePluginResponsePluginScopeEnum ¶ added in v0.1.11
func GetUpdatePluginResponsePluginScopeEnum() UpdatePluginResponsePluginScopeEnum
type UpdatePluginResponsePluginType ¶ added in v0.1.11
type UpdatePluginResponsePluginType struct {
// contains filtered or unexported fields
}
func (UpdatePluginResponsePluginType) MarshalJSON ¶ added in v0.1.11
func (c UpdatePluginResponsePluginType) MarshalJSON() ([]byte, error)
func (*UpdatePluginResponsePluginType) UnmarshalJSON ¶ added in v0.1.11
func (c *UpdatePluginResponsePluginType) UnmarshalJSON(b []byte) error
func (UpdatePluginResponsePluginType) Value ¶ added in v0.1.11
func (c UpdatePluginResponsePluginType) Value() string
type UpdatePluginResponsePluginTypeEnum ¶ added in v0.1.11
type UpdatePluginResponsePluginTypeEnum struct { CORS UpdatePluginResponsePluginType SET_RESP_HEADERS UpdatePluginResponsePluginType KAFKA_LOG UpdatePluginResponsePluginType BREAKER UpdatePluginResponsePluginType RATE_LIMIT UpdatePluginResponsePluginType }
func GetUpdatePluginResponsePluginTypeEnum ¶ added in v0.1.11
func GetUpdatePluginResponsePluginTypeEnum() UpdatePluginResponsePluginTypeEnum
type UpdateRequestThrottlingPolicyV2Request ¶
type UpdateRequestThrottlingPolicyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` Body *ThrottleBaseInfo `json:"body,omitempty"` }
Request Object
func (UpdateRequestThrottlingPolicyV2Request) String ¶
func (o UpdateRequestThrottlingPolicyV2Request) String() string
type UpdateRequestThrottlingPolicyV2Response ¶
type UpdateRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit UpdateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *UpdateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRequestThrottlingPolicyV2Response) String ¶
func (o UpdateRequestThrottlingPolicyV2Response) String() string
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶ added in v0.0.69
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶ added in v0.0.69
func (c UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶ added in v0.0.69
func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type UpdateRequestThrottlingPolicyV2ResponseTimeUnit ¶
type UpdateRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND UpdateRequestThrottlingPolicyV2ResponseTimeUnit MINUTE UpdateRequestThrottlingPolicyV2ResponseTimeUnit HOUR UpdateRequestThrottlingPolicyV2ResponseTimeUnit DAY UpdateRequestThrottlingPolicyV2ResponseTimeUnit }
func GetUpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetUpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum() UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum
type UpdateRequestThrottlingPolicyV2ResponseType ¶
type UpdateRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseType) Value() int32
type UpdateRequestThrottlingPolicyV2ResponseTypeEnum ¶
type UpdateRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 UpdateRequestThrottlingPolicyV2ResponseType E_2 UpdateRequestThrottlingPolicyV2ResponseType }
func GetUpdateRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetUpdateRequestThrottlingPolicyV2ResponseTypeEnum() UpdateRequestThrottlingPolicyV2ResponseTypeEnum
type UpdateSignatureKeyV2Request ¶
type UpdateSignatureKeyV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 签名密钥编号 SignId string `json:"sign_id"` Body *BaseSignature `json:"body,omitempty"` }
Request Object
func (UpdateSignatureKeyV2Request) String ¶
func (o UpdateSignatureKeyV2Request) String() string
type UpdateSignatureKeyV2Response ¶
type UpdateSignatureKeyV2Response struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *UpdateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *UpdateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSignatureKeyV2Response) String ¶
func (o UpdateSignatureKeyV2Response) String() string
type UpdateSignatureKeyV2ResponseSignAlgorithm ¶ added in v0.0.69
type UpdateSignatureKeyV2ResponseSignAlgorithm struct {
// contains filtered or unexported fields
}
func (UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON ¶ added in v0.0.69
func (c UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateSignatureKeyV2ResponseSignAlgorithm) Value ¶ added in v0.0.90
func (c UpdateSignatureKeyV2ResponseSignAlgorithm) Value() string
type UpdateSignatureKeyV2ResponseSignAlgorithmEnum ¶ added in v0.0.69
type UpdateSignatureKeyV2ResponseSignAlgorithmEnum struct { AES_128_CFB UpdateSignatureKeyV2ResponseSignAlgorithm AES_256_CFB UpdateSignatureKeyV2ResponseSignAlgorithm }
func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum ¶ added in v0.0.69
func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum() UpdateSignatureKeyV2ResponseSignAlgorithmEnum
type UpdateSignatureKeyV2ResponseSignType ¶
type UpdateSignatureKeyV2ResponseSignType struct {
// contains filtered or unexported fields
}
func (UpdateSignatureKeyV2ResponseSignType) MarshalJSON ¶
func (c UpdateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)
func (*UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON ¶
func (c *UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error
func (UpdateSignatureKeyV2ResponseSignType) Value ¶ added in v0.0.90
func (c UpdateSignatureKeyV2ResponseSignType) Value() string
type UpdateSignatureKeyV2ResponseSignTypeEnum ¶
type UpdateSignatureKeyV2ResponseSignTypeEnum struct { HMAC UpdateSignatureKeyV2ResponseSignType BASIC UpdateSignatureKeyV2ResponseSignType PUBLIC_KEY UpdateSignatureKeyV2ResponseSignType AES UpdateSignatureKeyV2ResponseSignType }
func GetUpdateSignatureKeyV2ResponseSignTypeEnum ¶
func GetUpdateSignatureKeyV2ResponseSignTypeEnum() UpdateSignatureKeyV2ResponseSignTypeEnum
type UpdateSpecialThrottlingConfigurationV2Request ¶
type UpdateSpecialThrottlingConfigurationV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 特殊配置的编号 StrategyId string `json:"strategy_id"` Body *ThrottleSpecialUpdate `json:"body,omitempty"` }
Request Object
func (UpdateSpecialThrottlingConfigurationV2Request) String ¶
func (o UpdateSpecialThrottlingConfigurationV2Request) String() string
type UpdateSpecialThrottlingConfigurationV2Response ¶
type UpdateSpecialThrottlingConfigurationV2Response struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // 作用的APP或租户的名称 ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSpecialThrottlingConfigurationV2Response) String ¶
func (o UpdateSpecialThrottlingConfigurationV2Response) String() string
type UpdateVpcChannelV2Request ¶ added in v0.0.65
type UpdateVpcChannelV2Request struct { // 实例ID,在API网关控制台的“实例信息”中获取。 InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcCreate `json:"body,omitempty"` }
Request Object
func (UpdateVpcChannelV2Request) String ¶ added in v0.0.65
func (o UpdateVpcChannelV2Request) String() string
type UpdateVpcChannelV2Response ¶ added in v0.0.65
type UpdateVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy UpdateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType UpdateVpcChannelV2ResponseMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *UpdateVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateVpcChannelV2Response) String ¶ added in v0.0.65
func (o UpdateVpcChannelV2Response) String() string
type UpdateVpcChannelV2ResponseBalanceStrategy ¶ added in v0.0.65
type UpdateVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseBalanceStrategy) Value() int32
type UpdateVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
type UpdateVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 UpdateVpcChannelV2ResponseBalanceStrategy E_2 UpdateVpcChannelV2ResponseBalanceStrategy E_3 UpdateVpcChannelV2ResponseBalanceStrategy E_4 UpdateVpcChannelV2ResponseBalanceStrategy }
func GetUpdateVpcChannelV2ResponseBalanceStrategyEnum ¶ added in v0.0.65
func GetUpdateVpcChannelV2ResponseBalanceStrategyEnum() UpdateVpcChannelV2ResponseBalanceStrategyEnum
type UpdateVpcChannelV2ResponseMemberType ¶ added in v0.0.65
type UpdateVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseMemberType) MarshalJSON ¶ added in v0.0.65
func (c UpdateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseMemberType) Value() string
type UpdateVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
type UpdateVpcChannelV2ResponseMemberTypeEnum struct { IP UpdateVpcChannelV2ResponseMemberType ECS UpdateVpcChannelV2ResponseMemberType }
func GetUpdateVpcChannelV2ResponseMemberTypeEnum ¶ added in v0.0.65
func GetUpdateVpcChannelV2ResponseMemberTypeEnum() UpdateVpcChannelV2ResponseMemberTypeEnum
type UpdateVpcChannelV2ResponseStatus ¶ added in v0.0.69
type UpdateVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseStatus) MarshalJSON ¶ added in v0.0.69
func (c UpdateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseStatus) Value() int32
type UpdateVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
type UpdateVpcChannelV2ResponseStatusEnum struct { E_1 UpdateVpcChannelV2ResponseStatus E_2 UpdateVpcChannelV2ResponseStatus }
func GetUpdateVpcChannelV2ResponseStatusEnum ¶ added in v0.0.69
func GetUpdateVpcChannelV2ResponseStatusEnum() UpdateVpcChannelV2ResponseStatusEnum
type UrlDomain ¶ added in v0.0.69
type UrlDomain struct { // 域名编号 Id *string `json:"id,omitempty"` // 访问域名 Domain *string `json:"domain,omitempty"` // 域名cname状态: - 1:未解析 - 2:解析中 - 3:解析成功 - 4:解析失败 CnameStatus *int32 `json:"cname_status,omitempty"` // SSL证书编号 SslId *string `json:"ssl_id,omitempty"` // SSL证书名称 SslName *string `json:"ssl_name,omitempty"` // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainMinSslVersion `json:"min_ssl_version,omitempty"` }
type UrlDomainBase ¶ added in v0.0.49
type UrlDomainBase struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` }
func (UrlDomainBase) String ¶ added in v0.0.49
func (o UrlDomainBase) String() string
type UrlDomainBaseInfo ¶ added in v0.0.49
type UrlDomainBaseInfo struct { // 自定义域名 UrlDomain string `json:"url_domain"` // 自定义域名的编号 Id string `json:"id"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status UrlDomainBaseInfoStatus `json:"status"` // 支持的最小SSL版本 MinSslVersion string `json:"min_ssl_version"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` }
func (UrlDomainBaseInfo) String ¶ added in v0.0.49
func (o UrlDomainBaseInfo) String() string
type UrlDomainBaseInfoStatus ¶ added in v0.0.49
type UrlDomainBaseInfoStatus struct {
// contains filtered or unexported fields
}
func (UrlDomainBaseInfoStatus) MarshalJSON ¶ added in v0.0.49
func (c UrlDomainBaseInfoStatus) MarshalJSON() ([]byte, error)
func (*UrlDomainBaseInfoStatus) UnmarshalJSON ¶ added in v0.0.49
func (c *UrlDomainBaseInfoStatus) UnmarshalJSON(b []byte) error
func (UrlDomainBaseInfoStatus) Value ¶ added in v0.0.90
func (c UrlDomainBaseInfoStatus) Value() int32
type UrlDomainBaseInfoStatusEnum ¶ added in v0.0.49
type UrlDomainBaseInfoStatusEnum struct { E_1 UrlDomainBaseInfoStatus E_2 UrlDomainBaseInfoStatus E_3 UrlDomainBaseInfoStatus E_4 UrlDomainBaseInfoStatus }
func GetUrlDomainBaseInfoStatusEnum ¶ added in v0.0.49
func GetUrlDomainBaseInfoStatusEnum() UrlDomainBaseInfoStatusEnum
type UrlDomainBaseMinSslVersion ¶ added in v0.0.49
type UrlDomainBaseMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainBaseMinSslVersion) MarshalJSON ¶ added in v0.0.49
func (c UrlDomainBaseMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainBaseMinSslVersion) UnmarshalJSON ¶ added in v0.0.49
func (c *UrlDomainBaseMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainBaseMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainBaseMinSslVersion) Value() string
type UrlDomainBaseMinSslVersionEnum ¶ added in v0.0.49
type UrlDomainBaseMinSslVersionEnum struct { TL_SV1_1 UrlDomainBaseMinSslVersion TL_SV1_2 UrlDomainBaseMinSslVersion }
func GetUrlDomainBaseMinSslVersionEnum ¶ added in v0.0.49
func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum
type UrlDomainCreate ¶ added in v0.0.49
type UrlDomainCreate struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` // 自定义域名。长度为0-255位的字符串,需要符合域名规范。 UrlDomain *string `json:"url_domain,omitempty"` }
func (UrlDomainCreate) String ¶ added in v0.0.49
func (o UrlDomainCreate) String() string
type UrlDomainCreateMinSslVersion ¶ added in v0.0.49
type UrlDomainCreateMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainCreateMinSslVersion) MarshalJSON ¶ added in v0.0.49
func (c UrlDomainCreateMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainCreateMinSslVersion) UnmarshalJSON ¶ added in v0.0.49
func (c *UrlDomainCreateMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainCreateMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainCreateMinSslVersion) Value() string
type UrlDomainCreateMinSslVersionEnum ¶ added in v0.0.49
type UrlDomainCreateMinSslVersionEnum struct { TL_SV1_1 UrlDomainCreateMinSslVersion TL_SV1_2 UrlDomainCreateMinSslVersion }
func GetUrlDomainCreateMinSslVersionEnum ¶ added in v0.0.49
func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum
type UrlDomainMinSslVersion ¶ added in v0.0.69
type UrlDomainMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainMinSslVersion) MarshalJSON ¶ added in v0.0.69
func (c UrlDomainMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainMinSslVersion) UnmarshalJSON ¶ added in v0.0.69
func (c *UrlDomainMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainMinSslVersion) Value() string
type UrlDomainMinSslVersionEnum ¶ added in v0.0.69
type UrlDomainMinSslVersionEnum struct { TL_SV1_1 UrlDomainMinSslVersion TL_SV1_2 UrlDomainMinSslVersion }
func GetUrlDomainMinSslVersionEnum ¶ added in v0.0.69
func GetUrlDomainMinSslVersionEnum() UrlDomainMinSslVersionEnum
type UrlDomainModify ¶ added in v0.0.49
type UrlDomainModify struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion UrlDomainModifyMinSslVersion `json:"min_ssl_version"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` }
func (UrlDomainModify) String ¶ added in v0.0.49
func (o UrlDomainModify) String() string
type UrlDomainModifyMinSslVersion ¶ added in v0.0.49
type UrlDomainModifyMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainModifyMinSslVersion) MarshalJSON ¶ added in v0.0.49
func (c UrlDomainModifyMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainModifyMinSslVersion) UnmarshalJSON ¶ added in v0.0.49
func (c *UrlDomainModifyMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainModifyMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainModifyMinSslVersion) Value() string
type UrlDomainModifyMinSslVersionEnum ¶ added in v0.0.49
type UrlDomainModifyMinSslVersionEnum struct { TL_SV1_1 UrlDomainModifyMinSslVersion TL_SV1_2 UrlDomainModifyMinSslVersion }
func GetUrlDomainModifyMinSslVersionEnum ¶ added in v0.0.49
func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum
type UrlDomainRefInfo ¶ added in v0.1.7
type UrlDomainRefInfo struct { // 自定义域名 UrlDomain string `json:"url_domain"` // 自定义域名的编号 Id string `json:"id"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status UrlDomainRefInfoStatus `json:"status"` // 支持的最小SSL版本 MinSslVersion string `json:"min_ssl_version"` // 是否开启http到https的重定向,false为关闭,true为开启,默认为false IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"` // 证书ID SslId *string `json:"ssl_id,omitempty"` // 证书名称 SslName *string `json:"ssl_name,omitempty"` // 所属API分组ID ApiGroupId string `json:"api_group_id"` // 所属API分组名称 ApiGroupName string `json:"api_group_name"` // 所属实例ID InstanceId string `json:"instance_id"` }
域名详情及关联的证书、分组信息
func (UrlDomainRefInfo) String ¶ added in v0.1.7
func (o UrlDomainRefInfo) String() string
type UrlDomainRefInfoStatus ¶ added in v0.1.7
type UrlDomainRefInfoStatus struct {
// contains filtered or unexported fields
}
func (UrlDomainRefInfoStatus) MarshalJSON ¶ added in v0.1.7
func (c UrlDomainRefInfoStatus) MarshalJSON() ([]byte, error)
func (*UrlDomainRefInfoStatus) UnmarshalJSON ¶ added in v0.1.7
func (c *UrlDomainRefInfoStatus) UnmarshalJSON(b []byte) error
func (UrlDomainRefInfoStatus) Value ¶ added in v0.1.7
func (c UrlDomainRefInfoStatus) Value() int32
type UrlDomainRefInfoStatusEnum ¶ added in v0.1.7
type UrlDomainRefInfoStatusEnum struct { E_1 UrlDomainRefInfoStatus E_2 UrlDomainRefInfoStatus E_3 UrlDomainRefInfoStatus E_4 UrlDomainRefInfoStatus }
func GetUrlDomainRefInfoStatusEnum ¶ added in v0.1.7
func GetUrlDomainRefInfoStatusEnum() UrlDomainRefInfoStatusEnum
type VpcBase ¶ added in v0.0.65
type VpcBase struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcBaseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType VpcBaseMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` }
type VpcBaseBalanceStrategy ¶ added in v0.0.65
type VpcBaseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcBaseBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c VpcBaseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcBaseBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcBaseBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcBaseBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcBaseBalanceStrategy) Value() int32
type VpcBaseBalanceStrategyEnum ¶ added in v0.0.65
type VpcBaseBalanceStrategyEnum struct { E_1 VpcBaseBalanceStrategy E_2 VpcBaseBalanceStrategy E_3 VpcBaseBalanceStrategy E_4 VpcBaseBalanceStrategy }
func GetVpcBaseBalanceStrategyEnum ¶ added in v0.0.65
func GetVpcBaseBalanceStrategyEnum() VpcBaseBalanceStrategyEnum
type VpcBaseInfo ¶
type VpcBaseInfo struct { // 云服务器ID EcsId *string `json:"ecs_id,omitempty"` // 云服务器名称 EcsName *string `json:"ecs_name,omitempty"` // 是否使用级联方式 暂不支持 CascadeFlag *bool `json:"cascade_flag,omitempty"` }
func (VpcBaseInfo) String ¶
func (o VpcBaseInfo) String() string
type VpcBaseMemberType ¶ added in v0.0.65
type VpcBaseMemberType struct {
// contains filtered or unexported fields
}
func (VpcBaseMemberType) MarshalJSON ¶ added in v0.0.65
func (c VpcBaseMemberType) MarshalJSON() ([]byte, error)
func (*VpcBaseMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcBaseMemberType) UnmarshalJSON(b []byte) error
func (VpcBaseMemberType) Value ¶ added in v0.0.90
func (c VpcBaseMemberType) Value() string
type VpcBaseMemberTypeEnum ¶ added in v0.0.65
type VpcBaseMemberTypeEnum struct { IP VpcBaseMemberType ECS VpcBaseMemberType }
func GetVpcBaseMemberTypeEnum ¶ added in v0.0.65
func GetVpcBaseMemberTypeEnum() VpcBaseMemberTypeEnum
type VpcChannelInfo ¶ added in v0.0.65
type VpcChannelInfo struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcChannelInfoBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType VpcChannelInfoMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *VpcChannelInfoStatus `json:"status,omitempty"` // 后端云服务器组列表。 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"` }
func (VpcChannelInfo) String ¶ added in v0.0.65
func (o VpcChannelInfo) String() string
type VpcChannelInfoBalanceStrategy ¶ added in v0.0.65
type VpcChannelInfoBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c VpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcChannelInfoBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcChannelInfoBalanceStrategy) Value() int32
type VpcChannelInfoBalanceStrategyEnum ¶ added in v0.0.65
type VpcChannelInfoBalanceStrategyEnum struct { E_1 VpcChannelInfoBalanceStrategy E_2 VpcChannelInfoBalanceStrategy E_3 VpcChannelInfoBalanceStrategy E_4 VpcChannelInfoBalanceStrategy }
func GetVpcChannelInfoBalanceStrategyEnum ¶ added in v0.0.65
func GetVpcChannelInfoBalanceStrategyEnum() VpcChannelInfoBalanceStrategyEnum
type VpcChannelInfoMemberType ¶ added in v0.0.65
type VpcChannelInfoMemberType struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoMemberType) MarshalJSON ¶ added in v0.0.65
func (c VpcChannelInfoMemberType) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcChannelInfoMemberType) UnmarshalJSON(b []byte) error
func (VpcChannelInfoMemberType) Value ¶ added in v0.0.90
func (c VpcChannelInfoMemberType) Value() string
type VpcChannelInfoMemberTypeEnum ¶ added in v0.0.65
type VpcChannelInfoMemberTypeEnum struct { IP VpcChannelInfoMemberType ECS VpcChannelInfoMemberType }
func GetVpcChannelInfoMemberTypeEnum ¶ added in v0.0.65
func GetVpcChannelInfoMemberTypeEnum() VpcChannelInfoMemberTypeEnum
type VpcChannelInfoStatus ¶ added in v0.0.69
type VpcChannelInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c VpcChannelInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *VpcChannelInfoStatus) UnmarshalJSON(b []byte) error
func (VpcChannelInfoStatus) Value ¶ added in v0.0.90
func (c VpcChannelInfoStatus) Value() int32
type VpcChannelInfoStatusEnum ¶ added in v0.0.69
type VpcChannelInfoStatusEnum struct { E_1 VpcChannelInfoStatus E_2 VpcChannelInfoStatus }
func GetVpcChannelInfoStatusEnum ¶ added in v0.0.69
func GetVpcChannelInfoStatusEnum() VpcChannelInfoStatusEnum
type VpcCreate ¶ added in v0.0.65
type VpcCreate struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcCreateBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。 - ip - ecs MemberType VpcCreateMemberType `json:"member_type"` // vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型 Type *int32 `json:"type,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"` // VPC后端实例列表。 Members *[]MemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"` MicroserviceInfo *MicroServiceCreate `json:"microservice_info,omitempty"` }
type VpcCreateBalanceStrategy ¶ added in v0.0.65
type VpcCreateBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcCreateBalanceStrategy) MarshalJSON ¶ added in v0.0.65
func (c VpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcCreateBalanceStrategy) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcCreateBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcCreateBalanceStrategy) Value() int32
type VpcCreateBalanceStrategyEnum ¶ added in v0.0.65
type VpcCreateBalanceStrategyEnum struct { E_1 VpcCreateBalanceStrategy E_2 VpcCreateBalanceStrategy E_3 VpcCreateBalanceStrategy E_4 VpcCreateBalanceStrategy }
func GetVpcCreateBalanceStrategyEnum ¶ added in v0.0.65
func GetVpcCreateBalanceStrategyEnum() VpcCreateBalanceStrategyEnum
type VpcCreateMemberType ¶ added in v0.0.65
type VpcCreateMemberType struct {
// contains filtered or unexported fields
}
func (VpcCreateMemberType) MarshalJSON ¶ added in v0.0.65
func (c VpcCreateMemberType) MarshalJSON() ([]byte, error)
func (*VpcCreateMemberType) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcCreateMemberType) UnmarshalJSON(b []byte) error
func (VpcCreateMemberType) Value ¶ added in v0.0.90
func (c VpcCreateMemberType) Value() string
type VpcCreateMemberTypeEnum ¶ added in v0.0.65
type VpcCreateMemberTypeEnum struct { IP VpcCreateMemberType ECS VpcCreateMemberType }
func GetVpcCreateMemberTypeEnum ¶ added in v0.0.65
func GetVpcCreateMemberTypeEnum() VpcCreateMemberTypeEnum
type VpcHealthConfig ¶ added in v0.0.65
type VpcHealthConfig struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` }
健康检查详情。
func (VpcHealthConfig) String ¶ added in v0.0.65
func (o VpcHealthConfig) String() string
type VpcHealthConfigBase ¶ added in v0.0.65
type VpcHealthConfigBase struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigBaseProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigBaseMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigBaseStatus `json:"status,omitempty"` }
健康检查详情。
func (VpcHealthConfigBase) String ¶ added in v0.0.65
func (o VpcHealthConfigBase) String() string
type VpcHealthConfigBaseMethod ¶ added in v0.0.65
type VpcHealthConfigBaseMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseMethod) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigBaseMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigBaseMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseMethod) Value() string
type VpcHealthConfigBaseMethodEnum ¶ added in v0.0.65
type VpcHealthConfigBaseMethodEnum struct { GET VpcHealthConfigBaseMethod HEAD VpcHealthConfigBaseMethod }
func GetVpcHealthConfigBaseMethodEnum ¶ added in v0.0.65
func GetVpcHealthConfigBaseMethodEnum() VpcHealthConfigBaseMethodEnum
type VpcHealthConfigBaseProtocol ¶ added in v0.0.65
type VpcHealthConfigBaseProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseProtocol) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigBaseProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigBaseProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseProtocol) Value() string
type VpcHealthConfigBaseProtocolEnum ¶ added in v0.0.65
type VpcHealthConfigBaseProtocolEnum struct { TCP VpcHealthConfigBaseProtocol HTTP VpcHealthConfigBaseProtocol HTTPS VpcHealthConfigBaseProtocol }
func GetVpcHealthConfigBaseProtocolEnum ¶ added in v0.0.65
func GetVpcHealthConfigBaseProtocolEnum() VpcHealthConfigBaseProtocolEnum
type VpcHealthConfigBaseStatus ¶ added in v0.0.69
type VpcHealthConfigBaseStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseStatus) MarshalJSON ¶ added in v0.0.69
func (c VpcHealthConfigBaseStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *VpcHealthConfigBaseStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseStatus) Value() int32
type VpcHealthConfigBaseStatusEnum ¶ added in v0.0.69
type VpcHealthConfigBaseStatusEnum struct { E_1 VpcHealthConfigBaseStatus E_2 VpcHealthConfigBaseStatus }
func GetVpcHealthConfigBaseStatusEnum ¶ added in v0.0.69
func GetVpcHealthConfigBaseStatusEnum() VpcHealthConfigBaseStatusEnum
type VpcHealthConfigInfo ¶ added in v0.0.65
type VpcHealthConfigInfo struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigInfoProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigInfoMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigInfoStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 健康检查的编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
健康检查详情。
func (VpcHealthConfigInfo) String ¶ added in v0.0.65
func (o VpcHealthConfigInfo) String() string
type VpcHealthConfigInfoMethod ¶ added in v0.0.65
type VpcHealthConfigInfoMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoMethod) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigInfoMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigInfoMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoMethod) Value() string
type VpcHealthConfigInfoMethodEnum ¶ added in v0.0.65
type VpcHealthConfigInfoMethodEnum struct { GET VpcHealthConfigInfoMethod HEAD VpcHealthConfigInfoMethod }
func GetVpcHealthConfigInfoMethodEnum ¶ added in v0.0.65
func GetVpcHealthConfigInfoMethodEnum() VpcHealthConfigInfoMethodEnum
type VpcHealthConfigInfoProtocol ¶ added in v0.0.65
type VpcHealthConfigInfoProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoProtocol) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigInfoProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigInfoProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoProtocol) Value() string
type VpcHealthConfigInfoProtocolEnum ¶ added in v0.0.65
type VpcHealthConfigInfoProtocolEnum struct { TCP VpcHealthConfigInfoProtocol HTTP VpcHealthConfigInfoProtocol HTTPS VpcHealthConfigInfoProtocol }
func GetVpcHealthConfigInfoProtocolEnum ¶ added in v0.0.65
func GetVpcHealthConfigInfoProtocolEnum() VpcHealthConfigInfoProtocolEnum
type VpcHealthConfigInfoStatus ¶ added in v0.0.69
type VpcHealthConfigInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c VpcHealthConfigInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *VpcHealthConfigInfoStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoStatus) Value() int32
type VpcHealthConfigInfoStatusEnum ¶ added in v0.0.69
type VpcHealthConfigInfoStatusEnum struct { E_1 VpcHealthConfigInfoStatus E_2 VpcHealthConfigInfoStatus }
func GetVpcHealthConfigInfoStatusEnum ¶ added in v0.0.69
func GetVpcHealthConfigInfoStatusEnum() VpcHealthConfigInfoStatusEnum
type VpcHealthConfigMethod ¶ added in v0.0.65
type VpcHealthConfigMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigMethod) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigMethod) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigMethod) Value() string
type VpcHealthConfigMethodEnum ¶ added in v0.0.65
type VpcHealthConfigMethodEnum struct { GET VpcHealthConfigMethod HEAD VpcHealthConfigMethod }
func GetVpcHealthConfigMethodEnum ¶ added in v0.0.65
func GetVpcHealthConfigMethodEnum() VpcHealthConfigMethodEnum
type VpcHealthConfigProtocol ¶ added in v0.0.65
type VpcHealthConfigProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigProtocol) MarshalJSON ¶ added in v0.0.65
func (c VpcHealthConfigProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigProtocol) UnmarshalJSON ¶ added in v0.0.65
func (c *VpcHealthConfigProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigProtocol) Value() string
type VpcHealthConfigProtocolEnum ¶ added in v0.0.65
type VpcHealthConfigProtocolEnum struct { TCP VpcHealthConfigProtocol HTTP VpcHealthConfigProtocol HTTPS VpcHealthConfigProtocol }
func GetVpcHealthConfigProtocolEnum ¶ added in v0.0.65
func GetVpcHealthConfigProtocolEnum() VpcHealthConfigProtocolEnum
type VpcHealthConfigStatus ¶ added in v0.0.69
type VpcHealthConfigStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigStatus) MarshalJSON ¶ added in v0.0.69
func (c VpcHealthConfigStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *VpcHealthConfigStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigStatus) Value() int32
type VpcHealthConfigStatusEnum ¶ added in v0.0.69
type VpcHealthConfigStatusEnum struct { E_1 VpcHealthConfigStatus E_2 VpcHealthConfigStatus }
func GetVpcHealthConfigStatusEnum ¶ added in v0.0.69
func GetVpcHealthConfigStatusEnum() VpcHealthConfigStatusEnum
type VpcInfo ¶
type VpcInfo struct { // 云服务器ID EcsId *string `json:"ecs_id,omitempty"` // 云服务器名称 EcsName *string `json:"ecs_name,omitempty"` // 是否使用级联方式 暂不支持 CascadeFlag *bool `json:"cascade_flag,omitempty"` // 代理主机 VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"` // VPC通道编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // VPC通道端口 VpcChannelPort *int32 `json:"vpc_channel_port,omitempty"` }
VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息
type VpcMemberCreate ¶ added in v0.0.65
type VpcMemberCreate struct { // 后端实例列表 Members []MemberInfo `json:"members"` }
func (VpcMemberCreate) String ¶ added in v0.0.65
func (o VpcMemberCreate) String() string
type VpcMemberInfo ¶ added in v0.0.65
type VpcMemberInfo struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *VpcMemberInfoStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` // 后端云服务器的编号。 后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。 EcsId *string `json:"ecs_id,omitempty"` // 后端云服务器的名称。 后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。 EcsName *string `json:"ecs_name,omitempty"` // 后端实例对象的编号 Id *string `json:"id,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 后端实例增加到VPC通道的时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` }
func (VpcMemberInfo) String ¶ added in v0.0.65
func (o VpcMemberInfo) String() string
type VpcMemberInfoStatus ¶ added in v0.0.69
type VpcMemberInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcMemberInfoStatus) MarshalJSON ¶ added in v0.0.69
func (c VpcMemberInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcMemberInfoStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *VpcMemberInfoStatus) UnmarshalJSON(b []byte) error
func (VpcMemberInfoStatus) Value ¶ added in v0.0.90
func (c VpcMemberInfoStatus) Value() int32
type VpcMemberInfoStatusEnum ¶ added in v0.0.69
type VpcMemberInfoStatusEnum struct { E_1 VpcMemberInfoStatus E_2 VpcMemberInfoStatus }
func GetVpcMemberInfoStatusEnum ¶ added in v0.0.69
func GetVpcMemberInfoStatusEnum() VpcMemberInfoStatusEnum
type VpcMemberModify ¶ added in v0.1.7
type VpcMemberModify struct { // 后端实例列表 Members *[]MemberInfo `json:"members,omitempty"` // 需要修改的后端服务器组 不传时使用members中的定义对VPC通道后端进行全量覆盖修改。 传入时,只对members中对应后端服务器组的后端实例进行处理,其他后端服务器组的入参会被忽略。例如:member_group_name=primary时,只处理members中后端服务器组为105c6902457144a4820dff8b1ad63331的后端实例。 MemberGroupName *string `json:"member_group_name,omitempty"` }
func (VpcMemberModify) String ¶ added in v0.1.7
func (o VpcMemberModify) String() string
Source Files ¶
- model_acl_api_binding_create.go
- model_acl_api_binding_info.go
- model_acl_batch_delete.go
- model_acl_batch_result_failure_resp.go
- model_acl_bind_api_info.go
- model_acl_binding_batch_delete.go
- model_acl_binding_batch_failure.go
- model_add_eip_v2_request.go
- model_add_eip_v2_response.go
- model_add_engress_eip_v2_request.go
- model_add_engress_eip_v2_response.go
- model_adding_backend_instances_v2_request.go
- model_adding_backend_instances_v2_response.go
- model_api_acl_create.go
- model_api_acl_info_with_bind_num.go
- model_api_action_info.go
- model_api_auth_base.go
- model_api_auth_create.go
- model_api_auth_info.go
- model_api_auth_relations.go
- model_api_backend_vpc_req.go
- model_api_base_info.go
- model_api_batch_publish.go
- model_api_bind_acl_info.go
- model_api_common.go
- model_api_condition_base.go
- model_api_create.go
- model_api_create_base.go
- model_api_debug_info.go
- model_api_for_sign.go
- model_api_for_throttle.go
- model_api_func.go
- model_api_func_create.go
- model_api_group_base.go
- model_api_group_common_info.go
- model_api_group_create.go
- model_api_group_info.go
- model_api_info.go
- model_api_info_per_page.go
- model_api_mock.go
- model_api_mock_create.go
- model_api_oper_plugin_info.go
- model_api_outline.go
- model_api_policy_function_base.go
- model_api_policy_function_create.go
- model_api_policy_function_resp.go
- model_api_policy_http_base.go
- model_api_policy_http_create.go
- model_api_policy_http_resp.go
- model_api_policy_mock_base.go
- model_api_policy_mock_create.go
- model_api_policy_mock_resp.go
- model_api_policy_req_base.go
- model_api_policy_resp_base.go
- model_api_resp_base_info.go
- model_api_version.go
- model_api_version_resp.go
- model_app_base_info.go
- model_app_code_base_info.go
- model_app_code_create.go
- model_app_create.go
- model_app_info.go
- model_app_info_with_bind_num.go
- model_app_reset_create.go
- model_associate_certificate_v2_request.go
- model_associate_certificate_v2_response.go
- model_associate_domain_v2_request.go
- model_associate_domain_v2_response.go
- model_associate_request_throttling_policy_v2_request.go
- model_associate_request_throttling_policy_v2_response.go
- model_associate_signature_key_v2_request.go
- model_associate_signature_key_v2_response.go
- model_attach_api_to_plugin_request.go
- model_attach_api_to_plugin_response.go
- model_attach_or_detach_certs_req_body.go
- model_attach_or_detach_domain_info.go
- model_attach_or_detach_domains_req_body.go
- model_attach_plugin_to_api_request.go
- model_attach_plugin_to_api_response.go
- model_attached_plugin_info.go
- model_auth_opt.go
- model_auth_result.go
- model_authorizer_base.go
- model_authorizer_create.go
- model_authorizer_resp.go
- model_available_zone.go
- model_backend_api.go
- model_backend_api_base.go
- model_backend_api_base_info.go
- model_backend_api_create.go
- model_backend_latency_stats.go
- model_backend_param.go
- model_backend_param_base.go
- model_base_page.go
- model_base_signature.go
- model_batch_associate_certs_v2_request.go
- model_batch_associate_certs_v2_response.go
- model_batch_associate_domains_v2_request.go
- model_batch_associate_domains_v2_response.go
- model_batch_delete_acl_v2_request.go
- model_batch_delete_acl_v2_response.go
- model_batch_delete_api_acl_binding_v2_request.go
- model_batch_delete_api_acl_binding_v2_response.go
- model_batch_disable_members_request.go
- model_batch_disable_members_response.go
- model_batch_disassociate_certs_v2_request.go
- model_batch_disassociate_certs_v2_response.go
- model_batch_disassociate_domains_v2_request.go
- model_batch_disassociate_domains_v2_response.go
- model_batch_disassociate_throttling_policy_v2_request.go
- model_batch_disassociate_throttling_policy_v2_response.go
- model_batch_enable_members_request.go
- model_batch_enable_members_response.go
- model_batch_failure.go
- model_batch_publish_or_offline_api_v2_request.go
- model_batch_publish_or_offline_api_v2_response.go
- model_canceling_authorization_v2_request.go
- model_canceling_authorization_v2_response.go
- model_cert_base.go
- model_cert_form.go
- model_certificate_form.go
- model_change_api_version_v2_request.go
- model_change_api_version_v2_response.go
- model_check_app_v2_request.go
- model_check_app_v2_response.go
- model_codition_resp.go
- model_config.go
- model_cors_plugin_content.go
- model_create_acl_strategy_v2_request.go
- model_create_acl_strategy_v2_response.go
- model_create_an_app_v2_request.go
- model_create_an_app_v2_response.go
- model_create_api_acl_binding_v2_request.go
- model_create_api_acl_binding_v2_response.go
- model_create_api_group_v2_request.go
- model_create_api_group_v2_response.go
- model_create_api_v2_request.go
- model_create_api_v2_response.go
- model_create_app_code_auto_v2_request.go
- model_create_app_code_auto_v2_response.go
- model_create_app_code_v2_request.go
- model_create_app_code_v2_response.go
- model_create_authorizing_apps_v2_request.go
- model_create_authorizing_apps_v2_response.go
- model_create_certificate_v2_request.go
- model_create_certificate_v2_response.go
- model_create_custom_authorizer_v2_request.go
- model_create_custom_authorizer_v2_response.go
- model_create_environment_v2_request.go
- model_create_environment_v2_response.go
- model_create_environment_variable_v2_request.go
- model_create_environment_variable_v2_response.go
- model_create_feature_v2_request.go
- model_create_feature_v2_response.go
- model_create_gateway_response_v2_request.go
- model_create_gateway_response_v2_response.go
- model_create_instance_v2_request.go
- model_create_instance_v2_response.go
- model_create_member_group_request.go
- model_create_member_group_response.go
- model_create_or_delete_publish_record_for_api_v2_request.go
- model_create_or_delete_publish_record_for_api_v2_response.go
- model_create_plugin_request.go
- model_create_plugin_response.go
- model_create_request_throttling_policy_v2_request.go
- model_create_request_throttling_policy_v2_response.go
- model_create_signature_key_v2_request.go
- model_create_signature_key_v2_response.go
- model_create_special_throttling_configuration_v2_request.go
- model_create_special_throttling_configuration_v2_response.go
- model_create_vpc_channel_v2_request.go
- model_create_vpc_channel_v2_response.go
- model_debug_api_v2_request.go
- model_debug_api_v2_response.go
- model_delete_acl_v2_request.go
- model_delete_acl_v2_response.go
- model_delete_api_acl_binding_v2_request.go
- model_delete_api_acl_binding_v2_response.go
- model_delete_api_by_version_id_v2_request.go
- model_delete_api_by_version_id_v2_response.go
- model_delete_api_group_v2_request.go
- model_delete_api_group_v2_response.go
- model_delete_api_v2_request.go
- model_delete_api_v2_response.go
- model_delete_app_code_v2_request.go
- model_delete_app_code_v2_response.go
- model_delete_app_v2_request.go
- model_delete_app_v2_response.go
- model_delete_backend_instance_v2_request.go
- model_delete_backend_instance_v2_response.go
- model_delete_certificate_v2_request.go
- model_delete_certificate_v2_response.go
- model_delete_custom_authorizer_v2_request.go
- model_delete_custom_authorizer_v2_response.go
- model_delete_environment_v2_request.go
- model_delete_environment_v2_response.go
- model_delete_environment_variable_v2_request.go
- model_delete_environment_variable_v2_response.go
- model_delete_gateway_response_type_v2_request.go
- model_delete_gateway_response_type_v2_response.go
- model_delete_gateway_response_v2_request.go
- model_delete_gateway_response_v2_response.go
- model_delete_instances_v2_request.go
- model_delete_instances_v2_response.go
- model_delete_member_group_request.go
- model_delete_member_group_response.go
- model_delete_plugin_request.go
- model_delete_plugin_response.go
- model_delete_request_throttling_policy_v2_request.go
- model_delete_request_throttling_policy_v2_response.go
- model_delete_signature_key_v2_request.go
- model_delete_signature_key_v2_response.go
- model_delete_special_throttling_configuration_v2_request.go
- model_delete_special_throttling_configuration_v2_response.go
- model_delete_vpc_channel_v2_request.go
- model_delete_vpc_channel_v2_response.go
- model_detach_api_from_plugin_request.go
- model_detach_api_from_plugin_response.go
- model_detach_plugin_from_api_request.go
- model_detach_plugin_from_api_response.go
- model_disassociate_certificate_v2_request.go
- model_disassociate_certificate_v2_response.go
- model_disassociate_domain_v2_request.go
- model_disassociate_domain_v2_response.go
- model_disassociate_request_throttling_policy_v2_request.go
- model_disassociate_request_throttling_policy_v2_response.go
- model_disassociate_signature_key_v2_request.go
- model_disassociate_signature_key_v2_response.go
- model_eip_bind_req.go
- model_endpoint_service.go
- model_env_create.go
- model_env_info.go
- model_env_variable_base.go
- model_env_variable_create.go
- model_env_variable_info.go
- model_export_api_definitions_v2_request.go
- model_export_api_definitions_v2_response.go
- model_export_open_api_req.go
- model_failure.go
- model_feature_info.go
- model_feature_toggle.go
- model_identity.go
- model_ignore.go
- model_import_api_definitions_v2_request.go
- model_import_api_definitions_v2_request_body.go
- model_import_api_definitions_v2_response.go
- model_import_base_result.go
- model_import_microservice_request.go
- model_import_microservice_response.go
- model_inner_latency_stats.go
- model_instance_abstract_req.go
- model_instance_config.go
- model_instance_create_req.go
- model_instance_mod_req.go
- model_ip_details.go
- model_latency_stats.go
- model_list_acl_policy_binded_to_api_v2_request.go
- model_list_acl_policy_binded_to_api_v2_response.go
- model_list_acl_strategies_v2_request.go
- model_list_acl_strategies_v2_response.go
- model_list_api_attachable_plugins_request.go
- model_list_api_attachable_plugins_response.go
- model_list_api_attached_plugins_request.go
- model_list_api_attached_plugins_response.go
- model_list_api_groups_quantities_v2_request.go
- model_list_api_groups_quantities_v2_response.go
- model_list_api_groups_v2_request.go
- model_list_api_groups_v2_response.go
- model_list_api_quantities_v2_request.go
- model_list_api_quantities_v2_response.go
- model_list_api_runtime_definition_v2_request.go
- model_list_api_runtime_definition_v2_response.go
- model_list_api_version_detail_v2_request.go
- model_list_api_version_detail_v2_response.go
- model_list_api_versions_v2_request.go
- model_list_api_versions_v2_response.go
- model_list_apis_binded_to_acl_policy_v2_request.go
- model_list_apis_binded_to_acl_policy_v2_response.go
- model_list_apis_binded_to_app_v2_request.go
- model_list_apis_binded_to_app_v2_response.go
- model_list_apis_binded_to_request_throttling_policy_v2_request.go
- model_list_apis_binded_to_request_throttling_policy_v2_response.go
- model_list_apis_binded_to_signature_key_v2_request.go
- model_list_apis_binded_to_signature_key_v2_response.go
- model_list_apis_not_bound_with_signature_key_v2_request.go
- model_list_apis_not_bound_with_signature_key_v2_response.go
- model_list_apis_unbinded_to_acl_policy_v2_request.go
- model_list_apis_unbinded_to_acl_policy_v2_response.go
- model_list_apis_unbinded_to_app_v2_request.go
- model_list_apis_unbinded_to_app_v2_response.go
- model_list_apis_unbinded_to_request_throttling_policy_v2_request.go
- model_list_apis_unbinded_to_request_throttling_policy_v2_response.go
- model_list_apis_v2_request.go
- model_list_apis_v2_response.go
- model_list_app_codes_v2_request.go
- model_list_app_codes_v2_response.go
- model_list_app_quantities_v2_request.go
- model_list_app_quantities_v2_response.go
- model_list_apps_binded_to_api_v2_request.go
- model_list_apps_binded_to_api_v2_response.go
- model_list_apps_v2_request.go
- model_list_apps_v2_response.go
- model_list_attached_domains_v2_request.go
- model_list_attached_domains_v2_response.go
- model_list_available_zones_v2_request.go
- model_list_available_zones_v2_response.go
- model_list_backend_instances_v2_request.go
- model_list_backend_instances_v2_response.go
- model_list_certificates_v2_request.go
- model_list_certificates_v2_response.go
- model_list_custom_authorizers_v2_request.go
- model_list_custom_authorizers_v2_response.go
- model_list_environment_variables_v2_request.go
- model_list_environment_variables_v2_response.go
- model_list_environments_v2_request.go
- model_list_environments_v2_response.go
- model_list_features_v2_request.go
- model_list_features_v2_response.go
- model_list_gateway_responses_v2_request.go
- model_list_gateway_responses_v2_response.go
- model_list_instance_configs_v2_request.go
- model_list_instance_configs_v2_response.go
- model_list_instances_v2_request.go
- model_list_instances_v2_response.go
- model_list_lately_api_statistics_v2_request.go
- model_list_lately_api_statistics_v2_response.go
- model_list_lately_group_statistics_v2_request.go
- model_list_lately_group_statistics_v2_response.go
- model_list_member_groups_request.go
- model_list_member_groups_response.go
- model_list_metric_data_request.go
- model_list_metric_data_response.go
- model_list_plugin_attachable_apis_request.go
- model_list_plugin_attachable_apis_response.go
- model_list_plugin_attached_apis_request.go
- model_list_plugin_attached_apis_response.go
- model_list_plugins_request.go
- model_list_plugins_response.go
- model_list_project_cofigs_v2_request.go
- model_list_project_cofigs_v2_response.go
- model_list_request_throttling_policies_binded_to_api_v2_request.go
- model_list_request_throttling_policies_binded_to_api_v2_response.go
- model_list_request_throttling_policy_v2_request.go
- model_list_request_throttling_policy_v2_response.go
- model_list_signature_keys_binded_to_api_v2_request.go
- model_list_signature_keys_binded_to_api_v2_response.go
- model_list_signature_keys_v2_request.go
- model_list_signature_keys_v2_response.go
- model_list_special_throttling_configurations_v2_request.go
- model_list_special_throttling_configurations_v2_response.go
- model_list_tags_v2_request.go
- model_list_tags_v2_response.go
- model_list_vpc_channels_v2_request.go
- model_list_vpc_channels_v2_response.go
- model_local_name.go
- model_member_base.go
- model_member_group_create.go
- model_member_group_create_batch.go
- model_member_group_info.go
- model_member_info.go
- model_members_batch_enable_or_disable.go
- model_metric_data.go
- model_micro_service_create.go
- model_micro_service_info.go
- model_micro_service_info_cce.go
- model_micro_service_info_cce_base.go
- model_micro_service_info_cce_create.go
- model_micro_service_info_cse.go
- model_micro_service_info_cse_base.go
- model_micro_service_info_cse_create.go
- model_microservice_api_create.go
- model_microservice_group.go
- model_microservice_import_api_resp.go
- model_microservice_import_req.go
- model_microservice_label.go
- model_network_traffic_stats.go
- model_node_ips.go
- model_open_engress_eip_req.go
- model_plugin_api_attach_info.go
- model_plugin_api_info.go
- model_plugin_create.go
- model_plugin_info.go
- model_plugin_oper_api_info.go
- model_publish_resp.go
- model_remove_eip_v2_request.go
- model_remove_eip_v2_response.go
- model_remove_engress_eip_v2_request.go
- model_remove_engress_eip_v2_response.go
- model_req_param.go
- model_req_param_base.go
- model_request_count_stats.go
- model_resetting_app_secret_v2_request.go
- model_resetting_app_secret_v2_response.go
- model_resp_instance_base.go
- model_response_info.go
- model_response_info_resp.go
- model_responses_create.go
- model_responses_info.go
- model_show_details_of_acl_policy_v2_request.go
- model_show_details_of_acl_policy_v2_response.go
- model_show_details_of_api_group_v2_request.go
- model_show_details_of_api_group_v2_response.go
- model_show_details_of_api_v2_request.go
- model_show_details_of_api_v2_response.go
- model_show_details_of_app_code_v2_request.go
- model_show_details_of_app_code_v2_response.go
- model_show_details_of_app_v2_request.go
- model_show_details_of_app_v2_response.go
- model_show_details_of_certificate_v2_request.go
- model_show_details_of_certificate_v2_response.go
- model_show_details_of_custom_authorizers_v2_request.go
- model_show_details_of_custom_authorizers_v2_response.go
- model_show_details_of_domain_name_certificate_v2_request.go
- model_show_details_of_domain_name_certificate_v2_response.go
- model_show_details_of_environment_variable_v2_request.go
- model_show_details_of_environment_variable_v2_response.go
- model_show_details_of_gateway_response_type_v2_request.go
- model_show_details_of_gateway_response_type_v2_response.go
- model_show_details_of_gateway_response_v2_request.go
- model_show_details_of_gateway_response_v2_response.go
- model_show_details_of_instance_progress_v2_request.go
- model_show_details_of_instance_progress_v2_response.go
- model_show_details_of_instance_v2_request.go
- model_show_details_of_instance_v2_response.go
- model_show_details_of_member_group_request.go
- model_show_details_of_member_group_response.go
- model_show_details_of_request_throttling_policy_v2_request.go
- model_show_details_of_request_throttling_policy_v2_response.go
- model_show_details_of_vpc_channel_v2_request.go
- model_show_details_of_vpc_channel_v2_response.go
- model_show_plugin_request.go
- model_show_plugin_response.go
- model_sign_api_binding.go
- model_sign_api_binding_base.go
- model_sign_api_binding_info.go
- model_sign_api_binding_result.go
- model_signature.go
- model_signature_with_bind_num.go
- model_statistics_api.go
- model_statistics_group.go
- model_success.go
- model_swagger.go
- model_throttle_api_binding.go
- model_throttle_api_binding_create.go
- model_throttle_base_info.go
- model_throttle_binding_batch_delete.go
- model_throttle_binding_batch_failure.go
- model_throttle_for_api.go
- model_throttle_special_base.go
- model_throttle_special_create.go
- model_throttle_special_info.go
- model_throttle_special_update.go
- model_throttles_info.go
- model_tms_key_value.go
- model_unbind_api_for_acl.go
- model_update_acl_strategy_v2_request.go
- model_update_acl_strategy_v2_response.go
- model_update_api_group_v2_request.go
- model_update_api_group_v2_response.go
- model_update_api_v2_request.go
- model_update_api_v2_response.go
- model_update_app_v2_request.go
- model_update_app_v2_response.go
- model_update_backend_instances_v2_request.go
- model_update_backend_instances_v2_response.go
- model_update_certificate_v2_request.go
- model_update_certificate_v2_response.go
- model_update_custom_authorizer_v2_request.go
- model_update_custom_authorizer_v2_response.go
- model_update_domain_v2_request.go
- model_update_domain_v2_response.go
- model_update_engress_eip_v2_request.go
- model_update_engress_eip_v2_response.go
- model_update_environment_v2_request.go
- model_update_environment_v2_response.go
- model_update_gateway_response_type_v2_request.go
- model_update_gateway_response_type_v2_response.go
- model_update_gateway_response_v2_request.go
- model_update_gateway_response_v2_response.go
- model_update_health_check_request.go
- model_update_health_check_response.go
- model_update_instance_v2_request.go
- model_update_instance_v2_response.go
- model_update_member_group_request.go
- model_update_member_group_response.go
- model_update_plugin_request.go
- model_update_plugin_response.go
- model_update_request_throttling_policy_v2_request.go
- model_update_request_throttling_policy_v2_response.go
- model_update_signature_key_v2_request.go
- model_update_signature_key_v2_response.go
- model_update_special_throttling_configuration_v2_request.go
- model_update_special_throttling_configuration_v2_response.go
- model_update_vpc_channel_v2_request.go
- model_update_vpc_channel_v2_response.go
- model_url_domain.go
- model_url_domain_base.go
- model_url_domain_base_info.go
- model_url_domain_create.go
- model_url_domain_modify.go
- model_url_domain_ref_info.go
- model_vpc_base.go
- model_vpc_base_info.go
- model_vpc_channel_info.go
- model_vpc_create.go
- model_vpc_health_config.go
- model_vpc_health_config_base.go
- model_vpc_health_config_info.go
- model_vpc_info.go
- model_vpc_member_create.go
- model_vpc_member_info.go
- model_vpc_member_modify.go