Udostępnij za pośrednictwem


ClusterSecretReference(String, KeyVaultObjectType, String) Constructor

Definition

Initializes a new instance of ClusterSecretReference.

public ClusterSecretReference (string referenceName, Azure.ResourceManager.HDInsight.Containers.Models.KeyVaultObjectType keyVaultObjectType, string keyVaultObjectName);
new Azure.ResourceManager.HDInsight.Containers.Models.ClusterSecretReference : string * Azure.ResourceManager.HDInsight.Containers.Models.KeyVaultObjectType * string -> Azure.ResourceManager.HDInsight.Containers.Models.ClusterSecretReference
Public Sub New (referenceName As String, keyVaultObjectType As KeyVaultObjectType, keyVaultObjectName As String)

Parameters

referenceName
String

Reference name of the secret to be used in service configs.

keyVaultObjectType
KeyVaultObjectType

Type of key vault object: secret, key or certificate.

keyVaultObjectName
String

Object identifier name of the secret in key vault.

Exceptions

referenceName or keyVaultObjectName is null.

Applies to