31 строка
684 B
Bicep
31 строка
684 B
Bicep
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
// Bicep documentation examples
|
|
|
|
@description('The name of the resource.')
|
|
param name string
|
|
|
|
@description('The location resources will be deployed.')
|
|
param location string = resourceGroup().location
|
|
|
|
// An example Event Hub namespace.
|
|
resource ns 'Microsoft.EventHub/namespaces@2024-01-01' = {
|
|
name: name
|
|
location: location
|
|
identity: {
|
|
type: 'SystemAssigned'
|
|
}
|
|
sku: {
|
|
name: 'Standard'
|
|
}
|
|
properties: {
|
|
disableLocalAuth: true
|
|
minimumTlsVersion: '1.2'
|
|
publicNetworkAccess: 'Disabled'
|
|
isAutoInflateEnabled: true
|
|
maximumThroughputUnits: 10
|
|
zoneRedundant: true
|
|
}
|
|
}
|