EventHubCreateOrUpdateParameters Class

Parameters supplied to the Create Or Update Event Hub operation.

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 server.

Inheritance
azure.mgmt.eventhub._serialization.Model
EventHubCreateOrUpdateParameters

Constructor

EventHubCreateOrUpdateParameters(*, location: str, type: str | None = None, name: str | None = None, message_retention_in_days: int | None = None, partition_count: int | None = None, status: str | _models.EntityStatus | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Location of the resource. Required.

type
str

ARM type of the Namespace.

name
str

Name of the Event Hub.

message_retention_in_days
int

Number of days to retain the events for this Event Hub.

partition_count
int

Number of partitions created for the Event Hub.

status

Enumerates the possible values for the status of the Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown".

Variables

Name Description
location
str

Location of the resource. Required.

type
str

ARM type of the Namespace.

name
str

Name of the Event Hub.

created_at

Exact time the Event Hub was created.

message_retention_in_days
int

Number of days to retain the events for this Event Hub.

partition_count
int

Number of partitions created for the Event Hub.

partition_ids

Current number of shards on the Event Hub.

status

Enumerates the possible values for the status of the Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown".

updated_at

The exact time the message was updated.