共用方式為


Topic Class

Definition

EventGrid Topic

[Microsoft.Rest.Serialization.JsonTransformation]
public class Topic : Microsoft.Azure.Management.EventGrid.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Topic = class
    inherit TrackedResource
Public Class Topic
Inherits TrackedResource
Inheritance
Attributes

Constructors

Topic()

Initializes a new instance of the Topic class.

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

Initializes a new instance of the Topic class.

Properties

DataResidencyBoundary

Gets or sets data Residency Boundary of the resource. Possible values include: 'WithinGeopair', 'WithinRegion'

DisableLocalAuth

Gets or sets 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.

Endpoint

Gets endpoint for the topic.

Id

Gets fully qualified identifier of the resource.

(Inherited from Resource)
Identity

Gets or sets identity information for the resource.

InboundIpRules

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

InputSchema

Gets or sets this determines the format that Event Grid should expect for incoming events published to the topic. Possible values include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventSchemaV1_0'

InputSchemaMapping

Gets or sets 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.

Location

Gets or sets location of the resource.

(Inherited from TrackedResource)
MetricResourceId

Gets metric resource id for the topic.

Name

Gets name of the resource.

(Inherited from Resource)
PrivateEndpointConnections
ProvisioningState

Gets provisioning state of the topic. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'

PublicNetworkAccess

Gets or sets this determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring &lt;seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" /&gt;. Possible values include: 'Enabled', 'Disabled'

SystemData

Gets the system metadata relating to Topic resource.

Tags

Gets or sets tags of the resource.

(Inherited from TrackedResource)
Type

Gets type of the resource.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to