google_certificate_manager_certificate

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"`
	// Scope: string, optional
	Scope terra.StringValue `hcl:"scope,attr"`
	// Managed: optional
	Managed *Managed `hcl:"managed,block"`
	// SelfManaged: optional
	SelfManaged *SelfManaged `hcl:"self_managed,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_certificate_manager_certificate.

type Managed

type Managed struct {
	// DnsAuthorizations: list of string, optional
	DnsAuthorizations terra.ListValue[terra.StringValue] `hcl:"dns_authorizations,attr"`
	// Domains: list of string, optional
	Domains terra.ListValue[terra.StringValue] `hcl:"domains,attr"`
	// IssuanceConfig: string, optional
	IssuanceConfig terra.StringValue `hcl:"issuance_config,attr"`
}

type ManagedAttributes

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

func (ManagedAttributes) AuthorizationAttemptInfo

func (ManagedAttributes) DnsAuthorizations

func (m ManagedAttributes) DnsAuthorizations() terra.ListValue[terra.StringValue]

func (ManagedAttributes) Domains

func (ManagedAttributes) InternalRef

func (m ManagedAttributes) InternalRef() (terra.Reference, error)

func (ManagedAttributes) InternalTokens

func (m ManagedAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManagedAttributes) InternalWithRef

func (m ManagedAttributes) InternalWithRef(ref terra.Reference) ManagedAttributes

func (ManagedAttributes) IssuanceConfig

func (m ManagedAttributes) IssuanceConfig() terra.StringValue

func (ManagedAttributes) ProvisioningIssue

func (ManagedAttributes) State

type ManagedAuthorizationAttemptInfoAttributes

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

func (ManagedAuthorizationAttemptInfoAttributes) Details

func (ManagedAuthorizationAttemptInfoAttributes) Domain

func (ManagedAuthorizationAttemptInfoAttributes) FailureReason

func (ManagedAuthorizationAttemptInfoAttributes) InternalRef

func (ManagedAuthorizationAttemptInfoAttributes) InternalTokens

func (ManagedAuthorizationAttemptInfoAttributes) InternalWithRef

func (ManagedAuthorizationAttemptInfoAttributes) State

type ManagedAuthorizationAttemptInfoState

type ManagedAuthorizationAttemptInfoState struct {
	Details       string `json:"details"`
	Domain        string `json:"domain"`
	FailureReason string `json:"failure_reason"`
	State         string `json:"state"`
}

type ManagedProvisioningIssueAttributes

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

func (ManagedProvisioningIssueAttributes) Details

func (ManagedProvisioningIssueAttributes) InternalRef

func (ManagedProvisioningIssueAttributes) InternalTokens

func (ManagedProvisioningIssueAttributes) InternalWithRef

func (ManagedProvisioningIssueAttributes) Reason

type ManagedProvisioningIssueState

type ManagedProvisioningIssueState struct {
	Details string `json:"details"`
	Reason  string `json:"reason"`
}

type ManagedState

type ManagedState struct {
	DnsAuthorizations        []string                               `json:"dns_authorizations"`
	Domains                  []string                               `json:"domains"`
	IssuanceConfig           string                                 `json:"issuance_config"`
	State                    string                                 `json:"state"`
	AuthorizationAttemptInfo []ManagedAuthorizationAttemptInfoState `json:"authorization_attempt_info"`
	ProvisioningIssue        []ManagedProvisioningIssueState        `json:"provisioning_issue"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcmc *Resource) Attributes() googleCertificateManagerCertificateAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcmc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcmc *Resource) State() (*googleCertificateManagerCertificateState, bool)

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

func (*Resource) StateMust

func (gcmc *Resource) StateMust() *googleCertificateManagerCertificateState

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

func (*Resource) Type

func (gcmc *Resource) Type() string

Type returns the Terraform object type for Resource.

type SelfManaged

type SelfManaged struct {
	// CertificatePem: string, optional
	CertificatePem terra.StringValue `hcl:"certificate_pem,attr"`
	// PemCertificate: string, optional
	PemCertificate terra.StringValue `hcl:"pem_certificate,attr"`
	// PemPrivateKey: string, optional
	PemPrivateKey terra.StringValue `hcl:"pem_private_key,attr"`
	// PrivateKeyPem: string, optional
	PrivateKeyPem terra.StringValue `hcl:"private_key_pem,attr"`
}

type SelfManagedAttributes

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

func (SelfManagedAttributes) CertificatePem

func (sm SelfManagedAttributes) CertificatePem() terra.StringValue

func (SelfManagedAttributes) InternalRef

func (sm SelfManagedAttributes) InternalRef() (terra.Reference, error)

func (SelfManagedAttributes) InternalTokens

func (sm SelfManagedAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SelfManagedAttributes) InternalWithRef

func (SelfManagedAttributes) PemCertificate

func (sm SelfManagedAttributes) PemCertificate() terra.StringValue

func (SelfManagedAttributes) PemPrivateKey

func (sm SelfManagedAttributes) PemPrivateKey() terra.StringValue

func (SelfManagedAttributes) PrivateKeyPem

func (sm SelfManagedAttributes) PrivateKeyPem() terra.StringValue

type SelfManagedState

type SelfManagedState struct {
	CertificatePem string `json:"certificate_pem"`
	PemCertificate string `json:"pem_certificate"`
	PemPrivateKey  string `json:"pem_private_key"`
	PrivateKeyPem  string `json:"private_key_pem"`
}

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