Merge pull request #66 from mumian/main

update the api versions
This commit is contained in:
Jonathan Gao 2023-06-23 16:41:05 -04:00 коммит произвёл GitHub
Родитель e6d15fed8b 5dd2b22ac9
Коммит 703d7b6e91
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -1,4 +1,4 @@
resource storage 'Microsoft.Storage/storageAccounts@2021-02-01' = {
resource storage 'Microsoft.Storage/storageAccounts@2022-09-01' = {
name: 'examplestorage'
location: resourceGroup().location
kind: 'StorageV2'
@ -7,17 +7,17 @@ resource storage 'Microsoft.Storage/storageAccounts@2021-02-01' = {
}
}
resource service 'Microsoft.Storage/storageAccounts/fileServices@2021-02-01' = {
resource service 'Microsoft.Storage/storageAccounts/fileServices@2022-09-01' = {
name: 'examplestorage/default'
dependsOn: [
storage
]
}
resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2021-02-01' = {
resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2022-09-01' = {
name: 'examplestorage/default/exampleshare'
dependsOn: [
service
]
}

Просмотреть файл

@ -1,4 +1,4 @@
resource storage 'Microsoft.Storage/storageAccounts@2021-02-01' = {
resource storage 'Microsoft.Storage/storageAccounts@2022-09-01' = {
name: 'examplestorage'
location: resourceGroup().location
kind: 'StorageV2'

Просмотреть файл

@ -1,4 +1,4 @@
resource storage 'Microsoft.Storage/storageAccounts@2021-02-01' = {
resource storage 'Microsoft.Storage/storageAccounts@2022-09-01' = {
name: 'examplestorage'
location: resourceGroup().location
kind: 'StorageV2'
@ -7,12 +7,12 @@ resource storage 'Microsoft.Storage/storageAccounts@2021-02-01' = {
}
}
resource service 'Microsoft.Storage/storageAccounts/fileServices@2021-02-01' = {
resource service 'Microsoft.Storage/storageAccounts/fileServices@2022-09-01' = {
name: 'default'
parent: storage
}
resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2021-02-01' = {
resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2022-09-01' = {
name: 'exampleshare'
parent: service
}