/// <summary> /// Initializes a new instance of the KeyVaultAndSecretReference class. /// </summary> /// <param name="sourceVault">Resource id of the KeyVault containing /// the key or secret</param> /// <param name="secretUrl">Url pointing to a key or secret in /// KeyVault</param> public KeyVaultAndSecretReference(SourceVault sourceVault, string secretUrl) { SourceVault = sourceVault; SecretUrl = secretUrl; CustomInit(); }
/// <summary> /// Initializes a new instance of the KeyForDiskEncryptionSet class. /// </summary> /// <param name="keyUrl">Fully versioned Key Url pointing to a key in /// KeyVault. Version segment of the Url is required regardless of /// rotationToLatestKeyVersionEnabled value.</param> /// <param name="sourceVault">Resource id of the KeyVault containing /// the key or secret. This property is optional and cannot be used if /// the KeyVault subscription is not the same as the Disk Encryption /// Set subscription.</param> public KeyForDiskEncryptionSet(string keyUrl, SourceVault sourceVault = default(SourceVault)) { SourceVault = sourceVault; KeyUrl = keyUrl; CustomInit(); }
/// <summary> /// Initializes a new instance of the KeyVaultAndKeyReference class. /// </summary> /// <param name="sourceVault">Resource id of the KeyVault containing /// the key or secret</param> /// <param name="keyUrl">Url pointing to a key or secret in /// KeyVault</param> public KeyVaultAndKeyReference(SourceVault sourceVault, string keyUrl) { SourceVault = sourceVault; KeyUrl = keyUrl; CustomInit(); }