共用方式為


ImmutabilityPolicy Interface

Implements

public interface ImmutabilityPolicy
extends HasInnerModel<ImmutabilityPolicyInner>, Indexable, Refreshable<ImmutabilityPolicy>, Updatable<Update>, HasManager<StorageManager>

Type representing ImmutabilityPolicy.

Method Summary

Modifier and Type Method and Description
abstract String etag()

Gets the etag.

abstract void extend(int immutabilityPeriodSinceCreationInDays)

Extends the immutability policy.

abstract Mono<Void> extendAsync(int immutabilityPeriodSinceCreationInDays)

Extends the immutability policy.

abstract String id()

Gets resource ID.

abstract int immutabilityPeriodSinceCreationInDays()

Gets the immutability period since creation in days.

abstract void lock()

Locks the immutability policy.

abstract Mono<Void> lockAsync()

Locks the immutability policy.

abstract String name()

Gets immutability policy name.

abstract ImmutabilityPolicyState state()

Gets immutability policy state.

abstract String type()

Gets the type of immutability policy.

Method Details

etag

public abstract String etag()

Gets the etag.

Returns:

the etag value.

extend

public abstract 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

public abstract Mono extendAsync(int immutabilityPeriodSinceCreationInDays)

Extends the immutability policy.

Parameters:

immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days.

Returns:

the completion

id

public abstract String id()

Gets resource ID.

Returns:

the id value.

immutabilityPeriodSinceCreationInDays

public abstract int immutabilityPeriodSinceCreationInDays()

Gets the immutability period since creation in days.

Returns:

the immutabilityPeriodSinceCreationInDays value.

lock

public abstract void lock()

Locks the immutability policy.

lockAsync

public abstract Mono lockAsync()

Locks the immutability policy.

Returns:

the completion

name

public abstract String name()

Gets immutability policy name.

Returns:

the name value.

state

public abstract ImmutabilityPolicyState state()

Gets immutability policy state.

Returns:

the state value.

type

public abstract String type()

Gets the type of immutability policy.

Returns:

the type value.

Applies to