Esempio n. 1
0
 public AwsBootstrapUserDataOptionsBuilder(RunInstancesRequest values, IOfferAwsBootstrapOptions options)
 {
     _options         = options;
     _values          = values;
     _values.UserData = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format("<powershell>{0}</powershell>", WINRM_FIREWALL_RULE)));
 }
Esempio n. 2
0
 public AwsBootstrapImageOptionsBuilder(AwsBootstrapImageValues imageValues, IOfferAwsBootstrapOptions bootstrapOptions)
 {
     _values           = imageValues;
     _bootstrapOptions = bootstrapOptions;
 }
 public AwsBootstrapNetworkInterfacesOptionsBuilder(AwsBootstrapNetworkInterfaceOptionsValues values, IOfferAwsBootstrapOptions options)
 {
     _values  = values;
     _options = options;
 }