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.ModelEventHubCreateOrUpdateParameters
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
|
Location of the resource. Required. |
type
|
ARM type of the Namespace. |
name
|
Name of the Event Hub. |
message_retention_in_days
|
Number of days to retain the events for this Event Hub. |
partition_count
|
Number of partitions created for the Event Hub. |
status
|
str or
EntityStatus
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
|
Location of the resource. Required. |
type
|
ARM type of the Namespace. |
name
|
Name of the Event Hub. |
created_at
|
Exact time the Event Hub was created. |
message_retention_in_days
|
Number of days to retain the events for this Event Hub. |
partition_count
|
Number of partitions created for the Event Hub. |
partition_ids
|
Current number of shards on the Event Hub. |
status
|
str or
EntityStatus
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. |
Azure SDK for Python