mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: azure - changed one description of a param to clarify the use of the param
parent
b7a94f4b03
commit
94f2e3e573
|
@ -1105,7 +1105,7 @@ param storageAccountName string = ''
|
||||||
|
|
||||||
var isEmptyStorageAccountName = storageAccountName == ''
|
var isEmptyStorageAccountName = storageAccountName == ''
|
||||||
|
|
||||||
@description('Name of the bucket where OpenVidu will store the recordings. If not specified, a default bucket will be created.')
|
@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.')
|
||||||
param containerName string = ''
|
param containerName string = ''
|
||||||
|
|
||||||
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
|
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
|
||||||
|
|
|
@ -2057,7 +2057,7 @@ resource blobContainerScaleIn 'Microsoft.Storage/storageAccounts/blobServices/co
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@description('Name of the bucket where OpenVidu will store the recordings. If not specified, a default bucket will be created.')
|
@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.')
|
||||||
param containerName string = ''
|
param containerName string = ''
|
||||||
|
|
||||||
var isEmptyContainerName = containerName == ''
|
var isEmptyContainerName = containerName == ''
|
||||||
|
|
|
@ -1055,7 +1055,7 @@ var store_secretScriptMaster = reduce(
|
||||||
).value
|
).value
|
||||||
|
|
||||||
var blobStorageParams = {
|
var blobStorageParams = {
|
||||||
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name
|
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name
|
||||||
storageAccountKey: listKeys(storageAccount.id, '2021-04-01').keys[0].value
|
storageAccountKey: listKeys(storageAccount.id, '2021-04-01').keys[0].value
|
||||||
storageAccountContainerName: isEmptyContainerName ? 'openvidu-appdata' : '${containerName}'
|
storageAccountContainerName: isEmptyContainerName ? 'openvidu-appdata' : '${containerName}'
|
||||||
}
|
}
|
||||||
|
@ -1129,7 +1129,7 @@ var userDataParamsMasterNode4 = {
|
||||||
base64restart: base64restartMaster
|
base64restart: base64restartMaster
|
||||||
keyVaultName: keyVaultName
|
keyVaultName: keyVaultName
|
||||||
masterNodeNum: '4'
|
masterNodeNum: '4'
|
||||||
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name
|
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name
|
||||||
base64config_blobStorage: base64config_blobStorage
|
base64config_blobStorage: base64config_blobStorage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1468,7 +1468,7 @@ var stopMediaNodeParams = {
|
||||||
subscriptionId: subscription().subscriptionId
|
subscriptionId: subscription().subscriptionId
|
||||||
resourceGroupName: resourceGroup().name
|
resourceGroupName: resourceGroup().name
|
||||||
vmScaleSetName: '${stackName}-mediaNodeScaleSet'
|
vmScaleSetName: '${stackName}-mediaNodeScaleSet'
|
||||||
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name
|
storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name
|
||||||
}
|
}
|
||||||
|
|
||||||
var stop_media_nodesScriptMediaTemplate = '''
|
var stop_media_nodesScriptMediaTemplate = '''
|
||||||
|
@ -1584,7 +1584,7 @@ resource openviduScaleSetMediaNode 'Microsoft.Compute/virtualMachineScaleSets@20
|
||||||
location: location
|
location: location
|
||||||
tags: {
|
tags: {
|
||||||
InstanceDeleteTime: datetime
|
InstanceDeleteTime: datetime
|
||||||
storageAccount: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name
|
storageAccount: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name
|
||||||
}
|
}
|
||||||
identity: { type: 'SystemAssigned' }
|
identity: { type: 'SystemAssigned' }
|
||||||
sku: {
|
sku: {
|
||||||
|
@ -2984,7 +2984,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = if (isE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource exisitngStorageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' existing = if (isEmptyStorageAccountName == false) {
|
resource existingStorageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' existing = if (isEmptyStorageAccountName == false) {
|
||||||
name: storageAccountName
|
name: storageAccountName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2995,7 +2995,7 @@ resource blobContainerScaleIn 'Microsoft.Storage/storageAccounts/blobServices/co
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created.')
|
@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.')
|
||||||
param containerName string = ''
|
param containerName string = ''
|
||||||
|
|
||||||
var isEmptyContainerName = containerName == ''
|
var isEmptyContainerName = containerName == ''
|
||||||
|
|
Loading…
Reference in New Issue