google_network_security_client_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 {
	// 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"`
	// Sni: string, optional
	Sni terra.StringValue `hcl:"sni,attr"`
	// ClientCertificate: optional
	ClientCertificate *ClientCertificate `hcl:"client_certificate,block"`
	// ServerValidationCa: min=0
	ServerValidationCa []ServerValidationCa `hcl:"server_validation_ca,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_network_security_client_tls_policy.

type ClientCertificate

type ClientCertificate struct {
	// ClientCertificateCertificateProviderInstance: optional
	CertificateProviderInstance *ClientCertificateCertificateProviderInstance `hcl:"certificate_provider_instance,block"`
	// ClientCertificateGrpcEndpoint: optional
	GrpcEndpoint *ClientCertificateGrpcEndpoint `hcl:"grpc_endpoint,block"`
}

type ClientCertificateAttributes

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

func (ClientCertificateAttributes) CertificateProviderInstance

func (ClientCertificateAttributes) GrpcEndpoint

func (ClientCertificateAttributes) InternalRef

func (cc ClientCertificateAttributes) InternalRef() (terra.Reference, error)

func (ClientCertificateAttributes) InternalTokens

func (cc ClientCertificateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientCertificateAttributes) InternalWithRef

type ClientCertificateCertificateProviderInstance

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

type ClientCertificateCertificateProviderInstanceAttributes

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

func (ClientCertificateCertificateProviderInstanceAttributes) InternalRef

func (ClientCertificateCertificateProviderInstanceAttributes) InternalTokens

func (ClientCertificateCertificateProviderInstanceAttributes) InternalWithRef

func (ClientCertificateCertificateProviderInstanceAttributes) PluginInstance

type ClientCertificateCertificateProviderInstanceState

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

type ClientCertificateGrpcEndpoint

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

type ClientCertificateGrpcEndpointAttributes

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

func (ClientCertificateGrpcEndpointAttributes) InternalRef

func (ClientCertificateGrpcEndpointAttributes) InternalTokens

func (ClientCertificateGrpcEndpointAttributes) InternalWithRef

func (ClientCertificateGrpcEndpointAttributes) TargetUri

type ClientCertificateGrpcEndpointState

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

type ClientCertificateState

type ClientCertificateState struct {
	CertificateProviderInstance []ClientCertificateCertificateProviderInstanceState `json:"certificate_provider_instance"`
	GrpcEndpoint                []ClientCertificateGrpcEndpointState                `json:"grpc_endpoint"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gnsctp *Resource) Attributes() googleNetworkSecurityClientTlsPolicyAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gnsctp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gnsctp *Resource) State() (*googleNetworkSecurityClientTlsPolicyState, bool)

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

func (*Resource) StateMust

func (gnsctp *Resource) StateMust() *googleNetworkSecurityClientTlsPolicyState

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

func (*Resource) Type

func (gnsctp *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServerValidationCa

type ServerValidationCa struct {
	// ServerValidationCaCertificateProviderInstance: optional
	CertificateProviderInstance *ServerValidationCaCertificateProviderInstance `hcl:"certificate_provider_instance,block"`
	// ServerValidationCaGrpcEndpoint: optional
	GrpcEndpoint *ServerValidationCaGrpcEndpoint `hcl:"grpc_endpoint,block"`
}

type ServerValidationCaAttributes

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

func (ServerValidationCaAttributes) CertificateProviderInstance

func (ServerValidationCaAttributes) GrpcEndpoint

func (ServerValidationCaAttributes) InternalRef

func (svc ServerValidationCaAttributes) InternalRef() (terra.Reference, error)

func (ServerValidationCaAttributes) InternalTokens

func (svc ServerValidationCaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServerValidationCaAttributes) InternalWithRef

type ServerValidationCaCertificateProviderInstance

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

type ServerValidationCaCertificateProviderInstanceAttributes

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

func (ServerValidationCaCertificateProviderInstanceAttributes) InternalRef

func (ServerValidationCaCertificateProviderInstanceAttributes) InternalTokens

func (ServerValidationCaCertificateProviderInstanceAttributes) InternalWithRef

func (ServerValidationCaCertificateProviderInstanceAttributes) PluginInstance

type ServerValidationCaCertificateProviderInstanceState

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

type ServerValidationCaGrpcEndpoint

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

type ServerValidationCaGrpcEndpointAttributes

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

func (ServerValidationCaGrpcEndpointAttributes) InternalRef

func (ServerValidationCaGrpcEndpointAttributes) InternalTokens

func (ServerValidationCaGrpcEndpointAttributes) InternalWithRef

func (ServerValidationCaGrpcEndpointAttributes) TargetUri

type ServerValidationCaGrpcEndpointState

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

type ServerValidationCaState

type ServerValidationCaState struct {
	CertificateProviderInstance []ServerValidationCaCertificateProviderInstanceState `json:"certificate_provider_instance"`
	GrpcEndpoint                []ServerValidationCaGrpcEndpointState                `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