ManagementPolicyFilter Class
- java.
lang. Object - com.
microsoft. azure. management. storage. ManagementPolicyFilter
- com.
public class ManagementPolicyFilter
Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.
Constructor Summary
Constructor | Description | |
---|---|---|
ManagementPolicyFilter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag |
blobIndexMatch()
Get an array of blob index tag based filters, there can be at most 10 tag filters. |
java.util.List<java.lang.String> |
blobTypes()
Get an array of predefined enum values. |
java.util.List<java.lang.String> |
prefixMatch()
Get an array of strings for prefixes to be match. |
Management |
withBlobIndexMatch(List<TagFilter> blobIndexMatch)
Set an array of blob index tag based filters, there can be at most 10 tag filters. |
Management |
withBlobTypes(List<String> blobTypes)
Set an array of predefined enum values. |
Management |
withPrefixMatch(List<String> prefixMatch)
Set an array of strings for prefixes to be match. |
Methods inherited from java.lang.Object
Constructor Details
ManagementPolicyFilter
public ManagementPolicyFilter()
Method Details
blobIndexMatch
public List
Get an array of blob index tag based filters, there can be at most 10 tag filters.
Returns:
blobTypes
public List
Get an array of predefined enum values. Only blockBlob is supported.
Returns:
prefixMatch
public List
Get an array of strings for prefixes to be match.
Returns:
withBlobIndexMatch
public ManagementPolicyFilter withBlobIndexMatch(List
Set an array of blob index tag based filters, there can be at most 10 tag filters.
Parameters:
Returns:
withBlobTypes
public ManagementPolicyFilter withBlobTypes(List
Set an array of predefined enum values. Only blockBlob is supported.
Parameters:
Returns:
withPrefixMatch
public ManagementPolicyFilter withPrefixMatch(List
Set an array of strings for prefixes to be match.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for