Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor resource image and documentation #66

Closed
wants to merge 11 commits into from
23 changes: 23 additions & 0 deletions ibm/service/power/ibm_pi_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,23 @@ import "time"

const (
// Arguments
Arg_AffinityInstance = "pi_affinity_instance"
Arg_AffinityPolicy = "pi_affinity_policy"
Arg_AffinityVolume = "pi_affinity_volume"
Arg_AntiAffinityInstances = "pi_anti_affinity_instances"
Arg_AntiAffinityVolumes = "pi_anti_affinity_volumes"
Arg_CloudConnectionName = "pi_cloud_connection_name"
Arg_CloudInstanceID = "pi_cloud_instance_id"
Arg_ImageAccessKey = "pi_image_access_key"
Arg_ImageBucketAccess = "pi_image_bucket_access"
Arg_ImageBucketName = "pi_image_bucket_name"
Arg_ImageName = "pi_image_name"
Arg_ImageId = "pi_image_id"
Arg_ImageSecretKey = "pi_image_secret_key"
Arg_ImageBucketRegion = "pi_image_bucket_region"
Arg_ImageBucketFileName = "pi_image_bucket_file_name"
Arg_ImageStorageType = "pi_image_storage_type"
Arg_ImageStoragePool = "pi_image_storage_pool"
Arg_InstanceName = "pi_instance_name"
Arg_Key = "pi_ssh_key"
Arg_KeyName = "pi_key_name"
Expand Down Expand Up @@ -375,6 +389,15 @@ const (
Attr_SPPPlacementGroupName = "name"

// status
Image_Questatus = "image_questatus"
Image_ActiveStatus = "active_status"
Status_Queued = "queued"
Status_Completed = "status_completed"
Status_Failed = "status_failed"
Status_InProgress = "status_in_progress"
Status_Running = "status_running"
Status_Waiting = "status_waiting"
Status_ReadyForProcessing = "ready_for_processing"
// common status states
StatusShutoff = "SHUTOFF"
StatusActive = "ACTIVE"
Expand Down
Loading
Loading