ArmEventGridModelFactory.TopicSpacesConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TopicSpacesConfiguration.
public static Azure.ResourceManager.EventGrid.Models.TopicSpacesConfiguration TopicSpacesConfiguration (Azure.ResourceManager.EventGrid.Models.TopicSpacesConfigurationState? state = default, string routeTopicResourceId = default, string hostname = default, Azure.ResourceManager.EventGrid.Models.RoutingEnrichments routingEnrichments = default, Azure.ResourceManager.EventGrid.Models.ClientAuthenticationSettings clientAuthentication = default, int? maximumSessionExpiryInHours = default, int? maximumClientSessionsPerAuthenticationName = default, Azure.ResourceManager.EventGrid.Models.RoutingIdentityInfo routingIdentityInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.Models.CustomDomainConfiguration> customDomains = default);
static member TopicSpacesConfiguration : Nullable<Azure.ResourceManager.EventGrid.Models.TopicSpacesConfigurationState> * string * string * Azure.ResourceManager.EventGrid.Models.RoutingEnrichments * Azure.ResourceManager.EventGrid.Models.ClientAuthenticationSettings * Nullable<int> * Nullable<int> * Azure.ResourceManager.EventGrid.Models.RoutingIdentityInfo * seq<Azure.ResourceManager.EventGrid.Models.CustomDomainConfiguration> -> Azure.ResourceManager.EventGrid.Models.TopicSpacesConfiguration
Public Shared Function TopicSpacesConfiguration (Optional state As Nullable(Of TopicSpacesConfigurationState) = Nothing, Optional routeTopicResourceId As String = Nothing, Optional hostname As String = Nothing, Optional routingEnrichments As RoutingEnrichments = Nothing, Optional clientAuthentication As ClientAuthenticationSettings = Nothing, Optional maximumSessionExpiryInHours As Nullable(Of Integer) = Nothing, Optional maximumClientSessionsPerAuthenticationName As Nullable(Of Integer) = Nothing, Optional routingIdentityInfo As RoutingIdentityInfo = Nothing, Optional customDomains As IEnumerable(Of CustomDomainConfiguration) = Nothing) As TopicSpacesConfiguration
Parameters
Indicate if Topic Spaces Configuration is enabled for the namespace. Default is Disabled.
- routeTopicResourceId
- String
Fully qualified Azure Resource Id for the Event Grid Topic to which events will be routed to from TopicSpaces under a namespace. This property should be in the following format '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft.EventGrid/topics/{topicName}'. This topic should reside in the same region where namespace is located.
- hostname
- String
The endpoint for the topic spaces configuration. This is a read-only property.
- routingEnrichments
- RoutingEnrichments
Routing enrichments for topic spaces configuration.
- clientAuthentication
- ClientAuthenticationSettings
Client authentication settings for topic spaces configuration.
The maximum session expiry in hours. The property default value is 1 hour. Min allowed value is 1 hour and max allowed value is 8 hours.
The maximum number of sessions per authentication name. The property default value is 1. Min allowed value is 1 and max allowed value is 100.
- routingIdentityInfo
- RoutingIdentityInfo
Routing identity info for topic spaces configuration.
- customDomains
- IEnumerable<CustomDomainConfiguration>
List of custom domain configurations for the namespace.
Returns
A new TopicSpacesConfiguration instance for mocking.
Applies to
Azure SDK for .NET