diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c9da35fa..e146c8d4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,6 +14,11 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.20' - name: Lint uses: golangci/golangci-lint-action@v4 @@ -26,11 +31,6 @@ jobs: with: args: ./... - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.20' - - name: Build run: go build -v ./... diff --git a/power/models/p_vm_instance_create.go b/power/models/p_vm_instance_create.go index 013a094c..62cceaef 100644 --- a/power/models/p_vm_instance_create.go +++ b/power/models/p_vm_instance_create.go @@ -106,7 +106,7 @@ type PVMInstanceCreate struct { // System type used to host the instance SysType string `json:"sysType,omitempty"` - // Cloud init user defined data + // Cloud init user defined data; For FLS, only cloud-config instance-data is supported and data must not be compressed or exceed 63K UserData string `json:"userData,omitempty"` // The pvm instance virtual CPU information diff --git a/power/models/s_a_p_create.go b/power/models/s_a_p_create.go index e16ee442..632bc758 100644 --- a/power/models/s_a_p_create.go +++ b/power/models/s_a_p_create.go @@ -63,7 +63,7 @@ type SAPCreate struct { // System type used to host the instance. Only e880, e980, e1080 are supported SysType string `json:"sysType,omitempty"` - // Cloud init user defined data + // Cloud init user defined data; For FLS, only cloud-config instance-data is supported and data must not be compressed or exceed 63K UserData string `json:"userData,omitempty"` // List of Volume IDs to attach to the pvm-instance on creation diff --git a/power/models/s_a_p_profile.go b/power/models/s_a_p_profile.go index 73096fa6..6333b489 100644 --- a/power/models/s_a_p_profile.go +++ b/power/models/s_a_p_profile.go @@ -36,6 +36,9 @@ type SAPProfile struct { // Required: true ProfileID *string `json:"profileID"` + // List of supported systems + SupportedSystems []string `json:"supportedSystems"` + // Type of profile // Required: true // Enum: [balanced compute memory non-production ultra-memory] diff --git a/power/models/volumes_clone_async_request.go b/power/models/volumes_clone_async_request.go index 7c4628c2..1b0993a1 100644 --- a/power/models/volumes_clone_async_request.go +++ b/power/models/volumes_clone_async_request.go @@ -26,6 +26,7 @@ type VolumesCloneAsyncRequest struct { // Example volume names using name="volume-abcdef" // single volume clone will be named "clone-volume-abcdef-83081" // multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true Name *string `json:"name"` diff --git a/power/models/volumes_clone_execute.go b/power/models/volumes_clone_execute.go index 1d880001..b470cb78 100644 --- a/power/models/volumes_clone_execute.go +++ b/power/models/volumes_clone_execute.go @@ -26,6 +26,7 @@ type VolumesCloneExecute struct { // Example volume names using name="volume-abcdef" // single volume clone will be named "clone-volume-abcdef-83081" // multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true Name *string `json:"name"` diff --git a/power/models/volumes_clone_request.go b/power/models/volumes_clone_request.go index 7ed5f8c5..cb238678 100644 --- a/power/models/volumes_clone_request.go +++ b/power/models/volumes_clone_request.go @@ -25,6 +25,7 @@ type VolumesCloneRequest struct { // Example volume names using displayName="volume-abcdef" // single volume clone will be named "clone-volume-abcdef" // multi volume clone will be named "clone-volume-abcdef-1", "clone-volume-abcdef-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true DisplayName *string `json:"displayName"`