apig

package
v1.70.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MPL-2.0 Imports: 42 Imported by: 3

Documentation

Overview

Generated by PMS #190

Generated by PMS #192

Generated by PMS #184

Index

Constants

View Source
const (
	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"

	InvacationTypeAsync InvacationType = "async"
	InvacationTypeSync  InvacationType = "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 = "Equal"
	ConditionTypeEnumerated ConditionType = "Enumerated"
	ConditionTypeMatching   ConditionType = "Matching"

	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"
	ProtocolTypeGPRCS ProtocolType = "GRPCS"
)

Variables

This section is empty.

Functions

func DataSourceAclPolicies added in v1.64.2

func DataSourceAclPolicies() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/acls

func DataSourceApi added in v1.65.1

func DataSourceApi() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id}

func DataSourceApiAssociatedAclPolicies added in v1.64.2

func DataSourceApiAssociatedAclPolicies() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/acl-bindings/binded-acls

func DataSourceApiAssociatedApplications added in v1.64.2

func DataSourceApiAssociatedApplications() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-auths/binded-apps

func DataSourceApiAssociatedPlugins added in v1.65.0

func DataSourceApiAssociatedPlugins() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-auths/binded-apps

func DataSourceApiAssociatedSignatures added in v1.65.0

func DataSourceApiAssociatedSignatures() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/sign-bindings/binded-signs

func DataSourceApiAssociatedThrottlingPolicies added in v1.64.2

func DataSourceApiAssociatedThrottlingPolicies() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttle-bindings/binded-throttles @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials

func DataSourceApiBasicConfigurations added in v1.64.3

func DataSourceApiBasicConfigurations() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis

func DataSourceApigApplicationQuotas added in v1.65.1

func DataSourceApigApplicationQuotas() *schema.Resource

func DataSourceApigEndpointConnections added in v1.65.1

func DataSourceApigEndpointConnections() *schema.Resource

func DataSourceApigEnvironmentVariables added in v1.65.0

func DataSourceApigEnvironmentVariables() *schema.Resource

func DataSourceAppcodes added in v1.65.1

func DataSourceAppcodes() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes

func DataSourceApplicationAcl added in v1.65.1

func DataSourceApplicationAcl() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-acl

func DataSourceApplications added in v1.65.0

func DataSourceApplications() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps

func DataSourceChannels added in v1.65.0

func DataSourceChannels() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels

func DataSourceCustomAuthorizers added in v1.64.3

func DataSourceCustomAuthorizers() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/authorizers

func DataSourceEnvironments added in v1.38.0

func DataSourceEnvironments() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/envs

func DataSourceGroups added in v1.57.0

func DataSourceGroups() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/api-groups

func DataSourceInstanceFeatures added in v1.65.1

func DataSourceInstanceFeatures() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/features

func DataSourceInstanceSupportedFeatures added in v1.65.0

func DataSourceInstanceSupportedFeatures() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/instance-features

func DataSourceInstances added in v1.64.3

func DataSourceInstances() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances

func DataSourceSignatures added in v1.64.3

func DataSourceSignatures() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/signs

func DataSourceThrottlingPolicies added in v1.64.2

func DataSourceThrottlingPolicies() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials

func GetApiBasicConfigurations added in v1.64.3

func GetApiBasicConfigurations(client *golangsdk.ServiceClient, d *schema.ResourceData) ([]interface{}, error)

func GetApiIdByName added in v1.45.0

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

GetApigAPIIdByName is a method to get a specifies API ID from a APIG instance by name.

func GetEndpointConntionByEndpointId added in v1.65.0

func GetEndpointConntionByEndpointId(client *golangsdk.ServiceClient, instanceId, endpointId string) (interface{}, error)

GetEndpointConntionByEndpointId is a method that used to obtain details of connection by specified endpoint connection ID.

func GetEnvironmentFormServer

func GetEnvironmentFormServer(client *golangsdk.ServiceClient, instanceId,
	envId string) (*environments.Environment, error)

GetEnvironmentFormServer is a method to get dedicated environment details form server using IDs.

func GetInstanceFeature added in v1.64.3

func GetInstanceFeature(client *golangsdk.ServiceClient, instanceId, featureName string) (interface{}, error)

GetInstanceFeature is a method that used to query the list of the features under specified APIG instance.

func GetVersionHistories added in v1.30.0

func GetVersionHistories(c *golangsdk.ServiceClient, instanceId, envId, apiId string) ([]apis.ApiVersionInfo, error)

GetVersionHistories is a function that obtains version histories by APIG IDs.

func QueryInstanceDetail added in v1.65.1

func QueryInstanceDetail(client *golangsdk.ServiceClient, instanceId string) (interface{}, error)

func QueryQuotaAssociatedApplications added in v1.65.1

func QueryQuotaAssociatedApplications(client *golangsdk.ServiceClient, instanceId, quotaId string) ([]interface{}, error)

func ResourceAclPolicy added in v1.47.0

func ResourceAclPolicy() *schema.Resource

ResourceAclPolicy is a provider resource of the APIG ACL policy. @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/acls/{acl_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/acls/{acl_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/acls/{acl_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/acls

func ResourceAclPolicyAssociate added in v1.48.0

func ResourceAclPolicyAssociate() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/acl-bindings @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/acl-bindings/unbinded-apis @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/acl-bindings/binded-apis @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/acl-bindings

func ResourceApiPublishmentCreate added in v1.44.2

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

ResourceApiPublishmentCreate is a function that uses terraform configuration to publish new versions or switch historical versions.

func ResourceApiPublishmentDelete added in v1.44.2

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

func ResourceApiPublishmentRead added in v1.44.2

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

ResourceApiPublishmentRead is a method to obtain informations of API publishment and save to the local storage.

func ResourceApiPublishmentUpdate added in v1.44.2

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

func ResourceApigAPIV2 added in v1.27.1

func ResourceApigAPIV2() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apis

func ResourceApigApiPublishment added in v1.30.0

func ResourceApigApiPublishment() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apis/action @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis/publish/{api_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apis/publish/{api_id}

func ResourceApigApplicationV2

func ResourceApigApplicationV2() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes/{app_code_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apps @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apps/secret/{app_id}

func ResourceApigCustomAuthorizerV2 added in v1.27.1

func ResourceApigCustomAuthorizerV2() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/authorizers/{authorizer_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/authorizers/{authorizer_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/authorizers/{authorizer_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/authorizers @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/authorizers

func ResourceApigEnvironmentV2

func ResourceApigEnvironmentV2() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/envs/{env_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/envs/{env_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/envs @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/envs

func ResourceApigGroupV2

func ResourceApigGroupV2() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/env-variables @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/env-variables @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/env-variables/{env_variable_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/api-groups @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id}/domains @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id}/domains/{domain_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id}/sl-domain-access-settings @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apis @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apis/publish

func ResourceApigInstanceV2

func ResourceApigInstanceV2() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances @API APIG GET /v2/{project_id}/apigw/instances/{instance_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id} @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/eip @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/eip @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/nat-eip @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/nat-eip @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/nat-eip @API APIG POST /v2/{project_id}/apigw/instances{instance_id}/ingress-eip @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/ingress-eip @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/instance-tags @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/custom-ingress-ports @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/custom-ingress-ports @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/custom-ingress-ports/{ingress_port_id}

func ResourceApigResponseV2

func ResourceApigResponseV2() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instanceId}/api-groups/{group_id}/gateway-responses/{response_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instanceId}/api-groups/{group_id}/gateway-responses/{response_id} @API APIG DELETE /v2/{project_id}/apigw/instances/{instanceId}/api-groups/{group_id}/gateway-responses/{response_id} @API APIG GET /v2/{project_id}/apigw/instances/{instanceId}/api-groups/{group_id}/gateway-responses @API APIG POST /v2/{project_id}/apigw/instances/{instanceId}/api-groups/{group_id}/gateway-responses

func ResourceApigThrottlingPolicyV2 added in v1.27.1

func ResourceApigThrottlingPolicyV2() *schema.Resource

ResourceApigThrottlingPolicyV2 is a provider resource of the APIG throttling policy. @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttles @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/throttles @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials/{strategy_Id} @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/throttles/{throttle_id}/throttle-specials/{strategy_Id}

func ResourceAppAuth added in v1.55.0

func ResourceAppAuth() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/app-auths/{app_auth_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/app-auths @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-auths/binded-apis @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-auths/unbinded-apis

func ResourceAppcode added in v1.55.0

func ResourceAppcode() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes/{app_code_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes/{app_code_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-codes

func ResourceApplicationAcl added in v1.65.1

func ResourceApplicationAcl() *schema.Resource

@API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-acl @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-acl @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/apps/{app_id}/app-acl

func ResourceApplicationQuota added in v1.65.0

func ResourceApplicationQuota() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/app-quotas @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id} @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id}

func ResourceApplicationQuotaAssociate added in v1.65.1

func ResourceApplicationQuotaAssociate() *schema.Resource

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id}/binding-apps @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id}/binding-apps @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id}/bound-apps @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/app-quotas/{app_quota_id}/bound-apps/{app_id}

func ResourceCertificate added in v1.53.0

func ResourceCertificate() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/certificates @API APIG DELETE /v2/{project_id}/apigw/certificates/{certificate_id} @API APIG GET /v2/{project_id}/apigw/certificates/{certificate_id} @API APIG PUT /v2/{project_id}/apigw/certificates/{certificate_id}

func ResourceChannel added in v1.48.0

func ResourceChannel() *schema.Resource

@API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels/{vpc_channel_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels/{vpc_channel_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels/{vpc_channel_id} @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels

func ResourceEndpointConnectionManagement added in v1.65.0

func ResourceEndpointConnectionManagement() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/vpc-endpoint/connections/action @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/vpc-endpoint/connections

func ResourceEndpointWhiteList added in v1.58.0

func ResourceEndpointWhiteList() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instanceId}/vpc-endpoint/permissions/batch-add @API APIG POST /v2/{project_id}/apigw/instances/{instanceId}/vpc-endpoint/permissions/batch-delete @API APIG GET /v2/{project_id}/apigw/instances/{instanceId}/vpc-endpoint/permissions

func ResourceEnvironmentVariable added in v1.64.2

func ResourceEnvironmentVariable() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/env-variables @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/env-variables/{env_variable_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/env-variables @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/env-variables/{env_variable_id} @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/env-variables/{env_variable_id}

func ResourceInstanceFeature added in v1.64.3

func ResourceInstanceFeature() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/features @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/features

func ResourceInstanceRoutes added in v1.47.0

func ResourceInstanceRoutes() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/features @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/features

func ResourcePlugin added in v1.49.0

func ResourcePlugin() *schema.Resource

ResourcePlugin defines the provider resource of the APIG plugin. @API APIG DELETE /v2/{project_id}/apigw/instances/{instanceId}/plugins/{plugin_id} @API APIG GET /v2/{project_id}/apigw/instances/{instanceId}/plugins/{plugin_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instanceId}/plugins/{plugin_id} @API APIG POST /v2/{project_id}/apigw/instances/{instanceId}/plugins

func ResourcePluginAssociate added in v1.49.0

func ResourcePluginAssociate() *schema.Resource

ResourcePluginAssociate defines the provider resource of the APIG plugin binding. @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/plugins/{plugin_id}/detach @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/plugins/{plugin_id}/attached-apis @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/plugins/{plugin_id}/attach

func ResourceSignature added in v1.48.0

func ResourceSignature() *schema.Resource

ResourceSignature is a provider resource of the APIG signature. @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/signs/{sign_id} @API APIG PUT /v2/{project_id}/apigw/instances/{instance_id}/signs/{sign_id} @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/signs @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/signs

func ResourceSignatureAssociate added in v1.48.0

func ResourceSignatureAssociate() *schema.Resource

ResourceSignatureAssociate is a provider resource of the API signature. @API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/sign-bindings @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/sign-bindings/binded-apis @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/sign-bindings/{sign_bindings_id}

func ResourceThrottlingPolicyAssociate added in v1.38.0

func ResourceThrottlingPolicyAssociate() *schema.Resource

@API APIG POST /v2/{project_id}/apigw/instances/{instance_id}/throttle-bindings @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttle-bindings/unbinded-apis @API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/throttle-bindings/binded-apis @API APIG DELETE /v2/{project_id}/apigw/instances/{instance_id}/throttle-bindings/{throttle_binding_id}

Types

type ApiAuthType added in v1.45.0

type ApiAuthType string

type ApiType added in v1.45.0

type ApiType string

type AppCodeAuthType added in v1.45.0

type AppCodeAuthType string

type ApplicationQuotasDSWrapper added in v1.65.1

type ApplicationQuotasDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*ApplicationQuotasDSWrapper) ListAppQuotas added in v1.65.1

func (w *ApplicationQuotasDSWrapper) ListAppQuotas() (*gjson.Result, error)

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/app-quotas

type AuthType added in v1.45.0

type AuthType string
const (
	AuthTypeFrontend AuthType = "FRONTEND"
	AuthTypeBackend  AuthType = "BACKEND"
)

type BackendType added in v1.45.0

type BackendType string

type ConditionSource added in v1.45.0

type ConditionSource string

type ConditionType added in v1.45.0

type ConditionType string

type EffectiveMode added in v1.45.0

type EffectiveMode string

type EndpointConnectionsDSWrapper added in v1.65.1

type EndpointConnectionsDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*EndpointConnectionsDSWrapper) ListEndpointConnections added in v1.65.1

func (w *EndpointConnectionsDSWrapper) ListEndpointConnections() (*gjson.Result, error)

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/vpc-endpoint/connections

type EnvironmentVariablesDSWrapper added in v1.65.0

type EnvironmentVariablesDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*EnvironmentVariablesDSWrapper) ListEnvironmentVariablesV2 added in v1.65.0

func (w *EnvironmentVariablesDSWrapper) ListEnvironmentVariablesV2() (*gjson.Result, error)

@API APIG GET /v2/{project_id}/apigw/instances/{instance_id}/env-variables

type InvacationType added in v1.45.0

type InvacationType string

type MatchMode added in v1.45.0

type MatchMode string

type ParamLocation added in v1.45.0

type ParamLocation string

type ParamType added in v1.45.0

type ParamType string

type ParameterType added in v1.45.0

type ParameterType string

type PolicyType added in v1.44.2

type PolicyType string
const (
	PolicyTypeExclusive   PolicyType = "API-based"
	PolicyTypeShared      PolicyType = "API-shared"
	PolicyTypeUser        PolicyType = "USER"
	PolicyTypeApplication PolicyType = "APP"
)

type ProtocolType added in v1.44.0

type ProtocolType string

type RequestMethod added in v1.45.0

type RequestMethod string

type SecretAction added in v1.44.1

type SecretAction string
const (
	SecretActionReset SecretAction = "RESET"
)

type SystemParamType added in v1.45.0

type SystemParamType string

Source Files

Jump to

Keyboard shortcuts

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