Interface BlobServiceProperties.UpdateStages.WithDeleteRetentionPolicy

All Known Subinterfaces:
BlobServiceProperties.Update
Enclosing interface:
BlobServiceProperties.UpdateStages

public static interface BlobServiceProperties.UpdateStages.WithDeleteRetentionPolicy
The stage of the blobserviceproperties update allowing to specify DeleteRetentionPolicy.
  • Method Details

    • withDeleteRetentionPolicy

      BlobServiceProperties.Update withDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
      Specifies deleteRetentionPolicy.

      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 soft delete
      Returns:
      the next update stage
    • withDeleteRetentionPolicyEnabled

      BlobServiceProperties.Update withDeleteRetentionPolicyEnabled(int numDaysEnabled)
      Specifies that the delete retention policy is enabled for 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 soft delete that the blob service properties will actually be deleted
      Returns:
      the next update stage
    • withDeleteRetentionPolicyDisabled

      BlobServiceProperties.Update withDeleteRetentionPolicyDisabled()
      Specifies that the 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