Skip to content

Commit

Permalink
Refactor Image
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkad authored and Alexander-Kita committed Aug 16, 2024
1 parent 045433e commit 0f88b74
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 136 deletions.
15 changes: 14 additions & 1 deletion ibm/service/power/ibm_pi_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,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_Key = "pi_ssh_key"
Expand Down Expand Up @@ -470,21 +478,26 @@ 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_Resize = "resize"
State_RESIZE = "RESIZE"
State_Retry = "retry"
State_Running = "running"
State_Shutoff = "shutoff"
State_Stopping = "stopping"
State_SHUTOFF = "SHUTOFF"
State_Stopping = "stopping"
State_Up = "up"
State_VerifyResize = "verify_resize"
State_Waiting = "waiting"
Status_Active = "ACTIVE"
Status_Deleting = "deleting"
Status_Error = "ERROR"
Expand Down
Loading

0 comments on commit 0f88b74

Please sign in to comment.