共用方式為


PartnerTopicData Class

Definition

A class representing the PartnerTopic data model. Event Grid Partner Topic.

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

Constructors

PartnerTopicData(AzureLocation)

Initializes a new instance of PartnerTopicData.

Properties

ActivationState

Activation state of the partner topic.

EventTypeInfo

Event Type information from the corresponding event channel.

ExpireOnIfNotActivated

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

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 Partner Topic resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
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)
PartnerRegistrationImmutableId

The immutableId of the corresponding partner registration.

PartnerTopicFriendlyDescription

Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.

ProvisioningState

Provisioning state of the partner topic.

ResourceType

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

(Inherited from ResourceData)
Source

Source associated with this partner topic. This represents a unique partner resource.

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<PartnerTopicData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerTopicData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerTopicData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerTopicData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerTopicData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to