Skip to main content
A newer release of this product is available.

Retrieve a consistency group Snapshot copy

Contributors

GET /application/consistency-groups/{consistency_group.uuid}/snapshots/{uuid}

Introduced In: 9.10

Retrieves details of a specific snapshot for a consistency group.

Expensive properties

There is an added computational cost to retrieving values for these properties. They are not included by default in GET results and must be explicitly requested using the fields query parameter. See DOC Requesting specific fields to learn more.

  • is_partial

  • missing_voumes.uuid

  • missing_voumes.name

Parameters

Name Type In Required Description

consistency_group.uuid

string

path

True

The unique identifier of the consistency group to retrieve.

uuid

string

path

True

The unique identifier of the Snapshot copy of the consistency group to retrieve.

missing_volumes.uuid

string

query

False

Filter by missing_volumes.uuid

missing_volumes.name

string

query

False

Filter by missing_volumes.name

consistency_type

string

query

False

Filter by consistency_type

consistency_group.name

string

query

False

Filter by consistency_group.name

name

string

query

False

Filter by name

is_partial

boolean

query

False

Filter by is_partial

svm.uuid

string

query

False

Filter by svm.uuid

svm.name

string

query

False

Filter by svm.name

comment

string

query

False

Filter by comment

create_time

string

query

False

Filter by create_time

snapmirror_label

string

query

False

Filter by snapmirror_label

fields

array[string]

query

False

Specify the fields to return.

max_records

integer

query

False

Limit the number of records returned.

return_records

boolean

query

False

The default is true for GET calls. When set to false, only the number of records is returned.

  • Default value: 1

return_timeout

integer

query

False

The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.

  • Default value: 1

  • Max value: 120

  • Min value: 0

order_by

array[string]

query

False

Order results by specified fields and optional [asc

Response

Status: 200, Ok
Name Type Description

_links

self_link

comment

string

Comment for the Snapshot copy.

consistency_group

consistency_group

The consistency group of the Snapshot copy.

consistency_type

string

Consistency type. This is for categorization purposes only. A Snapshot copy should not be set to 'application consistent' unless the host application is quiesced for the Snapshot copy. Valid in POST.

create_time

string

Time the snapshot copy was created

is_partial

boolean

Indicates whether the Snapshot copy taken is partial or not.

missing_volumes

array[volume_reference]

List of volumes which are not in the Snapshot copy.

name

string

Name of the Snapshot copy.

snapmirror_label

string

Snapmirror Label for the Snapshot copy.

svm

svm_reference

SVM, applies only to SVM-scoped objects.

uuid

string

The unique identifier of the Snapshot copy. The UUID is generated by ONTAP when the Snapshot copy is created.

  • example: 1cd8a442-86d1-11e0-ae1c-123478563412

  • Introduced in: 9.10

  • readOnly: 1

Example response
{
  "_links": {
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "comment": "My Snapshot copy comment",
  "consistency_group": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "name": "my_consistency_group",
    "uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
  },
  "consistency_type": "crash",
  "create_time": "2020-10-25T11:20:00Z",
  "is_partial": "",
  "missing_volumes": [
    {
      "_links": {
        "self": {
          "href": "/api/resourcelink"
        }
      },
      "name": "volume1",
      "uuid": "028baa66-41bd-11e9-81d5-00a0986138f7"
    }
  ],
  "name": "string",
  "snapmirror_label": "sm_label",
  "svm": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "name": "svm1",
    "uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
  },
  "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}

Error

Status: Default, Error
Name Type Description

error

error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

href

Name Type Description

href

string

Name Type Description

self

href

consistency_group

The consistency group of the Snapshot copy.

Name Type Description

_links

self_link

name

string

The name of the consistency group.

uuid

string

The unique identifier of the consistency group.

Name Type Description

self

href

volume_reference

Name Type Description

_links

_links

name

string

The name of the volume.

uuid

string

Unique identifier for the volume. This corresponds to the instance-uuid that is exposed in the CLI and ONTAPI. It does not change due to a volume move.

  • example: 028baa66-41bd-11e9-81d5-00a0986138f7

  • Introduced in: 9.6

svm_reference

SVM, applies only to SVM-scoped objects.

Name Type Description

_links

_links

name

string

The name of the SVM.

uuid

string

The unique identifier of the SVM.

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.