azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

114 строки
9.7 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties"
name: "ImmutabilityPolicyProperties"
nameWithType: "ImmutabilityPolicyProperties"
summary: "The properties of an Immutability<wbr>Policy of a blob container."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ImmutabilityPolicyProperties**"
constructors:
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.ImmutabilityPolicyProperties()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.ImmutabilityPolicyProperties()"
name: "ImmutabilityPolicyProperties()"
nameWithType: "ImmutabilityPolicyProperties.ImmutabilityPolicyProperties()"
syntax: "public ImmutabilityPolicyProperties()"
methods:
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.allowProtectedAppendWrites()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.allowProtectedAppendWrites()"
name: "allowProtectedAppendWrites()"
nameWithType: "ImmutabilityPolicyProperties.allowProtectedAppendWrites()"
summary: "Get this property can only be changed for unlocked time-based retention policies."
syntax: "public Boolean allowProtectedAppendWrites()"
desc: "Get 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."
returns:
description: "the allowProtectedAppendWrites value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.etag()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.etag()"
name: "etag()"
nameWithType: "ImmutabilityPolicyProperties.etag()"
summary: "Get immutability<wbr>Policy Etag."
syntax: "public String etag()"
desc: "Get immutabilityPolicy Etag."
returns:
description: "the etag value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.immutabilityPeriodSinceCreationInDays()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.immutabilityPeriodSinceCreationInDays()"
name: "immutabilityPeriodSinceCreationInDays()"
nameWithType: "ImmutabilityPolicyProperties.immutabilityPeriodSinceCreationInDays()"
summary: "Get the immutability period for the blobs in the container since the policy creation, in days."
syntax: "public Integer immutabilityPeriodSinceCreationInDays()"
desc: "Get the immutability period for the blobs in the container since the policy creation, in days."
returns:
description: "the immutabilityPeriodSinceCreationInDays value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.state()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.state()"
name: "state()"
nameWithType: "ImmutabilityPolicyProperties.state()"
summary: "Get the Immutability<wbr>Policy state of a blob container, possible values include: Locked and Unlocked."
syntax: "public ImmutabilityPolicyState state()"
desc: "Get the ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'Locked', 'Unlocked'."
returns:
description: "the state value"
type: "<xref href=\"com.microsoft.azure.management.storage.ImmutabilityPolicyState?alt=com.microsoft.azure.management.storage.ImmutabilityPolicyState&text=ImmutabilityPolicyState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.updateHistory()"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.updateHistory()"
name: "updateHistory()"
nameWithType: "ImmutabilityPolicyProperties.updateHistory()"
summary: "Get the Immutability<wbr>Policy update history of the blob container."
syntax: "public List<UpdateHistoryProperty> updateHistory()"
desc: "Get the ImmutabilityPolicy update history of the blob container."
returns:
description: "the updateHistory value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.storage.UpdateHistoryProperty?alt=com.microsoft.azure.management.storage.UpdateHistoryProperty&text=UpdateHistoryProperty\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.withAllowProtectedAppendWrites(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites)"
name: "withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites)"
nameWithType: "ImmutabilityPolicyProperties.withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites)"
summary: "Set this property can only be changed for unlocked time-based retention policies."
parameters:
- description: "the allowProtectedAppendWrites value to set"
name: "allowProtectedAppendWrites"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ImmutabilityPolicyProperties withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites)"
desc: "Set 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."
returns:
description: "the ImmutabilityPolicyProperties object itself."
type: "<xref href=\"com.microsoft.azure.management.storage.ImmutabilityPolicyProperties?alt=com.microsoft.azure.management.storage.ImmutabilityPolicyProperties&text=ImmutabilityPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.withImmutabilityPeriodSinceCreationInDays(java.lang.Integer)"
fullName: "com.microsoft.azure.management.storage.ImmutabilityPolicyProperties.withImmutabilityPeriodSinceCreationInDays(Integer immutabilityPeriodSinceCreationInDays)"
name: "withImmutabilityPeriodSinceCreationInDays(Integer immutabilityPeriodSinceCreationInDays)"
nameWithType: "ImmutabilityPolicyProperties.withImmutabilityPeriodSinceCreationInDays(Integer immutabilityPeriodSinceCreationInDays)"
summary: "Set the immutability period for the blobs in the container since the policy creation, in days."
parameters:
- description: "the immutabilityPeriodSinceCreationInDays value to set"
name: "immutabilityPeriodSinceCreationInDays"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ImmutabilityPolicyProperties withImmutabilityPeriodSinceCreationInDays(Integer immutabilityPeriodSinceCreationInDays)"
desc: "Set the immutability period for the blobs in the container since the policy creation, in days."
returns:
description: "the ImmutabilityPolicyProperties object itself."
type: "<xref href=\"com.microsoft.azure.management.storage.ImmutabilityPolicyProperties?alt=com.microsoft.azure.management.storage.ImmutabilityPolicyProperties&text=ImmutabilityPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The properties of an ImmutabilityPolicy of a blob container."
metadata: {}
package: "com.microsoft.azure.management.storage"
artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4