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.
Initializes a new instance of SqlServerKeyData.
public static Azure.ResourceManager.Sql.SqlServerKeyData SqlServerKeyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.Core.AzureLocation? location = default, string subregion = default, Azure.ResourceManager.Sql.Models.SqlServerKeyType? serverKeyType = default, Uri uri = default, string thumbprint = default, DateTimeOffset? createdOn = default, bool? isAutoRotationEnabled = default);
static member SqlServerKeyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerKeyType> * Uri * string * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.Sql.SqlServerKeyData
Public Shared Function SqlServerKeyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional subregion As String = Nothing, Optional serverKeyType As Nullable(Of SqlServerKeyType) = Nothing, Optional uri As Uri = Nothing, Optional thumbprint As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAutoRotationEnabled As Nullable(Of Boolean) = Nothing) As SqlServerKeyData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- kind
- String
Kind of encryption protector. This is metadata used for the Azure portal experience.
- location
- Nullable<AzureLocation>
Resource location.
- 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.
- thumbprint
- String
Thumbprint of the server key.
- createdOn
- Nullable<DateTimeOffset>
The server key creation date.
Returns
A new SqlServerKeyData instance for mocking.