azure.mgmt.eventhub.v2018_01_01_preview.models module¶
-
exception
azure.mgmt.eventhub.v2018_01_01_preview.models.
ErrorResponseException
(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationError
Server responsed with exception of type: ‘ErrorResponse’.
- Parameters
deserialize – A deserializer
response – Server response to be deserialized.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
AvailableCluster
(*, location: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Pre-provisioned and readily available Event Hubs Cluster count per region.
- Parameters
location (str) – Location fo the Available Cluster
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
AvailableClustersList
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the List Available Clusters operation.
- Parameters
value (list[AvailableCluster]) – The count of readily available and pre-provisioned Event Hubs Clusters per region.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
Cluster
(*, location: str = None, tags=None, sku=None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.TrackedResource
Single Event Hubs Cluster resource in List or Get operations.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
location (str) – Resource location
sku (ClusterSku) – Properties of the cluster SKU.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
ClusterQuotaConfigurationProperties
(*, settings=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Contains all settings for the cluster.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
ClusterSku
(*, capacity: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
SKU parameters particular to a cluster instance.
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.
- Variables
name (str) – Required. Name of this SKU. Default value: “Dedicated” .
- Parameters
capacity (int) – The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
-
name
= 'Dedicated'¶
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
EHNamespace
(*, location: str = None, tags=None, sku=None, is_auto_inflate_enabled: bool = None, maximum_throughput_units: int = None, kafka_enabled: bool = None, zone_redundant: bool = None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.TrackedResource
Single Namespace item in List or Get Operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
provisioning_state (str) – Provisioning state of the Namespace.
created_at (datetime) – The time the Namespace was created.
updated_at (datetime) – The time the Namespace was updated.
service_bus_endpoint (str) – Endpoint you can use to perform Service Bus operations.
metric_id (str) – Identifier for Azure Insights metrics.
- Parameters
location (str) – Resource location
sku (Sku) – Properties of sku resource
is_auto_inflate_enabled (bool) – Value that indicates whether AutoInflate is enabled for eventhub namespace.
maximum_throughput_units (int) – Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( ‘0’ if AutoInflateEnabled = true)
kafka_enabled (bool) – Value that indicates whether Kafka is enabled for eventhub namespace.
zone_redundant (bool) – Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
EHNamespaceIdContainer
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The full ARM ID of an Event Hubs Namespace.
- Parameters
id (str) – id parameter
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
EHNamespaceIdListResult
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the List Namespace IDs operation.
- Parameters
value (list[EHNamespaceIdContainer]) – Result of the List Namespace IDs operation
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
ErrorResponse
(*, code: str = None, message: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error response that indicates the service is not able to process the incoming request. The reason is provided in the error message.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
IpFilterRule
(*, ip_mask: str = None, action=None, filter_name: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.Resource
Single item in a List or Get IpFilterRules operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
NetworkRuleSet
(*, default_action=None, virtual_network_rules=None, ip_rules=None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.Resource
Description of topic resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
default_action (str or DefaultAction) – Default Action for Network Rule Set. Possible values include: ‘Allow’, ‘Deny’
virtual_network_rules (list[NWRuleSetVirtualNetworkRules]) – List VirtualNetwork Rules
ip_rules (list[NWRuleSetIpRules]) – List of IpRules
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
NWRuleSetIpRules
(*, ip_mask: str = None, action=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response from the List namespace operation.
- Parameters
ip_mask (str) – IP Mask
action (str or NetworkRuleIPAction) – The IP Filter Action. Possible values include: ‘Allow’
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
NWRuleSetVirtualNetworkRules
(*, subnet=None, ignore_missing_vnet_service_endpoint: bool = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response from the List namespace operation.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
Operation
(*, display=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A Event Hub REST API operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Operation name: {provider}/{resource}/{operation}
- Parameters
display (OperationDisplay) – The object that represents the operation.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
OperationDisplay
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The object that represents the operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The Resource definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
Sku
(*, name, tier=None, capacity: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
SKU parameters supplied to the create namespace operation.
All required parameters must be populated in order to send to Azure.
- Parameters
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
Subnet
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties supplied for Subnet.
- Parameters
id (str) – Resource ID of Virtual Network Subnet
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
TrackedResource
(*, location: str = None, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.Resource
Definition of an Azure resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
VirtualNetworkRule
(*, virtual_network_subnet_id: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.Resource
Single item in a List or Get VirtualNetworkRules operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
OperationPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Operation
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
ClusterPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Cluster
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
EHNamespacePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
EHNamespace
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
IpFilterRulePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
IpFilterRule
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
VirtualNetworkRulePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
VirtualNetworkRule
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
SkuName
[source]¶ -
An enumeration.
-
basic
= 'Basic'¶
-
standard
= 'Standard'¶
-
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
SkuTier
[source]¶ -
An enumeration.
-
basic
= 'Basic'¶
-
standard
= 'Standard'¶
-
-
class
azure.mgmt.eventhub.v2018_01_01_preview.models.
IPAction
[source]¶ -
An enumeration.
-
accept
= 'Accept'¶
-
reject
= 'Reject'¶
-