共用方式為


EventGridNamespaceData Class

Definition

A class representing the EventGridNamespace data model. Namespace resource.

public class EventGridNamespaceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.EventGridNamespaceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.EventGridNamespaceData>
type EventGridNamespaceData = class
    inherit TrackedResourceData
    interface IJsonModel<EventGridNamespaceData>
    interface IPersistableModel<EventGridNamespaceData>
Public Class EventGridNamespaceData
Inherits TrackedResourceData
Implements IJsonModel(Of EventGridNamespaceData), IPersistableModel(Of EventGridNamespaceData)
Inheritance
EventGridNamespaceData
Implements

Constructors

EventGridNamespaceData(AzureLocation)

Initializes a new instance of EventGridNamespaceData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

Identity information for the Namespace resource.

InboundIPRules

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

IsZoneRedundant

This is an optional property and it allows the user to specify if the namespace resource supports zone-redundancy capability or not. If this property is not specified explicitly by the user, its default value depends on the following conditions: a. For Availability Zones enabled regions - The default property value would be true. b. For non-Availability Zones enabled regions - The default property value would be false. Once specified, this property cannot be updated.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MinimumTlsVersionAllowed

Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported.

Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

List of private endpoint connections.

ProvisioningState

Provisioning state of the namespace resource.

PublicNetworkAccess

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.PubSub.NamespaceProperties.InboundIpRules" />

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

Represents available Sku pricing tiers.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TopicsConfiguration

Topics configuration information for the namespace resource.

TopicSpacesConfiguration

Topic spaces configuration information for the namespace resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<EventGridNamespaceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EventGridNamespaceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventGridNamespaceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventGridNamespaceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EventGridNamespaceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to