共用方式為


ArmStorageModelFactory.ImmutableStorageWithVersioning Method

Definition

Initializes a new instance of ImmutableStorageWithVersioning.

public static Azure.ResourceManager.Storage.Models.ImmutableStorageWithVersioning ImmutableStorageWithVersioning (bool? isEnabled = default, DateTimeOffset? timeStamp = default, Azure.ResourceManager.Storage.Models.ImmutableStorageWithVersioningMigrationState? migrationState = default);
static member ImmutableStorageWithVersioning : Nullable<bool> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Storage.Models.ImmutableStorageWithVersioningMigrationState> -> Azure.ResourceManager.Storage.Models.ImmutableStorageWithVersioning
Public Shared Function ImmutableStorageWithVersioning (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional timeStamp As Nullable(Of DateTimeOffset) = Nothing, Optional migrationState As Nullable(Of ImmutableStorageWithVersioningMigrationState) = Nothing) As ImmutableStorageWithVersioning

Parameters

isEnabled
Nullable<Boolean>

This is an immutable property, when set to true it enables object level immutability at the container level.

timeStamp
Nullable<DateTimeOffset>

Returns the date and time the object level immutability was enabled.

migrationState
Nullable<ImmutableStorageWithVersioningMigrationState>

This property denotes the container level immutability to object level immutability migration state.

Returns

A new ImmutableStorageWithVersioning instance for mocking.

Applies to