Documentation ¶
Index ¶
- type Args
- type Credentials
- type CredentialsAttributes
- func (c CredentialsAttributes) Authorization() terra.ListValue[CredentialsAuthorizationAttributes]
- func (c CredentialsAttributes) Certificate() terra.ListValue[terra.StringValue]
- func (c CredentialsAttributes) Header() terra.MapValue[terra.StringValue]
- func (c CredentialsAttributes) InternalRef() (terra.Reference, error)
- func (c CredentialsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CredentialsAttributes) InternalWithRef(ref terra.Reference) CredentialsAttributes
- func (c CredentialsAttributes) Query() terra.MapValue[terra.StringValue]
- type CredentialsAuthorization
- type CredentialsAuthorizationAttributes
- func (a CredentialsAuthorizationAttributes) InternalRef() (terra.Reference, error)
- func (a CredentialsAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a CredentialsAuthorizationAttributes) InternalWithRef(ref terra.Reference) CredentialsAuthorizationAttributes
- func (a CredentialsAuthorizationAttributes) Parameter() terra.StringValue
- func (a CredentialsAuthorizationAttributes) Scheme() terra.StringValue
- type CredentialsAuthorizationState
- type CredentialsState
- type Proxy
- type ProxyAttributes
- func (p ProxyAttributes) InternalRef() (terra.Reference, error)
- func (p ProxyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ProxyAttributes) InternalWithRef(ref terra.Reference) ProxyAttributes
- func (p ProxyAttributes) Password() terra.StringValue
- func (p ProxyAttributes) Url() terra.StringValue
- func (p ProxyAttributes) Username() terra.StringValue
- type ProxyState
- type Resource
- func (aamb *Resource) Attributes() azurermApiManagementBackendAttributes
- func (aamb *Resource) Configuration() interface{}
- func (aamb *Resource) DependOn() terra.Reference
- func (aamb *Resource) Dependencies() terra.Dependencies
- func (aamb *Resource) ImportState(state io.Reader) error
- func (aamb *Resource) LifecycleManagement() *terra.Lifecycle
- func (aamb *Resource) LocalName() string
- func (aamb *Resource) State() (*azurermApiManagementBackendState, bool)
- func (aamb *Resource) StateMust() *azurermApiManagementBackendState
- func (aamb *Resource) Type() string
- type ServiceFabricCluster
- type ServiceFabricClusterAttributes
- func (sfc ServiceFabricClusterAttributes) ClientCertificateId() terra.StringValue
- func (sfc ServiceFabricClusterAttributes) ClientCertificateThumbprint() terra.StringValue
- func (sfc ServiceFabricClusterAttributes) InternalRef() (terra.Reference, error)
- func (sfc ServiceFabricClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sfc ServiceFabricClusterAttributes) InternalWithRef(ref terra.Reference) ServiceFabricClusterAttributes
- func (sfc ServiceFabricClusterAttributes) ManagementEndpoints() terra.SetValue[terra.StringValue]
- func (sfc ServiceFabricClusterAttributes) MaxPartitionResolutionRetries() terra.NumberValue
- func (sfc ServiceFabricClusterAttributes) ServerCertificateThumbprints() terra.SetValue[terra.StringValue]
- func (sfc ServiceFabricClusterAttributes) ServerX509Name() terra.SetValue[ServiceFabricClusterServerX509NameAttributes]
- type ServiceFabricClusterServerX509Name
- type ServiceFabricClusterServerX509NameAttributes
- func (sxn ServiceFabricClusterServerX509NameAttributes) InternalRef() (terra.Reference, error)
- func (sxn ServiceFabricClusterServerX509NameAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sxn ServiceFabricClusterServerX509NameAttributes) InternalWithRef(ref terra.Reference) ServiceFabricClusterServerX509NameAttributes
- func (sxn ServiceFabricClusterServerX509NameAttributes) IssuerCertificateThumbprint() terra.StringValue
- func (sxn ServiceFabricClusterServerX509NameAttributes) Name() terra.StringValue
- type ServiceFabricClusterServerX509NameState
- type ServiceFabricClusterState
- 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
- type Tls
- type TlsAttributes
- func (t TlsAttributes) InternalRef() (terra.Reference, error)
- func (t TlsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TlsAttributes) InternalWithRef(ref terra.Reference) TlsAttributes
- func (t TlsAttributes) ValidateCertificateChain() terra.BoolValue
- func (t TlsAttributes) ValidateCertificateName() terra.BoolValue
- type TlsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApiManagementName: string, required ApiManagementName terra.StringValue `hcl:"api_management_name,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // ResourceId: string, optional ResourceId terra.StringValue `hcl:"resource_id,attr"` // Title: string, optional Title terra.StringValue `hcl:"title,attr"` // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` // Credentials: optional Credentials *Credentials `hcl:"credentials,block"` // Proxy: optional Proxy *Proxy `hcl:"proxy,block"` // ServiceFabricCluster: optional ServiceFabricCluster *ServiceFabricCluster `hcl:"service_fabric_cluster,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Tls: optional Tls *Tls `hcl:"tls,block"` }
Args contains the configurations for azurerm_api_management_backend.
type Credentials ¶
type Credentials struct { // Certificate: list of string, optional Certificate terra.ListValue[terra.StringValue] `hcl:"certificate,attr"` // Header: map of string, optional Header terra.MapValue[terra.StringValue] `hcl:"header,attr"` // Query: map of string, optional Query terra.MapValue[terra.StringValue] `hcl:"query,attr"` // CredentialsAuthorization: optional Authorization *CredentialsAuthorization `hcl:"authorization,block"` }
type CredentialsAttributes ¶
type CredentialsAttributes struct {
// contains filtered or unexported fields
}
func (CredentialsAttributes) Authorization ¶
func (c CredentialsAttributes) Authorization() terra.ListValue[CredentialsAuthorizationAttributes]
func (CredentialsAttributes) Certificate ¶
func (c CredentialsAttributes) Certificate() terra.ListValue[terra.StringValue]
func (CredentialsAttributes) Header ¶
func (c CredentialsAttributes) Header() terra.MapValue[terra.StringValue]
func (CredentialsAttributes) InternalRef ¶
func (c CredentialsAttributes) InternalRef() (terra.Reference, error)
func (CredentialsAttributes) InternalTokens ¶
func (c CredentialsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CredentialsAttributes) InternalWithRef ¶
func (c CredentialsAttributes) InternalWithRef(ref terra.Reference) CredentialsAttributes
func (CredentialsAttributes) Query ¶
func (c CredentialsAttributes) Query() terra.MapValue[terra.StringValue]
type CredentialsAuthorization ¶
type CredentialsAuthorization struct { // Parameter: string, optional Parameter terra.StringValue `hcl:"parameter,attr"` // Scheme: string, optional Scheme terra.StringValue `hcl:"scheme,attr"` }
type CredentialsAuthorizationAttributes ¶
type CredentialsAuthorizationAttributes struct {
// contains filtered or unexported fields
}
func (CredentialsAuthorizationAttributes) InternalRef ¶
func (a CredentialsAuthorizationAttributes) InternalRef() (terra.Reference, error)
func (CredentialsAuthorizationAttributes) InternalTokens ¶
func (a CredentialsAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CredentialsAuthorizationAttributes) InternalWithRef ¶
func (a CredentialsAuthorizationAttributes) InternalWithRef(ref terra.Reference) CredentialsAuthorizationAttributes
func (CredentialsAuthorizationAttributes) Parameter ¶
func (a CredentialsAuthorizationAttributes) Parameter() terra.StringValue
func (CredentialsAuthorizationAttributes) Scheme ¶
func (a CredentialsAuthorizationAttributes) Scheme() terra.StringValue
type CredentialsState ¶
type Proxy ¶
type Proxy struct { // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` // Username: string, required Username terra.StringValue `hcl:"username,attr" validate:"required"` }
type ProxyAttributes ¶
type ProxyAttributes struct {
// contains filtered or unexported fields
}
func (ProxyAttributes) InternalRef ¶
func (p ProxyAttributes) InternalRef() (terra.Reference, error)
func (ProxyAttributes) InternalTokens ¶
func (p ProxyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProxyAttributes) InternalWithRef ¶
func (p ProxyAttributes) InternalWithRef(ref terra.Reference) ProxyAttributes
func (ProxyAttributes) Password ¶
func (p ProxyAttributes) Password() terra.StringValue
func (ProxyAttributes) Url ¶
func (p ProxyAttributes) Url() terra.StringValue
func (ProxyAttributes) Username ¶
func (p ProxyAttributes) Username() terra.StringValue
type ProxyState ¶
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_api_management_backend.
func (*Resource) Attributes ¶
func (aamb *Resource) Attributes() azurermApiManagementBackendAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aamb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aamb *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 ServiceFabricCluster ¶
type ServiceFabricCluster struct { // ClientCertificateId: string, optional ClientCertificateId terra.StringValue `hcl:"client_certificate_id,attr"` // ClientCertificateThumbprint: string, optional ClientCertificateThumbprint terra.StringValue `hcl:"client_certificate_thumbprint,attr"` // ManagementEndpoints: set of string, required ManagementEndpoints terra.SetValue[terra.StringValue] `hcl:"management_endpoints,attr" validate:"required"` // MaxPartitionResolutionRetries: number, required MaxPartitionResolutionRetries terra.NumberValue `hcl:"max_partition_resolution_retries,attr" validate:"required"` // ServerCertificateThumbprints: set of string, optional ServerCertificateThumbprints terra.SetValue[terra.StringValue] `hcl:"server_certificate_thumbprints,attr"` // ServiceFabricClusterServerX509Name: min=0 ServerX509Name []ServiceFabricClusterServerX509Name `hcl:"server_x509_name,block" validate:"min=0"` }
type ServiceFabricClusterAttributes ¶
type ServiceFabricClusterAttributes struct {
// contains filtered or unexported fields
}
func (ServiceFabricClusterAttributes) ClientCertificateId ¶
func (sfc ServiceFabricClusterAttributes) ClientCertificateId() terra.StringValue
func (ServiceFabricClusterAttributes) ClientCertificateThumbprint ¶
func (sfc ServiceFabricClusterAttributes) ClientCertificateThumbprint() terra.StringValue
func (ServiceFabricClusterAttributes) InternalRef ¶
func (sfc ServiceFabricClusterAttributes) InternalRef() (terra.Reference, error)
func (ServiceFabricClusterAttributes) InternalTokens ¶
func (sfc ServiceFabricClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceFabricClusterAttributes) InternalWithRef ¶
func (sfc ServiceFabricClusterAttributes) InternalWithRef(ref terra.Reference) ServiceFabricClusterAttributes
func (ServiceFabricClusterAttributes) ManagementEndpoints ¶
func (sfc ServiceFabricClusterAttributes) ManagementEndpoints() terra.SetValue[terra.StringValue]
func (ServiceFabricClusterAttributes) MaxPartitionResolutionRetries ¶
func (sfc ServiceFabricClusterAttributes) MaxPartitionResolutionRetries() terra.NumberValue
func (ServiceFabricClusterAttributes) ServerCertificateThumbprints ¶
func (sfc ServiceFabricClusterAttributes) ServerCertificateThumbprints() terra.SetValue[terra.StringValue]
func (ServiceFabricClusterAttributes) ServerX509Name ¶
func (sfc ServiceFabricClusterAttributes) ServerX509Name() terra.SetValue[ServiceFabricClusterServerX509NameAttributes]
type ServiceFabricClusterServerX509Name ¶
type ServiceFabricClusterServerX509Name struct { // IssuerCertificateThumbprint: string, required IssuerCertificateThumbprint terra.StringValue `hcl:"issuer_certificate_thumbprint,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type ServiceFabricClusterServerX509NameAttributes ¶
type ServiceFabricClusterServerX509NameAttributes struct {
// contains filtered or unexported fields
}
func (ServiceFabricClusterServerX509NameAttributes) InternalRef ¶
func (sxn ServiceFabricClusterServerX509NameAttributes) InternalRef() (terra.Reference, error)
func (ServiceFabricClusterServerX509NameAttributes) InternalTokens ¶
func (sxn ServiceFabricClusterServerX509NameAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceFabricClusterServerX509NameAttributes) InternalWithRef ¶
func (sxn ServiceFabricClusterServerX509NameAttributes) InternalWithRef(ref terra.Reference) ServiceFabricClusterServerX509NameAttributes
func (ServiceFabricClusterServerX509NameAttributes) IssuerCertificateThumbprint ¶
func (sxn ServiceFabricClusterServerX509NameAttributes) IssuerCertificateThumbprint() terra.StringValue
func (ServiceFabricClusterServerX509NameAttributes) Name ¶
func (sxn ServiceFabricClusterServerX509NameAttributes) Name() terra.StringValue
type ServiceFabricClusterState ¶
type ServiceFabricClusterState struct { ClientCertificateId string `json:"client_certificate_id"` ClientCertificateThumbprint string `json:"client_certificate_thumbprint"` ManagementEndpoints []string `json:"management_endpoints"` MaxPartitionResolutionRetries float64 `json:"max_partition_resolution_retries"` ServerCertificateThumbprints []string `json:"server_certificate_thumbprints"` ServerX509Name []ServiceFabricClusterServerX509NameState `json:"server_x509_name"` }
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
type TimeoutsState ¶
type TlsAttributes ¶
type TlsAttributes struct {
// contains filtered or unexported fields
}
func (TlsAttributes) InternalRef ¶
func (t TlsAttributes) InternalRef() (terra.Reference, error)
func (TlsAttributes) InternalTokens ¶
func (t TlsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TlsAttributes) InternalWithRef ¶
func (t TlsAttributes) InternalWithRef(ref terra.Reference) TlsAttributes
func (TlsAttributes) ValidateCertificateChain ¶
func (t TlsAttributes) ValidateCertificateChain() terra.BoolValue
func (TlsAttributes) ValidateCertificateName ¶
func (t TlsAttributes) ValidateCertificateName() terra.BoolValue
Click to show internal directories.
Click to hide internal directories.