power

package
v1.59.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: MPL-2.0 Imports: 30 Imported by: 0

README

GitHub issues by-label GitHub closed issues by-label
GitHub pull requests by-label GitHub closed pull requests by-label

Terraform IBM Provider Power Systems

This area is primarily for IBM provider contributors and maintainers. For information on using Terraform and the IBM provider, see the links below.

Documentation

Index

Constants

View Source
const (
	PICloudConnectionId               = "cloud_connection_id"
	PICloudConnectionName             = "name"
	PICloudConnectionSpeed            = "speed"
	PICloudConnectionGlobalRouting    = "global_routing"
	PICloudConnectionMetered          = "metered"
	PICloudConnectionStatus           = "status"
	PICloudConnectionClassicEnabled   = "classic_enabled"
	PICloudConnectionUserIPAddress    = "user_ip_address"
	PICloudConnectionIBMIPAddress     = "ibm_ip_address"
	PICloudConnectionPort             = "port"
	PICloudConnectionNetworks         = "networks"
	PICloudConnectionClassicGreDest   = "gre_destination_address"
	PICloudConnectionClassicGreSource = "gre_source_address"
	PICloudConnectionVPCEnabled       = "vpc_enabled"
	PICloudConnectionVPCCRNs          = "vpc_crns"
	PICloudConnectionConnectionMode   = "connection_mode"
)
View Source
const (
	DatacenterRegion = "region"
	DatacenterType   = "type"
	DatacenterUrl    = "url"
)
View Source
const (
	ConsoleLanguages    = "console_languages"
	ConsoleLanguageCode = "code"
	ConsoleLanguageDesc = "language"
)
View Source
const (
	MaximumStorageAllocation = "maximum_storage_allocation"
	StoragePoolsCapacity     = "storage_pools_capacity"
	MaxAllocationSize        = "max_allocation_size"
	PoolName                 = "pool_name"
	StoragePool              = "storage_pool"
	StorageType              = "storage_type"
	TotalCapacity            = "total_capacity"
	ReplicationEnabled       = "replication_enabled"
)
View Source
const (
	SystemPoolName     = "system_pool_name"
	SystemPools        = "system_pools"
	SystemPool         = "system_pool"
	Capacity           = "capacity"
	CoreMemoryRatio    = "core_memory_ratio"
	MaxAvailable       = "max_available"
	MaxCoresAvailable  = "max_cores_available"
	MaxMemoryAvailable = "max_memory_available"
	SharedCoreRatio    = "shared_core_ratio"
	Type               = "type"
	Systems            = "systems"
	Cores              = "cores"
	ID                 = "id"
	Memory             = "memory"
	Default            = "default"
	Max                = "max"
	Min                = "min"
)
View Source
const (
	WorkspaceCreationDate = "creation_date"
	WorkspaceCRN          = "crn"
	WorkspaceRegion       = "region"
	WorkspaceType         = "type"
	WorkspaceUrl          = "url"
)
View Source
const (
	// used by all
	Arg_CloudInstanceID = "pi_cloud_instance_id"

	// Keys
	Arg_KeyName = "pi_key_name"
	Arg_Key     = "pi_ssh_key"

	Attr_KeyID           = "key_id"
	Attr_Keys            = "keys"
	Attr_KeyCreationDate = "creation_date"
	Attr_Key             = "ssh_key"
	Attr_KeyName         = "name"

	// SAP Profile
	PISAPProfiles         = "profiles"
	PISAPProfileCertified = "certified"
	PISAPProfileCores     = "cores"
	PISAPProfileMemory    = "memory"
	PISAPProfileID        = "profile_id"
	PISAPProfileType      = "type"

	// DHCP
	Arg_DhcpCidr              = "pi_cidr"
	Arg_DhcpID                = "pi_dhcp_id"
	Arg_DhcpCloudConnectionID = "pi_cloud_connection_id"
	Arg_DhcpDnsServer         = "pi_dns_server"
	Arg_DhcpName              = "pi_dhcp_name"
	Arg_DhcpSnatEnabled       = "pi_dhcp_snat_enabled"

	Attr_DhcpServers           = "servers"
	Attr_DhcpID                = "dhcp_id"
	Attr_DhcpLeases            = "leases"
	Attr_DhcpLeaseInstanceIP   = "instance_ip"
	Attr_DhcpLeaseInstanceMac  = "instance_mac"
	Attr_DhcpNetworkDeprecated = "network" // to deprecate
	Attr_DhcpNetworkID         = "network_id"
	Attr_DhcpNetworkName       = "network_name"
	Attr_DhcpStatus            = "status"

	// Instance
	Arg_PVMInstanceId           = "pi_instance_id"
	Arg_PVMInstanceActionType   = "pi_action"
	Arg_PVMInstanceHealthStatus = "pi_health_status"

	Attr_Status       = "status"
	Attr_Progress     = "progress"
	Attr_HealthStatus = "health_status"

	PVMInstanceHealthOk      = "OK"
	PVMInstanceHealthWarning = "WARNING"

	// power service instance capabilities
	CUSTOM_VIRTUAL_CORES                 = "custom-virtualcores"
	PIInstanceDeploymentType             = "pi_deployment_type"
	PIInstanceNetwork                    = "pi_network"
	PIInstanceStoragePool                = "pi_storage_pool"
	PISAPInstanceProfileID               = "pi_sap_profile_id"
	PISAPInstanceDeploymentType          = "pi_sap_deployment_type"
	PIInstanceStoragePoolAffinity        = "pi_storage_pool_affinity"
	Arg_PIInstanceSharedProcessorPool    = "pi_shared_processor_pool"
	Attr_PIInstanceSharedProcessorPool   = "shared_processor_pool"
	Attr_PIInstanceSharedProcessorPoolID = "shared_processor_pool_id"

	// Placement Group
	PIPlacementGroupID      = "placement_group_id"
	PIPlacementGroupMembers = "members"

	// Volume
	PIAffinityPolicy        = "pi_affinity_policy"
	PIAffinityVolume        = "pi_affinity_volume"
	PIAffinityInstance      = "pi_affinity_instance"
	PIAntiAffinityInstances = "pi_anti_affinity_instances"
	PIAntiAffinityVolumes   = "pi_anti_affinity_volumes"

	// IBM PI Volume Group
	PIVolumeGroupName                 = "pi_volume_group_name"
	PIVolumeGroupsVolumeIds           = "pi_volume_ids"
	PIVolumeGroupConsistencyGroupName = "pi_consistency_group_name"
	PIVolumeGroupID                   = "pi_volume_group_id"
	PIVolumeGroupAction               = "pi_volume_group_action"
	PIVolumeOnboardingID              = "pi_volume_onboarding_id"

	// Disaster Recovery Location
	PIDRLocation = "location"

	// VPN
	PIVPNConnectionId                         = "connection_id"
	PIVPNConnectionStatus                     = "connection_status"
	PIVPNConnectionDeadPeerDetection          = "dead_peer_detections"
	PIVPNConnectionDeadPeerDetectionAction    = "action"
	PIVPNConnectionDeadPeerDetectionInterval  = "interval"
	PIVPNConnectionDeadPeerDetectionThreshold = "threshold"
	PIVPNConnectionLocalGatewayAddress        = "local_gateway_address"
	PIVPNConnectionVpnGatewayAddress          = "gateway_address"

	// Cloud Connections
	PICloudConnectionTransitEnabled = "pi_cloud_connection_transit_enabled"

	// Shared Processor Pool
	Arg_SharedProcessorPoolName                      = "pi_shared_processor_pool_name"
	Arg_SharedProcessorPoolHostGroup                 = "pi_shared_processor_pool_host_group"
	Arg_SharedProcessorPoolPlacementGroupID          = "pi_shared_processor_pool_placement_group_id"
	Arg_SharedProcessorPoolReservedCores             = "pi_shared_processor_pool_reserved_cores"
	Arg_SharedProcessorPoolID                        = "pi_shared_processor_pool_id"
	Attr_SharedProcessorPoolID                       = "shared_processor_pool_id"
	Attr_SharedProcessorPoolName                     = "name"
	Attr_SharedProcessorPoolReservedCores            = "reserved_cores"
	Attr_SharedProcessorPoolAvailableCores           = "available_cores"
	Attr_SharedProcessorPoolAllocatedCores           = "allocated_cores"
	Attr_SharedProcessorPoolHostID                   = "host_id"
	Attr_SharedProcessorPoolStatus                   = "status"
	Attr_SharedProcessorPoolStatusDetail             = "status_detail"
	Attr_SharedProcessorPoolPlacementGroups          = "spp_placement_groups"
	Attr_SharedProcessorPoolInstances                = "instances"
	Attr_SharedProcessorPoolInstanceCpus             = "cpus"
	Attr_SharedProcessorPoolInstanceUncapped         = "uncapped"
	Attr_SharedProcessorPoolInstanceAvailabilityZone = "availability_zone"
	Attr_SharedProcessorPoolInstanceId               = "id"
	Attr_SharedProcessorPoolInstanceMemory           = "memory"
	Attr_SharedProcessorPoolInstanceName             = "name"
	Attr_SharedProcessorPoolInstanceStatus           = "status"
	Attr_SharedProcessorPoolInstanceVcpus            = "vcpus"

	// SPP Placement Group
	Arg_SPPPlacementGroupName     = "pi_spp_placement_group_name"
	Arg_SPPPlacementGroupPolicy   = "pi_spp_placement_group_policy"
	Attr_SPPPlacementGroupID      = "spp_placement_group_id"
	Attr_SPPPlacementGroupMembers = "members"
	Arg_SPPPlacementGroupID       = "pi_spp_placement_group_id"
	Attr_SPPPlacementGroupPolicy  = "policy"
	Attr_SPPPlacementGroupName    = "name"

	// status
	// common status states
	StatusShutoff = "SHUTOFF"
	StatusActive  = "ACTIVE"
	StatusResize  = "RESIZE"
	StatusError   = "ERROR"
	StatusBuild   = "BUILD"
	StatusPending = "PENDING"
	SctionStart   = "start"
	SctionStop    = "stop"

	// Workspaces
	Attr_WorkspaceCapabilities = "pi_workspace_capabilities"
	Attr_WorkspaceDetails      = "pi_workspace_details"
	Attr_WorkspaceID           = "pi_workspace_id"
	Attr_WorkspaceLocation     = "pi_workspace_location"
	Attr_WorkspaceName         = "pi_workspace_name"
	Attr_WorkspaceStatus       = "pi_workspace_status"
	Attr_WorkspaceType         = "pi_workspace_type"

	// Datacenter
	Arg_DatacenterZone          = "pi_datacenter_zone"
	Attr_DatacenterCapabilities = "pi_datacenter_capabilities"
	Attr_DatacenterLocation     = "pi_datacenter_location"
	Attr_DatacenterStatus       = "pi_datacenter_status"
	Attr_DatacenterType         = "pi_datacenter_type"
	Attr_DatacenterHref         = "pi_datacenter_href"
)
View Source
const (
	Datacenters = "datacenters"
)
View Source
const (
	PICloudConnectionNetworkId = "pi_network_id"
)
View Source
const PICloudConnections = "connections"
View Source
const (
	PIConsoleLanguageCode = "pi_language_code"
)
View Source
const (
	PIPlacementGroups = "placement_groups"
)
View Source
const (
	PIPolicyId = "policy_id"
)
View Source
const (
	PIPoolName = "pi_storage_pool"
)
View Source
const (
	PISPPPlacementGroups = "spp_placement_groups"
)
View Source
const (
	PISharedProcessorPools = "shared_processor_pools"
)
View Source
const (
	PITypeName = "pi_storage_type"
)
View Source
const (
	StorageTypesCapacity = "storage_types_capacity"
)
View Source
const (
	Workspaces = "workspaces"
)

Variables

This section is empty.

Functions

func DataSourceIBMPICatalogImages

func DataSourceIBMPICatalogImages() *schema.Resource

Datasource to get the list of images that are available when a power instance is created

func DataSourceIBMPICloudConnection

func DataSourceIBMPICloudConnection() *schema.Resource

func DataSourceIBMPICloudConnections

func DataSourceIBMPICloudConnections() *schema.Resource

func DataSourceIBMPICloudInstance

func DataSourceIBMPICloudInstance() *schema.Resource

func DataSourceIBMPIDatacenter added in v1.59.0

func DataSourceIBMPIDatacenter() *schema.Resource

func DataSourceIBMPIDatacenters added in v1.59.0

func DataSourceIBMPIDatacenters() *schema.Resource

func DataSourceIBMPIDhcp

func DataSourceIBMPIDhcp() *schema.Resource

func DataSourceIBMPIDhcps

func DataSourceIBMPIDhcps() *schema.Resource

func DataSourceIBMPIDisasterRecoveryLocation added in v1.48.0

func DataSourceIBMPIDisasterRecoveryLocation() *schema.Resource

func DataSourceIBMPIDisasterRecoveryLocations added in v1.48.0

func DataSourceIBMPIDisasterRecoveryLocations() *schema.Resource

func DataSourceIBMPIImage

func DataSourceIBMPIImage() *schema.Resource

func DataSourceIBMPIImages

func DataSourceIBMPIImages() *schema.Resource

Datasource to get the list of images that are available when a power instance is created

func DataSourceIBMPIInstance

func DataSourceIBMPIInstance() *schema.Resource

func DataSourceIBMPIInstanceConsoleLanguages

func DataSourceIBMPIInstanceConsoleLanguages() *schema.Resource

Datasource to get the list of available console languages for an instance

func DataSourceIBMPIInstanceIP

func DataSourceIBMPIInstanceIP() *schema.Resource

func DataSourceIBMPIInstanceVolumes

func DataSourceIBMPIInstanceVolumes() *schema.Resource

func DataSourceIBMPIInstances

func DataSourceIBMPIInstances() *schema.Resource

func DataSourceIBMPIKey

func DataSourceIBMPIKey() *schema.Resource

func DataSourceIBMPIKeys

func DataSourceIBMPIKeys() *schema.Resource

func DataSourceIBMPINetwork

func DataSourceIBMPINetwork() *schema.Resource

func DataSourceIBMPINetworkPort

func DataSourceIBMPINetworkPort() *schema.Resource

func DataSourceIBMPIPlacementGroup

func DataSourceIBMPIPlacementGroup() *schema.Resource

func DataSourceIBMPIPlacementGroups

func DataSourceIBMPIPlacementGroups() *schema.Resource

func DataSourceIBMPIPublicNetwork

func DataSourceIBMPIPublicNetwork() *schema.Resource

func DataSourceIBMPISAPProfile

func DataSourceIBMPISAPProfile() *schema.Resource

func DataSourceIBMPISAPProfiles

func DataSourceIBMPISAPProfiles() *schema.Resource

func DataSourceIBMPISPPPlacementGroup added in v1.46.0

func DataSourceIBMPISPPPlacementGroup() *schema.Resource

func DataSourceIBMPISPPPlacementGroups added in v1.46.0

func DataSourceIBMPISPPPlacementGroups() *schema.Resource

func DataSourceIBMPISharedProcessorPool added in v1.46.0

func DataSourceIBMPISharedProcessorPool() *schema.Resource

func DataSourceIBMPISharedProcessorPools added in v1.46.0

func DataSourceIBMPISharedProcessorPools() *schema.Resource

func DataSourceIBMPISnapshot

func DataSourceIBMPISnapshot() *schema.Resource

func DataSourceIBMPISnapshots

func DataSourceIBMPISnapshots() *schema.Resource

func DataSourceIBMPIStoragePoolCapacity added in v1.40.0

func DataSourceIBMPIStoragePoolCapacity() *schema.Resource

func DataSourceIBMPIStoragePoolsCapacity added in v1.40.0

func DataSourceIBMPIStoragePoolsCapacity() *schema.Resource

func DataSourceIBMPIStorageTypeCapacity added in v1.40.0

func DataSourceIBMPIStorageTypeCapacity() *schema.Resource

func DataSourceIBMPIStorageTypesCapacity added in v1.40.0

func DataSourceIBMPIStorageTypesCapacity() *schema.Resource

func DataSourceIBMPISystemPools added in v1.42.0

func DataSourceIBMPISystemPools() *schema.Resource

func DataSourceIBMPITenant

func DataSourceIBMPITenant() *schema.Resource

func DataSourceIBMPIVolume

func DataSourceIBMPIVolume() *schema.Resource

func DataSourceIBMPIVolumeFlashCopyMappings added in v1.48.0

func DataSourceIBMPIVolumeFlashCopyMappings() *schema.Resource

func DataSourceIBMPIVolumeGroup added in v1.48.0

func DataSourceIBMPIVolumeGroup() *schema.Resource

func DataSourceIBMPIVolumeGroupDetails added in v1.48.0

func DataSourceIBMPIVolumeGroupDetails() *schema.Resource

func DataSourceIBMPIVolumeGroupRemoteCopyRelationships added in v1.48.0

func DataSourceIBMPIVolumeGroupRemoteCopyRelationships() *schema.Resource

func DataSourceIBMPIVolumeGroupStorageDetails added in v1.48.0

func DataSourceIBMPIVolumeGroupStorageDetails() *schema.Resource

func DataSourceIBMPIVolumeGroups added in v1.48.0

func DataSourceIBMPIVolumeGroups() *schema.Resource

func DataSourceIBMPIVolumeGroupsDetails added in v1.48.0

func DataSourceIBMPIVolumeGroupsDetails() *schema.Resource

func DataSourceIBMPIVolumeOnboarding added in v1.48.0

func DataSourceIBMPIVolumeOnboarding() *schema.Resource

func DataSourceIBMPIVolumeOnboardings added in v1.48.0

func DataSourceIBMPIVolumeOnboardings() *schema.Resource

func DataSourceIBMPIVolumeRemoteCopyRelationship added in v1.48.0

func DataSourceIBMPIVolumeRemoteCopyRelationship() *schema.Resource

func DatasourceIBMPIWorkspace added in v1.59.0

func DatasourceIBMPIWorkspace() *schema.Resource

func DatasourceIBMPIWorkspaces added in v1.59.0

func DatasourceIBMPIWorkspaces() *schema.Resource

func ResourceIBMPICapture

func ResourceIBMPICapture() *schema.Resource

func ResourceIBMPICloudConnection

func ResourceIBMPICloudConnection() *schema.Resource

func ResourceIBMPICloudConnectionNetworkAttach added in v1.41.0

func ResourceIBMPICloudConnectionNetworkAttach() *schema.Resource

func ResourceIBMPIDhcp

func ResourceIBMPIDhcp() *schema.Resource

func ResourceIBMPIIKEPolicy

func ResourceIBMPIIKEPolicy() *schema.Resource

func ResourceIBMPIIPSecPolicy

func ResourceIBMPIIPSecPolicy() *schema.Resource

func ResourceIBMPIImage

func ResourceIBMPIImage() *schema.Resource

func ResourceIBMPIImageExport

func ResourceIBMPIImageExport() *schema.Resource

func ResourceIBMPIInstance

func ResourceIBMPIInstance() *schema.Resource

func ResourceIBMPIInstanceAction added in v1.46.0

func ResourceIBMPIInstanceAction() *schema.Resource

func ResourceIBMPIInstanceConsoleLanguage

func ResourceIBMPIInstanceConsoleLanguage() *schema.Resource

func ResourceIBMPIKey

func ResourceIBMPIKey() *schema.Resource

func ResourceIBMPINetwork

func ResourceIBMPINetwork() *schema.Resource

func ResourceIBMPINetworkPort

func ResourceIBMPINetworkPort() *schema.Resource

func ResourceIBMPINetworkPortAttach

func ResourceIBMPINetworkPortAttach() *schema.Resource

func ResourceIBMPIPlacementGroup

func ResourceIBMPIPlacementGroup() *schema.Resource

func ResourceIBMPISPPPlacementGroup added in v1.46.0

func ResourceIBMPISPPPlacementGroup() *schema.Resource

func ResourceIBMPISharedProcessorPool added in v1.46.0

func ResourceIBMPISharedProcessorPool() *schema.Resource

func ResourceIBMPISnapshot

func ResourceIBMPISnapshot() *schema.Resource

func ResourceIBMPIVPNConnection

func ResourceIBMPIVPNConnection() *schema.Resource

func ResourceIBMPIVolume

func ResourceIBMPIVolume() *schema.Resource

func ResourceIBMPIVolumeAttach

func ResourceIBMPIVolumeAttach() *schema.Resource

func ResourceIBMPIVolumeGroup added in v1.48.0

func ResourceIBMPIVolumeGroup() *schema.Resource

func ResourceIBMPIVolumeGroupAction added in v1.48.0

func ResourceIBMPIVolumeGroupAction() *schema.Resource

func ResourceIBMPIVolumeOnboarding added in v1.48.0

func ResourceIBMPIVolumeOnboarding() *schema.Resource

func ResourceIBMPIVolumeValidator

func ResourceIBMPIVolumeValidator() *validate.ResourceValidator

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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