Interface BlobServiceProperties.UpdateStages.WithContainerDeleteRetentionPolicy
- All Known Subinterfaces:
BlobServiceProperties.Update
- Enclosing interface:
- BlobServiceProperties.UpdateStages
public static interface BlobServiceProperties.UpdateStages.WithContainerDeleteRetentionPolicy
The stage of the blobserviceproperties update allowing to specify containerDeleteRetentionPolicy.
-
Method Summary
Modifier and TypeMethodDescriptionwithContainerDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy) Specifies containerDeleteRetentionPolicy.Specifies that the container delete retention policy is disabled.withContainerDeleteRetentionPolicyEnabled(int numDaysEnabled) Specifies that the delete retention policy is enabled for container soft delete.
-
Method Details
-
withContainerDeleteRetentionPolicy
BlobServiceProperties.Update withContainerDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy) Specifies containerDeleteRetentionPolicy.For optimal protection for your blob data, Microsoft recommends enabling all of the following data protection features:
- containerDeleteRetentionPolicy (Container soft delete)
- Blob versioning
- deleteRetentionPolicy (Blob soft delete)
- Parameters:
deleteRetentionPolicy- The blob service properties for container soft delete- Returns:
- the next update stage
-
withContainerDeleteRetentionPolicyEnabled
Specifies that the delete retention policy is enabled for container soft delete.For optimal protection for your blob data, Microsoft recommends enabling all of the following data protection features:
- containerDeleteRetentionPolicy (Container soft delete)
- Blob versioning
- deleteRetentionPolicy (Blob soft delete)
- Parameters:
numDaysEnabled- number of days after container soft delete that the blob service properties will actually be deleted- Returns:
- the next update stage
-
withContainerDeleteRetentionPolicyDisabled
BlobServiceProperties.Update withContainerDeleteRetentionPolicyDisabled()Specifies that the container delete retention policy is disabled.For optimal protection for your blob data, Microsoft recommends enabling all of the following data protection features:
- containerDeleteRetentionPolicy (Container soft delete)
- Blob versioning
- deleteRetentionPolicy (Blob soft delete)
- Returns:
- the next update stage
-