PVC

Use a PVC as a data source location for data sets that are relevant to the workload being submitted.

List PVC assets.

get

Retrieves a list of PVC datasource assets.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
namestringOptional

Filter results by name.

scopestringOptional

Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.

projectIdinteger · int32Optional

Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.

departmentIdstringOptional

Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.

Example: 1
clusterIdstring · uuidOptional

Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.

Example: d73a738f-fab3-430a-8fa3-5241493d7128
usageInfobooleanOptional

Whether the query should include asset usage information as part of the response.

complyToProjectinteger · int32Optional

Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.

complyToWorkloadTypestring · enumOptional

Include workload creation compliance information of an asset, for a given workload type, as part of the response. To check compliance, you need to provide both project id and workload type.

Possible values:
statusInfobooleanOptional

Whether the query should include asset status information as part of the response.

assetIdsstringOptional

Filter results by the ids of the assets. Provided value should be a comma separated string of UUIDs.

Example: dbf4767e-2fa1-43b0-97a2-7c0cecda180b,550e8400-e29b-41d4-a716-44665544000aPattern: ^\b(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})(?:,(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))*\b$
complyToReplicaTypestring · enumOptional

Include workload creation compliance information of an asset, for a given replica type, as part of the response. To check compliance, you need to provide both project id and workload type. For distributed, replica type should be provided as well.

Possible values:
Responses
chevron-right
200

Request completed successfully.

application/json
get
/api/v1/asset/datasource/pvc

Create a PVC asset.

post

Use to create a PVC datasource asset.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
Responses
post
/api/v1/asset/datasource/pvc

Get a PVC asset.

get

Retrieve the details of a PVC datasource asset by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Query parameters
usageInfobooleanOptional

Whether the query should include asset usage information as part of the response.

complyToProjectinteger · int32Optional

Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.

complyToWorkloadTypestring · enumOptional

Include workload creation compliance information of an asset, for a given workload type, as part of the response. To check compliance, you need to provide both project id and workload type.

Possible values:
statusInfobooleanOptional

Whether the query should include asset status information as part of the response.

complyToReplicaTypestring · enumOptional

Include workload creation compliance information of an asset, for a given replica type, as part of the response. To check compliance, you need to provide both project id and workload type. For distributed, replica type should be provided as well.

Possible values:
Responses
chevron-right
200

Request completed successfully.

application/json
get
/api/v1/asset/datasource/pvc/{AssetId}

Update a PVC asset.

put

Use to update the details of a PVC datasource asset by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Body
Responses
put
/api/v1/asset/datasource/pvc/{AssetId}

Delete a PVC asset.

delete

Use to delete a PVC datasource asset by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Responses
delete
/api/v1/asset/datasource/pvc/{AssetId}

Get the PVC history.

get

Retrieve PVC history details, including events, using a PVC id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Query parameters
offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/asset/datasource/pvc/{AssetId}/history

Last updated