Domain Constructors

Definition

Overloads

Domain()

Initializes a new instance of the Domain class.

Domain(String, String, String, String, IDictionary<String,String>, IList<PrivateEndpointConnection>, String, String, String, InputSchemaMapping, String, String, IList<InboundIpRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, SystemData, IdentityInfo)

Initializes a new instance of the Domain class.

Domain()

Initializes a new instance of the Domain class.

public Domain ();
Public Sub New ()

Applies to

Domain(String, String, String, String, IDictionary<String,String>, IList<PrivateEndpointConnection>, String, String, String, InputSchemaMapping, String, String, IList<InboundIpRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, SystemData, IdentityInfo)

Initializes a new instance of the Domain class.

public Domain (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> privateEndpointConnections = default, string provisioningState = default, string endpoint = default, string inputSchema = default, Microsoft.Azure.Management.EventGrid.Models.InputSchemaMapping inputSchemaMapping = default, string metricResourceId = default, string publicNetworkAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> inboundIpRules = default, bool? disableLocalAuth = default, bool? autoCreateTopicWithFirstSubscription = default, bool? autoDeleteTopicWithLastSubscription = default, string dataResidencyBoundary = default, Microsoft.Azure.Management.EventGrid.Models.SystemData systemData = default, Microsoft.Azure.Management.EventGrid.Models.IdentityInfo identity = default);
new Microsoft.Azure.Management.EventGrid.Models.Domain : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> * string * string * string * Microsoft.Azure.Management.EventGrid.Models.InputSchemaMapping * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.EventGrid.Models.SystemData * Microsoft.Azure.Management.EventGrid.Models.IdentityInfo -> Microsoft.Azure.Management.EventGrid.Models.Domain
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional provisioningState As String = Nothing, Optional endpoint As String = Nothing, Optional inputSchema As String = Nothing, Optional inputSchemaMapping As InputSchemaMapping = Nothing, Optional metricResourceId As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional inboundIpRules As IList(Of InboundIpRule) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional autoCreateTopicWithFirstSubscription As Nullable(Of Boolean) = Nothing, Optional autoDeleteTopicWithLastSubscription As Nullable(Of Boolean) = Nothing, Optional dataResidencyBoundary As String = Nothing, Optional systemData As SystemData = Nothing, Optional identity As IdentityInfo = Nothing)

Parameters

location
String

Location of the resource.

id
String

Fully qualified identifier of the resource.

name
String

Name of the resource.

type
String

Type of the resource.

tags
IDictionary<String,String>

Tags of the resource.

privateEndpointConnections
IList<PrivateEndpointConnection>

List of private endpoint connections.

provisioningState
String

Provisioning state of the Event Grid Domain Resource. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'

endpoint
String

Endpoint for the Event Grid Domain Resource which is used for publishing the events.

inputSchema
String

This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource. Possible values include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventSchemaV1_0'

inputSchemaMapping
InputSchemaMapping

Information about the InputSchemaMapping which specified the info about mapping event payload.

metricResourceId
String

Metric resource id for the Event Grid Domain Resource.

publicNetworkAccess
String

This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" />. Possible values include: 'Enabled', 'Disabled'

inboundIpRules
IList<InboundIpRule>

This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

disableLocalAuth
Nullable<Boolean>

This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain.

autoCreateTopicWithFirstSubscription
Nullable<Boolean>

This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the domain topic on demand if needed.

autoDeleteTopicWithLastSubscription
Nullable<Boolean>

This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user.

dataResidencyBoundary
String

Data Residency Boundary of the resource. Possible values include: 'WithinGeopair', 'WithinRegion'

systemData
SystemData

The system metadata relating to the Event Grid Domain resource.

identity
IdentityInfo

Identity information for the Event Grid Domain resource.

Applies to