File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,20 @@ service NetApp {
110110 };
111111 }
112112
113+ // This operation will switch the active/replica zone for a regional
114+ // storagePool.
115+ rpc SwitchActiveReplicaZone (SwitchActiveReplicaZoneRequest )
116+ returns (google.longrunning.Operation ) {
117+ option (google.api.http ) = {
118+ post : "/v1/{name=projects/*/locations/*/storagePools/*}:switch"
119+ body : "*"
120+ };
121+ option (google.longrunning.operation_info ) = {
122+ response_type : "StoragePool"
123+ metadata_type : "OperationMetadata"
124+ };
125+ }
126+
113127 // Lists Volumes in a given project.
114128 rpc ListVolumes (ListVolumesRequest ) returns (ListVolumesResponse ) {
115129 option (google.api.http ) = {
Original file line number Diff line number Diff line change @@ -123,6 +123,18 @@ message DeleteStoragePoolRequest {
123123 ];
124124}
125125
126+ // SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional
127+ // storagePool.
128+ message SwitchActiveReplicaZoneRequest {
129+ // Required. Name of the storage pool
130+ string name = 1 [
131+ (google.api.field_behavior ) = REQUIRED ,
132+ (google.api.resource_reference ) = {
133+ type : "netapp.googleapis.com/StoragePool"
134+ }
135+ ];
136+ }
137+
126138// StoragePool is a container for volumes with a service level and capacity.
127139// Volumes can be created in a pool of sufficient available capacity.
128140// StoragePool capacity is what you are billed for.
@@ -231,6 +243,11 @@ message StoragePool {
231243 // regions.
232244 optional bool global_access_allowed = 17 [deprecated = true ];
233245
246+ // Optional. True if the storage pool supports Auto Tiering enabled volumes.
247+ // Default is false. Auto-tiering can be enabled after storage pool creation
248+ // but it can't be disabled once enabled.
249+ bool allow_auto_tiering = 18 [(google.api.field_behavior ) = OPTIONAL ];
250+
234251 // Optional. Specifies the replica zone for regional storagePool.
235252 string replica_zone = 20 [(google.api.field_behavior ) = OPTIONAL ];
236253
Original file line number Diff line number Diff line change @@ -402,6 +402,9 @@ message Volume {
402402
403403 // Output only. Specifies the active zone for regional volume.
404404 string zone = 37 [(google.api.field_behavior ) = OUTPUT_ONLY ];
405+
406+ // Output only. Size of the volume cold tier data in GiB.
407+ int64 cold_tier_size_gib = 39 [(google.api.field_behavior ) = OUTPUT_ONLY ];
405408}
406409
407410// Defines the export policy for the volume.
You can’t perform that action at this time.
0 commit comments