mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 08:24:02 -07:00
pin api version of azure storage models
This commit is contained in:
parent
c6531ad556
commit
e6aeed2a8e
3 changed files with 21 additions and 21 deletions
|
@ -1528,10 +1528,10 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
|
|||
self.log("Storage account {0} found.".format(storage_account_name))
|
||||
self.check_provisioning_state(account)
|
||||
return account
|
||||
sku = self.storage_accounts_models.Sku(self.storage_accounts_models.SkuName.standard_lrs)
|
||||
sku.tier = self.storage_accounts_models.SkuTier.standard
|
||||
kind = self.storage_accounts_models.Kind.storage
|
||||
parameters = self.storage_accounts_models.StorageAccountCreateParameters(sku, kind, self.location)
|
||||
sku = self.storage_models.Sku(self.storage_models.SkuName.standard_lrs)
|
||||
sku.tier = self.storage_models.SkuTier.standard
|
||||
kind = self.storage_models.Kind.storage
|
||||
parameters = self.storage_models.StorageAccountCreateParameters(sku, kind, self.location)
|
||||
self.log("Creating storage account {0} in location {1}".format(storage_account_name, self.location))
|
||||
self.results['actions'].append("Created storage account {0}".format(storage_account_name))
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue