google_network_security_server_tls_policy

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 Args

type Args struct {
	// AllowOpen: bool, optional
	AllowOpen terra.BoolValue `hcl:"allow_open,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// MtlsPolicy: optional
	MtlsPolicy *MtlsPolicy `hcl:"mtls_policy,block"`
	// ServerCertificate: optional
	ServerCertificate *ServerCertificate `hcl:"server_certificate,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_network_security_server_tls_policy.

type MtlsPolicy

type MtlsPolicy struct {
	// ClientValidationMode: string, optional
	ClientValidationMode terra.StringValue `hcl:"client_validation_mode,attr"`
	// ClientValidationTrustConfig: string, optional
	ClientValidationTrustConfig terra.StringValue `hcl:"client_validation_trust_config,attr"`
	// MtlsPolicyClientValidationCa: min=0
	ClientValidationCa []MtlsPolicyClientValidationCa `hcl:"client_validation_ca,block" validate:"min=0"`
}

type MtlsPolicyAttributes

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

func (MtlsPolicyAttributes) ClientValidationCa

func (MtlsPolicyAttributes) ClientValidationMode

func (mp MtlsPolicyAttributes) ClientValidationMode() terra.StringValue

func (MtlsPolicyAttributes) ClientValidationTrustConfig

func (mp MtlsPolicyAttributes) ClientValidationTrustConfig() terra.StringValue

func (MtlsPolicyAttributes) InternalRef

func (mp MtlsPolicyAttributes) InternalRef() (terra.Reference, error)

func (MtlsPolicyAttributes) InternalTokens

func (mp MtlsPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MtlsPolicyAttributes) InternalWithRef

func (mp MtlsPolicyAttributes) InternalWithRef(ref terra.Reference) MtlsPolicyAttributes

type MtlsPolicyClientValidationCa

type MtlsPolicyClientValidationCa struct {
	// MtlsPolicyClientValidationCaCertificateProviderInstance: optional
	CertificateProviderInstance *MtlsPolicyClientValidationCaCertificateProviderInstance `hcl:"certificate_provider_instance,block"`
	// MtlsPolicyClientValidationCaGrpcEndpoint: optional
	GrpcEndpoint *MtlsPolicyClientValidationCaGrpcEndpoint `hcl:"grpc_endpoint,block"`
}

type MtlsPolicyClientValidationCaAttributes

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

func (MtlsPolicyClientValidationCaAttributes) GrpcEndpoint

func (MtlsPolicyClientValidationCaAttributes) InternalRef

func (MtlsPolicyClientValidationCaAttributes) InternalTokens

func (MtlsPolicyClientValidationCaAttributes) InternalWithRef

type MtlsPolicyClientValidationCaCertificateProviderInstance

type MtlsPolicyClientValidationCaCertificateProviderInstance struct {
	// PluginInstance: string, required
	PluginInstance terra.StringValue `hcl:"plugin_instance,attr" validate:"required"`
}

type MtlsPolicyClientValidationCaCertificateProviderInstanceAttributes

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

func (MtlsPolicyClientValidationCaCertificateProviderInstanceAttributes) InternalRef

func (MtlsPolicyClientValidationCaCertificateProviderInstanceAttributes) InternalTokens

func (MtlsPolicyClientValidationCaCertificateProviderInstanceAttributes) InternalWithRef

func (MtlsPolicyClientValidationCaCertificateProviderInstanceAttributes) PluginInstance

type MtlsPolicyClientValidationCaCertificateProviderInstanceState

type MtlsPolicyClientValidationCaCertificateProviderInstanceState struct {
	PluginInstance string `json:"plugin_instance"`
}

type MtlsPolicyClientValidationCaGrpcEndpoint

type MtlsPolicyClientValidationCaGrpcEndpoint struct {
	// TargetUri: string, required
	TargetUri terra.StringValue `hcl:"target_uri,attr" validate:"required"`
}

type MtlsPolicyClientValidationCaGrpcEndpointAttributes

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

func (MtlsPolicyClientValidationCaGrpcEndpointAttributes) InternalRef

func (MtlsPolicyClientValidationCaGrpcEndpointAttributes) InternalTokens

func (MtlsPolicyClientValidationCaGrpcEndpointAttributes) InternalWithRef

func (MtlsPolicyClientValidationCaGrpcEndpointAttributes) TargetUri

type MtlsPolicyClientValidationCaGrpcEndpointState

type MtlsPolicyClientValidationCaGrpcEndpointState struct {
	TargetUri string `json:"target_uri"`
}

type MtlsPolicyClientValidationCaState

type MtlsPolicyClientValidationCaState struct {
	CertificateProviderInstance []MtlsPolicyClientValidationCaCertificateProviderInstanceState `json:"certificate_provider_instance"`
	GrpcEndpoint                []MtlsPolicyClientValidationCaGrpcEndpointState                `json:"grpc_endpoint"`
}

type MtlsPolicyState

type MtlsPolicyState struct {
	ClientValidationMode        string                              `json:"client_validation_mode"`
	ClientValidationTrustConfig string                              `json:"client_validation_trust_config"`
	ClientValidationCa          []MtlsPolicyClientValidationCaState `json:"client_validation_ca"`
}

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 google_network_security_server_tls_policy.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gnsstp *Resource) Attributes() googleNetworkSecurityServerTlsPolicyAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gnsstp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gnsstp *Resource) State() (*googleNetworkSecurityServerTlsPolicyState, bool)

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

func (*Resource) StateMust

func (gnsstp *Resource) StateMust() *googleNetworkSecurityServerTlsPolicyState

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

func (*Resource) Type

func (gnsstp *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServerCertificate

type ServerCertificate struct {
	// ServerCertificateCertificateProviderInstance: optional
	CertificateProviderInstance *ServerCertificateCertificateProviderInstance `hcl:"certificate_provider_instance,block"`
	// ServerCertificateGrpcEndpoint: optional
	GrpcEndpoint *ServerCertificateGrpcEndpoint `hcl:"grpc_endpoint,block"`
}

type ServerCertificateAttributes

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

func (ServerCertificateAttributes) CertificateProviderInstance

func (ServerCertificateAttributes) GrpcEndpoint

func (ServerCertificateAttributes) InternalRef

func (sc ServerCertificateAttributes) InternalRef() (terra.Reference, error)

func (ServerCertificateAttributes) InternalTokens

func (sc ServerCertificateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServerCertificateAttributes) InternalWithRef

type ServerCertificateCertificateProviderInstance

type ServerCertificateCertificateProviderInstance struct {
	// PluginInstance: string, required
	PluginInstance terra.StringValue `hcl:"plugin_instance,attr" validate:"required"`
}

type ServerCertificateCertificateProviderInstanceAttributes

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

func (ServerCertificateCertificateProviderInstanceAttributes) InternalRef

func (ServerCertificateCertificateProviderInstanceAttributes) InternalTokens

func (ServerCertificateCertificateProviderInstanceAttributes) InternalWithRef

func (ServerCertificateCertificateProviderInstanceAttributes) PluginInstance

type ServerCertificateCertificateProviderInstanceState

type ServerCertificateCertificateProviderInstanceState struct {
	PluginInstance string `json:"plugin_instance"`
}

type ServerCertificateGrpcEndpoint

type ServerCertificateGrpcEndpoint struct {
	// TargetUri: string, required
	TargetUri terra.StringValue `hcl:"target_uri,attr" validate:"required"`
}

type ServerCertificateGrpcEndpointAttributes

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

func (ServerCertificateGrpcEndpointAttributes) InternalRef

func (ServerCertificateGrpcEndpointAttributes) InternalTokens

func (ServerCertificateGrpcEndpointAttributes) InternalWithRef

func (ServerCertificateGrpcEndpointAttributes) TargetUri

type ServerCertificateGrpcEndpointState

type ServerCertificateGrpcEndpointState struct {
	TargetUri string `json:"target_uri"`
}

type ServerCertificateState

type ServerCertificateState struct {
	CertificateProviderInstance []ServerCertificateCertificateProviderInstanceState `json:"certificate_provider_instance"`
	GrpcEndpoint                []ServerCertificateGrpcEndpointState                `json:"grpc_endpoint"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,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) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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