-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modularized eventgrid creation to avoid changing values by mistake.
- Loading branch information
Showing
4 changed files
with
123 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
param namespaces_name string | ||
param location string | ||
param routeTopicResourceId string = '' | ||
|
||
|
||
resource namespace_resource 'Microsoft.EventGrid/namespaces@2023-12-15-preview' = { | ||
name: namespaces_name | ||
location: location | ||
sku: { | ||
name: 'Standard' | ||
capacity: 1 | ||
} | ||
identity: { | ||
type: 'SystemAssigned' | ||
} | ||
properties: { | ||
topicsConfiguration: {} | ||
topicSpacesConfiguration: { | ||
state: 'Enabled' | ||
maximumSessionExpiryInHours: 2 | ||
maximumClientSessionsPerAuthenticationName: 2 // to allow for some disconnection test scenarios | ||
routeTopicResourceId: routeTopicResourceId // resourceId('Microsoft.EventGrid/namespaces/topics', namespaces_name, custom_topic_name) | ||
} | ||
isZoneRedundant: true | ||
publicNetworkAccess: 'Enabled' | ||
} | ||
} | ||
|
||
output namespace_resource object = namespace_resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters