public/portworx/pds/dataservicedeployment/apiv1/dataservicedeployment.proto (version not set)
Download OpenAPI specification:Download
GetDataServiceDeployment API returns the DataService Deployment resource.
path Parameters
id required | string UID of the DataService Deployment. |
Responses
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "targetClusterId": "string",
- "imageId": "string",
- "projectId": "string",
- "restoreId": "string",
- "dataServiceId": "string",
- "dataServiceVersionId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}
DeleteDataServiceDeployment API deletes the DataService Deployment resource.
path Parameters
id required | string UID of the DataService Deployment. |
query Parameters
force | boolean Force flag to delete backup configuration from control plane only. |
Responses
Response samples
- 200
- default
{ }
GetKeyPerformanceIndicator API return the analytics of the DataService Deployment resources.
Request Body schema: application/jsonrequired
Request to list the data service deployment resources.
tenantId required | string tenant ID for which data service deployments need to be fetched. |
object (v1Selector) Selector is used to query resources using the associated labels or field names. | |
object (v1Selector) Selector is used to query resources using the associated labels or field names. | |
object (v1ResourceSelector) ResourceSelector is used to query resources using the associated infra resources. | |
object (v1Sort) The details of the attribute for which the requested list of resource to be sorted. | |
object (v1PageBasedPaginationRequest) Request parameters for page-based pagination. | |
object (v1PDSApplicationSelector) PDSApplicationSelector is used to query deployments using the associated application reesources. |
Responses
Request samples
- Payload
{- "tenantId": "string",
- "labelSelector": {
- "filters": [
- {
- "key": "string",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "fieldSelector": {
- "filters": [
- {
- "key": "string",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "infraResourceSelector": {
- "infraResourceFilters": [
- {
- "resourceType": "TYPE_UNSPECIFIED",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "sort": {
- "sortBy": "FIELD_UNSPECIFIED",
- "sortOrder": "VALUE_UNSPECIFIED"
}, - "pagination": {
- "pageNumber": "string",
- "pageSize": "string"
}, - "applicationSelector": {
- "applicationFilters": [
- {
- "resourceType": "TYPE_UNSPECIFIED",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}
}
Response samples
- 200
- default
{- "dataServiceDeploymentAvailableCount": 0,
- "dataServiceDeploymentPartiallyAvailableCount": 0,
- "dataServiceDeploymentUnavailableCount": 0,
- "dataServiceDeploymentUnknownCount": 0,
- "dataServiceDeploymentNotApplicableCount": 0,
- "runningInstances": 0,
- "notRunningInstances": 0
}
ListDataServiceDeployments API lists the DataService Deployment resources.
Request Body schema: application/jsonrequired
Request to list the data service deployment resources.
tenantId required | string tenant ID for which data service deployments need to be fetched. |
object (v1Selector) Selector is used to query resources using the associated labels or field names. | |
object (v1Selector) Selector is used to query resources using the associated labels or field names. | |
object (v1ResourceSelector) ResourceSelector is used to query resources using the associated infra resources. | |
object (v1Sort) The details of the attribute for which the requested list of resource to be sorted. | |
object (v1PageBasedPaginationRequest) Request parameters for page-based pagination. | |
object (v1PDSApplicationSelector) PDSApplicationSelector is used to query deployments using the associated application reesources. |
Responses
Request samples
- Payload
{- "tenantId": "string",
- "labelSelector": {
- "filters": [
- {
- "key": "string",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "fieldSelector": {
- "filters": [
- {
- "key": "string",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "infraResourceSelector": {
- "infraResourceFilters": [
- {
- "resourceType": "TYPE_UNSPECIFIED",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}, - "sort": {
- "sortBy": "FIELD_UNSPECIFIED",
- "sortOrder": "VALUE_UNSPECIFIED"
}, - "pagination": {
- "pageNumber": "string",
- "pageSize": "string"
}, - "applicationSelector": {
- "applicationFilters": [
- {
- "resourceType": "TYPE_UNSPECIFIED",
- "op": "OPERATOR_UNSPECIFIED",
- "values": [
- "string"
]
}
]
}
}
Response samples
- 200
- default
{- "dataServiceDeployments": [
- {
- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "targetClusterId": "string",
- "imageId": "string",
- "projectId": "string",
- "restoreId": "string",
- "dataServiceId": "string",
- "dataServiceVersionId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}
], - "pagination": {
- "totalRecords": "string",
- "currentPage": "string",
- "pageSize": "string",
- "totalPages": "string",
- "nextPage": "string",
- "prevPage": "string"
}
}
CreateDataServiceDeployment API creates the Deployment resource.
path Parameters
namespaceId required | string UID of the namespace resource where this DataService deployment will be created. |
Request Body schema: application/jsonrequired
projectId | string UID of the project. |
object (v1DataServiceDeployment) Resource representing a DataService Deployment. |
Responses
Request samples
- Payload
{- "projectId": "string",
- "dataServiceDeployment": {
- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "references": {
- "imageId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}
}
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "targetClusterId": "string",
- "imageId": "string",
- "projectId": "string",
- "restoreId": "string",
- "dataServiceId": "string",
- "dataServiceVersionId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}
CreateDataServiceDeploymentWithScheduledBackup API creates both Deployment and backup configuration resources.
path Parameters
namespaceId required | string UID of the namespace resource where this DataService deployment will be created. |
Request Body schema: application/jsonrequired
projectId required | string UID of the project. |
object (pdsbackupconfigv1Config) Desired config of the backup configuration. | |
object (v1DataServiceDeployment) Resource representing a DataService Deployment. |
Responses
Request samples
- Payload
{- "projectId": "string",
- "backupConfig": {
- "references": {
- "backupLocationId": "string"
}, - "backupPolicy": {
- "id": "string",
- "resourceVersion": "string"
}, - "suspend": true,
- "backupType": "BACKUP_TYPE_UNSPECIFIED",
- "backupLevel": "BACKUP_LEVEL_UNSPECIFIED",
- "reclaimPolicy": "RECLAIM_POLICY_TYPE_UNSPECIFIED"
}, - "dataServiceDeployment": {
- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "references": {
- "imageId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}
}
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "targetClusterId": "string",
- "imageId": "string",
- "projectId": "string",
- "restoreId": "string",
- "dataServiceId": "string",
- "dataServiceVersionId": "string"
}, - "tlsConfig": {
- "enabled": true,
- "issuerName": "string"
}, - "dataServiceDeploymentTopologies": [
- {
- "name": "string",
- "description": "string",
- "instances": "string",
- "serviceType": "string",
- "serviceName": "string",
- "loadBalancerSourceRanges": [
- "string"
], - "resourceSettings": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "serviceConfigurations": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "storageOptions": {
- "id": "string",
- "resourceVersion": "string",
- "values": {
- "property1": "string",
- "property2": "string"
}
}, - "podSchedulingConfig": {
- "tolerations": [
- {
- "key": "string",
- "operator": "OPERATOR_UNSPECIFIED",
- "value": "string",
- "effect": "EFFECT_UNSPECIFIED"
}
]
}
}
]
}, - "status": {
- "health": "HEALTH_UNSPECIFIED",
- "phase": "PHASE_UNSPECIFIED",
- "connectionInfo": { },
- "initialized": "string",
- "dataServiceDeploymentTopologyStatus": [
- {
- "health": "UNKNOWN",
- "phase": "PHASE_UNSPECIFIED",
- "readyInstances": "string",
- "connectionInfo": {
- "readyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "notReadyInstances": [
- {
- "ip": "string",
- "name": "string",
- "workerNode": "string"
}
], - "connectionDetails": {
- "instances": [
- "string"
], - "ports": {
- "property1": 0,
- "property2": 0
}
}, - "clusterDetails": { }
}
}
], - "customResourceName": "string",
- "dnsZone": "string",
- "manifestTime": "2019-08-24T14:15:22Z",
- "errorCode": "string",
- "errorMessage": "string"
}
}