Skip to content

Support for cross-region copy of incremental snapshots #19773

Closed
@jamesc

Description

@jamesc

Resource Provider
Microsoft.Compute

Description of Feature or Work Requested
Support CopyStart of incremental snapshots of managed disks via CLI. The REST API changes introduces a new option called CopyStart for the creationOption for creating snapshots of managed disks.

{ 
  "id": "/subscriptions/sub/resourceGroups/rg1e47ff76-fc12-483f-9c76-4b74673669ef/providers/Microsoft.Compute/disks/slowDisk",    
  "name": "slowDisk"    
  "type": "Microsoft.Compute/snapshots",    
  "location": "westus",    
  "sku": {    
    "name": "Standard_LRS",    
    "tier": "Standard"    
  },    
  "properties": {    
    "osType": "Windows",    
    "creationData": {    
      "createOption": "CopyStart", 
      "sourceResourceId": "/subscriptions/sub/resourceGroups/resg/providers/Microsoft.Compute/snapshots/mySnapshot
    }
  },    
  "tags": {    
    "department": "Development",    
    "project": "ManagedDisks"    
  }   
  "provisioningState": "Pending",  
  "completionPercent": 75 // readonly: ignored on inputs 
}   

Minimum API Version Required

Swagger Link

Example: https://github.com/rytruong/azure-rest-api-specs/blob/1f561a67f29460998e4ff8020e0691779ff50756/specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/examples/CreateASnapshotFromAnExistingSnapshotInDifferentRegion.json

Target Date
Ignite

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions