GetStorageAssociatedCopies
Get associated copies and plan which are utilizing this storage.
Path Parameters
- storagePoolId int32 required
Id of the storage pool whose associated copies have to be fetched
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
copies object[]
List of copies associated with given storage pool
copy object
id int32name stringplan object
id int32name stringplanType stringPossible values: [
Server
,Laptop
,FSIBMiVTL
,ExchangeJournal
,ExchangeUser
,Office365
,DataClassification
,Archiver
,CDM
,ObjectStore
,DLO
,Database
,Snap
,FSServer
,VSAServer
,Dynamics365
]isSnapCopy booleanIs this a snap copy?
copyTypePossible values: [
SYNCHRONOUS
,SELECTIVE
]backupsToCopy stringPossible values: [
All_JOBS
,ALL_FULLS
,HOURLY_FULLS
,DAILY_FULLS
,WEEKLY_FULLS
,MONTHLY_FULLS
,QUARTERLY_FULLS
,HALF_YEARLY_FULLS
,YEARLY_FULLS
,ADVANCED
]All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.
retentionPeriodDays int32Retention period in days
useExtendedRetentionRules booleanTells if extended retention rules are used
extendedRetentionRules object
If you want to update, specify the whole object. Extended retention rules should be bigger than retention period.
firstExtendedRetentionRule object
isInfiniteRetention booleanIf this is set as true, no need to specify retentionPeriodDays.
retentionPeriodDays int32If this is set, no need to specify isInfiniteRetention as false.
type stringPossible values: [
All_JOBS
,ALL_FULLS
,HOURLY_FULLS
,DAILY_FULLS
,WEEKLY_FULLS
,MONTHLY_FULLS
,QUARTERLY_FULLS
,HALF_YEARLY_FULLS
,YEARLY_FULLS
,ADVANCED
]All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.
secondExtendedRetentionRule object
isInfiniteRetention booleanIf this is set as true, no need to specify retentionPeriodDays.
retentionPeriodDays int32If this is set, no need to specify isInfiniteRetention as false.
type stringPossible values: [
All_JOBS
,ALL_FULLS
,HOURLY_FULLS
,DAILY_FULLS
,WEEKLY_FULLS
,MONTHLY_FULLS
,QUARTERLY_FULLS
,HALF_YEARLY_FULLS
,YEARLY_FULLS
,ADVANCED
]All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.
thirdExtendedRetentionRule object
isInfiniteRetention booleanIf this is set as true, no need to specify retentionPeriodDays.
retentionPeriodDays int32If this is set, no need to specify isInfiniteRetention as false.
type stringPossible values: [
All_JOBS
,ALL_FULLS
,HOURLY_FULLS
,DAILY_FULLS
,WEEKLY_FULLS
,MONTHLY_FULLS
,QUARTERLY_FULLS
,HALF_YEARLY_FULLS
,YEARLY_FULLS
,ADVANCED
]All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.
{
"copies": [
{
"copy": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"planType": "Server",
"isSnapCopy": true,
"copyType": "SYNCHRONOUS",
"backupsToCopy": "All_JOBS",
"retentionPeriodDays": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
}
}
]
}
Requested Details not found
Internal Server Error