Documentation ¶
Index ¶
- type ApiMetadata
- type ApiMetadataAttributes
- func (am ApiMetadataAttributes) Description() terra.StringValue
- func (am ApiMetadataAttributes) DocumentationUrl() terra.StringValue
- func (am ApiMetadataAttributes) InternalRef() (terra.Reference, error)
- func (am ApiMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (am ApiMetadataAttributes) InternalWithRef(ref terra.Reference) ApiMetadataAttributes
- func (am ApiMetadataAttributes) ServerUrl() terra.StringValue
- func (am ApiMetadataAttributes) Title() terra.StringValue
- func (am ApiMetadataAttributes) Version() terra.StringValue
- type ApiMetadataState
- type Args
- type ClientAuthorization
- type ClientAuthorizationAttributes
- func (ca ClientAuthorizationAttributes) CertificateIds() terra.ListValue[terra.StringValue]
- func (ca ClientAuthorizationAttributes) InternalRef() (terra.Reference, error)
- func (ca ClientAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca ClientAuthorizationAttributes) InternalWithRef(ref terra.Reference) ClientAuthorizationAttributes
- func (ca ClientAuthorizationAttributes) VerificationEnabled() terra.BoolValue
- type ClientAuthorizationState
- type Cors
- type CorsAttributes
- func (c CorsAttributes) AllowedHeaders() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) AllowedMethods() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) AllowedOriginPatterns() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) AllowedOrigins() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) CredentialsAllowed() terra.BoolValue
- func (c CorsAttributes) ExposedHeaders() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) InternalRef() (terra.Reference, error)
- func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes
- func (c CorsAttributes) MaxAgeSeconds() terra.NumberValue
- type CorsState
- type LocalResponseCachePerInstance
- type LocalResponseCachePerInstanceAttributes
- func (lrcpi LocalResponseCachePerInstanceAttributes) InternalRef() (terra.Reference, error)
- func (lrcpi LocalResponseCachePerInstanceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lrcpi LocalResponseCachePerInstanceAttributes) InternalWithRef(ref terra.Reference) LocalResponseCachePerInstanceAttributes
- func (lrcpi LocalResponseCachePerInstanceAttributes) Size() terra.StringValue
- func (lrcpi LocalResponseCachePerInstanceAttributes) TimeToLive() terra.StringValue
- type LocalResponseCachePerInstanceState
- type LocalResponseCachePerRoute
- type LocalResponseCachePerRouteAttributes
- func (lrcpr LocalResponseCachePerRouteAttributes) InternalRef() (terra.Reference, error)
- func (lrcpr LocalResponseCachePerRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lrcpr LocalResponseCachePerRouteAttributes) InternalWithRef(ref terra.Reference) LocalResponseCachePerRouteAttributes
- func (lrcpr LocalResponseCachePerRouteAttributes) Size() terra.StringValue
- func (lrcpr LocalResponseCachePerRouteAttributes) TimeToLive() terra.StringValue
- type LocalResponseCachePerRouteState
- type Quota
- type QuotaAttributes
- func (q QuotaAttributes) Cpu() terra.StringValue
- func (q QuotaAttributes) InternalRef() (terra.Reference, error)
- func (q QuotaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (q QuotaAttributes) InternalWithRef(ref terra.Reference) QuotaAttributes
- func (q QuotaAttributes) Memory() terra.StringValue
- type QuotaState
- type Resource
- func (ascg *Resource) Attributes() azurermSpringCloudGatewayAttributes
- func (ascg *Resource) Configuration() interface{}
- func (ascg *Resource) DependOn() terra.Reference
- func (ascg *Resource) Dependencies() terra.Dependencies
- func (ascg *Resource) ImportState(state io.Reader) error
- func (ascg *Resource) LifecycleManagement() *terra.Lifecycle
- func (ascg *Resource) LocalName() string
- func (ascg *Resource) State() (*azurermSpringCloudGatewayState, bool)
- func (ascg *Resource) StateMust() *azurermSpringCloudGatewayState
- func (ascg *Resource) Type() string
- type Sso
- type SsoAttributes
- func (s SsoAttributes) ClientId() terra.StringValue
- func (s SsoAttributes) ClientSecret() terra.StringValue
- func (s SsoAttributes) InternalRef() (terra.Reference, error)
- func (s SsoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SsoAttributes) InternalWithRef(ref terra.Reference) SsoAttributes
- func (s SsoAttributes) IssuerUri() terra.StringValue
- func (s SsoAttributes) Scope() terra.SetValue[terra.StringValue]
- type SsoState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (am ApiMetadataAttributes) InternalWithRef(ref terra.Reference) ApiMetadataAttributes
func (ApiMetadataAttributes) ServerUrl ¶
func (am ApiMetadataAttributes) ServerUrl() terra.StringValue
func (ApiMetadataAttributes) Title ¶
func (am ApiMetadataAttributes) Title() terra.StringValue
func (ApiMetadataAttributes) Version ¶
func (am ApiMetadataAttributes) Version() terra.StringValue
type ApiMetadataState ¶
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 ClientAuthorizationAttributes ¶
type ClientAuthorizationAttributes struct {
// contains filtered or unexported fields
}
func (ClientAuthorizationAttributes) CertificateIds ¶
func (ca ClientAuthorizationAttributes) CertificateIds() terra.ListValue[terra.StringValue]
func (ClientAuthorizationAttributes) InternalRef ¶
func (ca ClientAuthorizationAttributes) InternalRef() (terra.Reference, error)
func (ClientAuthorizationAttributes) InternalTokens ¶
func (ca ClientAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientAuthorizationAttributes) InternalWithRef ¶
func (ca ClientAuthorizationAttributes) InternalWithRef(ref terra.Reference) ClientAuthorizationAttributes
func (ClientAuthorizationAttributes) VerificationEnabled ¶
func (ca ClientAuthorizationAttributes) VerificationEnabled() terra.BoolValue
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 (lrcpi LocalResponseCachePerInstanceAttributes) InternalRef() (terra.Reference, error)
func (LocalResponseCachePerInstanceAttributes) InternalTokens ¶
func (lrcpi LocalResponseCachePerInstanceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocalResponseCachePerInstanceAttributes) InternalWithRef ¶
func (lrcpi LocalResponseCachePerInstanceAttributes) InternalWithRef(ref terra.Reference) LocalResponseCachePerInstanceAttributes
func (LocalResponseCachePerInstanceAttributes) Size ¶
func (lrcpi LocalResponseCachePerInstanceAttributes) Size() terra.StringValue
func (LocalResponseCachePerInstanceAttributes) TimeToLive ¶
func (lrcpi LocalResponseCachePerInstanceAttributes) TimeToLive() terra.StringValue
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 (lrcpr LocalResponseCachePerRouteAttributes) InternalRef() (terra.Reference, error)
func (LocalResponseCachePerRouteAttributes) InternalTokens ¶
func (lrcpr LocalResponseCachePerRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocalResponseCachePerRouteAttributes) InternalWithRef ¶
func (lrcpr LocalResponseCachePerRouteAttributes) InternalWithRef(ref terra.Reference) LocalResponseCachePerRouteAttributes
func (LocalResponseCachePerRouteAttributes) Size ¶
func (lrcpr LocalResponseCachePerRouteAttributes) Size() terra.StringValue
func (LocalResponseCachePerRouteAttributes) TimeToLive ¶
func (lrcpr LocalResponseCachePerRouteAttributes) TimeToLive() terra.StringValue
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 (q QuotaAttributes) Cpu() terra.StringValue
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 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 (*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) Dependencies ¶
func (ascg *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 ¶
func (s SsoAttributes) Scope() terra.SetValue[terra.StringValue]
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.