ArmEventGridModelFactory.EventGridDomainData Method

Definition

Initializes a new instance of EventGridDomainData.

public static Azure.ResourceManager.EventGrid.EventGridDomainData EventGridDomainData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.EventGrid.Models.EventGridSku? skuName = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.EventGrid.Models.EventGridDomainProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.TlsVersion? minimumTlsVersionAllowed = default, Uri endpoint = default, Azure.ResourceManager.EventGrid.Models.EventGridInputSchema? inputSchema = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicEventTypeInfo eventTypeInfo = default, Azure.ResourceManager.EventGrid.Models.EventGridInputSchemaMapping inputSchemaMapping = default, string metricResourceId = default, Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> inboundIPRules = default, bool? isLocalAuthDisabled = default, bool? autoCreateTopicWithFirstSubscription = default, bool? autoDeleteTopicWithLastSubscription = default, Azure.ResourceManager.EventGrid.Models.DataResidencyBoundary? dataResidencyBoundary = default);
static member EventGridDomainData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridSku> * Azure.ResourceManager.Models.ManagedServiceIdentity * seq<Azure.ResourceManager.EventGrid.EventGridPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridDomainProvisioningState> * Nullable<Azure.ResourceManager.EventGrid.Models.TlsVersion> * Uri * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridInputSchema> * Azure.ResourceManager.EventGrid.Models.PartnerTopicEventTypeInfo * Azure.ResourceManager.EventGrid.Models.EventGridInputSchemaMapping * string * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridPublicNetworkAccess> * seq<Azure.ResourceManager.EventGrid.Models.EventGridInboundIPRule> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.EventGrid.Models.DataResidencyBoundary> -> Azure.ResourceManager.EventGrid.EventGridDomainData
Public Shared Function EventGridDomainData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional skuName As Nullable(Of EventGridSku) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional privateEndpointConnections As IEnumerable(Of EventGridPrivateEndpointConnectionData) = Nothing, Optional provisioningState As Nullable(Of EventGridDomainProvisioningState) = Nothing, Optional minimumTlsVersionAllowed As Nullable(Of TlsVersion) = Nothing, Optional endpoint As Uri = Nothing, Optional inputSchema As Nullable(Of EventGridInputSchema) = Nothing, Optional eventTypeInfo As PartnerTopicEventTypeInfo = Nothing, Optional inputSchemaMapping As EventGridInputSchemaMapping = Nothing, Optional metricResourceId As String = Nothing, Optional publicNetworkAccess As Nullable(Of EventGridPublicNetworkAccess) = Nothing, Optional inboundIPRules As IEnumerable(Of EventGridInboundIPRule) = Nothing, Optional isLocalAuthDisabled As Nullable(Of Boolean) = Nothing, Optional autoCreateTopicWithFirstSubscription As Nullable(Of Boolean) = Nothing, Optional autoDeleteTopicWithLastSubscription As Nullable(Of Boolean) = Nothing, Optional dataResidencyBoundary As Nullable(Of DataResidencyBoundary) = Nothing) As EventGridDomainData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

skuName
Nullable<EventGridSku>

The Sku pricing tier for the Event Grid Domain resource.

identity
ManagedServiceIdentity

Identity information for the Event Grid Domain resource.

privateEndpointConnections
IEnumerable<EventGridPrivateEndpointConnectionData>

List of private endpoint connections.

provisioningState
Nullable<EventGridDomainProvisioningState>

Provisioning state of the Event Grid Domain Resource.

minimumTlsVersionAllowed
Nullable<TlsVersion>

Minimum TLS version of the publisher allowed to publish to this domain.

endpoint
Uri

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

inputSchema
Nullable<EventGridInputSchema>

This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource.

eventTypeInfo
PartnerTopicEventTypeInfo

Event Type Information for the domain. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.

inputSchemaMapping
EventGridInputSchemaMapping

Information about the InputSchemaMapping which specified the info about mapping event payload. Please note EventGridInputSchemaMapping is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include EventGridJsonInputSchemaMapping.

metricResourceId
String

Metric resource id for the Event Grid Domain Resource.

publicNetworkAccess
Nullable<EventGridPublicNetworkAccess>

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" />

inboundIPRules
IEnumerable<EventGridInboundIPRule>

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

isLocalAuthDisabled
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
Nullable<DataResidencyBoundary>

Data Residency Boundary of the resource.

Returns

A new EventGridDomainData instance for mocking.

Applies to