azurerm_spring_cloud_gateway

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiMetadata

type ApiMetadata struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DocumentationUrl: string, optional
	DocumentationUrl terra.StringValue `hcl:"documentation_url,attr"`
	// ServerUrl: string, optional
	ServerUrl terra.StringValue `hcl:"server_url,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type ApiMetadataAttributes

type ApiMetadataAttributes struct {
	// contains filtered or unexported fields
}

func (ApiMetadataAttributes) Description

func (am ApiMetadataAttributes) Description() terra.StringValue

func (ApiMetadataAttributes) DocumentationUrl

func (am ApiMetadataAttributes) DocumentationUrl() terra.StringValue

func (ApiMetadataAttributes) InternalRef

func (am ApiMetadataAttributes) InternalRef() (terra.Reference, error)

func (ApiMetadataAttributes) InternalTokens

func (am ApiMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApiMetadataAttributes) InternalWithRef

func (ApiMetadataAttributes) ServerUrl

func (am ApiMetadataAttributes) ServerUrl() terra.StringValue

func (ApiMetadataAttributes) Title

func (ApiMetadataAttributes) Version

type ApiMetadataState

type ApiMetadataState struct {
	Description      string `json:"description"`
	DocumentationUrl string `json:"documentation_url"`
	ServerUrl        string `json:"server_url"`
	Title            string `json:"title"`
	Version          string `json:"version"`
}

type Args

type Args struct {
	// ApplicationPerformanceMonitoringIds: list of string, optional
	ApplicationPerformanceMonitoringIds terra.ListValue[terra.StringValue] `hcl:"application_performance_monitoring_ids,attr"`
	// ApplicationPerformanceMonitoringTypes: list of string, optional
	ApplicationPerformanceMonitoringTypes terra.ListValue[terra.StringValue] `hcl:"application_performance_monitoring_types,attr"`
	// EnvironmentVariables: map of string, optional
	EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"`
	// HttpsOnly: bool, optional
	HttpsOnly terra.BoolValue `hcl:"https_only,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceCount: number, optional
	InstanceCount terra.NumberValue `hcl:"instance_count,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PublicNetworkAccessEnabled: bool, optional
	PublicNetworkAccessEnabled terra.BoolValue `hcl:"public_network_access_enabled,attr"`
	// SensitiveEnvironmentVariables: map of string, optional
	SensitiveEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"sensitive_environment_variables,attr"`
	// SpringCloudServiceId: string, required
	SpringCloudServiceId terra.StringValue `hcl:"spring_cloud_service_id,attr" validate:"required"`
	// ApiMetadata: optional
	ApiMetadata *ApiMetadata `hcl:"api_metadata,block"`
	// ClientAuthorization: optional
	ClientAuthorization *ClientAuthorization `hcl:"client_authorization,block"`
	// Cors: optional
	Cors *Cors `hcl:"cors,block"`
	// LocalResponseCachePerInstance: optional
	LocalResponseCachePerInstance *LocalResponseCachePerInstance `hcl:"local_response_cache_per_instance,block"`
	// LocalResponseCachePerRoute: optional
	LocalResponseCachePerRoute *LocalResponseCachePerRoute `hcl:"local_response_cache_per_route,block"`
	// Quota: optional
	Quota *Quota `hcl:"quota,block"`
	// Sso: optional
	Sso *Sso `hcl:"sso,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_spring_cloud_gateway.

type ClientAuthorization

type ClientAuthorization struct {
	// CertificateIds: list of string, optional
	CertificateIds terra.ListValue[terra.StringValue] `hcl:"certificate_ids,attr"`
	// VerificationEnabled: bool, optional
	VerificationEnabled terra.BoolValue `hcl:"verification_enabled,attr"`
}

type ClientAuthorizationAttributes

type ClientAuthorizationAttributes struct {
	// contains filtered or unexported fields
}

func (ClientAuthorizationAttributes) CertificateIds

func (ClientAuthorizationAttributes) InternalRef

func (ca ClientAuthorizationAttributes) InternalRef() (terra.Reference, error)

func (ClientAuthorizationAttributes) InternalTokens

func (ca ClientAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientAuthorizationAttributes) InternalWithRef

func (ClientAuthorizationAttributes) VerificationEnabled

func (ca ClientAuthorizationAttributes) VerificationEnabled() terra.BoolValue

type ClientAuthorizationState

type ClientAuthorizationState struct {
	CertificateIds      []string `json:"certificate_ids"`
	VerificationEnabled bool     `json:"verification_enabled"`
}

type Cors

type Cors struct {
	// AllowedHeaders: set of string, optional
	AllowedHeaders terra.SetValue[terra.StringValue] `hcl:"allowed_headers,attr"`
	// AllowedMethods: set of string, optional
	AllowedMethods terra.SetValue[terra.StringValue] `hcl:"allowed_methods,attr"`
	// AllowedOriginPatterns: set of string, optional
	AllowedOriginPatterns terra.SetValue[terra.StringValue] `hcl:"allowed_origin_patterns,attr"`
	// AllowedOrigins: set of string, optional
	AllowedOrigins terra.SetValue[terra.StringValue] `hcl:"allowed_origins,attr"`
	// CredentialsAllowed: bool, optional
	CredentialsAllowed terra.BoolValue `hcl:"credentials_allowed,attr"`
	// ExposedHeaders: set of string, optional
	ExposedHeaders terra.SetValue[terra.StringValue] `hcl:"exposed_headers,attr"`
	// MaxAgeSeconds: number, optional
	MaxAgeSeconds terra.NumberValue `hcl:"max_age_seconds,attr"`
}

type CorsAttributes

type CorsAttributes struct {
	// contains filtered or unexported fields
}

func (CorsAttributes) AllowedHeaders

func (c CorsAttributes) AllowedHeaders() terra.SetValue[terra.StringValue]

func (CorsAttributes) AllowedMethods

func (c CorsAttributes) AllowedMethods() terra.SetValue[terra.StringValue]

func (CorsAttributes) AllowedOriginPatterns

func (c CorsAttributes) AllowedOriginPatterns() terra.SetValue[terra.StringValue]

func (CorsAttributes) AllowedOrigins

func (c CorsAttributes) AllowedOrigins() terra.SetValue[terra.StringValue]

func (CorsAttributes) CredentialsAllowed

func (c CorsAttributes) CredentialsAllowed() terra.BoolValue

func (CorsAttributes) ExposedHeaders

func (c CorsAttributes) ExposedHeaders() terra.SetValue[terra.StringValue]

func (CorsAttributes) InternalRef

func (c CorsAttributes) InternalRef() (terra.Reference, error)

func (CorsAttributes) InternalTokens

func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CorsAttributes) InternalWithRef

func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes

func (CorsAttributes) MaxAgeSeconds

func (c CorsAttributes) MaxAgeSeconds() terra.NumberValue

type CorsState

type CorsState struct {
	AllowedHeaders        []string `json:"allowed_headers"`
	AllowedMethods        []string `json:"allowed_methods"`
	AllowedOriginPatterns []string `json:"allowed_origin_patterns"`
	AllowedOrigins        []string `json:"allowed_origins"`
	CredentialsAllowed    bool     `json:"credentials_allowed"`
	ExposedHeaders        []string `json:"exposed_headers"`
	MaxAgeSeconds         float64  `json:"max_age_seconds"`
}

type LocalResponseCachePerInstance

type LocalResponseCachePerInstance struct {
	// Size: string, optional
	Size terra.StringValue `hcl:"size,attr"`
	// TimeToLive: string, optional
	TimeToLive terra.StringValue `hcl:"time_to_live,attr"`
}

type LocalResponseCachePerInstanceAttributes

type LocalResponseCachePerInstanceAttributes struct {
	// contains filtered or unexported fields
}

func (LocalResponseCachePerInstanceAttributes) InternalRef

func (LocalResponseCachePerInstanceAttributes) InternalTokens

func (LocalResponseCachePerInstanceAttributes) InternalWithRef

func (LocalResponseCachePerInstanceAttributes) Size

func (LocalResponseCachePerInstanceAttributes) TimeToLive

type LocalResponseCachePerInstanceState

type LocalResponseCachePerInstanceState struct {
	Size       string `json:"size"`
	TimeToLive string `json:"time_to_live"`
}

type LocalResponseCachePerRoute

type LocalResponseCachePerRoute struct {
	// Size: string, optional
	Size terra.StringValue `hcl:"size,attr"`
	// TimeToLive: string, optional
	TimeToLive terra.StringValue `hcl:"time_to_live,attr"`
}

type LocalResponseCachePerRouteAttributes

type LocalResponseCachePerRouteAttributes struct {
	// contains filtered or unexported fields
}

func (LocalResponseCachePerRouteAttributes) InternalRef

func (LocalResponseCachePerRouteAttributes) InternalTokens

func (lrcpr LocalResponseCachePerRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocalResponseCachePerRouteAttributes) InternalWithRef

func (LocalResponseCachePerRouteAttributes) Size

func (LocalResponseCachePerRouteAttributes) TimeToLive

type LocalResponseCachePerRouteState

type LocalResponseCachePerRouteState struct {
	Size       string `json:"size"`
	TimeToLive string `json:"time_to_live"`
}

type Quota

type Quota struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
}

type QuotaAttributes

type QuotaAttributes struct {
	// contains filtered or unexported fields
}

func (QuotaAttributes) Cpu

func (QuotaAttributes) InternalRef

func (q QuotaAttributes) InternalRef() (terra.Reference, error)

func (QuotaAttributes) InternalTokens

func (q QuotaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QuotaAttributes) InternalWithRef

func (q QuotaAttributes) InternalWithRef(ref terra.Reference) QuotaAttributes

func (QuotaAttributes) Memory

func (q QuotaAttributes) Memory() terra.StringValue

type QuotaState

type QuotaState struct {
	Cpu    string `json:"cpu"`
	Memory string `json:"memory"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource azurerm_spring_cloud_gateway.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ascg *Resource) Attributes() azurermSpringCloudGatewayAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (ascg *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (ascg *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (ascg *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (ascg *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (ascg *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ascg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ascg *Resource) State() (*azurermSpringCloudGatewayState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (ascg *Resource) StateMust() *azurermSpringCloudGatewayState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (ascg *Resource) Type() string

Type returns the Terraform object type for Resource.

type Sso

type Sso struct {
	// ClientId: string, optional
	ClientId terra.StringValue `hcl:"client_id,attr"`
	// ClientSecret: string, optional
	ClientSecret terra.StringValue `hcl:"client_secret,attr"`
	// IssuerUri: string, optional
	IssuerUri terra.StringValue `hcl:"issuer_uri,attr"`
	// Scope: set of string, optional
	Scope terra.SetValue[terra.StringValue] `hcl:"scope,attr"`
}

type SsoAttributes

type SsoAttributes struct {
	// contains filtered or unexported fields
}

func (SsoAttributes) ClientId

func (s SsoAttributes) ClientId() terra.StringValue

func (SsoAttributes) ClientSecret

func (s SsoAttributes) ClientSecret() terra.StringValue

func (SsoAttributes) InternalRef

func (s SsoAttributes) InternalRef() (terra.Reference, error)

func (SsoAttributes) InternalTokens

func (s SsoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SsoAttributes) InternalWithRef

func (s SsoAttributes) InternalWithRef(ref terra.Reference) SsoAttributes

func (SsoAttributes) IssuerUri

func (s SsoAttributes) IssuerUri() terra.StringValue

func (SsoAttributes) Scope

type SsoState

type SsoState struct {
	ClientId     string   `json:"client_id"`
	ClientSecret string   `json:"client_secret"`
	IssuerUri    string   `json:"issuer_uri"`
	Scope        []string `json:"scope"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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