/// <summary>
 /// Initializes a new instance of the PrivateRegistryCredentials class.
 /// </summary>
 /// <param name="username">User name.</param>
 /// <param name="password">Password.</param>
 /// <param name="passwordSecretReference">Password secret
 /// reference.</param>
 public PrivateRegistryCredentials(string username, string password = default(string), KeyVaultSecretReference passwordSecretReference = default(KeyVaultSecretReference))
 {
     Username = username;
     Password = password;
     PasswordSecretReference = passwordSecretReference;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// EnvironmentVariableWithSecretValue class.
 /// </summary>
 /// <param name="name">Name.</param>
 /// <param name="value">Value.</param>
 /// <param name="valueSecretReference">KeyVault secret
 /// reference.</param>
 public EnvironmentVariableWithSecretValue(string name, string value = default(string), KeyVaultSecretReference valueSecretReference = default(KeyVaultSecretReference))
 {
     Name  = name;
     Value = value;
     ValueSecretReference = valueSecretReference;
     CustomInit();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the AppInsightsReference class.
 /// </summary>
 /// <param name="component">Component ID.</param>
 /// <param name="instrumentationKey">Instrumentation Key.</param>
 /// <param name="instrumentationKeySecretReference">Instrumentation key
 /// KeyVault Secret reference.</param>
 public AppInsightsReference(ResourceId component, string instrumentationKey = default(string), KeyVaultSecretReference instrumentationKeySecretReference = default(KeyVaultSecretReference))
 {
     Component          = component;
     InstrumentationKey = instrumentationKey;
     InstrumentationKeySecretReference = instrumentationKeySecretReference;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AzureStorageCredentialsInfo
 /// class.
 /// </summary>
 /// <param name="accountKey">Account key.</param>
 /// <param name="accountKeySecretReference">Account key secret
 /// reference.</param>
 public AzureStorageCredentialsInfo(string accountKey = default(string), KeyVaultSecretReference accountKeySecretReference = default(KeyVaultSecretReference))
 {
     AccountKey = accountKey;
     AccountKeySecretReference = accountKeySecretReference;
     CustomInit();
 }