google_vmwareengine_private_cloud

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"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PreferredZone: string, optional
	PreferredZone terra.StringValue `hcl:"preferred_zone,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// SecondaryZone: string, optional
	SecondaryZone terra.StringValue `hcl:"secondary_zone,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// ManagementCluster: required
	ManagementCluster *ManagementCluster `hcl:"management_cluster,block" validate:"required"`
	// NetworkConfig: required
	NetworkConfig *NetworkConfig `hcl:"network_config,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_vmwareengine_private_cloud.

type DataArgs

type DataArgs 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"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
}

DataArgs contains the configurations for google_vmwareengine_private_cloud.

type DataHcxAttributes

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

func (DataHcxAttributes) Fqdn

func (DataHcxAttributes) InternalIp

func (h DataHcxAttributes) InternalIp() terra.StringValue

func (DataHcxAttributes) InternalRef

func (h DataHcxAttributes) InternalRef() (terra.Reference, error)

func (DataHcxAttributes) InternalTokens

func (h DataHcxAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataHcxAttributes) InternalWithRef

func (h DataHcxAttributes) InternalWithRef(ref terra.Reference) DataHcxAttributes

func (DataHcxAttributes) State

func (DataHcxAttributes) Version

func (h DataHcxAttributes) Version() terra.StringValue

type DataHcxState

type DataHcxState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	Version    string `json:"version"`
}

type DataManagementClusterAttributes

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

func (DataManagementClusterAttributes) ClusterId

func (DataManagementClusterAttributes) InternalRef

func (DataManagementClusterAttributes) InternalTokens

func (mc DataManagementClusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataManagementClusterAttributes) InternalWithRef

func (DataManagementClusterAttributes) NodeTypeConfigs

type DataManagementClusterNodeTypeConfigsAttributes

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

func (DataManagementClusterNodeTypeConfigsAttributes) CustomCoreCount

func (DataManagementClusterNodeTypeConfigsAttributes) InternalRef

func (DataManagementClusterNodeTypeConfigsAttributes) InternalTokens

func (DataManagementClusterNodeTypeConfigsAttributes) InternalWithRef

func (DataManagementClusterNodeTypeConfigsAttributes) NodeCount

func (DataManagementClusterNodeTypeConfigsAttributes) NodeTypeId

type DataManagementClusterNodeTypeConfigsState

type DataManagementClusterNodeTypeConfigsState struct {
	CustomCoreCount float64 `json:"custom_core_count"`
	NodeCount       float64 `json:"node_count"`
	NodeTypeId      string  `json:"node_type_id"`
}

type DataManagementClusterState

type DataManagementClusterState struct {
	ClusterId       string                                      `json:"cluster_id"`
	NodeTypeConfigs []DataManagementClusterNodeTypeConfigsState `json:"node_type_configs"`
}

type DataNetworkConfigAttributes

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

func (DataNetworkConfigAttributes) DnsServerIp

func (DataNetworkConfigAttributes) InternalRef

func (nc DataNetworkConfigAttributes) InternalRef() (terra.Reference, error)

func (DataNetworkConfigAttributes) InternalTokens

func (nc DataNetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNetworkConfigAttributes) InternalWithRef

func (DataNetworkConfigAttributes) ManagementCidr

func (nc DataNetworkConfigAttributes) ManagementCidr() terra.StringValue

func (DataNetworkConfigAttributes) ManagementIpAddressLayoutVersion

func (nc DataNetworkConfigAttributes) ManagementIpAddressLayoutVersion() terra.NumberValue

func (DataNetworkConfigAttributes) VmwareEngineNetwork

func (nc DataNetworkConfigAttributes) VmwareEngineNetwork() terra.StringValue

func (DataNetworkConfigAttributes) VmwareEngineNetworkCanonical

func (nc DataNetworkConfigAttributes) VmwareEngineNetworkCanonical() terra.StringValue

type DataNetworkConfigState

type DataNetworkConfigState struct {
	DnsServerIp                      string  `json:"dns_server_ip"`
	ManagementCidr                   string  `json:"management_cidr"`
	ManagementIpAddressLayoutVersion float64 `json:"management_ip_address_layout_version"`
	VmwareEngineNetwork              string  `json:"vmware_engine_network"`
	VmwareEngineNetworkCanonical     string  `json:"vmware_engine_network_canonical"`
}

type DataNsxAttributes

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

func (DataNsxAttributes) Fqdn

func (DataNsxAttributes) InternalIp

func (n DataNsxAttributes) InternalIp() terra.StringValue

func (DataNsxAttributes) InternalRef

func (n DataNsxAttributes) InternalRef() (terra.Reference, error)

func (DataNsxAttributes) InternalTokens

func (n DataNsxAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNsxAttributes) InternalWithRef

func (n DataNsxAttributes) InternalWithRef(ref terra.Reference) DataNsxAttributes

func (DataNsxAttributes) State

func (DataNsxAttributes) Version

func (n DataNsxAttributes) Version() terra.StringValue

type DataNsxState

type DataNsxState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	Version    string `json:"version"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_vmwareengine_private_cloud.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gvpc *DataSource) Attributes() dataGoogleVmwareenginePrivateCloudAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gvpc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gvpc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gvpc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataVcenterAttributes

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

func (DataVcenterAttributes) Fqdn

func (DataVcenterAttributes) InternalIp

func (v DataVcenterAttributes) InternalIp() terra.StringValue

func (DataVcenterAttributes) InternalRef

func (v DataVcenterAttributes) InternalRef() (terra.Reference, error)

func (DataVcenterAttributes) InternalTokens

func (v DataVcenterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataVcenterAttributes) InternalWithRef

func (DataVcenterAttributes) State

func (DataVcenterAttributes) Version

type DataVcenterState

type DataVcenterState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	Version    string `json:"version"`
}

type HcxAttributes

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

func (HcxAttributes) Fqdn

func (h HcxAttributes) Fqdn() terra.StringValue

func (HcxAttributes) InternalIp

func (h HcxAttributes) InternalIp() terra.StringValue

func (HcxAttributes) InternalRef

func (h HcxAttributes) InternalRef() (terra.Reference, error)

func (HcxAttributes) InternalTokens

func (h HcxAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HcxAttributes) InternalWithRef

func (h HcxAttributes) InternalWithRef(ref terra.Reference) HcxAttributes

func (HcxAttributes) State

func (h HcxAttributes) State() terra.StringValue

func (HcxAttributes) Version

func (h HcxAttributes) Version() terra.StringValue

type HcxState

type HcxState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	Version    string `json:"version"`
}

type ManagementCluster

type ManagementCluster struct {
	// ClusterId: string, required
	ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"`
	// ManagementClusterNodeTypeConfigs: min=0
	NodeTypeConfigs []ManagementClusterNodeTypeConfigs `hcl:"node_type_configs,block" validate:"min=0"`
}

type ManagementClusterAttributes

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

func (ManagementClusterAttributes) ClusterId

func (ManagementClusterAttributes) InternalRef

func (mc ManagementClusterAttributes) InternalRef() (terra.Reference, error)

func (ManagementClusterAttributes) InternalTokens

func (mc ManagementClusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManagementClusterAttributes) InternalWithRef

func (ManagementClusterAttributes) NodeTypeConfigs

type ManagementClusterNodeTypeConfigs

type ManagementClusterNodeTypeConfigs struct {
	// CustomCoreCount: number, optional
	CustomCoreCount terra.NumberValue `hcl:"custom_core_count,attr"`
	// NodeCount: number, required
	NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"`
	// NodeTypeId: string, required
	NodeTypeId terra.StringValue `hcl:"node_type_id,attr" validate:"required"`
}

type ManagementClusterNodeTypeConfigsAttributes

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

func (ManagementClusterNodeTypeConfigsAttributes) CustomCoreCount

func (ManagementClusterNodeTypeConfigsAttributes) InternalRef

func (ManagementClusterNodeTypeConfigsAttributes) InternalTokens

func (ManagementClusterNodeTypeConfigsAttributes) InternalWithRef

func (ManagementClusterNodeTypeConfigsAttributes) NodeCount

func (ManagementClusterNodeTypeConfigsAttributes) NodeTypeId

type ManagementClusterNodeTypeConfigsState

type ManagementClusterNodeTypeConfigsState struct {
	CustomCoreCount float64 `json:"custom_core_count"`
	NodeCount       float64 `json:"node_count"`
	NodeTypeId      string  `json:"node_type_id"`
}

type ManagementClusterState

type ManagementClusterState struct {
	ClusterId       string                                  `json:"cluster_id"`
	NodeTypeConfigs []ManagementClusterNodeTypeConfigsState `json:"node_type_configs"`
}

type NetworkConfig

type NetworkConfig struct {
	// ManagementCidr: string, required
	ManagementCidr terra.StringValue `hcl:"management_cidr,attr" validate:"required"`
	// VmwareEngineNetwork: string, optional
	VmwareEngineNetwork terra.StringValue `hcl:"vmware_engine_network,attr"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) DnsServerIp

func (nc NetworkConfigAttributes) DnsServerIp() terra.StringValue

func (NetworkConfigAttributes) InternalRef

func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)

func (NetworkConfigAttributes) InternalTokens

func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigAttributes) InternalWithRef

func (NetworkConfigAttributes) ManagementCidr

func (nc NetworkConfigAttributes) ManagementCidr() terra.StringValue

func (NetworkConfigAttributes) ManagementIpAddressLayoutVersion

func (nc NetworkConfigAttributes) ManagementIpAddressLayoutVersion() terra.NumberValue

func (NetworkConfigAttributes) VmwareEngineNetwork

func (nc NetworkConfigAttributes) VmwareEngineNetwork() terra.StringValue

func (NetworkConfigAttributes) VmwareEngineNetworkCanonical

func (nc NetworkConfigAttributes) VmwareEngineNetworkCanonical() terra.StringValue

type NetworkConfigState

type NetworkConfigState struct {
	DnsServerIp                      string  `json:"dns_server_ip"`
	ManagementCidr                   string  `json:"management_cidr"`
	ManagementIpAddressLayoutVersion float64 `json:"management_ip_address_layout_version"`
	VmwareEngineNetwork              string  `json:"vmware_engine_network"`
	VmwareEngineNetworkCanonical     string  `json:"vmware_engine_network_canonical"`
}

type NsxAttributes

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

func (NsxAttributes) Fqdn

func (n NsxAttributes) Fqdn() terra.StringValue

func (NsxAttributes) InternalIp

func (n NsxAttributes) InternalIp() terra.StringValue

func (NsxAttributes) InternalRef

func (n NsxAttributes) InternalRef() (terra.Reference, error)

func (NsxAttributes) InternalTokens

func (n NsxAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NsxAttributes) InternalWithRef

func (n NsxAttributes) InternalWithRef(ref terra.Reference) NsxAttributes

func (NsxAttributes) State

func (n NsxAttributes) State() terra.StringValue

func (NsxAttributes) Version

func (n NsxAttributes) Version() terra.StringValue

type NsxState

type NsxState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	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 google_vmwareengine_private_cloud.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gvpc *Resource) Attributes() googleVmwareenginePrivateCloudAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gvpc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gvpc *Resource) State() (*googleVmwareenginePrivateCloudState, bool)

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

func (*Resource) StateMust

func (gvpc *Resource) StateMust() *googleVmwareenginePrivateCloudState

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

func (*Resource) Type

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

type VcenterAttributes

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

func (VcenterAttributes) Fqdn

func (VcenterAttributes) InternalIp

func (v VcenterAttributes) InternalIp() terra.StringValue

func (VcenterAttributes) InternalRef

func (v VcenterAttributes) InternalRef() (terra.Reference, error)

func (VcenterAttributes) InternalTokens

func (v VcenterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VcenterAttributes) InternalWithRef

func (v VcenterAttributes) InternalWithRef(ref terra.Reference) VcenterAttributes

func (VcenterAttributes) State

func (VcenterAttributes) Version

func (v VcenterAttributes) Version() terra.StringValue

type VcenterState

type VcenterState struct {
	Fqdn       string `json:"fqdn"`
	InternalIp string `json:"internal_ip"`
	State      string `json:"state"`
	Version    string `json:"version"`
}

Jump to

Keyboard shortcuts

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