共用方式為


PartnerTopic Class

Event Grid Partner Topic.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.eventgrid.models._models_py3.TrackedResource
PartnerTopic

Constructor

PartnerTopic(*, location: str, tags: Dict[str, str] | None = None, identity: IdentityInfo | None = None, partner_registration_immutable_id: str | None = None, source: str | None = None, event_type_info: EventTypeInfo | None = None, expiration_time_if_not_activated_utc: datetime | None = None, activation_state: str | PartnerTopicActivationState | None = None, partner_topic_friendly_description: str | None = None, message_for_activation: str | None = None, **kwargs)

Keyword-Only Parameters

Name Description
location
str

Required. Location of the resource.

tags

A set of tags. Tags of the resource.

identity

Identity information for the Partner Topic resource.

partner_registration_immutable_id
str

The immutableId of the corresponding partner registration.

source
str

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

event_type_info

Event Type information from the corresponding event channel.

expiration_time_if_not_activated_utc

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.

activation_state

Activation state of the partner topic. Possible values include: "NeverActivated", "Activated", "Deactivated".

partner_topic_friendly_description
str

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.

message_for_activation
str

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

Variables

Name Description
id
str

Fully qualified identifier of the resource.

name
str

Name of the resource.

type
str

Type of the resource.

location
str

Required. Location of the resource.

tags

A set of tags. Tags of the resource.

system_data

The system metadata relating to Partner Topic resource.

identity

Identity information for the Partner Topic resource.

partner_registration_immutable_id
str

The immutableId of the corresponding partner registration.

source
str

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

event_type_info

Event Type information from the corresponding event channel.

expiration_time_if_not_activated_utc

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.

provisioning_state

Provisioning state of the partner topic. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", "IdleDueToMirroredChannelResourceDeletion".

activation_state

Activation state of the partner topic. Possible values include: "NeverActivated", "Activated", "Deactivated".

partner_topic_friendly_description
str

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.

message_for_activation
str

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