Uses of Class
com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyProperties
Packages that use AccountImmutabilityPolicyProperties
Package
Description
Package containing the data models for StorageManagementClient.
-
Uses of AccountImmutabilityPolicyProperties in com.azure.resourcemanager.storage.models
Classes in com.azure.resourcemanager.storage.models that implement interfaces with type arguments of type AccountImmutabilityPolicyPropertiesModifier and TypeClassDescriptionfinal classThis defines account-level immutability policy properties.Methods in com.azure.resourcemanager.storage.models that return AccountImmutabilityPolicyPropertiesModifier and TypeMethodDescriptionAccountImmutabilityPolicyProperties.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AccountImmutabilityPolicyProperties from the JsonReader.ImmutableStorageAccount.immutabilityPolicy()Get the immutabilityPolicy property: Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level.AccountImmutabilityPolicyProperties.withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites) Set the allowProtectedAppendWrites property: This property can only be changed for disabled and unlocked time-based retention policies.AccountImmutabilityPolicyProperties.withImmutabilityPeriodSinceCreationInDays(Integer immutabilityPeriodSinceCreationInDays) Set the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container since the policy creation, in days.AccountImmutabilityPolicyProperties.withState(AccountImmutabilityPolicyState state) Set the state property: The ImmutabilityPolicy state defines the mode of the policy.Methods in com.azure.resourcemanager.storage.models with parameters of type AccountImmutabilityPolicyPropertiesModifier and TypeMethodDescriptionImmutableStorageAccount.withImmutabilityPolicy(AccountImmutabilityPolicyProperties immutabilityPolicy) Set the immutabilityPolicy property: Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level.