Interface ImmutabilityPolicy
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ImmutabilityPolicyInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<ImmutabilityPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<ImmutabilityPolicy.Update>
public interface ImmutabilityPolicy
extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ImmutabilityPolicyInner>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<ImmutabilityPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<ImmutabilityPolicy.Update>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>
Type representing ImmutabilityPolicy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the ImmutabilityPolicy definition.static interfaceGrouping of ImmutabilityPolicy definition stages.static interfaceThe template for a ImmutabilityPolicy update operation, containing all the settings that can be modified.static interfaceGrouping of ImmutabilityPolicy update stages. -
Method Summary
Modifier and TypeMethodDescriptionetag()Gets the etag.voidextend(int immutabilityPeriodSinceCreationInDays) Extends the immutability policy.extendAsync(int immutabilityPeriodSinceCreationInDays) Extends the immutability policy.id()Gets resource ID.intGets the immutability period since creation in days.voidlock()Locks the immutability policy.Locks the immutability policy.name()Gets immutability policy name.state()Gets immutability policy state.type()Gets the type of immutability policy.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
update
-
Method Details
-
etag
-
id
-
immutabilityPeriodSinceCreationInDays
int immutabilityPeriodSinceCreationInDays()Gets the immutability period since creation in days.- Returns:
- the immutabilityPeriodSinceCreationInDays value.
-
name
-
state
-
type
-
lock
void lock()Locks the immutability policy. -
lockAsync
-
extend
void extend(int immutabilityPeriodSinceCreationInDays) Extends the immutability policy.- Parameters:
immutabilityPeriodSinceCreationInDays- The immutability period for the blobs in the container since the policy creation, in days.
-
extendAsync
-