google_apigee_keystores_aliases_self_signed_cert

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 {
	// Alias: string, required
	Alias terra.StringValue `hcl:"alias,attr" validate:"required"`
	// CertValidityInDays: number, optional
	CertValidityInDays terra.NumberValue `hcl:"cert_validity_in_days,attr"`
	// Environment: string, required
	Environment terra.StringValue `hcl:"environment,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KeySize: string, optional
	KeySize terra.StringValue `hcl:"key_size,attr"`
	// Keystore: string, required
	Keystore terra.StringValue `hcl:"keystore,attr" validate:"required"`
	// OrgId: string, required
	OrgId terra.StringValue `hcl:"org_id,attr" validate:"required"`
	// SigAlg: string, required
	SigAlg terra.StringValue `hcl:"sig_alg,attr" validate:"required"`
	// Subject: required
	Subject *Subject `hcl:"subject,block" validate:"required"`
	// SubjectAlternativeDnsNames: optional
	SubjectAlternativeDnsNames *SubjectAlternativeDnsNames `hcl:"subject_alternative_dns_names,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_apigee_keystores_aliases_self_signed_cert.

type CertsInfoAttributes

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

func (CertsInfoAttributes) CertInfo

func (CertsInfoAttributes) InternalRef

func (ci CertsInfoAttributes) InternalRef() (terra.Reference, error)

func (CertsInfoAttributes) InternalTokens

func (ci CertsInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CertsInfoAttributes) InternalWithRef

func (ci CertsInfoAttributes) InternalWithRef(ref terra.Reference) CertsInfoAttributes

type CertsInfoCertInfoAttributes

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

func (CertsInfoCertInfoAttributes) BasicConstraints

func (ci CertsInfoCertInfoAttributes) BasicConstraints() terra.StringValue

func (CertsInfoCertInfoAttributes) ExpiryDate

func (CertsInfoCertInfoAttributes) InternalRef

func (ci CertsInfoCertInfoAttributes) InternalRef() (terra.Reference, error)

func (CertsInfoCertInfoAttributes) InternalTokens

func (ci CertsInfoCertInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CertsInfoCertInfoAttributes) InternalWithRef

func (CertsInfoCertInfoAttributes) IsValid

func (CertsInfoCertInfoAttributes) Issuer

func (CertsInfoCertInfoAttributes) PublicKey

func (CertsInfoCertInfoAttributes) SerialNumber

func (ci CertsInfoCertInfoAttributes) SerialNumber() terra.StringValue

func (CertsInfoCertInfoAttributes) SigAlgName

func (CertsInfoCertInfoAttributes) Subject

func (CertsInfoCertInfoAttributes) SubjectAlternativeNames

func (ci CertsInfoCertInfoAttributes) SubjectAlternativeNames() terra.ListValue[terra.StringValue]

func (CertsInfoCertInfoAttributes) ValidFrom

func (CertsInfoCertInfoAttributes) Version

type CertsInfoCertInfoState

type CertsInfoCertInfoState struct {
	BasicConstraints        string   `json:"basic_constraints"`
	ExpiryDate              string   `json:"expiry_date"`
	IsValid                 string   `json:"is_valid"`
	Issuer                  string   `json:"issuer"`
	PublicKey               string   `json:"public_key"`
	SerialNumber            string   `json:"serial_number"`
	SigAlgName              string   `json:"sig_alg_name"`
	Subject                 string   `json:"subject"`
	SubjectAlternativeNames []string `json:"subject_alternative_names"`
	ValidFrom               string   `json:"valid_from"`
	Version                 float64  `json:"version"`
}

type CertsInfoState

type CertsInfoState struct {
	CertInfo []CertsInfoCertInfoState `json:"cert_info"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gakassc *Resource) Attributes() googleApigeeKeystoresAliasesSelfSignedCertAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gakassc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gakassc *Resource) State() (*googleApigeeKeystoresAliasesSelfSignedCertState, bool)

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

func (*Resource) StateMust

func (gakassc *Resource) StateMust() *googleApigeeKeystoresAliasesSelfSignedCertState

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

func (*Resource) Type

func (gakassc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Subject

type Subject struct {
	// CommonName: string, optional
	CommonName terra.StringValue `hcl:"common_name,attr"`
	// CountryCode: string, optional
	CountryCode terra.StringValue `hcl:"country_code,attr"`
	// Email: string, optional
	Email terra.StringValue `hcl:"email,attr"`
	// Locality: string, optional
	Locality terra.StringValue `hcl:"locality,attr"`
	// Org: string, optional
	Org terra.StringValue `hcl:"org,attr"`
	// OrgUnit: string, optional
	OrgUnit terra.StringValue `hcl:"org_unit,attr"`
	// State: string, optional
	State terra.StringValue `hcl:"state,attr"`
}

type SubjectAlternativeDnsNames

type SubjectAlternativeDnsNames struct {
	// SubjectAlternativeName: string, optional
	SubjectAlternativeName terra.StringValue `hcl:"subject_alternative_name,attr"`
}

type SubjectAlternativeDnsNamesAttributes

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

func (SubjectAlternativeDnsNamesAttributes) InternalRef

func (SubjectAlternativeDnsNamesAttributes) InternalTokens

func (sadn SubjectAlternativeDnsNamesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SubjectAlternativeDnsNamesAttributes) InternalWithRef

func (SubjectAlternativeDnsNamesAttributes) SubjectAlternativeName

func (sadn SubjectAlternativeDnsNamesAttributes) SubjectAlternativeName() terra.StringValue

type SubjectAlternativeDnsNamesState

type SubjectAlternativeDnsNamesState struct {
	SubjectAlternativeName string `json:"subject_alternative_name"`
}

type SubjectAttributes

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

func (SubjectAttributes) CommonName

func (s SubjectAttributes) CommonName() terra.StringValue

func (SubjectAttributes) CountryCode

func (s SubjectAttributes) CountryCode() terra.StringValue

func (SubjectAttributes) Email

func (SubjectAttributes) InternalRef

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

func (SubjectAttributes) InternalTokens

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

func (SubjectAttributes) InternalWithRef

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

func (SubjectAttributes) Locality

func (s SubjectAttributes) Locality() terra.StringValue

func (SubjectAttributes) Org

func (SubjectAttributes) OrgUnit

func (s SubjectAttributes) OrgUnit() terra.StringValue

func (SubjectAttributes) State

type SubjectState

type SubjectState struct {
	CommonName  string `json:"common_name"`
	CountryCode string `json:"country_code"`
	Email       string `json:"email"`
	Locality    string `json:"locality"`
	Org         string `json:"org"`
	OrgUnit     string `json:"org_unit"`
	State       string `json:"state"`
}

type Timeouts

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

type TimeoutsState

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

Jump to

Keyboard shortcuts

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