Skip to content

Commit

Permalink
EventHub update (#4977)
Browse files Browse the repository at this point in the history
* Clean forgotten folder

* [AutoPR eventhub/resource-manager] Adding Create, Delete and List Namespaces Endpoints for Event Hubs Cluster Resource (#4823)

* Generated from e71f68ed3742748809be56268abd685f2efbc1ce

Update specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json

Co-Authored-By: FBettati <franco.d.bettati@gmail.com>

* Generated from ee9ddc961f6d6ebea5af98299f6659b762efeb8a

Merge pull request #1 from FBettati/AvailableRegions

Adding Available Regions API

* Generated from 2f8c68e56c5c458fb5619cd0060512bf56efed48

Modifying response in AvailableClusterList

* Generated from 437b61a0f4527d5adf932d648c587f09872c3a70

Merge pull request #2 from FBettati/frbettat-clusters

Move POSTs to GETs for namespace enumeration and available cluster enumeration

* Generated from de66598d5b247c2309c05d25f06af83dd2d306b1

Merge pull request #3 from FBettati/availableClusterCollection

Modify availableClusters API to have a valid ARM collection response

* Generated from 98a19e0024ab5bc5bb422ddbfb96bfed85bf984c

Updating /cluster/namespaces and /availableClusters calls

* ChangeLog 2.6.0
  • Loading branch information
lmazuel authored Apr 29, 2019
1 parent 69afcdc commit d7306fd
Show file tree
Hide file tree
Showing 17 changed files with 490 additions and 3,013 deletions.
14 changes: 14 additions & 0 deletions azure-mgmt-eventhub/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
Release History
===============

2.6.0 (2019-04-29)
++++++++++++++++++

**Preview features**

- Added operation ClustersOperations.put
- Added operation ClustersOperations.list_available_clusters
- Added operation ClustersOperations.list_namespaces
- Added operation ClustersOperations.delete

**Bugfixes**

- Remove useless files packaged by mistake (azure.mgmt.eventhub.operations folder)

2.5.0 (2019-04-09)
++++++++++++++++++

Expand Down
26 changes: 0 additions & 26 deletions azure-mgmt-eventhub/azure/mgmt/eventhub/operations/__init__.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1,020 changes: 0 additions & 1,020 deletions azure-mgmt-eventhub/azure/mgmt/eventhub/operations/namespaces_operations.py

This file was deleted.

96 changes: 0 additions & 96 deletions azure-mgmt-eventhub/azure/mgmt/eventhub/operations/operations.py

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
from .operation_py3 import Operation
from .cluster_sku_py3 import ClusterSku
from .cluster_py3 import Cluster
from .available_clusters_list_py3 import AvailableClustersList
from .cluster_quota_configuration_properties_py3 import ClusterQuotaConfigurationProperties
from .error_response_py3 import ErrorResponse, ErrorResponseException
from .tracked_resource_py3 import TrackedResource
from .resource_py3 import Resource
from .eh_namespace_id_container_py3 import EHNamespaceIdContainer
from .eh_namespace_id_list_result_py3 import EHNamespaceIdListResult
from .sku_py3 import Sku
from .eh_namespace_py3 import EHNamespace
from .ip_filter_rule_py3 import IpFilterRule
Expand All @@ -31,10 +34,13 @@
from .operation import Operation
from .cluster_sku import ClusterSku
from .cluster import Cluster
from .available_clusters_list import AvailableClustersList
from .cluster_quota_configuration_properties import ClusterQuotaConfigurationProperties
from .error_response import ErrorResponse, ErrorResponseException
from .tracked_resource import TrackedResource
from .resource import Resource
from .eh_namespace_id_container import EHNamespaceIdContainer
from .eh_namespace_id_list_result import EHNamespaceIdListResult
from .sku import Sku
from .eh_namespace import EHNamespace
from .ip_filter_rule import IpFilterRule
Expand All @@ -61,10 +67,13 @@
'Operation',
'ClusterSku',
'Cluster',
'AvailableClustersList',
'ClusterQuotaConfigurationProperties',
'ErrorResponse', 'ErrorResponseException',
'TrackedResource',
'Resource',
'EHNamespaceIdContainer',
'EHNamespaceIdListResult',
'Sku',
'EHNamespace',
'IpFilterRule',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class AvailableClustersList(Model):
"""The response of the List Available Clusters operation.
:param value: The count of readily available and pre-provisioned Event
Hubs Clusters per region.
:type value: list[dict[str, int]]
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[{int}]'},
}

def __init__(self, **kwargs):
super(AvailableClustersList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class AvailableClustersList(Model):
"""The response of the List Available Clusters operation.
:param value: The count of readily available and pre-provisioned Event
Hubs Clusters per region.
:type value: list[dict[str, int]]
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[{int}]'},
}

def __init__(self, *, value=None, **kwargs) -> None:
super(AvailableClustersList, self).__init__(**kwargs)
self.value = value
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class EHNamespaceIdContainer(Model):
"""The full ARM ID of an Event Hubs Namespace.
:param id:
:type id: str
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
}

def __init__(self, **kwargs):
super(EHNamespaceIdContainer, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
Loading

0 comments on commit d7306fd

Please sign in to comment.