azurerm_redhat_openshift_cluster

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 ApiServerProfile

type ApiServerProfile struct {
	// Visibility: string, required
	Visibility terra.StringValue `hcl:"visibility,attr" validate:"required"`
}

type ApiServerProfileAttributes

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

func (ApiServerProfileAttributes) InternalRef

func (asp ApiServerProfileAttributes) InternalRef() (terra.Reference, error)

func (ApiServerProfileAttributes) InternalTokens

func (asp ApiServerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApiServerProfileAttributes) InternalWithRef

func (ApiServerProfileAttributes) IpAddress

func (ApiServerProfileAttributes) Url

func (ApiServerProfileAttributes) Visibility

func (asp ApiServerProfileAttributes) Visibility() terra.StringValue

type ApiServerProfileState

type ApiServerProfileState struct {
	IpAddress  string `json:"ip_address"`
	Url        string `json:"url"`
	Visibility string `json:"visibility"`
}

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// ApiServerProfile: required
	ApiServerProfile *ApiServerProfile `hcl:"api_server_profile,block" validate:"required"`
	// ClusterProfile: required
	ClusterProfile *ClusterProfile `hcl:"cluster_profile,block" validate:"required"`
	// IngressProfile: required
	IngressProfile *IngressProfile `hcl:"ingress_profile,block" validate:"required"`
	// MainProfile: required
	MainProfile *MainProfile `hcl:"main_profile,block" validate:"required"`
	// NetworkProfile: required
	NetworkProfile *NetworkProfile `hcl:"network_profile,block" validate:"required"`
	// ServicePrincipal: required
	ServicePrincipal *ServicePrincipal `hcl:"service_principal,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// WorkerProfile: required
	WorkerProfile *WorkerProfile `hcl:"worker_profile,block" validate:"required"`
}

Args contains the configurations for azurerm_redhat_openshift_cluster.

type ClusterProfile

type ClusterProfile struct {
	// Domain: string, required
	Domain terra.StringValue `hcl:"domain,attr" validate:"required"`
	// FipsEnabled: bool, optional
	FipsEnabled terra.BoolValue `hcl:"fips_enabled,attr"`
	// PullSecret: string, optional
	PullSecret terra.StringValue `hcl:"pull_secret,attr"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type ClusterProfileAttributes

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

func (ClusterProfileAttributes) Domain

func (ClusterProfileAttributes) FipsEnabled

func (cp ClusterProfileAttributes) FipsEnabled() terra.BoolValue

func (ClusterProfileAttributes) InternalRef

func (cp ClusterProfileAttributes) InternalRef() (terra.Reference, error)

func (ClusterProfileAttributes) InternalTokens

func (cp ClusterProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClusterProfileAttributes) InternalWithRef

func (ClusterProfileAttributes) PullSecret

func (cp ClusterProfileAttributes) PullSecret() terra.StringValue

func (ClusterProfileAttributes) ResourceGroupId

func (cp ClusterProfileAttributes) ResourceGroupId() terra.StringValue

func (ClusterProfileAttributes) Version

type ClusterProfileState

type ClusterProfileState struct {
	Domain          string `json:"domain"`
	FipsEnabled     bool   `json:"fips_enabled"`
	PullSecret      string `json:"pull_secret"`
	ResourceGroupId string `json:"resource_group_id"`
	Version         string `json:"version"`
}

type IngressProfile

type IngressProfile struct {
	// Visibility: string, required
	Visibility terra.StringValue `hcl:"visibility,attr" validate:"required"`
}

type IngressProfileAttributes

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

func (IngressProfileAttributes) InternalRef

func (ip IngressProfileAttributes) InternalRef() (terra.Reference, error)

func (IngressProfileAttributes) InternalTokens

func (ip IngressProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IngressProfileAttributes) InternalWithRef

func (IngressProfileAttributes) IpAddress

func (IngressProfileAttributes) Name

func (IngressProfileAttributes) Visibility

func (ip IngressProfileAttributes) Visibility() terra.StringValue

type IngressProfileState

type IngressProfileState struct {
	IpAddress  string `json:"ip_address"`
	Name       string `json:"name"`
	Visibility string `json:"visibility"`
}

type MainProfile

type MainProfile struct {
	// DiskEncryptionSetId: string, optional
	DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"`
	// EncryptionAtHostEnabled: bool, optional
	EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"`
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
	// VmSize: string, required
	VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"`
}

type MainProfileAttributes

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

func (MainProfileAttributes) DiskEncryptionSetId

func (mp MainProfileAttributes) DiskEncryptionSetId() terra.StringValue

func (MainProfileAttributes) EncryptionAtHostEnabled

func (mp MainProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue

func (MainProfileAttributes) InternalRef

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

func (MainProfileAttributes) InternalTokens

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

func (MainProfileAttributes) InternalWithRef

func (MainProfileAttributes) SubnetId

func (mp MainProfileAttributes) SubnetId() terra.StringValue

func (MainProfileAttributes) VmSize

type MainProfileState

type MainProfileState struct {
	DiskEncryptionSetId     string `json:"disk_encryption_set_id"`
	EncryptionAtHostEnabled bool   `json:"encryption_at_host_enabled"`
	SubnetId                string `json:"subnet_id"`
	VmSize                  string `json:"vm_size"`
}

type NetworkProfile

type NetworkProfile struct {
	// OutboundType: string, optional
	OutboundType terra.StringValue `hcl:"outbound_type,attr"`
	// PodCidr: string, required
	PodCidr terra.StringValue `hcl:"pod_cidr,attr" validate:"required"`
	// ServiceCidr: string, required
	ServiceCidr terra.StringValue `hcl:"service_cidr,attr" validate:"required"`
}

type NetworkProfileAttributes

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

func (NetworkProfileAttributes) InternalRef

func (np NetworkProfileAttributes) InternalRef() (terra.Reference, error)

func (NetworkProfileAttributes) InternalTokens

func (np NetworkProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkProfileAttributes) InternalWithRef

func (NetworkProfileAttributes) OutboundType

func (np NetworkProfileAttributes) OutboundType() terra.StringValue

func (NetworkProfileAttributes) PodCidr

func (NetworkProfileAttributes) ServiceCidr

func (np NetworkProfileAttributes) ServiceCidr() terra.StringValue

type NetworkProfileState

type NetworkProfileState struct {
	OutboundType string `json:"outbound_type"`
	PodCidr      string `json:"pod_cidr"`
	ServiceCidr  string `json:"service_cidr"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aroc *Resource) Attributes() azurermRedhatOpenshiftClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aroc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aroc *Resource) State() (*azurermRedhatOpenshiftClusterState, bool)

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

func (*Resource) StateMust

func (aroc *Resource) StateMust() *azurermRedhatOpenshiftClusterState

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

func (*Resource) Type

func (aroc *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServicePrincipal

type ServicePrincipal struct {
	// ClientId: string, required
	ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"`
	// ClientSecret: string, required
	ClientSecret terra.StringValue `hcl:"client_secret,attr" validate:"required"`
}

type ServicePrincipalAttributes

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

func (ServicePrincipalAttributes) ClientId

func (ServicePrincipalAttributes) ClientSecret

func (sp ServicePrincipalAttributes) ClientSecret() terra.StringValue

func (ServicePrincipalAttributes) InternalRef

func (sp ServicePrincipalAttributes) InternalRef() (terra.Reference, error)

func (ServicePrincipalAttributes) InternalTokens

func (sp ServicePrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServicePrincipalAttributes) InternalWithRef

type ServicePrincipalState

type ServicePrincipalState struct {
	ClientId     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
}

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 WorkerProfile

type WorkerProfile struct {
	// DiskEncryptionSetId: string, optional
	DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"`
	// DiskSizeGb: number, required
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr" validate:"required"`
	// EncryptionAtHostEnabled: bool, optional
	EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"`
	// NodeCount: number, required
	NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"`
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
	// VmSize: string, required
	VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"`
}

type WorkerProfileAttributes

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

func (WorkerProfileAttributes) DiskEncryptionSetId

func (wp WorkerProfileAttributes) DiskEncryptionSetId() terra.StringValue

func (WorkerProfileAttributes) DiskSizeGb

func (wp WorkerProfileAttributes) DiskSizeGb() terra.NumberValue

func (WorkerProfileAttributes) EncryptionAtHostEnabled

func (wp WorkerProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue

func (WorkerProfileAttributes) InternalRef

func (wp WorkerProfileAttributes) InternalRef() (terra.Reference, error)

func (WorkerProfileAttributes) InternalTokens

func (wp WorkerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkerProfileAttributes) InternalWithRef

func (WorkerProfileAttributes) NodeCount

func (wp WorkerProfileAttributes) NodeCount() terra.NumberValue

func (WorkerProfileAttributes) SubnetId

func (WorkerProfileAttributes) VmSize

type WorkerProfileState

type WorkerProfileState struct {
	DiskEncryptionSetId     string  `json:"disk_encryption_set_id"`
	DiskSizeGb              float64 `json:"disk_size_gb"`
	EncryptionAtHostEnabled bool    `json:"encryption_at_host_enabled"`
	NodeCount               float64 `json:"node_count"`
	SubnetId                string  `json:"subnet_id"`
	VmSize                  string  `json:"vm_size"`
}

Jump to

Keyboard shortcuts

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