NamespaceTopic Class

Namespace topic details.

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

Inheritance
azure.mgmt.eventgrid.models._models_py3.Resource
NamespaceTopic

Constructor

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

Name Description
publisher_type

Publisher type of the namespace topic. "Custom"

input_schema

This determines the format that is expected for incoming events published to the topic. "CloudEventSchemaV1_0"

Default value: CloudEventSchemaV1_0
event_retention_in_days
int

Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.

Variables

Name Description
id
str

Fully qualified identifier of the resource.

name
str

Name of the resource.

type
str

Type of the resource.

system_data

The system metadata relating to namespace topic resource.

provisioning_state

Provisioning state of the namespace topic. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", "Deleted", "DeleteFailed", "CreateFailed", and "UpdatedFailed".

publisher_type

Publisher type of the namespace topic. "Custom"

input_schema

This determines the format that is expected for incoming events published to the topic. "CloudEventSchemaV1_0"

event_retention_in_days
int

Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.