Beispiel #1
0
 /// <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();
 }
 /// <summary>
 /// Initializes a new instance of the AppInsightsReference class.
 /// </summary>
 /// <param name="component">Specifies the Azure Application Insights
 /// component resource id.</param>
 /// <param name="instrumentationKey">Value of the Azure Application
 /// Insights instrumentation key.</param>
 /// <param name="instrumentationKeySecretReference">Specifies a
 /// KeyVault Secret containing Azure Application Insights
 /// instrumentation key.</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
 /// EnvironmentVariableWithSecretValue class.
 /// </summary>
 /// <param name="name">The name of the environment variable to store
 /// the secret value.</param>
 /// <param name="value">The value of the environment variable. This
 /// value will never be reported back by Batch AI.</param>
 /// <param name="valueSecretReference">Specifies the location of the
 /// Azure KeyVault secret which will be used as the environment
 /// variable value.</param>
 public EnvironmentVariableWithSecretValue(string name, string value = default(string), KeyVaultSecretReference valueSecretReference = default(KeyVaultSecretReference))
 {
     Name  = name;
     Value = value;
     ValueSecretReference = valueSecretReference;
     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();
 }