ArmStorageModelFactory.ImmutableStorageWithVersioning Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.