Class ImmutabilityPolicyPropertiesResponse
- java.lang.Object
-
- com.pulumi.azurenative.storage.outputs.ImmutabilityPolicyPropertiesResponse
-
public final class ImmutabilityPolicyPropertiesResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutabilityPolicyPropertiesResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>
allowProtectedAppendWrites()
java.util.Optional<java.lang.Boolean>
allowProtectedAppendWritesAll()
static ImmutabilityPolicyPropertiesResponse.Builder
builder()
static ImmutabilityPolicyPropertiesResponse.Builder
builder(ImmutabilityPolicyPropertiesResponse defaults)
java.lang.String
etag()
java.util.Optional<java.lang.Integer>
immutabilityPeriodSinceCreationInDays()
java.lang.String
state()
java.util.List<UpdateHistoryPropertyResponse>
updateHistory()
-
-
-
Method Detail
-
allowProtectedAppendWrites
public java.util.Optional<java.lang.Boolean> allowProtectedAppendWrites()
- Returns:
- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.
-
allowProtectedAppendWritesAll
public java.util.Optional<java.lang.Boolean> allowProtectedAppendWritesAll()
- Returns:
- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
-
etag
public java.lang.String etag()
- Returns:
- ImmutabilityPolicy Etag.
-
immutabilityPeriodSinceCreationInDays
public java.util.Optional<java.lang.Integer> immutabilityPeriodSinceCreationInDays()
- Returns:
- The immutability period for the blobs in the container since the policy creation, in days.
-
state
public java.lang.String state()
- Returns:
- The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
-
updateHistory
public java.util.List<UpdateHistoryPropertyResponse> updateHistory()
- Returns:
- The ImmutabilityPolicy update history of the blob container.
-
builder
public static ImmutabilityPolicyPropertiesResponse.Builder builder()
-
builder
public static ImmutabilityPolicyPropertiesResponse.Builder builder(ImmutabilityPolicyPropertiesResponse defaults)
-
-