Skip to content
Closed
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
2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-eventgrid/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ include LICENSE
include azure/eventgrid/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/__init__.py
6 changes: 6 additions & 0 deletions sdk/eventgrid/azure-eventgrid/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"commit": "d1cb0b7dc2777819a1fd8ac41836832f1977a25e",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/eventgrid/Azure.Messaging.EventGrid",
"@azure-tools/typespec-python": "0.42.3"
}
11 changes: 11 additions & 0 deletions sdk/eventgrid/azure-eventgrid/apiview-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"CrossLanguagePackageId": "Microsoft.EventGrid",
"CrossLanguageDefinitionId": {
"azure.eventgrid.models.AcknowledgeResult": "Microsoft.EventGrid.AcknowledgeResult",
"azure.eventgrid.models.FailedLockToken": "Microsoft.EventGrid.FailedLockToken",
"azure.eventgrid.models.RejectResult": "Microsoft.EventGrid.RejectResult",
"azure.eventgrid.models.ReleaseResult": "Microsoft.EventGrid.ReleaseResult",
"azure.eventgrid.models.RenewLocksResult": "Microsoft.EventGrid.RenewCloudEventLocksResult",
"azure.eventgrid.models.ReleaseDelay": "Microsoft.EventGrid.ReleaseDelay"
}
}
8 changes: 4 additions & 4 deletions sdk/eventgrid/azure-eventgrid/azure/eventgrid/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class EventGridPublisherClient(EventGridPublisherClientOperationsMixin):
:param endpoint: The host name of the namespace, e.g.
namespaceName1.westus-1.eventgrid.azure.net. Required.
:type endpoint: str
:param credential: Credential used to authenticate requests to the service. Is either a
AzureKeyCredential type or a TokenCredential type. Required.
:param credential: Credential used to authenticate requests to the service. Is either a key
credential type or a token credential type. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential or
~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Default value is "2024-06-01".
Expand Down Expand Up @@ -107,8 +107,8 @@ class EventGridConsumerClient(EventGridConsumerClientOperationsMixin):
:param endpoint: The host name of the namespace, e.g.
namespaceName1.westus-1.eventgrid.azure.net. Required.
:type endpoint: str
:param credential: Credential used to authenticate requests to the service. Is either a
AzureKeyCredential type or a TokenCredential type. Required.
:param credential: Credential used to authenticate requests to the service. Is either a key
credential type or a token credential type. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential or
~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Default value is "2024-06-01".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class EventGridPublisherClientConfiguration: # pylint: disable=too-many-instanc
:param endpoint: The host name of the namespace, e.g.
namespaceName1.westus-1.eventgrid.azure.net. Required.
:type endpoint: str
:param credential: Credential used to authenticate requests to the service. Is either a
AzureKeyCredential type or a TokenCredential type. Required.
:param credential: Credential used to authenticate requests to the service. Is either a key
credential type or a token credential type. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential or
~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Default value is "2024-06-01".
Expand Down Expand Up @@ -83,8 +83,8 @@ class EventGridConsumerClientConfiguration: # pylint: disable=too-many-instance
:param endpoint: The host name of the namespace, e.g.
namespaceName1.westus-1.eventgrid.azure.net. Required.
:type endpoint: str
:param credential: Credential used to authenticate requests to the service. Is either a
AzureKeyCredential type or a TokenCredential type. Required.
:param credential: Credential used to authenticate requests to the service. Is either a key
credential type or a token credential type. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential or
~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Default value is "2024-06-01".
Expand Down
19 changes: 0 additions & 19 deletions sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/__init__.py

This file was deleted.

This file was deleted.

Loading