From f36935382a35c58ecbb30925ab5de7df38a883f3 Mon Sep 17 00:00:00 2001 From: powervs-ibm Date: Thu, 20 Jun 2024 16:35:00 +0000 Subject: [PATCH] Generated Swagger client from service-broker commit e5f06d783dd7b97fec439b1aab6b685acf4faaaf --- power/client/snapshots/snapshots_client.go | 4 ++++ power/models/create_data_volume.go | 3 --- power/models/multi_volumes_create.go | 3 --- power/models/p_vm_instance_create.go | 3 +++ power/models/s_a_p_create.go | 3 +++ power/models/volume.go | 3 --- power/models/volume_reference.go | 3 --- 7 files changed, 10 insertions(+), 12 deletions(-) diff --git a/power/client/snapshots/snapshots_client.go b/power/client/snapshots/snapshots_client.go index 3ad1d9fc..dc26c54c 100644 --- a/power/client/snapshots/snapshots_client.go +++ b/power/client/snapshots/snapshots_client.go @@ -65,6 +65,8 @@ type ClientService interface { /* V1SnapshotsGet gets the detail of a snapshot + +View the usage of a snapshot. The snapshot may take time sync because the data is cached. */ func (a *Client) V1SnapshotsGet(params *V1SnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetOK, error) { // TODO: Validate the params before sending @@ -104,6 +106,8 @@ func (a *Client) V1SnapshotsGet(params *V1SnapshotsGetParams, authInfo runtime.C /* V1SnapshotsGetall gets a list of all the snapshots on a workspace + +View the usage of snapshots on the workspace. The snapshots may take time sync because the data is cached. */ func (a *Client) V1SnapshotsGetall(params *V1SnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SnapshotsGetallOK, error) { // TODO: Validate the params before sending diff --git a/power/models/create_data_volume.go b/power/models/create_data_volume.go index 52d2a500..ab5c4051 100644 --- a/power/models/create_data_volume.go +++ b/power/models/create_data_volume.go @@ -46,9 +46,6 @@ type CreateDataVolume struct { // Indicates if the volume should be replication enabled or not ReplicationEnabled *bool `json:"replicationEnabled,omitempty"` - // List of replication sites for volume replication - ReplicationSite []string `json:"replicationSite,omitempty"` - // Indicates if the volume is shareable between VMs Shareable *bool `json:"shareable,omitempty"` diff --git a/power/models/multi_volumes_create.go b/power/models/multi_volumes_create.go index 28ce2b24..7b1a701f 100644 --- a/power/models/multi_volumes_create.go +++ b/power/models/multi_volumes_create.go @@ -49,9 +49,6 @@ type MultiVolumesCreate struct { // Indicates if the volume should be replication enabled or not ReplicationEnabled *bool `json:"replicationEnabled,omitempty"` - // List of replication sites for volume replication - ReplicationSite []string `json:"replicationSite,omitempty"` - // Indicates if the volume is shareable between VMs Shareable *bool `json:"shareable,omitempty"` diff --git a/power/models/p_vm_instance_create.go b/power/models/p_vm_instance_create.go index c8ec2702..d3bde052 100644 --- a/power/models/p_vm_instance_create.go +++ b/power/models/p_vm_instance_create.go @@ -21,6 +21,9 @@ import ( // swagger:model PVMInstanceCreate type PVMInstanceCreate struct { + // Indicates if the boot volume should be replication enabled or not + BootVolumeReplicationEnabled *bool `json:"bootVolumeReplicationEnabled,omitempty"` + // The deployment of a dedicated host DeploymentTarget *DeploymentTarget `json:"deploymentTarget,omitempty"` diff --git a/power/models/s_a_p_create.go b/power/models/s_a_p_create.go index 36187301..967ec274 100644 --- a/power/models/s_a_p_create.go +++ b/power/models/s_a_p_create.go @@ -20,6 +20,9 @@ import ( // swagger:model SAPCreate type SAPCreate struct { + // Indicates if the boot volume should be replication enabled or not + BootVolumeReplicationEnabled *bool `json:"bootVolumeReplicationEnabled,omitempty"` + // The deployment of a dedicated host DeploymentTarget *DeploymentTarget `json:"deploymentTarget,omitempty"` diff --git a/power/models/volume.go b/power/models/volume.go index 97e5ca8b..3eadf969 100644 --- a/power/models/volume.go +++ b/power/models/volume.go @@ -80,9 +80,6 @@ type Volume struct { // True if volume is replication enabled otherwise false ReplicationEnabled *bool `json:"replicationEnabled,omitempty"` - // List of replication sites for volume replication - ReplicationSite []string `json:"replicationSite,omitempty"` - // Replication status of a volume ReplicationStatus string `json:"replicationStatus,omitempty"` diff --git a/power/models/volume_reference.go b/power/models/volume_reference.go index 1998307a..4c68c21a 100644 --- a/power/models/volume_reference.go +++ b/power/models/volume_reference.go @@ -86,9 +86,6 @@ type VolumeReference struct { // True if volume is replication enabled otherwise false ReplicationEnabled *bool `json:"replicationEnabled,omitempty"` - // List of replication sites for volume replication - ReplicationSite []string `json:"replicationSite,omitempty"` - // shows the replication status of a volume ReplicationStatus string `json:"replicationStatus,omitempty"`