apigw

package
v1.36.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PeriodUnitSecond PeriodUnit = "SECOND"
	PeriodUnitMinute PeriodUnit = "MINUTE"
	PeriodUnitHour   PeriodUnit = "HOUR"
	PeriodUnitDay    PeriodUnit = "DAY"

	PolicyTypeExclusive   PolicyType = "API-based"
	PolicyTypeShared      PolicyType = "API-shared"
	PolicyTypeUser        PolicyType = "USER"
	PolicyTypeApplication PolicyType = "APP"

	ApiTypePublic  ApiType = "Public"
	ApiTypePrivate ApiType = "Private"

	RequestMethodGet     RequestMethod = "GET"
	RequestMethodPost    RequestMethod = "POST"
	RequestMethodPut     RequestMethod = "PUT"
	RequestMethodDelete  RequestMethod = "DELETE"
	RequestMethodHead    RequestMethod = "HEAD"
	RequestMethodPatch   RequestMethod = "PATCH"
	RequestMethodOptions RequestMethod = "OPTIONS"
	RequestMethodAny     RequestMethod = "ANY"

	ApiAuthTypeNone       ApiAuthType = "NONE"
	ApiAuthTypeApp        ApiAuthType = "APP"
	ApiAuthTypeIam        ApiAuthType = "IAM"
	ApiAuthTypeAuthorizer ApiAuthType = "AUTHORIZER"

	ParamLocationPath   ParamLocation = "PATH"
	ParamLocationHeader ParamLocation = "HEADER"
	ParamLocationQuery  ParamLocation = "QUERY"

	ParamTypeString ParamType = "STRING"
	ParamTypeNumber ParamType = "NUMBER"

	MatchModePrefix MatchMode = "PREFIX"
	MatchModeExact  MatchMode = "EXACT"

	InvocationTypeAsync InvocationType = "async"
	InvocationTypeSync  InvocationType = "sync"

	EffectiveModeAll EffectiveMode = "ALL"
	EffectiveModeAny EffectiveMode = "ANY"

	ConditionSourceParam              ConditionSource = "param"
	ConditionSourceSource             ConditionSource = "source"
	ConditionSourceSystem             ConditionSource = "system"
	ConditionSourceCookie             ConditionSource = "cookie"
	ConditionSourceFrontendAuthorizer ConditionSource = "frontend_authorizer"

	ConditionTypeEqual      ConditionType = "EXACT"
	ConditionTypeEnumerated ConditionType = "ENUM"
	ConditionTypeMatching   ConditionType = "PATTERN"

	ParameterTypeRequest  ParameterType = "REQUEST"
	ParameterTypeConstant ParameterType = "CONSTANT"
	ParameterTypeSystem   ParameterType = "SYSTEM"

	SystemParamTypeFrontend SystemParamType = "frontend"
	SystemParamTypeBackend  SystemParamType = "backend"
	SystemParamTypeInternal SystemParamType = "internal"

	BackendTypeHttp     BackendType = "HTTP"
	BackendTypeFunction BackendType = "FUNCTION"
	BackendTypeMock     BackendType = "MOCK"

	AppCodeAuthTypeDisable AppCodeAuthType = "DISABLE"
	AppCodeAuthTypeEnable  AppCodeAuthType = "HEADER"

	ProtocolTypeTCP   ProtocolType = "TCP"
	ProtocolTypeHTTP  ProtocolType = "HTTP"
	ProtocolTypeHTTPS ProtocolType = "HTTPS"
	ProtocolTypeBoth  ProtocolType = "BOTH"

	NetworkTypeV1 NetworkType = "NON-VPC"
	NetworkTypeV2 NetworkType = "VPC"

	ChargingModeBandwidth = "bandwidth"
	ChargingModeTraffic   = "traffic"
)

Variables

This section is empty.

Functions

func DataSourceApigwApiHistory added in v1.36.7

func DataSourceApigwApiHistory() *schema.Resource

func GetApiIdByName added in v1.36.7

func GetApiIdByName(client *golangsdk.ServiceClient, gatewayId, name string) (string, error)

GetApiIdByName is a method to get a specifies API ID from a APIGW instance by name.

func GetEnvironment added in v1.36.5

func GetEnvironment(client *golangsdk.ServiceClient, instanceId,
	envId string) (*env.EnvResp, error)

func GetVersionHistory added in v1.36.7

func GetVersionHistory(client *golangsdk.ServiceClient, gatewayId, envId, apiId string) ([]apis.VersionResp, error)

func InstanceStateCreateRefreshFunc

func InstanceStateCreateRefreshFunc(client *golangsdk.ServiceClient, instanceId string) resource.StateRefreshFunc

func InstanceStateRefreshFunc

func InstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceId string) resource.StateRefreshFunc

func ResourceAPIApiPublishmentV2 added in v1.36.7

func ResourceAPIApiPublishmentV2() *schema.Resource

func ResourceAPIApiV2 added in v1.36.7

func ResourceAPIApiV2() *schema.Resource

func ResourceAPIEnvironmentv2 added in v1.36.5

func ResourceAPIEnvironmentv2() *schema.Resource

func ResourceAPIGWv2

func ResourceAPIGWv2() *schema.Resource

func ResourceAPIGroupV2 added in v1.36.5

func ResourceAPIGroupV2() *schema.Resource

func ResourceAPIThrottlingPolicyAssociateV2 added in v1.36.7

func ResourceAPIThrottlingPolicyAssociateV2() *schema.Resource

func ResourceAPIThrottlingPolicyV2 added in v1.36.6

func ResourceAPIThrottlingPolicyV2() *schema.Resource

func ResourceApiPublishmentV2Create added in v1.36.7

func ResourceApiPublishmentV2Create(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceApiPublishmentV2Delete added in v1.36.7

func ResourceApiPublishmentV2Delete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceApiPublishmentV2Read added in v1.36.7

func ResourceApiPublishmentV2Read(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceApiPublishmentV2Update added in v1.36.7

func ResourceApiPublishmentV2Update(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

Types

type ApiAuthType added in v1.36.7

type ApiAuthType string

type ApiType added in v1.36.7

type ApiType string

type AppCodeAuthType added in v1.36.7

type AppCodeAuthType string

type BackendType added in v1.36.7

type BackendType string

type ConditionSource added in v1.36.7

type ConditionSource string

type ConditionType added in v1.36.7

type ConditionType string

type EffectiveMode added in v1.36.7

type EffectiveMode string

type InvocationType added in v1.36.7

type InvocationType string

type MatchMode added in v1.36.7

type MatchMode string

type NetworkType added in v1.36.7

type NetworkType string

type ParamLocation added in v1.36.7

type ParamLocation string

type ParamType added in v1.36.7

type ParamType string

type ParameterType added in v1.36.7

type ParameterType string

type PeriodUnit added in v1.36.6

type PeriodUnit string

type PolicyType added in v1.36.6

type PolicyType string

type ProtocolType added in v1.36.7

type ProtocolType string

type RequestMethod added in v1.36.7

type RequestMethod string

type SystemParamType added in v1.36.7

type SystemParamType string

Jump to

Keyboard shortcuts

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