ModifyStorageContainer

Contributors netapp-mwallis ntap-bmegan Download PDF of this page

You can use the ModifyStorageContainer method to make changes to an existing virtual volume storage container.

Parameters

This method has the following input parameters:

Name

Description

Type

Default value

Required

storageContainerID

The unique ID of the virtual volume storage container to modify.

UUID

None

Yes

initiatorSecret

The new secret for CHAP authentication for the initiator.

string

None

No

targetSecret

The new secret for CHAP authentication for the target.

string

None

No

Return values

This method has the following return value:

Name

Description

Type

storageContainer

Information about the newly created storage container.

Request example

Requests for this method are similar to the following example:

{
  "method": "ModifyStorageContainer",
    "params": {
      "storageContainerID": "6c95e24f-9f0b-4793-affb-5a4bc6c3d7e1",
      "targetSecret": "O,IM;tOQdn9$JJ*8"
    },
    "id": 1
}

Response example

This method returns a response similar to the following example:

{
  "id": 1,
  "result": {
    "storageContainer": {
      "accountID": 8,
      "initiatorSecret": "T$|5TO>2IY5sk4@k",
      "name": "doctest1",
      "protocolEndpointType": "SCSI",
      "status": "active",
      "storageContainerID": "6c95e24f-9f0b-4793-affb-5a4bc6c3d7e1",
      "targetSecret": "O,IM;tOQdn9$JJ*8"
    }
  }
}

New since version

9.6