Dela via


ArmStorageModelFactory.EncryptionScopeData Method

Definition

Initializes a new instance of EncryptionScopeData.

public static Azure.ResourceManager.Storage.EncryptionScopeData EncryptionScopeData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Storage.Models.EncryptionScopeSource? source = default, Azure.ResourceManager.Storage.Models.EncryptionScopeState? state = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.Storage.Models.EncryptionScopeKeyVaultProperties keyVaultProperties = default, bool? requireInfrastructureEncryption = default);
static member EncryptionScopeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopeSource> * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopeState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Storage.Models.EncryptionScopeKeyVaultProperties * Nullable<bool> -> Azure.ResourceManager.Storage.EncryptionScopeData
Public Shared Function EncryptionScopeData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional source As Nullable(Of EncryptionScopeSource) = Nothing, Optional state As Nullable(Of EncryptionScopeState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional keyVaultProperties As EncryptionScopeKeyVaultProperties = Nothing, Optional requireInfrastructureEncryption As Nullable(Of Boolean) = Nothing) As EncryptionScopeData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

source
Nullable<EncryptionScopeSource>

The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.

state
Nullable<EncryptionScopeState>

The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.

createdOn
Nullable<DateTimeOffset>

Gets the creation date and time of the encryption scope in UTC.

lastModifiedOn
Nullable<DateTimeOffset>

Gets the last modification date and time of the encryption scope in UTC.

keyVaultProperties
EncryptionScopeKeyVaultProperties

The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.

requireInfrastructureEncryption
Nullable<Boolean>

A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

Returns

A new EncryptionScopeData instance for mocking.

Applies to