public static AzureProfileSettings Create(NewAzureProfileCommand command)
 {
     return new AzureProfileSettings
     {
         Environment = command.Environment,
         SubscriptionId = command.SubscriptionId,
         StorageAccount = command.StorageAccount,
         Certificate = command.Certificate,
         Credential = command.Credential,
         Tenant = command.Tenant,
         AccessToken = command.AccessToken,
         AccountId = command.AccountId
     };
 }
Exemple #2
0
 public static AzureProfileSettings Create(NewAzureProfileCommand command)
 {
     return(new AzureProfileSettings
     {
         Environment = command.Environment,
         SubscriptionId = command.SubscriptionId,
         StorageAccount = command.StorageAccount,
         Certificate = command.Certificate,
         Credential = command.Credential,
         Tenant = command.Tenant,
         AccessToken = command.AccessToken,
         AccountId = command.AccountId
     });
 }