arc-gateway
This Bicep AVM module deploys a Azure Arc Gateway.
ipm add --package avm-bicep/arc-gateway --version 0.1.1
Azure Arc Gateway [Microsoft.HybridCompute/gateways]
This module deploys a Azure Arc Gateway.
Navigation
Resource Types
| Resource Type | API Version | References |
|---|---|---|
Microsoft.Authorization/locks |
2020-05-01 | |
Microsoft.HybridCompute/gateways |
2024-07-31-preview |
Usage examples
The following section provides usage examples for the module, which were used to validate and deploy the module successfully. For a full reference, please review the module's test folder in its repository.
Note: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.
Note: To reference the module, please use the following syntax
./packages/arc-gateway/main.bicep.
Example 1: Azure Arc Gateway using only the defaults
This instance deploys the module with the minimum set of required parameters.
via Bicep module
module gateway './packages/arc-gateway/main.bicep' = {
name: 'gatewayDeployment'
params: {
name: 'hcgmin001'
}
}
via JSON parameters file
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"value": "hcgmin001"
}
}
}
via Bicep parameters file
using './packages/arc-gateway/main.bicep'
param name = 'hcgmin001'
Example 2: Azure Arc Gateway according to WAF
This instance deploys the module in alignment with the best-practices of the Azure Well-Architected Framework.
via Bicep module
module gateway './packages/arc-gateway/main.bicep' = {
name: 'gatewayDeployment'
params: {
name: 'hcgwaf001'
}
}
via JSON parameters file
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"value": "hcgwaf001"
}
}
}
via Bicep parameters file
using './packages/arc-gateway/main.bicep'
param name = 'hcgwaf001'
Parameters
Required parameters
| Parameter | Type | Description |
|---|---|---|
name |
string | Name of the resource to create. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
allowedFeatures |
array | Specifies the list of features that are enabled for this Gateway. |
enableTelemetry |
bool | Enable/Disable usage telemetry for module. |
gatewayType |
string | The type of the Gateway resource. |
location |
string | Location for all Resources. |
lock |
object | The lock settings of the service. |
tags |
object | Tags of the resource. |
Parameter: name
Name of the resource to create.
- Required: Yes
- Type: string
Parameter: allowedFeatures
Specifies the list of features that are enabled for this Gateway.
- Required: No
- Type: array
- Default:
[ '*' ]
Parameter: enableTelemetry
Enable/Disable usage telemetry for module.
- Required: No
- Type: bool
- Default:
True
Parameter: gatewayType
The type of the Gateway resource.
- Required: No
- Type: string
- Default:
'Public' - Allowed:
[ 'Public' ]
Parameter: location
Location for all Resources.
- Required: No
- Type: string
- Default:
[resourceGroup().location]
Parameter: lock
The lock settings of the service.
- Required: No
- Type: object
Optional parameters
| Parameter | Type | Description |
|---|---|---|
kind |
string | Specify the type of lock. |
name |
string | Specify the name of lock. |
notes |
string | Specify the notes of the lock. |
Parameter: lock.kind
Specify the type of lock.
- Required: No
- Type: string
- Allowed:
[ 'CanNotDelete' 'None' 'ReadOnly' ]
Parameter: lock.name
Specify the name of lock.
- Required: No
- Type: string
Parameter: lock.notes
Specify the notes of the lock.
- Required: No
- Type: string
Parameter: tags
Tags of the resource.
- Required: No
- Type: object
Outputs
| Output | Type | Description |
|---|---|---|
location |
string | The location the resource was deployed into. |
name |
string | The name of the resource. |
resourceGroupName |
string | The resource group of the deployed storage account. |
resourceId |
string | The resource ID of the resource. |
Cross-referenced modules
This section gives you an overview of all local-referenced module files (i.e., other modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs).
| Reference | Type |
|---|---|
./packages/utl-common-types/main.bicep |
Local Reference |
Data Collection
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
Changelog
The latest version of the changelog can be found here.
0.1.1
Changes
- Added type for
tagsparameter - Updated LockType to 'avm-common-types version'
0.6.0, enabling custom notes for locks.
Breaking Changes
- None
0.1.0
Changes
- Initial version
- Updated ReadMe with AzAdvertizer reference
Breaking Changes
- None
{
"workingFolder": "packages",
"packages": [
// packages defined earlier
{
"name": "avm-bicep/arc-gateway",
"version": "0.1.1"
}
]
}
Stats
Selected version:
0.1.1
Downloads this version:
0
Downloads all versions:
0
Latest version:
0.1.1
Latest update:
14-01-2026
avm-bicep
Other packages
from avm-bicep
Ready to End Infrastructure Code Chaos?
Join infrastructure teams who've moved from scattered repositories to unified package management
Built by infrastructure experts
Who understand your challengesComplete solutions
No scattered filesSee what's deployed where
When it needs updatesZero vendor lock-in
Packages work without usDirect founder access Zero security incidents in 2+ years Works with any cloud, any CI/CD platform