Share via


PartnerNamespaceData Class

Definition

A class representing the PartnerNamespace data model. EventGrid Partner Namespace.

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

Constructors

PartnerNamespaceData(AzureLocation)

Initializes a new instance of PartnerNamespaceData.

Properties

Endpoint

Endpoint for the partner namespace.

Id

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

(Inherited from ResourceData)
InboundIPRules

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

IsLocalAuthDisabled

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 partner namespace.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MinimumTlsVersionAllowed

Minimum TLS version of the publisher allowed to publish to this partner namespace.

Name

The name of the resource.

(Inherited from ResourceData)
PartnerRegistrationFullyQualifiedId

The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.

PartnerTopicRoutingMode

This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.

PrivateEndpointConnections

List of private endpoint connections.

ProvisioningState

Provisioning state of the partner namespace.

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

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<PartnerNamespaceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerNamespaceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerNamespaceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerNamespaceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerNamespaceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to