Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sdk/eventgrid/azure-mgmt-eventgrid/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

3.0.0rc2 (2019-11-11)
+++++++++++++++++++++

**Features**

- Model WebHookEventSubscriptionDestination has a new parameter azure_active_directory_tenant_id

3.0.0rc1 (2019-10-24)
+++++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1600,9 +1600,13 @@ class WebHookEventSubscriptionDestination(EventSubscriptionDestination):
:param preferred_batch_size_in_kilobytes: Preferred batch size in
Kilobytes.
:type preferred_batch_size_in_kilobytes: int
:param azure_active_directory_application_id_or_uri: The AAD application
ID or URI to get the access token that will be included as the bearer
token in delivery requests.
:param azure_active_directory_tenant_id: The Azure Active Directory Tenant
ID to get the access token that will be included as the bearer token in
delivery requests.
:type azure_active_directory_tenant_id: str
:param azure_active_directory_application_id_or_uri: The Azure Active
Directory Application ID or URI to get the access token that will be
included as the bearer token in delivery requests.
:type azure_active_directory_application_id_or_uri: str
"""

Expand All @@ -1617,6 +1621,7 @@ class WebHookEventSubscriptionDestination(EventSubscriptionDestination):
'endpoint_base_url': {'key': 'properties.endpointBaseUrl', 'type': 'str'},
'max_events_per_batch': {'key': 'properties.maxEventsPerBatch', 'type': 'int'},
'preferred_batch_size_in_kilobytes': {'key': 'properties.preferredBatchSizeInKilobytes', 'type': 'int'},
'azure_active_directory_tenant_id': {'key': 'properties.azureActiveDirectoryTenantId', 'type': 'str'},
'azure_active_directory_application_id_or_uri': {'key': 'properties.azureActiveDirectoryApplicationIdOrUri', 'type': 'str'},
}

Expand All @@ -1626,5 +1631,6 @@ def __init__(self, **kwargs):
self.endpoint_base_url = None
self.max_events_per_batch = kwargs.get('max_events_per_batch', None)
self.preferred_batch_size_in_kilobytes = kwargs.get('preferred_batch_size_in_kilobytes', None)
self.azure_active_directory_tenant_id = kwargs.get('azure_active_directory_tenant_id', None)
self.azure_active_directory_application_id_or_uri = kwargs.get('azure_active_directory_application_id_or_uri', None)
self.endpoint_type = 'WebHook'
Original file line number Diff line number Diff line change
Expand Up @@ -1600,9 +1600,13 @@ class WebHookEventSubscriptionDestination(EventSubscriptionDestination):
:param preferred_batch_size_in_kilobytes: Preferred batch size in
Kilobytes.
:type preferred_batch_size_in_kilobytes: int
:param azure_active_directory_application_id_or_uri: The AAD application
ID or URI to get the access token that will be included as the bearer
token in delivery requests.
:param azure_active_directory_tenant_id: The Azure Active Directory Tenant
ID to get the access token that will be included as the bearer token in
delivery requests.
:type azure_active_directory_tenant_id: str
:param azure_active_directory_application_id_or_uri: The Azure Active
Directory Application ID or URI to get the access token that will be
included as the bearer token in delivery requests.
:type azure_active_directory_application_id_or_uri: str
"""

Expand All @@ -1617,14 +1621,16 @@ class WebHookEventSubscriptionDestination(EventSubscriptionDestination):
'endpoint_base_url': {'key': 'properties.endpointBaseUrl', 'type': 'str'},
'max_events_per_batch': {'key': 'properties.maxEventsPerBatch', 'type': 'int'},
'preferred_batch_size_in_kilobytes': {'key': 'properties.preferredBatchSizeInKilobytes', 'type': 'int'},
'azure_active_directory_tenant_id': {'key': 'properties.azureActiveDirectoryTenantId', 'type': 'str'},
'azure_active_directory_application_id_or_uri': {'key': 'properties.azureActiveDirectoryApplicationIdOrUri', 'type': 'str'},
}

def __init__(self, *, endpoint_url: str=None, max_events_per_batch: int=None, preferred_batch_size_in_kilobytes: int=None, azure_active_directory_application_id_or_uri: str=None, **kwargs) -> None:
def __init__(self, *, endpoint_url: str=None, max_events_per_batch: int=None, preferred_batch_size_in_kilobytes: int=None, azure_active_directory_tenant_id: str=None, azure_active_directory_application_id_or_uri: str=None, **kwargs) -> None:
super(WebHookEventSubscriptionDestination, self).__init__(**kwargs)
self.endpoint_url = endpoint_url
self.endpoint_base_url = None
self.max_events_per_batch = max_events_per_batch
self.preferred_batch_size_in_kilobytes = preferred_batch_size_in_kilobytes
self.azure_active_directory_tenant_id = azure_active_directory_tenant_id
self.azure_active_directory_application_id_or_uri = azure_active_directory_application_id_or_uri
self.endpoint_type = 'WebHook'
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0rc1"

VERSION = "3.0.0rc2"