Documentation ¶
Index ¶
- Constants
- func DataSourceApigwApiHistory() *schema.Resource
- func GetApiIdByName(client *golangsdk.ServiceClient, gatewayId, name string) (string, error)
- func GetEnvironment(client *golangsdk.ServiceClient, instanceId, envId string) (*env.EnvResp, error)
- func GetVersionHistory(client *golangsdk.ServiceClient, gatewayId, envId, apiId string) ([]apis.VersionResp, error)
- func InstanceStateCreateRefreshFunc(client *golangsdk.ServiceClient, instanceId string) resource.StateRefreshFunc
- func InstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceId string) resource.StateRefreshFunc
- func ResourceAPIAclPolicyV2() *schema.Resource
- func ResourceAPIApiPublishmentV2() *schema.Resource
- func ResourceAPIApiV2() *schema.Resource
- func ResourceAPIAppAuthV2() *schema.Resource
- func ResourceAPIAppcodeV2() *schema.Resource
- func ResourceAPIApplicationV2() *schema.Resource
- func ResourceAPICustomAuthorizerV2() *schema.Resource
- func ResourceAPIEnvironment2Variable() *schema.Resource
- func ResourceAPIEnvironmentv2() *schema.Resource
- func ResourceAPIGWVpcChannelV2() *schema.Resource
- func ResourceAPIGWv2() *schema.Resource
- func ResourceAPIGroupV2() *schema.Resource
- func ResourceAPIResponseV2() *schema.Resource
- func ResourceAPISignatureAssociateV2() *schema.Resource
- func ResourceAPISignatureV2() *schema.Resource
- func ResourceAPIThrottlingPolicyAssociateV2() *schema.Resource
- func ResourceAPIThrottlingPolicyV2() *schema.Resource
- func ResourceAclPolicyAssociateV2() *schema.Resource
- func ResourceApiPublishmentV2Create(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceApiPublishmentV2Delete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceApiPublishmentV2Read(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceApiPublishmentV2Update(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- type ApiAuthType
- type ApiType
- type AppCodeAuthType
- type AuthType
- type BackendType
- type ConditionSource
- type ConditionType
- type EffectiveMode
- type InvocationType
- type MatchMode
- type NetworkType
- type ParamLocation
- type ParamType
- type ParameterType
- type PeriodUnit
- type PolicyType
- type ProtocolType
- type RequestMethod
- type SecretAction
- type SystemParamType
Constants ¶
View Source
const ( PeriodUnitSecond PeriodUnit = "SECOND" PeriodUnitMinute PeriodUnit = "MINUTE" PeriodUnitHour PeriodUnit = "HOUR" PeriodUnitDay PeriodUnit = "DAY" PolicyTypeExclusive PolicyType = "API-based" 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" SecretActionReset SecretAction = "RESET" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceApigwApiHistory ¶ added in v1.36.7
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 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 ResourceAPIAclPolicyV2 ¶ added in v1.36.8
func ResourceAPIApiPublishmentV2 ¶ added in v1.36.7
func ResourceAPIApiV2 ¶ added in v1.36.7
func ResourceAPIAppAuthV2 ¶ added in v1.36.10
func ResourceAPIAppcodeV2 ¶ added in v1.36.10
func ResourceAPIApplicationV2 ¶ added in v1.36.10
func ResourceAPICustomAuthorizerV2 ¶ added in v1.36.11
func ResourceAPIEnvironment2Variable ¶ added in v1.36.10
func ResourceAPIEnvironmentv2 ¶ added in v1.36.5
func ResourceAPIGWVpcChannelV2 ¶ added in v1.36.11
func ResourceAPIGWv2 ¶
func ResourceAPIGroupV2 ¶ added in v1.36.5
func ResourceAPIResponseV2 ¶ added in v1.36.11
func ResourceAPISignatureAssociateV2 ¶ added in v1.36.8
func ResourceAPISignatureV2 ¶ added in v1.36.8
func ResourceAPIThrottlingPolicyAssociateV2 ¶ added in v1.36.7
func ResourceAPIThrottlingPolicyV2 ¶ added in v1.36.6
func ResourceAclPolicyAssociateV2 ¶ added in v1.36.8
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 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 NetworkType ¶ added in v1.36.7
type NetworkType string
type ParamLocation ¶ added in v1.36.7
type ParamLocation 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 SecretAction ¶ added in v1.36.10
type SecretAction string
type SystemParamType ¶ added in v1.36.7
type SystemParamType string
Source Files ¶
- common.go
- data_source_opentelekomcloud_apigw_api_history.go
- resource_opentelekomcloud_apigw_acl_policy_associate_v2.go
- resource_opentelekomcloud_apigw_acl_policy_v2.go
- resource_opentelekomcloud_apigw_api_publishment_v2.go
- resource_opentelekomcloud_apigw_api_v2.go
- resource_opentelekomcloud_apigw_appcode_v2.go
- resource_opentelekomcloud_apigw_application_authorization_v2.go
- resource_opentelekomcloud_apigw_application_v2.go
- resource_opentelekomcloud_apigw_custom_authorizer_v2.go
- resource_opentelekomcloud_apigw_environment_v2.go
- resource_opentelekomcloud_apigw_environment_variable_v2.go
- resource_opentelekomcloud_apigw_gateway_v2.go
- resource_opentelekomcloud_apigw_group_v2.go
- resource_opentelekomcloud_apigw_response_v2.go
- resource_opentelekomcloud_apigw_signature_associate_v2.go
- resource_opentelekomcloud_apigw_throttling_policy_associate_v2.go
- resource_opentelekomcloud_apigw_throttling_policy_v2.go
- resource_opentelekomcloud_apigw_vpc_channel_v2.go
- resource_opentelokomcloud_apigw_signature_v2.go
- schema_opentelekomcloud_apigw_api_v2.go
Click to show internal directories.
Click to hide internal directories.