Skip to main content

Microsoft Azure Stream Analytics Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Stream Analytics Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-streamanalytics
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.streamanalytics import StreamAnalyticsManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = StreamAnalyticsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

2.0.0b2 (2024-01-22)

Features Added

  • Added model AzureDataExplorerOutputDataSource
  • Added model DeltaSerialization

2.0.0b1 (2022-11-11)

Features Added

  • Added operation SubscriptionsOperations.begin_sample_input
  • Added operation SubscriptionsOperations.begin_test_input
  • Added operation SubscriptionsOperations.begin_test_output
  • Added operation SubscriptionsOperations.begin_test_query
  • Added operation SubscriptionsOperations.compile_query
  • Added operation group SkuOperations
  • Model AzureSqlReferenceInputDataSource has a new parameter authentication_mode
  • Model AzureSynapseDataSourceProperties has a new parameter authentication_mode
  • Model AzureSynapseOutputDataSource has a new parameter authentication_mode
  • Model AzureSynapseOutputDataSourceProperties has a new parameter authentication_mode
  • Model BlobDataSourceProperties has a new parameter authentication_mode
  • Model BlobOutputDataSource has a new parameter blob_path_prefix
  • Model BlobOutputDataSource has a new parameter blob_write_mode
  • Model BlobOutputDataSourceProperties has a new parameter blob_path_prefix
  • Model BlobOutputDataSourceProperties has a new parameter blob_write_mode
  • Model BlobReferenceInputDataSource has a new parameter authentication_mode
  • Model BlobReferenceInputDataSource has a new parameter blob_name
  • Model BlobReferenceInputDataSource has a new parameter delta_path_pattern
  • Model BlobReferenceInputDataSource has a new parameter delta_snapshot_refresh_rate
  • Model BlobReferenceInputDataSource has a new parameter full_snapshot_refresh_rate
  • Model BlobReferenceInputDataSource has a new parameter source_partition_count
  • Model BlobReferenceInputDataSourceProperties has a new parameter authentication_mode
  • Model BlobReferenceInputDataSourceProperties has a new parameter blob_name
  • Model BlobReferenceInputDataSourceProperties has a new parameter delta_path_pattern
  • Model BlobReferenceInputDataSourceProperties has a new parameter delta_snapshot_refresh_rate
  • Model BlobReferenceInputDataSourceProperties has a new parameter full_snapshot_refresh_rate
  • Model BlobReferenceInputDataSourceProperties has a new parameter source_partition_count
  • Model BlobStreamInputDataSource has a new parameter authentication_mode
  • Model BlobStreamInputDataSourceProperties has a new parameter authentication_mode
  • Model Cluster has a new parameter properties
  • Model DocumentDbOutputDataSource has a new parameter authentication_mode
  • Model EventHubDataSourceProperties has a new parameter partition_count
  • Model EventHubOutputDataSource has a new parameter partition_count
  • Model EventHubOutputDataSourceProperties has a new parameter partition_count
  • Model EventHubStreamInputDataSource has a new parameter partition_count
  • Model EventHubStreamInputDataSource has a new parameter prefetch_count
  • Model EventHubStreamInputDataSourceProperties has a new parameter partition_count
  • Model EventHubStreamInputDataSourceProperties has a new parameter prefetch_count
  • Model EventHubV2OutputDataSource has a new parameter partition_count
  • Model EventHubV2StreamInputDataSource has a new parameter partition_count
  • Model EventHubV2StreamInputDataSource has a new parameter prefetch_count
  • Model FunctionProperties has a new parameter binding
  • Model FunctionProperties has a new parameter inputs
  • Model FunctionProperties has a new parameter output
  • Model Identity has a new parameter user_assigned_identities
  • Model InputProperties has a new parameter watermark_settings
  • Model Output has a new parameter last_output_event_timestamps
  • Model Output has a new parameter watermark_settings
  • Model PrivateEndpoint has a new parameter properties
  • Model ReferenceInputProperties has a new parameter watermark_settings
  • Model Sku has a new parameter capacity
  • Model StorageAccount has a new parameter authentication_mode
  • Model StreamInputProperties has a new parameter watermark_settings
  • Model StreamingJob has a new parameter externals
  • Model StreamingJob has a new parameter sku_properties_sku

Breaking Changes

  • Model AzureSqlReferenceInputDataSource no longer has parameter table
  • Model Cluster no longer has parameter capacity_allocated
  • Model Cluster no longer has parameter capacity_assigned
  • Model Cluster no longer has parameter cluster_id
  • Model Cluster no longer has parameter created_date
  • Model Cluster no longer has parameter provisioning_state
  • Model PrivateEndpoint no longer has parameter created_date
  • Model PrivateEndpoint no longer has parameter manual_private_link_service_connections

1.0.0 (2022-01-06)

Features

  • Added operation StreamingJobsOperations.begin_scale
  • Model AzureSqlReferenceInputDataSource has a new parameter database
  • Model AzureSqlReferenceInputDataSource has a new parameter delta_snapshot_query
  • Model AzureSqlReferenceInputDataSource has a new parameter full_snapshot_query
  • Model AzureSqlReferenceInputDataSource has a new parameter password
  • Model AzureSqlReferenceInputDataSource has a new parameter refresh_rate
  • Model AzureSqlReferenceInputDataSource has a new parameter refresh_type
  • Model AzureSqlReferenceInputDataSource has a new parameter server
  • Model AzureSqlReferenceInputDataSource has a new parameter table
  • Model AzureSqlReferenceInputDataSource has a new parameter user
  • Model Cluster has a new parameter capacity_allocated
  • Model Cluster has a new parameter capacity_assigned
  • Model Cluster has a new parameter cluster_id
  • Model Cluster has a new parameter created_date
  • Model Cluster has a new parameter provisioning_state
  • Model Operation has a new parameter is_data_action
  • Model PrivateEndpoint has a new parameter created_date
  • Model PrivateEndpoint has a new parameter manual_private_link_service_connections
  • Model Transformation has a new parameter valid_streaming_units

Breaking changes

  • Model AzureSqlReferenceInputDataSource no longer has parameter properties
  • Model Cluster no longer has parameter properties
  • Model FunctionProperties no longer has parameter binding
  • Model FunctionProperties no longer has parameter inputs
  • Model FunctionProperties no longer has parameter output
  • Model PrivateEndpoint no longer has parameter properties
  • Model StreamingJob no longer has parameter externals

1.0.0rc1 (2020-09-18)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-streamanalytics-2.0.0b2.tar.gz (128.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file azure-mgmt-streamanalytics-2.0.0b2.tar.gz.

File metadata

File hashes

Hashes for azure-mgmt-streamanalytics-2.0.0b2.tar.gz
Algorithm Hash digest
SHA256 b59ad6e9c2601ea8c860938d15fb73b0087cfae0e91c90b1d68a7545b612cefa
MD5 45900c848e5c4e668cc2607526013a7d
BLAKE2b-256 58c1e6493c5475930990442cfb6c3e85c1aa4e63d758a5acd25c62e75a1f439b

See more details on using hashes here.

File details

Details for the file azure_mgmt_streamanalytics-2.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_streamanalytics-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 a87de9434104a4856121230474122c882defaf9cef3959af065fef705e7cb3f7
MD5 21d283ae8eb02e2757e8bdbaed2cf280
BLAKE2b-256 62b103b74634f5e5f1f849db4d20f1fb8d4c7e0e28fcca1f128c3f57e9deaa48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page