diff --git a/openstack/sdrs/v1/protectedinstances/requests.go b/openstack/sdrs/v1/protectedinstances/requests.go index d45a5ed05..3cabdcecf 100644 --- a/openstack/sdrs/v1/protectedinstances/requests.go +++ b/openstack/sdrs/v1/protectedinstances/requests.go @@ -24,12 +24,12 @@ type CreateOpts struct { Name string `json:"name" required:"true"` //Instance Description Description string `json:"description,omitempty"` + //Cluster ID + ClusterID string `json:"cluster_id,omitempty"` //Subnet ID SubnetID string `json:"primary_subnet_id,omitempty"` //IP Address IpAddress string `json:"primary_ip_address,omitempty"` - //Flavor ID - FlavorRef string `json:"flavorRef,omitempty"` } // ToInstanceCreateMap builds a create request body from CreateOpts. diff --git a/openstack/sdrs/v1/protectedinstances/results.go b/openstack/sdrs/v1/protectedinstances/results.go index 88f757762..0893a85f8 100644 --- a/openstack/sdrs/v1/protectedinstances/results.go +++ b/openstack/sdrs/v1/protectedinstances/results.go @@ -19,8 +19,6 @@ type Instance struct { SourceServer string `json:"source_server"` //Target Server TargetServer string `json:"target_server"` - //Priority Station - PriorityStation string `json:"priority_station"` //Attachment Attachment []Attachment `json:"attachment"` }