Domain Interface
public interface Domain
An immutable client-side representation of Domain.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Boolean |
autoCreateTopicWithFirstSubscription()
Gets the auto |
| abstract Boolean |
autoDeleteTopicWithLastSubscription()
Gets the auto |
|
abstract
Data |
dataResidencyBoundary()
Gets the data |
| abstract Boolean |
disableLocalAuth()
Gets the disable |
| abstract String |
endpoint()
Gets the endpoint property: Endpoint for the Event Grid Domain Resource which is used for publishing the events. |
|
abstract
Event |
eventTypeInfo()
Gets the event |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Identity |
identity()
Gets the identity property: Identity information for the Event Grid Domain resource. |
|
abstract
List<Inbound |
inboundIpRules()
Gets the inbound |
|
abstract
Domain |
innerModel()
Gets the inner com. |
|
abstract
Input |
inputSchema()
Gets the input |
|
abstract
Input |
inputSchemaMapping()
Gets the input |
|
abstract
Domain |
listSharedAccessKeys()
List keys for a domain. |
|
abstract
Response<Domain |
listSharedAccessKeysWithResponse(Context context)
List keys for a domain. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
metricResourceId()
Gets the metric |
|
abstract
Tls |
minimumTlsVersionAllowed()
Gets the minimum |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
List<Private |
privateEndpointConnections()
Gets the private |
|
abstract
Domain |
provisioningState()
Gets the provisioning |
|
abstract
Public |
publicNetworkAccess()
Gets the public |
| abstract Domain |
refresh()
Refreshes the resource to sync with Azure. |
| abstract Domain |
refresh(Context context)
Refreshes the resource to sync with Azure. |
|
abstract
Domain |
regenerateKey(DomainRegenerateKeyRequest regenerateKeyRequest)
Regenerate key for a domain. |
|
abstract
Response<Domain |
regenerateKeyWithResponse(DomainRegenerateKeyRequest regenerateKeyRequest, Context context)
Regenerate key for a domain. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
Resource |
sku()
Gets the sku property: The Sku pricing tier for the Event Grid Domain resource. |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Domain resource. |
Method Details
autoCreateTopicWithFirstSubscription
public abstract Boolean autoCreateTopicWithFirstSubscription()
Gets the autoCreateTopicWithFirstSubscription property: 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.
Returns:
autoDeleteTopicWithLastSubscription
public abstract Boolean autoDeleteTopicWithLastSubscription()
Gets the autoDeleteTopicWithLastSubscription property: 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.
Returns:
dataResidencyBoundary
public abstract DataResidencyBoundary dataResidencyBoundary()
Gets the dataResidencyBoundary property: Data Residency Boundary of the resource.
Returns:
disableLocalAuth
public abstract Boolean disableLocalAuth()
Gets the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the domain.
Returns:
endpoint
public abstract String endpoint()
Gets the endpoint property: Endpoint for the Event Grid Domain Resource which is used for publishing the events.
Returns:
eventTypeInfo
public abstract EventTypeInfo eventTypeInfo()
Gets the eventTypeInfo property: 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.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract IdentityInfo identity()
Gets the identity property: Identity information for the Event Grid Domain resource.
Returns:
inboundIpRules
public abstract List<InboundIpRule> inboundIpRules()
Gets the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
Returns:
innerModel
public abstract DomainInner innerModel()
Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.DomainInner object.
Returns:
inputSchema
public abstract InputSchema inputSchema()
Gets the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource.
Returns:
inputSchemaMapping
public abstract InputSchemaMapping inputSchemaMapping()
Gets the inputSchemaMapping property: Information about the InputSchemaMapping which specified the info about mapping event payload.
Returns:
listSharedAccessKeys
public abstract DomainSharedAccessKeys listSharedAccessKeys()
List keys for a domain. List the two keys used to publish to a domain.
Returns:
listSharedAccessKeysWithResponse
public abstract Response<DomainSharedAccessKeys> listSharedAccessKeysWithResponse(Context context)
List keys for a domain. List the two keys used to publish to a domain.
Parameters:
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
metricResourceId
public abstract String metricResourceId()
Gets the metricResourceId property: Metric resource id for the Event Grid Domain Resource.
Returns:
minimumTlsVersionAllowed
public abstract TlsVersion minimumTlsVersionAllowed()
Gets the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
privateEndpointConnections
public abstract List<PrivateEndpointConnection> privateEndpointConnections()
Gets the privateEndpointConnections property: List of private endpoint connections.
Returns:
provisioningState
public abstract DomainProvisioningState provisioningState()
Gets the provisioningState property: Provisioning state of the Event Grid Domain Resource.
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Gets the publicNetworkAccess property: 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" />.
Returns:
refresh
public abstract Domain refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Domain refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
regenerateKey
public abstract DomainSharedAccessKeys regenerateKey(DomainRegenerateKeyRequest regenerateKeyRequest)
Regenerate key for a domain. Regenerate a shared access key for a domain.
Parameters:
Returns:
regenerateKeyWithResponse
public abstract Response<DomainSharedAccessKeys> regenerateKeyWithResponse(DomainRegenerateKeyRequest regenerateKeyRequest, Context context)
Regenerate key for a domain. Regenerate a shared access key for a domain.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
sku
public abstract ResourceSku sku()
Gets the sku property: The Sku pricing tier for the Event Grid Domain resource.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system metadata relating to the Event Grid resource.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Domain.Update update()
Begins update for the Domain resource.
Returns: