Package: azure-mgmt-signalr
Microsoft Azure SDK for PythonThis is the Microsoft Azure SignalR Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-signalr
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.signalrimportSignalRManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=SignalRManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found atSignalRon docs.microsoft.com andSamples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History1.2.0 (2023-03-20)Features AddedModel SignalRResource has a new parameter serverless1.2.0b1 (2022-11-15)Features AddedModel SignalRResource has a new parameter serverless1.1.0 (2022-03-28)FeaturesAdded operation group SignalRCustomCertificatesOperationsAdded operation group SignalRCustomDomainsOperationsModel SignalRResource has a new parameter live_trace_configuration1.0.0 (2021-11-01)FeaturesModel SignalRResource has a new parameter disable_aad_authModel SignalRResource has a new parameter host_name_prefixModel SignalRResource has a new parameter resource_log_configurationModel SignalRResource has a new parameter disable_local_authModel SignalRResource has a new parameter public_network_accessModel PrivateEndpointConnection has a new parameter group_idsAdded operation SignalROperations.list_skus1.0.0b2 (2021-05-20)FeaturesModel SignalRResource has a new parameter shared_private_link_resourcesModel SignalRResource has a new parameter system_dataModel PrivateLinkResource has a new parameter shareable_private_link_resource_typesModel PrivateEndpointConnection has a new parameter system_dataAdded operation SignalRPrivateEndpointConnectionsOperations.listAdded operation group SignalRSharedPrivateLinkResourcesOperations1.0.0b1 (2020-12-02)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.4.0 (2020-05-29)FeaturesModel ServiceSpecification has a new parameter log_specificationsModel SignalRResource has a new parameter network_ac_lsModel SignalRResource has a new parameter upstreamModel SignalRResource has a new parameter private_endpoint_connectionsModel SignalRResource has a new parameter kindModel Operation has a new parameter is_data_actionModel SignalRCreateOrUpdateProperties has a new parameter upstreamModel SignalRCreateOrUpdateProperties has a new parameter network_ac_lsAdded operation group SignalRPrivateEndpointConnectionsOperationsAdded operation group SignalRPrivateLinkResourcesOperationsGeneral Breaking ChangesThis version uses a next-generation code generator thatmightintroduce breaking changes. In summary, some modules were incorrectly
visible/importable and have been renamed. This fixed several issues
caused by usage of classes that were not supposed to be used in the
first place.SignalRClient cannot be imported fromazure.mgmt.signalr.signalr_clientanymore (import fromazure.mgmt.signalrworks like before)SignalRClientConfiguration import has been moved fromazure.mgmt.signalr.signalr_clienttoazure.mgmt.signalrA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.signalr.models.my_class(import fromazure.mgmt.signalr.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.signalr.operations.my_class_operations(import fromazure.mgmt.signalr.operationsworks like before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.0.3.0 (2019-08-06)FeaturesModel SignalRResource has a new parameter corsModel SignalRResource has a new parameter featuresModel SignalRCreateOrUpdateProperties has a new parameter corsModel SignalRCreateOrUpdateProperties has a new parameter feature0.2.0 (2019-05-21)Add restart operation0.1.1 (2018-09-04)FeaturesModel SignalRKeys has a new parameter secondary_connection_stringModel SignalRKeys has a new parameter primary_connection_stringModel MetricSpecification has a new parameter dimensionsModel SignalRResource has a new parameter versionAdded operation group UsagesOperations0.1.0 (2018-05-07)Initial Release