Langue

ArmSqlModelFactory.EncryptionProtectorData Method

Definition

public static Azure.ResourceManager.Sql.EncryptionProtectorData EncryptionProtectorData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string subregion, string serverKeyName, Azure.ResourceManager.Sql.Models.SqlServerKeyType? serverKeyType, Uri uri, string thumbprint, bool? isAutoRotationEnabled, string keyVersion, string kind, Azure.Core.AzureLocation? location);
static member EncryptionProtectorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerKeyType> * Uri * string * Nullable<bool> * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Sql.EncryptionProtectorData
Public Shared Function EncryptionProtectorData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, subregion As String, serverKeyName As String, serverKeyType As Nullable(Of SqlServerKeyType), uri As Uri, thumbprint As String, isAutoRotationEnabled As Nullable(Of Boolean), keyVersion As String, kind As String, location As Nullable(Of AzureLocation)) As EncryptionProtectorData

Parameters

id
ResourceIdentifier

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

name
String

The name of the resource.

resourceType
ResourceType

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

subregion
String

Subregion of the encryption protector.

serverKeyName
String

The name of the server key.

serverKeyType
Nullable<SqlServerKeyType>

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

uri
Uri

The URI of the server key.

thumbprint
String

Thumbprint of the server key.

isAutoRotationEnabled
Nullable<Boolean>

Key auto rotation opt-in flag. Either true or false.

keyVersion
String

The version of the server key being used as encryption protector.

kind
String

Kind of encryption protector. This is metadata used for the Azure portal experience.

location
Nullable<AzureLocation>

Resource location.

Returns

A new EncryptionProtectorData instance for mocking.

Applies to