Share via


ArmDnsModelFactory.DnsSigningKey Method

Definition

Initializes a new instance of DnsSigningKey.

public static Azure.ResourceManager.Dns.Models.DnsSigningKey DnsSigningKey (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Dns.Models.DelegationSignerInfo> delegationSignerInfo = default, int? flags = default, int? keyTag = default, int? protocol = default, string publicKey = default, int? securityAlgorithmType = default);
static member DnsSigningKey : seq<Azure.ResourceManager.Dns.Models.DelegationSignerInfo> * Nullable<int> * Nullable<int> * Nullable<int> * string * Nullable<int> -> Azure.ResourceManager.Dns.Models.DnsSigningKey
Public Shared Function DnsSigningKey (Optional delegationSignerInfo As IEnumerable(Of DelegationSignerInfo) = Nothing, Optional flags As Nullable(Of Integer) = Nothing, Optional keyTag As Nullable(Of Integer) = Nothing, Optional protocol As Nullable(Of Integer) = Nothing, Optional publicKey As String = Nothing, Optional securityAlgorithmType As Nullable(Of Integer) = Nothing) As DnsSigningKey

Parameters

delegationSignerInfo
IEnumerable<DelegationSignerInfo>

The delegation signer information.

flags
Nullable<Int32>

The flags specifies how the key is used.

keyTag
Nullable<Int32>

The key tag value of the DNSKEY Resource Record.

protocol
Nullable<Int32>

The protocol value. The value is always 3.

publicKey
String

The public key, represented as a Base64 encoding.

securityAlgorithmType
Nullable<Int32>

The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml.

Returns

A new DnsSigningKey instance for mocking.

Applies to