Class LegalHoldProperties
java.lang.Object
com.microsoft.azure.management.storage.LegalHoldProperties
The LegalHold property of a blob container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the hasLegalHold public property is set to true by SRP if there are at least one existing tag.tags()
Get the list of LegalHold tags of a blob container.withTags
(List<TagProperty> tags) Set the list of LegalHold tags of a blob container.
-
Constructor Details
-
LegalHoldProperties
public LegalHoldProperties()
-
-
Method Details
-
hasLegalHold
Get the hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.- Returns:
- the hasLegalHold value
-
tags
Get the list of LegalHold tags of a blob container.- Returns:
- the tags value
-
withTags
Set the list of LegalHold tags of a blob container.- Parameters:
tags
- the tags value to set- Returns:
- the LegalHoldProperties object itself.
-