Modify the comprehensive protection configuration in a system (v2)
PUT /account/{accountId}/providers/cloudmanager_cbs/api/v2/panoramic-protection/working-environment/{workingEnvironmentId}
Modifies comprehensive protection configuration in a system. This API enables you to enhance the protection capabilities within a system by adding replication and backup functionalities. This enables the creation of fan-out or cascading backup topologies in the cloud. When replication is selected, the API first checks for the presence of an existing cluster-peering relationship. If a relationship is not found, the API creates the necessary cluster-peering relationship. Alternatively, if backup to the cloud is selected, the API creates a bucket in the specified cloud provider or appliance (AWS, AZURE, GCP, SGWS, ONTAP_S3) specifically for the system. This designated bucket is used for storing backups taken from the system. Archival tiers or DataLock/Ransomware capability can be set while enabling backup to cloud.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
accountId |
string |
path |
True |
Account ID |
workingEnvironmentId |
string |
path |
True |
System ID |
authorization |
string |
header |
True |
User token |
X-Agent-Id |
string |
header |
True |
Request identifier |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
state |
string |
False |
Updates the SnapMirror relationship state in the system to the state specified |
provider |
string |
False |
Required input field for on-premises use cases
|
region |
string |
False |
Required input field for on-premises |
aws |
False |
||
azure |
False |
||
gcp |
False |
||
sgws |
False |
||
ontap-s3 |
False |
||
s3-compatible |
False |
||
bucket |
string |
False |
Optional input |
ip-space |
string |
False |
Required input field for on-premises use cases |
backup-policy |
False |
||
max-transfer-rate |
number |
False |
Modifies node-level throttling of an ONTAP cluster. Value to be specified in kilo bytes per second(kbps). A value of 0 implies unlimited throttling |
export-existing-snapshots |
boolean |
False |
Exports pre-existing snapshots to object storage |
architecture |
string |
False |
Type of storage architecture. Fan-out or Cascading |
snapshot-policy |
string |
False |
Snapshot policy name. To disable local snapshot, pass the value as: none(case sensitive). |
replication-target |
False |
||
fix-mismatch-labels |
boolean |
False |
|
toggle-rsw-scan |
boolean |
False |
Example request
{
"state": "string",
"provider": "string",
"region": "string",
"aws": {
"account-id": "string",
"kms-key-id": "string",
"private-endpoint": {
"id": "string"
},
"archive-storage-class": "string"
},
"azure": {
"resource-group": "string",
"storage-account": "string",
"subscription": "string",
"private-endpoint": {
"subnet": "string"
},
"key-vault": {
"key-vault-id": "string",
"key-name": "string"
}
},
"gcp": {
"project-id": "string",
"credentials-id": "string",
"kms": {
"key-ring-id": "string",
"crypto-key-id": "string"
}
},
"sgws": {
"storage-grid-id": "string",
"storage-server-name": "string"
},
"ontap-s3": {
"storage-server": "string",
"access-key": "string",
"secret-password": "string"
},
"s3-compatible": {
"storage-server": "string",
"access-key": "string",
"secret-password": "string"
},
"bucket": "string",
"ip-space": "string",
"backup-policy": {
"name": "string",
"rule": [
{
"label": "string",
"retention": "string"
}
],
"archive-after-days": "string",
"object-lock": "string",
"sgws-archival": {
"cloud-storage-pool": {
"provider": "string",
"provider-account-id": "string",
"region": "string",
"archive-storage-class": "string",
"resource-group": "string"
}
}
},
"architecture": "string",
"snapshot-policy": "string",
"replication-target": {
"policy-name": "string",
"working-environment-id": "string",
"working-environment-name": "string",
"svm": "string",
"prefix": "string",
"suffix": "string",
"aggregates": [
"string"
]
}
}
Response
Status: 202, Default response
| Name | Type | Required | Description |
|---|---|---|---|
job-id |
string |
False |
Example response
{
"job-id": "string"
}
Definitions
See Definitions
private-endpoint
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
False |
Optional input field for a private endpoint |
aws
| Name | Type | Required | Description |
|---|---|---|---|
account-id |
string |
False |
Required when the provider is AWS |
kms-key-id |
string |
False |
Optional input field for customer managed key use case |
private-endpoint |
False |
||
archive-storage-class |
string |
False |
Required for AWS to specify which storage class to use for archiving |
private-endpoint
Required input field for private link configuration
| Name | Type | Required | Description |
|---|---|---|---|
subnet |
string |
False |
Required input field for on-premises private link configuration |
skip-creation |
boolean |
False |
Optional input field to skip private endpoint creation |
key-vault
| Name | Type | Required | Description |
|---|---|---|---|
key-vault-id |
string |
False |
|
key-name |
string |
False |
azure
| Name | Type | Required | Description |
|---|---|---|---|
resource-group |
string |
False |
Required when the provider is Azure |
storage-account |
string |
False |
Required when the provider is Azure |
subscription |
string |
False |
Required when the provider is Azure |
private-endpoint |
False |
Required input field for private link configuration |
|
key-vault |
False |
kms
| Name | Type | Required | Description |
|---|---|---|---|
key-ring-id |
string |
False |
|
crypto-key-id |
string |
False |
gcp
| Name | Type | Required | Description |
|---|---|---|---|
project-id |
string |
False |
Required when the provider is Google Cloud |
credentials-id |
string |
False |
Google Cloud credentials ID. Required when the provider is Google Cloud |
kms |
False |
sgws
| Name | Type | Required | Description |
|---|---|---|---|
storage-grid-id |
string |
False |
StorageGRID ID. Required input field for StorageGRID provider |
storage-server-name |
string |
False |
StorageGRID server name. Required input field for a StorageGRID provider |
ontap-s3
| Name | Type | Required | Description |
|---|---|---|---|
storage-server |
string |
False |
ONTAP S3 server URL. Required input field for ONTAP_S3 provider |
access-key |
string |
False |
Access-key:Required input field for on-premises use cases |
secret-password |
string |
False |
Secret-password:Required input field for on-premises use cases |
s3-compatible
| Name | Type | Required | Description |
|---|---|---|---|
storage-server |
string |
False |
s3 storage server |
access-key |
string |
False |
Required input field for on-premises use cases |
secret-password |
string |
False |
Required input field for on-premises use cases |
rule
| Name | Type | Required | Description |
|---|---|---|---|
label |
string |
False |
|
retention |
string |
False |
cloud-storage-pool
| Name | Type | Required | Description |
|---|---|---|---|
provider |
string |
True |
Cloud provider where the cloud storage pool will be hosted |
provider-account-id |
string |
True |
Cloud provider account ID where the cloud storage pool will be hosted |
region |
string |
True |
Cloud provider region where the cloud storage pool will be hosted |
archive-storage-class |
string |
False |
Required for AWS to specify which storage class to use for archiving |
resource-group |
string |
False |
Required when the provider is Azure |
sgws-archival
| Name | Type | Required | Description |
|---|---|---|---|
cloud-storage-pool |
False |
backup-policy
| Name | Type | Required | Description |
|---|---|---|---|
name |
string |
False |
Required input |
rule |
array[rule] |
False |
|
archive-after-days |
string |
False |
|
object-lock |
string |
False |
|
sgws-archival |
False |
replication-target
| Name | Type | Required | Description |
|---|---|---|---|
policy-name |
string |
False |
|
working-environment-id |
string |
False |
|
working-environment-name |
string |
False |
|
svm |
string |
False |
|
prefix |
string |
False |
|
suffix |
string |
False |
|
aggregates |
array[string] |
False |
body
| Name | Type | Required | Description |
|---|---|---|---|
state |
string |
False |
Updates the SnapMirror relationship state in the system to the state specified |
provider |
string |
False |
Required input field for on-premises use cases
|
region |
string |
False |
Required input field for on-premises |
aws |
False |
||
azure |
False |
||
gcp |
False |
||
sgws |
False |
||
ontap-s3 |
False |
||
s3-compatible |
False |
||
bucket |
string |
False |
Optional input |
ip-space |
string |
False |
Required input field for on-premises use cases |
backup-policy |
False |
||
max-transfer-rate |
number |
False |
Modifies node-level throttling of an ONTAP cluster. Value to be specified in kilo bytes per second(kbps). A value of 0 implies unlimited throttling |
export-existing-snapshots |
boolean |
False |
Exports pre-existing snapshots to object storage |
architecture |
string |
False |
Type of storage architecture. Fan-out or Cascading |
snapshot-policy |
string |
False |
Snapshot policy name. To disable local snapshot, pass the value as: none(case sensitive). |
replication-target |
False |
||
fix-mismatch-labels |
boolean |
False |
|
toggle-rsw-scan |
boolean |
False |