ImmutableStorageAccount Constructors
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.
Overloads
ImmutableStorageAccount() |
Initializes a new instance of the ImmutableStorageAccount class. |
ImmutableStorageAccount(Nullable<Boolean>, AccountImmutabilityPolicyProperties) |
Initializes a new instance of the ImmutableStorageAccount class. |
ImmutableStorageAccount()
Initializes a new instance of the ImmutableStorageAccount class.
public ImmutableStorageAccount ();
Public Sub New ()
Applies to
ImmutableStorageAccount(Nullable<Boolean>, AccountImmutabilityPolicyProperties)
Initializes a new instance of the ImmutableStorageAccount class.
public ImmutableStorageAccount (bool? enabled = default, Microsoft.Azure.Management.Storage.Models.AccountImmutabilityPolicyProperties immutabilityPolicy = default);
new Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount : Nullable<bool> * Microsoft.Azure.Management.Storage.Models.AccountImmutabilityPolicyProperties -> Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional immutabilityPolicy As AccountImmutabilityPolicyProperties = Nothing)
Parameters
A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default.
- immutabilityPolicy
- AccountImmutabilityPolicyProperties
Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy.
Applies to
Azure SDK for .NET