azurerm_cdn_endpoint_custom_domain

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 {
	// CdnEndpointId: string, required
	CdnEndpointId terra.StringValue `hcl:"cdn_endpoint_id,attr" validate:"required"`
	// HostName: string, required
	HostName terra.StringValue `hcl:"host_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// CdnManagedHttps: optional
	CdnManagedHttps *CdnManagedHttps `hcl:"cdn_managed_https,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UserManagedHttps: optional
	UserManagedHttps *UserManagedHttps `hcl:"user_managed_https,block"`
}

Args contains the configurations for azurerm_cdn_endpoint_custom_domain.

type CdnManagedHttps

type CdnManagedHttps struct {
	// CertificateType: string, required
	CertificateType terra.StringValue `hcl:"certificate_type,attr" validate:"required"`
	// ProtocolType: string, required
	ProtocolType terra.StringValue `hcl:"protocol_type,attr" validate:"required"`
	// TlsVersion: string, optional
	TlsVersion terra.StringValue `hcl:"tls_version,attr"`
}

type CdnManagedHttpsAttributes

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

func (CdnManagedHttpsAttributes) CertificateType

func (cmh CdnManagedHttpsAttributes) CertificateType() terra.StringValue

func (CdnManagedHttpsAttributes) InternalRef

func (cmh CdnManagedHttpsAttributes) InternalRef() (terra.Reference, error)

func (CdnManagedHttpsAttributes) InternalTokens

func (cmh CdnManagedHttpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CdnManagedHttpsAttributes) InternalWithRef

func (CdnManagedHttpsAttributes) ProtocolType

func (cmh CdnManagedHttpsAttributes) ProtocolType() terra.StringValue

func (CdnManagedHttpsAttributes) TlsVersion

func (cmh CdnManagedHttpsAttributes) TlsVersion() terra.StringValue

type CdnManagedHttpsState

type CdnManagedHttpsState struct {
	CertificateType string `json:"certificate_type"`
	ProtocolType    string `json:"protocol_type"`
	TlsVersion      string `json:"tls_version"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acecd *Resource) Attributes() azurermCdnEndpointCustomDomainAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acecd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acecd *Resource) State() (*azurermCdnEndpointCustomDomainState, bool)

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

func (*Resource) StateMust

func (acecd *Resource) StateMust() *azurermCdnEndpointCustomDomainState

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

func (*Resource) Type

func (acecd *Resource) Type() string

Type returns the Terraform object type for Resource.

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 (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) Read

func (TimeoutsAttributes) Update

type TimeoutsState

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

type UserManagedHttps

type UserManagedHttps struct {
	// KeyVaultCertificateId: string, optional
	KeyVaultCertificateId terra.StringValue `hcl:"key_vault_certificate_id,attr"`
	// KeyVaultSecretId: string, optional
	KeyVaultSecretId terra.StringValue `hcl:"key_vault_secret_id,attr"`
	// TlsVersion: string, optional
	TlsVersion terra.StringValue `hcl:"tls_version,attr"`
}

type UserManagedHttpsAttributes

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

func (UserManagedHttpsAttributes) InternalRef

func (umh UserManagedHttpsAttributes) InternalRef() (terra.Reference, error)

func (UserManagedHttpsAttributes) InternalTokens

func (umh UserManagedHttpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserManagedHttpsAttributes) InternalWithRef

func (UserManagedHttpsAttributes) KeyVaultCertificateId

func (umh UserManagedHttpsAttributes) KeyVaultCertificateId() terra.StringValue

func (UserManagedHttpsAttributes) KeyVaultSecretId

func (umh UserManagedHttpsAttributes) KeyVaultSecretId() terra.StringValue

func (UserManagedHttpsAttributes) TlsVersion

func (umh UserManagedHttpsAttributes) TlsVersion() terra.StringValue

type UserManagedHttpsState

type UserManagedHttpsState struct {
	KeyVaultCertificateId string `json:"key_vault_certificate_id"`
	KeyVaultSecretId      string `json:"key_vault_secret_id"`
	TlsVersion            string `json:"tls_version"`
}

Jump to

Keyboard shortcuts

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