зеркало из https://github.com/Azure/AzureDSVM.git
Use new existsRG().
This commit is contained in:
Родитель
83d15d68f5
Коммит
2b15b00ec7
|
@ -94,16 +94,7 @@ context <- createAzureContext(tenantID=TID, clientID=CID, authKey=KEY)
|
|||
# Check if the resource group already exists. Take note this script
|
||||
# will not remove the resource group if it pre-existed.
|
||||
|
||||
context %>%
|
||||
azureListRG() %>%
|
||||
filter(name == RG) %>%
|
||||
select(name, location) %T>%
|
||||
print() %>%
|
||||
nrow() %>%
|
||||
equals(0) %>%
|
||||
not() %T>%
|
||||
print() ->
|
||||
rg_pre_exists
|
||||
rg_pre_exists <- existsRG(context, RG, LOC)
|
||||
```
|
||||
# Create a Resource Group
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче