Freigeben über


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()
abstract void extend(int immutabilityPeriodSinceCreationInDays)

Extends the immutability policy.

abstract Mono<Void> extendAsync(int immutabilityPeriodSinceCreationInDays)

Extends the immutability policy.

abstract String id()
abstract int immutabilityPeriodSinceCreationInDays()
abstract void lock()

Locks the immutability policy.

abstract Mono<Void> lockAsync()

Locks the immutability policy.

abstract String name()
abstract ImmutabilityPolicyState state()
abstract String type()

Method Details

etag

public abstract String 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()

Returns:

the id value.

immutabilityPeriodSinceCreationInDays

public abstract int immutabilityPeriodSinceCreationInDays()

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()

Returns:

the name value.

state

public abstract ImmutabilityPolicyState state()

Returns:

the state value.

type

public abstract String type()

Returns:

the type value.

Applies to