ArmSqlModelFactory.SqlServerKeyData 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.
public static Azure.ResourceManager.Sql.SqlServerKeyData SqlServerKeyData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string subregion, Azure.ResourceManager.Sql.Models.SqlServerKeyType? serverKeyType, Uri uri, string thumbprint, DateTimeOffset? createdOn, bool? isAutoRotationEnabled, string keyVersion, string kind, Azure.Core.AzureLocation? location);
static member SqlServerKeyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerKeyType> * Uri * string * Nullable<DateTimeOffset> * Nullable<bool> * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Sql.SqlServerKeyData
Public Shared Function SqlServerKeyData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, subregion As String, serverKeyType As Nullable(Of SqlServerKeyType), uri As Uri, thumbprint As String, createdOn As Nullable(Of DateTimeOffset), isAutoRotationEnabled As Nullable(Of Boolean), keyVersion As String, kind As String, location As Nullable(Of AzureLocation)) As SqlServerKeyData
Parameters
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 server key.
- serverKeyType
- Nullable<SqlServerKeyType>
The server key type like 'ServiceManaged', 'AzureKeyVault'.
- uri
- Uri
The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. The AKV URI is required to be in this format: 'https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion' or can be 'https://YourVaultName.vault.azure.net/keys/YourKeyName'.
- thumbprint
- String
Thumbprint of the server key.
- createdOn
- Nullable<DateTimeOffset>
The server key creation date.
- keyVersion
- String
The version of the server key.
- kind
- String
Kind of encryption protector. This is metadata used for the Azure portal experience.
- location
- Nullable<AzureLocation>
Resource location.
Returns
A new SqlServerKeyData instance for mocking.