你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PartnerNamespace Class

Definition

EventGrid Partner Namespace.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.PartnerNamespaceTypeConverter))]
public class PartnerNamespace : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IPartnerNamespace, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.PartnerNamespaceTypeConverter))>]
type PartnerNamespace = class
    interface IPartnerNamespace
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class PartnerNamespace
Implements IPartnerNamespace, IValidates
Inheritance
PartnerNamespace
Attributes
Implements

Constructors

PartnerNamespace()

Creates an new PartnerNamespace instance.

Properties

DisableLocalAuth

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.

Endpoint

Endpoint for the partner namespace.

Id

Fully qualified identifier of the resource.

InboundIPRule

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

Location

Location of the resource.

MinimumTlsVersionAllowed

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

Name

Name of the resource.

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.

PrivateEndpointConnection
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

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Tags of the resource.

Type

Type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PartnerNamespace.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PartnerNamespace.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IPartnerNamespace.

FromJsonString(String)

Creates a new instance of PartnerNamespace, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PartnerNamespace into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to