ArmSqlModelFactory.ManagedInstanceKeyData 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.ManagedInstanceKeyData ManagedInstanceKeyData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.SqlServerKeyType? serverKeyType = default, Uri uri = default, string thumbprint = default, DateTimeOffset? createdOn = default, bool? isAutoRotationEnabled = default, string kind = default);
static member ManagedInstanceKeyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.SqlServerKeyType> * Uri * string * Nullable<DateTimeOffset> * Nullable<bool> * string -> Azure.ResourceManager.Sql.ManagedInstanceKeyData
Public Shared Function ManagedInstanceKeyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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, Optional kind As String = Nothing) As ManagedInstanceKeyData
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.
- serverKeyType
- Nullable<SqlServerKeyType>
The key type like 'ServiceManaged', 'AzureKeyVault'.
- uri
- Uri
The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
- thumbprint
- String
Thumbprint of the key.
- createdOn
- Nullable<DateTimeOffset>
The key creation date.
- kind
- String
Kind of encryption protector. This is metadata used for the Azure portal experience.
Returns
A new ManagedInstanceKeyData instance for mocking.