TopicInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. eventgrid. fluent. models. TopicInner
- com.
- com.
- com.
public final class TopicInner
extends Resource
EventGrid Topic.
Constructor Summary
| Constructor | Description |
|---|---|
| TopicInner() |
Creates an instance of Topic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Data |
dataResidencyBoundary()
Get the data |
| Boolean |
disableLocalAuth()
Get the disable |
| String |
endpoint()
Get the endpoint property: Endpoint for the topic. |
|
Event |
eventTypeInfo()
Get the event |
|
Extended |
extendedLocation()
Get the extended |
|
static
Topic |
fromJson(JsonReader jsonReader)
Reads an instance of Topic |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Identity |
identity()
Get the identity property: Identity information for the resource. |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Input |
inputSchema()
Get the input |
|
Input |
inputSchemaMapping()
Get the input |
|
Resource |
kind()
Get the kind property: Kind of the resource. |
| String |
metricResourceId()
Get the metric |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
| String |
name()
Get the name property: The name of the resource. |
|
List<Private |
privateEndpointConnections()
Get the private |
|
Topic |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
|
Resource |
sku()
Get the sku property: The Sku pricing tier for the topic. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Topic |
withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the data |
|
Topic |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Topic |
withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the event |
|
Topic |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Topic |
withIdentity(IdentityInfo identity)
Set the identity property: Identity information for the resource. |
|
Topic |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Topic |
withInputSchema(InputSchema inputSchema)
Set the input |
|
Topic |
withInputSchemaMapping(InputSchemaMapping inputSchemaMapping)
Set the input |
|
Topic |
withKind(ResourceKind kind)
Set the kind property: Kind of the resource. |
|
Topic |
withLocation(String location) |
|
Topic |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Topic |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Topic |
withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the topic. |
|
Topic |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
TopicInner
public TopicInner()
Creates an instance of TopicInner class.
Method Details
dataResidencyBoundary
public DataResidencyBoundary dataResidencyBoundary()
Get the dataResidencyBoundary property: Data Residency Boundary of the resource.
Returns:
disableLocalAuth
public Boolean 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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the topic.
Returns:
endpoint
public String endpoint()
Get the endpoint property: Endpoint for the topic.
Returns:
eventTypeInfo
public EventTypeInfo eventTypeInfo()
Get the eventTypeInfo property: Event Type Information for the user topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Extended location of the resource.
Returns:
fromJson
public static TopicInner fromJson(JsonReader jsonReader)
Reads an instance of TopicInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TopicInner.id()Returns:
identity
public IdentityInfo identity()
Get the identity property: Identity information for the resource.
Returns:
inboundIpRules
public List<InboundIpRule> 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:
inputSchema
public InputSchema inputSchema()
Get the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.
Returns:
inputSchemaMapping
public InputSchemaMapping 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:
kind
public ResourceKind kind()
Get the kind property: Kind of the resource.
Returns:
metricResourceId
public String metricResourceId()
Get the metricResourceId property: Metric resource id for the topic.
Returns:
minimumTlsVersionAllowed
public TlsVersion minimumTlsVersionAllowed()
Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this topic.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TopicInner.name()Returns:
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections.
Returns:
provisioningState
public TopicProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the topic.
Returns:
publicNetworkAccess
public PublicNetworkAccess 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:
sku
public ResourceSku sku()
Get the sku property: The Sku pricing tier for the topic.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TopicInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TopicInner.type()Returns:
validate
public void validate()
Validates the instance.
withDataResidencyBoundary
public TopicInner withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the dataResidencyBoundary property: Data Residency Boundary of the resource.
Parameters:
Returns:
withDisableLocalAuth
public TopicInner withDisableLocalAuth(Boolean disableLocalAuth)
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 Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the topic.
Parameters:
Returns:
withEventTypeInfo
public TopicInner withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the eventTypeInfo property: Event Type Information for the user topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
Parameters:
Returns:
withExtendedLocation
public TopicInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Extended location of the resource.
Parameters:
Returns:
withIdentity
public TopicInner withIdentity(IdentityInfo identity)
Set the identity property: Identity information for the resource.
Parameters:
Returns:
withInboundIpRules
public TopicInner withInboundIpRules(List<InboundIpRule> inboundIpRules)
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:
Returns:
withInputSchema
public TopicInner withInputSchema(InputSchema inputSchema)
Set the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the topic.
Parameters:
Returns:
withInputSchemaMapping
public TopicInner withInputSchemaMapping(InputSchemaMapping inputSchemaMapping)
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:
Returns:
withKind
public TopicInner withKind(ResourceKind kind)
Set the kind property: Kind of the resource.
Parameters:
Returns:
withLocation
public TopicInner withLocation(String location)
Overrides:
TopicInner.withLocation(String location)Parameters:
withMinimumTlsVersionAllowed
public TopicInner withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this topic.
Parameters:
Returns:
withPublicNetworkAccess
public TopicInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
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:
Returns:
withSku
public TopicInner withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the topic.
Parameters:
Returns:
withTags
public TopicInner withTags(Map<String,String> tags)
Overrides:
TopicInner.withTags(Map<String,String> tags)Parameters: