共用方式為


NamespaceTopic 類別

命名空間主題詳細資料。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

繼承
azure.mgmt.eventgrid.models._models_py3.Resource
NamespaceTopic

建構函式

NamespaceTopic(*, publisher_type: str | _models.PublisherType | None = None, input_schema: str | _models.EventInputSchema = 'CloudEventSchemaV1_0', event_retention_in_days: int | None = None, **kwargs: Any)

Keyword-Only Parameters

publisher_type
strPublisherType

命名空間主題的發行者類型。 "Custom"

input_schema
strEventInputSchema
預設值: CloudEventSchemaV1_0

這會決定發行至主題之傳入事件的預期格式。 「CloudEventSchemaV1_0」

event_retention_in_days
int

以天表示之命名空間主題的事件保留期。 屬性預設值為 1 天。 最小事件保留持續時間值為 1 天,而最大事件保留持續時間值為 1 天。

變數

id
str

資源的完整識別碼。

name
str

資源名稱。

type
str

資源類型。

system_data
SystemData

與命名空間主題資源相關的系統中繼資料。

provisioning_state
strNamespaceTopicProvisioningState

命名空間主題的布建狀態。 已知值為:「Create」、「Updateing」、「Delete」、「Succeeded」、「Canceled」、「Failed」、「Deleted」、「DeleteFailed」、「CreateFailed」、「CreateFailed」 和 「UpdatedFailed」。

publisher_type
strPublisherType

命名空間主題的發行者類型。 "Custom"

input_schema
strEventInputSchema

這會決定發行至主題之傳入事件的預期格式。 「CloudEventSchemaV1_0」

event_retention_in_days
int

以天表示之命名空間主題的事件保留期。 屬性預設值為 1 天。 最小事件保留持續時間值為 1 天,而最大事件保留持續時間值為 1 天。