You have a Standard General Purpose v2 (GPv2) storage account. You need to implement an Azure Blob Storage lifecycle management policy to automatically move block blobs to the Cool tier after days have elapsed since their last modification.
Which of the following JSON fragments contains the correct action and property names to achieve this?
- "actions": { "baseBlob": { "tierToCool": { "daysAfterModificationGreaterThan": 30 } } }Cevap
- B"actions": { "baseBlob": { "tiertocool": { "daysAfterModificationGreaterThan": 30 } } }
- C"actions": { "baseBlob": { "tierToCool": { "daysAfterLastModified": 30 } } }
- D"actions": { "baseBlob": { "tierToArchive": { "daysAfterModificationGreaterThan": 30 } } }
Cevap
The correct option is the one defining the action as 'tierToCool' and the property as 'daysAfterModificationGreaterThan' set to .
The correct option specifies 'tierToCool' for moving the blob to the Cool tier and uses the correct schema property 'daysAfterModificationGreaterThan' to measure the age of the blob since its last modification.
Adım Adım Çözüm
Anahtar Kavram
Azure Blob Storage Lifecycle Management Policy Schema Rules
Tahmini Süre:45s