Skip to content

Commit

Permalink
[Refactor] Power image refactor (#5905)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kita authored Jan 11, 2025
1 parent bddb3a0 commit 062bd87
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 170 deletions.
13 changes: 13 additions & 0 deletions ibm/service/power/ibm_pi_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ const (
Arg_IBMiCSS = "pi_ibmi_css"
Arg_IBMiPHA = "pi_ibmi_pha"
Arg_IBMiRDSUsers = "pi_ibmi_rds_users"
Arg_ImageAccessKey = "pi_image_access_key"
Arg_ImageBucketAccess = "pi_image_bucket_access"
Arg_ImageBucketFileName = "pi_image_bucket_file_name"
Arg_ImageBucketName = "pi_image_bucket_name"
Arg_ImageBucketRegion = "pi_image_bucket_region"
Arg_ImageID = "pi_image_id"
Arg_ImageImportDetails = "pi_image_import_details"
Arg_ImageName = "pi_image_name"
Arg_ImageSecretKey = "pi_image_secret_key"
Arg_ImageStoragePool = "pi_image_storage_pool"
Arg_ImageStorageType = "pi_image_storage_type"
Arg_InstanceID = "pi_instance_id"
Arg_InstanceName = "pi_instance_name"
Arg_IPAddress = "pi_ip_address"
Expand Down Expand Up @@ -597,23 +605,28 @@ const (
State_Found = "Found"
State_Inactive = "inactive"
State_InProgress = "in progress"
State_inProgress = "inProgress"
State_InUse = "in-use"
State_NotFound = "not found"
State_Pending = "pending"
State_PENDING = "PENDING"
State_PendingReclamation = "pending_reclamation"
State_Provisioning = "provisioning"
State_Queued = "queued"
State_ReadyForProcessing = "readyForProcessing"
State_Removed = "removed"
State_Removing = "removing"
State_Resize = "resize"
State_RESIZE = "RESIZE"
State_Retry = "retry"
State_Running = "running"
State_Shutoff = "shutoff"
State_SHUTOFF = "SHUTOFF"
State_Stopping = "stopping"
State_Up = "up"
State_Updating = "updating"
State_VerifyResize = "verify_resize"
State_Waiting = "waiting"

// Timeout values
Timeout_Active = 2 * time.Minute
Expand Down
Loading

0 comments on commit 062bd87

Please sign in to comment.