dataserviceversions¶
Contents¶
-
Services
-
Messages
DataServiceVersionService¶
DataServiceVersionService serves different versions of data services.
ListDataServiceVersions¶
rpc ListDataServiceVersions(ListDataServiceVersionsRequest) ListDataServiceVersionsResponse
ListDataServiceVersions lists all the versions of a data service.
GetDataServiceVersion¶
rpc GetDataServiceVersion(GetDataServiceVersionRequest) DataServiceVersion
GetDataServiceVersion returns a data service version.
ListCompatibleDataServiceVersions¶
rpc ListCompatibleDataServiceVersions(ListCompatibleDataServiceVersionsRequest) ListCompatibleDataServiceVersionsResponse
ListCompatibleDataServiceVersions lists all the data service versions compatible with other version of a data service.
Messages¶
CompatibleVersions¶
CompatibleVersions contains compatibility information for a particular Version.
Field | Type | Description |
---|---|---|
data_service_id | string | UID of the data service. |
data_service_name | string | Name of the data service. |
data_service_version_id | string | UID of the data service version. |
data_service_version_name | string | Name of the data service version. |
latest_compatible_patch | DataServiceVersion | LatestCompatiblePatch contains the highest compatible version that only increases the patch version. |
latest_compatible_versions | repeated DataServiceVersion | LatestCompatibleVersions contains the latest patch versions of compatible major/minor versions. |
compatible_versions | repeated DataServiceVersion | CompatibleVersions contains all compatible versions. |
DataServiceVersion¶
Version represents a particular version of a data service.
Field | Type | Description |
---|---|---|
meta | public.portworx.common.v1.Meta | Metadata of the resource. |
info | Info | Information related to the version. |
GetDataServiceVersionRequest¶
GetDataServiceVersionRequest is the request object for GetVersion.
Field | Type | Description |
---|---|---|
id | string | UID of the version. |
Info¶
Information related to the data service version.
Field | Type | Description |
---|---|---|
enabled | bool | Enabled indicates if the version is enabled. |
revision_id | string | revision ID of the data service version |
ListCompatibleDataServiceVersionsRequest¶
ListCompatibleDataServiceVersionsRequest is the request for ListCompatibleVersions.
Field | Type | Description |
---|---|---|
data_service_ids | repeated string | List of UID of the data service for which compatible data service versions are requested. |
data_service_version_ids | repeated string | List of UID of the data service version for which compatible versions are requested. |
sort | public.portworx.common.v1.Sort | Sorting details using which requested list of data service versions to be sorted. |
pagination | public.portworx.common.v1.PageBasedPaginationRequest | Pagination parameters for listing compatible data service versions. |
ListCompatibleDataServiceVersionsResponse¶
ListCompatibleDataServiceVersionsResponse is the response for ListCompatibleDataServiceVersions.
Field | Type | Description |
---|---|---|
compatible_data_service_versions | repeated CompatibleVersions | List of compatible versions of the data service. |
pagination | public.portworx.common.v1.PageBasedPaginationResponse | Pagination metadata for this response. (-- api-linter: core::0132::response-unknown-fields=disabled aip.dev/not-precedent: We need this field for pagination. --) |
ListDataServiceVersionsRequest¶
ListVersionsRequest is the request object for ListVersions.
Field | Type | Description |
---|---|---|
data_service_id | string | UID of the data service. |
enabled | ListDataServiceVersionsRequest.Enabled | Filter data service versions based on enabled flag. |
sort | public.portworx.common.v1.Sort | Sorting details using which requested list of Versions to be sorted. |
pagination | public.portworx.common.v1.PageBasedPaginationRequest | Pagination parameters for listing versions. |
ListDataServiceVersionsResponse¶
ListDataServiceVersionsResponse is the response object for ListVersions.
Field | Type | Description |
---|---|---|
data_service_versions | repeated DataServiceVersion | List of versions of the data service. |
pagination | public.portworx.common.v1.PageBasedPaginationResponse | Pagination metadata for this response. (-- api-linter: core::0132::response-unknown-fields=disabled aip.dev/not-precedent: We need this field for pagination. --) |
Enums¶
ListDataServiceVersionsRequest.Enabled¶
Enabled indicate either list all, enabled only or disabled only versions.
Name | Number | Description |
---|---|---|
ENABLED_UNSPECIFIED | 0 | List all versions. |
TRUE | 1 | List only enabled versions. |
FALSE | 2 | List only disabled versions. |