Delen via


PartnerNamespaceChannelData Class

Definition

A class representing the PartnerNamespaceChannel data model. Channel info.

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

Constructors

PartnerNamespaceChannelData()

Initializes a new instance of PartnerNamespaceChannelData.

Properties

ChannelType

The type of the event channel which represents the direction flow of events.

ExpireOnIfNotActivated

Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.

Id

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

(Inherited from ResourceData)
MessageForActivation

Context or helpful message that can be used during the approval process by the subscriber.

Name

The name of the resource.

(Inherited from ResourceData)
PartnerDestinationInfo

This property should be populated when channelType is PartnerDestination and represents information about the partner destination resource corresponding to the channel. Please note PartnerDestinationInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WebhookPartnerDestinationInfo.

PartnerTopicInfo

This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.

ProvisioningState

Provisioning state of the channel.

ReadinessState

The readiness state of the corresponding partner topic.

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)

Explicit Interface Implementations

IJsonModel<PartnerNamespaceChannelData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerNamespaceChannelData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerNamespaceChannelData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerNamespaceChannelData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerNamespaceChannelData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to