Class TopicInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.eventgrid.fluent.models.TopicInner
public final class TopicInner
extends com.azure.core.management.Resource
EventGrid Topic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataResidencyBoundary property: Data Residency Boundary of the resource.Get the disableLocalAuth property: This boolean is used to enable or disable local auth.endpoint()
Get the endpoint property: Endpoint for the topic.identity()
Get the identity property: Identity information for the resource.Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.Get the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.Get the inputSchemaMapping property: This enables publishing using custom event schemas.Get the metricResourceId property: Metric resource id for the topic.Get the privateEndpointConnections property: The privateEndpointConnections property.Get the provisioningState property: Provisioning state of the topic.Get the publicNetworkAccess property: This determines if traffic is allowed over public network.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to Topic resource.void
validate()
Validates the instance.withDataResidencyBoundary
(DataResidencyBoundary dataResidencyBoundary) Set the dataResidencyBoundary property: Data Residency Boundary of the resource.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: This boolean is used to enable or disable local auth.withIdentity
(IdentityInfo identity) Set the identity property: Identity information for the resource.withInboundIpRules
(List<InboundIpRule> inboundIpRules) Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.withInputSchema
(InputSchema inputSchema) Set the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.withInputSchemaMapping
(InputSchemaMapping inputSchemaMapping) Set the inputSchemaMapping property: This enables publishing using custom event schemas.withLocation
(String location) withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: This determines if traffic is allowed over public network.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
TopicInner
public TopicInner()
-
-
Method Details
-
identity
Get the identity property: Identity information for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity information for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the TopicInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to Topic resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
privateEndpointConnections
Get the privateEndpointConnections property: The privateEndpointConnections property.- Returns:
- the privateEndpointConnections value.
-
provisioningState
Get the provisioningState property: Provisioning state of the topic.- Returns:
- the provisioningState value.
-
endpoint
Get the endpoint property: Endpoint for the topic.- Returns:
- the endpoint value.
-
inputSchema
Get the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.- Returns:
- the inputSchema value.
-
withInputSchema
Set the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.- Parameters:
inputSchema
- the inputSchema value to set.- Returns:
- the TopicInner object itself.
-
inputSchemaMapping
Get the inputSchemaMapping property: This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.- Returns:
- the inputSchemaMapping value.
-
withInputSchemaMapping
Set the inputSchemaMapping property: This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.- Parameters:
inputSchemaMapping
- the inputSchemaMapping value to set.- Returns:
- the TopicInner object itself.
-
metricResourceId
Get the metricResourceId property: Metric resource id for the topic.- Returns:
- the metricResourceId value.
-
publicNetworkAccess
Get 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.TopicProperties.InboundIpRules" />.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set 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.TopicProperties.InboundIpRules" />.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the TopicInner object itself.
-
inboundIpRules
Get 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:
- the inboundIpRules value.
-
withInboundIpRules
Set 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.- Parameters:
inboundIpRules
- the inboundIpRules value to set.- Returns:
- the TopicInner object itself.
-
disableLocalAuth
Get 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 AAD token will be used to authenticate if user is allowed to publish to the topic.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set 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 AAD token will be used to authenticate if user is allowed to publish to the topic.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the TopicInner object itself.
-
dataResidencyBoundary
Get the dataResidencyBoundary property: Data Residency Boundary of the resource.- Returns:
- the dataResidencyBoundary value.
-
withDataResidencyBoundary
Set the dataResidencyBoundary property: Data Residency Boundary of the resource.- Parameters:
dataResidencyBoundary
- the dataResidencyBoundary value to set.- Returns:
- the TopicInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-