Compartilhar via


EncryptionScope Constructors

Definition

Overloads

EncryptionScope()

Initializes a new instance of the EncryptionScope class.

EncryptionScope(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, EncryptionScopeKeyVaultProperties, Nullable<Boolean>)

Initializes a new instance of the EncryptionScope class.

EncryptionScope()

Initializes a new instance of the EncryptionScope class.

public EncryptionScope ();
Public Sub New ()

Applies to

EncryptionScope(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, EncryptionScopeKeyVaultProperties, Nullable<Boolean>)

Initializes a new instance of the EncryptionScope class.

public EncryptionScope (string id = default, string name = default, string type = default, string source = default, string state = default, DateTime? creationTime = default, DateTime? lastModifiedTime = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionScopeKeyVaultProperties keyVaultProperties = default, bool? requireInfrastructureEncryption = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionScope : string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionScopeKeyVaultProperties * Nullable<bool> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionScope
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional source As String = Nothing, Optional state As String = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional lastModifiedTime As Nullable(Of DateTime) = Nothing, Optional keyVaultProperties As EncryptionScopeKeyVaultProperties = Nothing, Optional requireInfrastructureEncryption As Nullable(Of Boolean) = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

source
String

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

state
String

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

creationTime
Nullable<DateTime>

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

lastModifiedTime
Nullable<DateTime>

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.

Applies to