azurerm_kubernetes_cluster_extension

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 AksAssignedIdentityAttributes

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

func (AksAssignedIdentityAttributes) InternalRef

func (aai AksAssignedIdentityAttributes) InternalRef() (terra.Reference, error)

func (AksAssignedIdentityAttributes) InternalTokens

func (aai AksAssignedIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AksAssignedIdentityAttributes) InternalWithRef

func (AksAssignedIdentityAttributes) PrincipalId

func (AksAssignedIdentityAttributes) TenantId

func (AksAssignedIdentityAttributes) Type

type AksAssignedIdentityState

type AksAssignedIdentityState struct {
	PrincipalId string `json:"principal_id"`
	TenantId    string `json:"tenant_id"`
	Type        string `json:"type"`
}

type Args

type Args struct {
	// ClusterId: string, required
	ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"`
	// ConfigurationProtectedSettings: map of string, optional
	ConfigurationProtectedSettings terra.MapValue[terra.StringValue] `hcl:"configuration_protected_settings,attr"`
	// ConfigurationSettings: map of string, optional
	ConfigurationSettings terra.MapValue[terra.StringValue] `hcl:"configuration_settings,attr"`
	// ExtensionType: string, required
	ExtensionType terra.StringValue `hcl:"extension_type,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ReleaseNamespace: string, optional
	ReleaseNamespace terra.StringValue `hcl:"release_namespace,attr"`
	// ReleaseTrain: string, optional
	ReleaseTrain terra.StringValue `hcl:"release_train,attr"`
	// TargetNamespace: string, optional
	TargetNamespace terra.StringValue `hcl:"target_namespace,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// Plan: optional
	Plan *Plan `hcl:"plan,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_kubernetes_cluster_extension.

type Plan

type Plan struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Product: string, required
	Product terra.StringValue `hcl:"product,attr" validate:"required"`
	// PromotionCode: string, optional
	PromotionCode terra.StringValue `hcl:"promotion_code,attr"`
	// Publisher: string, required
	Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type PlanAttributes

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

func (PlanAttributes) InternalRef

func (p PlanAttributes) InternalRef() (terra.Reference, error)

func (PlanAttributes) InternalTokens

func (p PlanAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlanAttributes) InternalWithRef

func (p PlanAttributes) InternalWithRef(ref terra.Reference) PlanAttributes

func (PlanAttributes) Name

func (p PlanAttributes) Name() terra.StringValue

func (PlanAttributes) Product

func (p PlanAttributes) Product() terra.StringValue

func (PlanAttributes) PromotionCode

func (p PlanAttributes) PromotionCode() terra.StringValue

func (PlanAttributes) Publisher

func (p PlanAttributes) Publisher() terra.StringValue

func (PlanAttributes) Version

func (p PlanAttributes) Version() terra.StringValue

type PlanState

type PlanState struct {
	Name          string `json:"name"`
	Product       string `json:"product"`
	PromotionCode string `json:"promotion_code"`
	Publisher     string `json:"publisher"`
	Version       string `json:"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_kubernetes_cluster_extension.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (akce *Resource) Attributes() azurermKubernetesClusterExtensionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (akce *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (akce *Resource) State() (*azurermKubernetesClusterExtensionState, bool)

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

func (*Resource) StateMust

func (akce *Resource) StateMust() *azurermKubernetesClusterExtensionState

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

func (*Resource) Type

func (akce *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"`
}

Jump to

Keyboard shortcuts

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