diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/CHANGELOG.md b/sdk/iotoperations/azure-mgmt-iotoperations/CHANGELOG.md index acecbb2f5642..a2abb2b5fcd3 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/CHANGELOG.md +++ b/sdk/iotoperations/azure-mgmt-iotoperations/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.2.0 (2026-07-28) + +### Features Added + + - Model `AkriConnectorTemplateRuntimeImageConfigurationSettings` added property `readiness_probe` + - Model `BrokerProperties` added property `high_priority_messages_backpressure_handling` + - Added model `AkriConnectorTemplateExecAction` + - Added model `AkriConnectorTemplateReadinessProbe` + - Added enum `HighPriorityMessagesBackpressureHandling` + ## 1.1.0 (2026-04-10) ### Features Added diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/README.md b/sdk/iotoperations/azure-mgmt-iotoperations/README.md index da0877345731..c7b113181514 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/README.md +++ b/sdk/iotoperations/azure-mgmt-iotoperations/README.md @@ -1,7 +1,7 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure Iotoperations Management Client Library. -This package has been tested with Python 3.9+. +This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). ## _Disclaimer_ @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites -- Python 3.9+ is required to use this package. +- Python 3.10+ is required to use this package. - [Azure subscription](https://azure.microsoft.com/free/) ### Install the package @@ -24,7 +24,7 @@ pip install azure-identity ### Authentication -By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables. +By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables. - `AZURE_CLIENT_ID` for Azure client ID. - `AZURE_TENANT_ID` for Azure tenant ID. diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/_metadata.json b/sdk/iotoperations/azure-mgmt-iotoperations/_metadata.json index 3a4960b12d94..50d4bee7180c 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/_metadata.json +++ b/sdk/iotoperations/azure-mgmt-iotoperations/_metadata.json @@ -1,10 +1,11 @@ { - "apiVersion": "2026-03-01", + "apiVersion": "2026-07-01", "apiVersions": { - "Microsoft.IoTOperations": "2026-03-01" + "Microsoft.IoTOperations": "2026-07-01" }, - "commit": "0238251ff4a7b2404ec0110599b845b15d7fdd7f", + "commit": "47b939221ff0ada50aca8b8d5e35f2e5a827323f", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "typespec_src": "specification/iotoperations/IoTOperations.Management", - "emitterVersion": "0.61.3" + "typespec_src": "specification/iotoperations/resource-manager/Microsoft.IoTOperations/IoTOperations", + "emitterVersion": "0.63.3", + "httpClientPythonVersion": "^0.34.2" } \ No newline at end of file diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/api.md b/sdk/iotoperations/azure-mgmt-iotoperations/api.md new file mode 100644 index 000000000000..56a96f075d36 --- /dev/null +++ b/sdk/iotoperations/azure-mgmt-iotoperations/api.md @@ -0,0 +1,7661 @@ +```py +namespace azure.mgmt.iotoperations + + class azure.mgmt.iotoperations.IoTOperationsMgmtClient: implements ContextManager + akri_connector: AkriConnectorOperations + akri_connector_template: AkriConnectorTemplateOperations + akri_service: AkriServiceOperations + broker: BrokerOperations + broker_authentication: BrokerAuthenticationOperations + broker_authorization: BrokerAuthorizationOperations + broker_listener: BrokerListenerOperations + dataflow: DataflowOperations + dataflow_endpoint: DataflowEndpointOperations + dataflow_graph: DataflowGraphOperations + dataflow_profile: DataflowProfileOperations + instance: InstanceOperations + operations: Operations + registry_endpoint: RegistryEndpointOperations + + def __init__( + self, + credential: TokenCredential, + subscription_id: str, + base_url: Optional[str] = None, + *, + api_version: str = ..., + cloud_setting: Optional[AzureClouds] = ..., + polling_interval: Optional[int] = ..., + **kwargs: Any + ) -> None: ... + + def close(self) -> None: ... + + def send_request( + self, + request: HttpRequest, + *, + stream: bool = False, + **kwargs: Any + ) -> HttpResponse: ... + + +namespace azure.mgmt.iotoperations.aio + + class azure.mgmt.iotoperations.aio.IoTOperationsMgmtClient: implements AsyncContextManager + akri_connector: AkriConnectorOperations + akri_connector_template: AkriConnectorTemplateOperations + akri_service: AkriServiceOperations + broker: BrokerOperations + broker_authentication: BrokerAuthenticationOperations + broker_authorization: BrokerAuthorizationOperations + broker_listener: BrokerListenerOperations + dataflow: DataflowOperations + dataflow_endpoint: DataflowEndpointOperations + dataflow_graph: DataflowGraphOperations + dataflow_profile: DataflowProfileOperations + instance: InstanceOperations + operations: Operations + registry_endpoint: RegistryEndpointOperations + + def __init__( + self, + credential: AsyncTokenCredential, + subscription_id: str, + base_url: Optional[str] = None, + *, + api_version: str = ..., + cloud_setting: Optional[AzureClouds] = ..., + polling_interval: Optional[int] = ..., + **kwargs: Any + ) -> None: ... + + async def close(self) -> None: ... + + def send_request( + self, + request: HttpRequest, + *, + stream: bool = False, + **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: ... + + +namespace azure.mgmt.iotoperations.aio.operations + + class azure.mgmt.iotoperations.aio.operations.AkriConnectorOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: AkriConnectorResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: AkriConnectorResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorResource]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'connector_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'connector_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def get( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + **kwargs: Any + ) -> AkriConnectorResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_template( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> AsyncItemPaged[AkriConnectorResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.AkriConnectorTemplateOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: AkriConnectorTemplateResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorTemplateResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: AkriConnectorTemplateResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorTemplateResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriConnectorTemplateResource]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def get( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> AkriConnectorTemplateResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[AkriConnectorTemplateResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.AkriServiceOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: AkriServiceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriServiceResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: AkriServiceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriServiceResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[AkriServiceResource]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_service_name']}, api_versions_list=['2026-03-01', '2026-07-01']) + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_service_name', 'accept']}, api_versions_list=['2026-03-01', '2026-07-01']) + async def get( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + **kwargs: Any + ) -> AkriServiceResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[AkriServiceResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.BrokerAuthenticationOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: BrokerAuthenticationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthenticationResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: BrokerAuthenticationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthenticationResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthenticationResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + **kwargs: Any + ) -> BrokerAuthenticationResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> AsyncItemPaged[BrokerAuthenticationResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.BrokerAuthorizationOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: BrokerAuthorizationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthorizationResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: BrokerAuthorizationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthorizationResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerAuthorizationResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + **kwargs: Any + ) -> BrokerAuthorizationResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> AsyncItemPaged[BrokerAuthorizationResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.BrokerListenerOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: BrokerListenerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerListenerResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: BrokerListenerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerListenerResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerListenerResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + **kwargs: Any + ) -> BrokerListenerResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> AsyncItemPaged[BrokerListenerResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.BrokerOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: BrokerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: BrokerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[BrokerResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> BrokerResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[BrokerResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.DataflowEndpointOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: DataflowEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowEndpointResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: DataflowEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowEndpointResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowEndpointResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + **kwargs: Any + ) -> DataflowEndpointResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[DataflowEndpointResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.DataflowGraphOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: DataflowGraphResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowGraphResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: DataflowGraphResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowGraphResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowGraphResource]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'dataflow_graph_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'dataflow_graph_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + **kwargs: Any + ) -> DataflowGraphResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_dataflow_profile( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> AsyncItemPaged[DataflowGraphResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.DataflowOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: DataflowResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: DataflowResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + **kwargs: Any + ) -> DataflowResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> AsyncItemPaged[DataflowResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.DataflowProfileOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: DataflowProfileResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowProfileResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: DataflowProfileResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowProfileResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[DataflowProfileResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> DataflowProfileResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[DataflowProfileResource]: ... + + + class azure.mgmt.iotoperations.aio.operations.InstanceOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: InstanceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[InstanceResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: InstanceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[InstanceResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[InstanceResource]: ... + + @distributed_trace_async + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> InstanceResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> AsyncItemPaged[InstanceResource]: ... + + @distributed_trace + def list_by_subscription(self, **kwargs: Any) -> AsyncItemPaged[InstanceResource]: ... + + @overload + async def update( + self, + resource_group_name: str, + instance_name: str, + properties: InstancePatchModel, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + @overload + async def update( + self, + resource_group_name: str, + instance_name: str, + properties: InstancePatchModel, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + @overload + async def update( + self, + resource_group_name: str, + instance_name: str, + properties: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + + class azure.mgmt.iotoperations.aio.operations.Operations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @distributed_trace + def list(self, **kwargs: Any) -> AsyncItemPaged[Operation]: ... + + + class azure.mgmt.iotoperations.aio.operations.RegistryEndpointOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: RegistryEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[RegistryEndpointResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: RegistryEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[RegistryEndpointResource]: ... + + @overload + async def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> AsyncLROPoller[RegistryEndpointResource]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'registry_endpoint_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def begin_delete( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: ... + + @distributed_trace_async + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'registry_endpoint_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + async def get( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + **kwargs: Any + ) -> RegistryEndpointResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> AsyncItemPaged[RegistryEndpointResource]: ... + + +namespace azure.mgmt.iotoperations.models + + class azure.mgmt.iotoperations.models.ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + INTERNAL = "Internal" + + + class azure.mgmt.iotoperations.models.AdvancedSettings(_Model): + clients: Optional[ClientConfig] + encrypt_internal_traffic: Optional[Union[str, OperationalMode]] + internal_certs: Optional[CertManagerCertOptions] + + @overload + def __init__( + self, + *, + clients: Optional[ClientConfig] = ..., + encrypt_internal_traffic: Optional[Union[str, OperationalMode]] = ..., + internal_certs: Optional[CertManagerCertOptions] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorAllocatedDevice(_Model): + device_inbound_endpoint_name: str + device_name: str + + + class azure.mgmt.iotoperations.models.AkriConnectorProperties(_Model): + allocated_devices: Optional[list[AkriConnectorAllocatedDevice]] + health_state: Optional[Union[str, ResourceHealthState]] + provisioning_state: Optional[Union[str, ProvisioningState]] + status: Optional[AkriConnectorStatus] + + + class azure.mgmt.iotoperations.models.AkriConnectorResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[AkriConnectorProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[AkriConnectorProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateAioMetadata(_Model): + aio_max_version: Optional[str] + aio_min_version: Optional[str] + + @overload + def __init__( + self, + *, + aio_max_version: Optional[str] = ..., + aio_min_version: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateAllocation(_Model): + policy: str + + @overload + def __init__( + self, + *, + policy: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateAllocationPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BUCKETIZED = "Bucketized" + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateBucketizedAllocation(AkriConnectorTemplateAllocation, discriminator='Bucketized'): + bucket_size: int + policy: Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED] + + @overload + def __init__( + self, + *, + bucket_size: int + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateDeviceInboundEndpointType(_Model): + display_name: Optional[str] + endpoint_type: str + version: Optional[str] + + @overload + def __init__( + self, + *, + display_name: Optional[str] = ..., + endpoint_type: str, + version: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateDiagnostics(_Model): + logs: AkriConnectorsDiagnosticsLogs + + @overload + def __init__( + self, + *, + logs: AkriConnectorsDiagnosticsLogs + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateExecAction(_Model): + command: list[str] + + @overload + def __init__( + self, + *, + command: list[str] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateManagedConfiguration(AkriConnectorTemplateRuntimeConfiguration, discriminator='ManagedConfiguration'): + managed_configuration_settings: AkriConnectorTemplateManagedConfigurationSettings + runtime_configuration_type: Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION] + + @overload + def __init__( + self, + *, + managed_configuration_settings: AkriConnectorTemplateManagedConfigurationSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateManagedConfigurationSettings(_Model): + additional_configuration: Optional[dict[str, str]] + allocation: Optional[AkriConnectorTemplateAllocation] + managed_configuration_type: str + persistent_volume_claim_templates: Optional[list[dict[str, Any]]] + persistent_volume_claims: Optional[list[AkriConnectorTemplatePersistentVolumeClaim]] + secrets: Optional[list[AkriConnectorsSecret]] + trust_settings: Optional[AkriConnectorTemplateTrustList] + + @overload + def __init__( + self, + *, + additional_configuration: Optional[dict[str, str]] = ..., + allocation: Optional[AkriConnectorTemplateAllocation] = ..., + managed_configuration_type: str, + persistent_volume_claim_templates: Optional[list[dict[str, Any]]] = ..., + persistent_volume_claims: Optional[list[AkriConnectorTemplatePersistentVolumeClaim]] = ..., + secrets: Optional[list[AkriConnectorsSecret]] = ..., + trust_settings: Optional[AkriConnectorTemplateTrustList] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateManagedConfigurationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + IMAGE_CONFIGURATION = "ImageConfiguration" + STATEFUL_SET_CONFIGURATION = "StatefulSetConfiguration" + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplatePersistentVolumeClaim(_Model): + claim_name: str + mount_path: str + + @overload + def __init__( + self, + *, + claim_name: str, + mount_path: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateProperties(_Model): + aio_metadata: Optional[AkriConnectorTemplateAioMetadata] + connector_metadata_ref: Optional[str] + device_inbound_endpoint_types: list[AkriConnectorTemplateDeviceInboundEndpointType] + diagnostics: Optional[AkriConnectorTemplateDiagnostics] + health_state: Optional[Union[str, ResourceHealthState]] + mqtt_connection_configuration: Optional[AkriConnectorsMqttConnectionConfiguration] + provisioning_state: Optional[Union[str, ProvisioningState]] + runtime_configuration: AkriConnectorTemplateRuntimeConfiguration + + @overload + def __init__( + self, + *, + aio_metadata: Optional[AkriConnectorTemplateAioMetadata] = ..., + connector_metadata_ref: Optional[str] = ..., + device_inbound_endpoint_types: list[AkriConnectorTemplateDeviceInboundEndpointType], + diagnostics: Optional[AkriConnectorTemplateDiagnostics] = ..., + mqtt_connection_configuration: Optional[AkriConnectorsMqttConnectionConfiguration] = ..., + runtime_configuration: AkriConnectorTemplateRuntimeConfiguration + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateReadinessProbe(_Model): + exec_property: Optional[AkriConnectorTemplateExecAction] + failure_threshold: Optional[int] + initial_delay_seconds: Optional[int] + period_seconds: Optional[int] + success_threshold: Optional[int] + timeout_seconds: Optional[int] + + @overload + def __init__( + self, + *, + exec_property: Optional[AkriConnectorTemplateExecAction] = ..., + failure_threshold: Optional[int] = ..., + initial_delay_seconds: Optional[int] = ..., + period_seconds: Optional[int] = ..., + success_threshold: Optional[int] = ..., + timeout_seconds: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[AkriConnectorTemplateProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[AkriConnectorTemplateProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeConfiguration(_Model): + runtime_configuration_type: str + + @overload + def __init__( + self, + *, + runtime_configuration_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeConfigurationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + MANAGED_CONFIGURATION = "ManagedConfiguration" + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeImageConfiguration(AkriConnectorTemplateManagedConfigurationSettings, discriminator='ImageConfiguration'): + additional_configuration: dict[str, str] + allocation: AkriConnectorTemplateAllocation + image_configuration_settings: AkriConnectorTemplateRuntimeImageConfigurationSettings + managed_configuration_type: Literal[AkriConnectorTemplateManagedConfigurationType.IMAGE_CONFIGURATION] + persistent_volume_claim_templates: list[dict[str, any]] + persistent_volume_claims: list[AkriConnectorTemplatePersistentVolumeClaim] + secrets: list[AkriConnectorsSecret] + trust_settings: AkriConnectorTemplateTrustList + + @overload + def __init__( + self, + *, + additional_configuration: Optional[dict[str, str]] = ..., + allocation: Optional[AkriConnectorTemplateAllocation] = ..., + image_configuration_settings: AkriConnectorTemplateRuntimeImageConfigurationSettings, + persistent_volume_claim_templates: Optional[list[dict[str, Any]]] = ..., + persistent_volume_claims: Optional[list[AkriConnectorTemplatePersistentVolumeClaim]] = ..., + secrets: Optional[list[AkriConnectorsSecret]] = ..., + trust_settings: Optional[AkriConnectorTemplateTrustList] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeImageConfigurationSettings(_Model): + image_name: str + image_pull_policy: Optional[Union[str, AkriConnectorsImagePullPolicy]] + readiness_probe: Optional[AkriConnectorTemplateReadinessProbe] + registry_settings: Optional[AkriConnectorsRegistrySettings] + replicas: Optional[int] + tag_digest_settings: Optional[AkriConnectorsTagDigestSettings] + + @overload + def __init__( + self, + *, + image_name: str, + image_pull_policy: Optional[Union[str, AkriConnectorsImagePullPolicy]] = ..., + readiness_probe: Optional[AkriConnectorTemplateReadinessProbe] = ..., + registry_settings: Optional[AkriConnectorsRegistrySettings] = ..., + replicas: Optional[int] = ..., + tag_digest_settings: Optional[AkriConnectorsTagDigestSettings] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeStatefulSetConfiguration(AkriConnectorTemplateManagedConfigurationSettings, discriminator='StatefulSetConfiguration'): + additional_configuration: dict[str, str] + allocation: AkriConnectorTemplateAllocation + managed_configuration_type: Literal[AkriConnectorTemplateManagedConfigurationType.STATEFUL_SET_CONFIGURATION] + persistent_volume_claim_templates: list[dict[str, any]] + persistent_volume_claims: list[AkriConnectorTemplatePersistentVolumeClaim] + secrets: list[AkriConnectorsSecret] + stateful_set_configuration_settings: dict[str, Any] + trust_settings: AkriConnectorTemplateTrustList + + @overload + def __init__( + self, + *, + additional_configuration: Optional[dict[str, str]] = ..., + allocation: Optional[AkriConnectorTemplateAllocation] = ..., + persistent_volume_claim_templates: Optional[list[dict[str, Any]]] = ..., + persistent_volume_claims: Optional[list[AkriConnectorTemplatePersistentVolumeClaim]] = ..., + secrets: Optional[list[AkriConnectorsSecret]] = ..., + stateful_set_configuration_settings: dict[str, Any], + trust_settings: Optional[AkriConnectorTemplateTrustList] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorTemplateTrustList(_Model): + trust_list_secret_ref: str + + @overload + def __init__( + self, + *, + trust_list_secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsContainerRegistry(AkriConnectorsRegistrySettings, discriminator='ContainerRegistry'): + container_registry_settings: AkriConnectorsContainerRegistrySettings + registry_settings_type: Literal[AkriConnectorsRegistrySettingsType.CONTAINER_REGISTRY] + + @overload + def __init__( + self, + *, + container_registry_settings: AkriConnectorsContainerRegistrySettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsContainerRegistrySettings(_Model): + image_pull_secrets: Optional[list[AkriConnectorsImagePullSecret]] + registry: str + + @overload + def __init__( + self, + *, + image_pull_secrets: Optional[list[AkriConnectorsImagePullSecret]] = ..., + registry: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsDiagnosticsLogs(_Model): + level: Optional[str] + + @overload + def __init__( + self, + *, + level: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsDigest(AkriConnectorsTagDigestSettings, discriminator='Digest'): + digest: str + tag_digest_type: Literal[AkriConnectorsTagDigestType.DIGEST] + + @overload + def __init__( + self, + *, + digest: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsImagePullPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ALWAYS = "Always" + IF_NOT_PRESENT = "IfNotPresent" + NEVER = "Never" + + + class azure.mgmt.iotoperations.models.AkriConnectorsImagePullSecret(_Model): + secret_ref: str + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsMqttAuthentication(_Model): + method: str + + @overload + def __init__( + self, + *, + method: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsMqttAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + + + class azure.mgmt.iotoperations.models.AkriConnectorsMqttConnectionConfiguration(_Model): + authentication: Optional[AkriConnectorsMqttAuthentication] + host: Optional[str] + keep_alive_seconds: Optional[int] + max_inflight_messages: Optional[int] + protocol: Optional[Union[str, AkriConnectorsMqttProtocolType]] + session_expiry_seconds: Optional[int] + tls: Optional[TlsProperties] + + @overload + def __init__( + self, + *, + authentication: Optional[AkriConnectorsMqttAuthentication] = ..., + host: Optional[str] = ..., + keep_alive_seconds: Optional[int] = ..., + max_inflight_messages: Optional[int] = ..., + protocol: Optional[Union[str, AkriConnectorsMqttProtocolType]] = ..., + session_expiry_seconds: Optional[int] = ..., + tls: Optional[TlsProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsMqttProtocolType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + MQTT = "Mqtt" + + + class azure.mgmt.iotoperations.models.AkriConnectorsRegistryEndpointRef(AkriConnectorsRegistrySettings, discriminator='RegistryEndpointRef'): + registry_endpoint_ref: str + registry_settings_type: Literal[AkriConnectorsRegistrySettingsType.REGISTRY_ENDPOINT_REF] + + @overload + def __init__( + self, + *, + registry_endpoint_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsRegistrySettings(_Model): + registry_settings_type: str + + @overload + def __init__( + self, + *, + registry_settings_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsRegistrySettingsType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CONTAINER_REGISTRY = "ContainerRegistry" + REGISTRY_ENDPOINT_REF = "RegistryEndpointRef" + + + class azure.mgmt.iotoperations.models.AkriConnectorsSecret(_Model): + secret_alias: str + secret_key: str + secret_ref: str + + @overload + def __init__( + self, + *, + secret_alias: str, + secret_key: str, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsServiceAccountAuthentication(AkriConnectorsMqttAuthentication, discriminator='ServiceAccountToken'): + method: Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + service_account_token_settings: AkriConnectorsServiceAccountTokenSettings + + @overload + def __init__( + self, + *, + service_account_token_settings: AkriConnectorsServiceAccountTokenSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsServiceAccountTokenSettings(_Model): + audience: str + + @overload + def __init__( + self, + *, + audience: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsTag(AkriConnectorsTagDigestSettings, discriminator='Tag'): + tag: str + tag_digest_type: Literal[AkriConnectorsTagDigestType.TAG] + + @overload + def __init__( + self, + *, + tag: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsTagDigestSettings(_Model): + tag_digest_type: str + + @overload + def __init__( + self, + *, + tag_digest_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriConnectorsTagDigestType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DIGEST = "Digest" + TAG = "Tag" + + + class azure.mgmt.iotoperations.models.AkriServiceProperties(_Model): + provisioning_state: Optional[Union[str, ProvisioningState]] + status: Optional[AkriServiceStatus] + + + class azure.mgmt.iotoperations.models.AkriServiceResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[AkriServiceProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[AkriServiceProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AkriServiceStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.AuthorizationConfig(_Model): + cache: Optional[Union[str, OperationalMode]] + rules: Optional[list[AuthorizationRule]] + + @overload + def __init__( + self, + *, + cache: Optional[Union[str, OperationalMode]] = ..., + rules: Optional[list[AuthorizationRule]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AuthorizationRule(_Model): + broker_resources: list[BrokerResourceRule] + principals: PrincipalDefinition + state_store_resources: Optional[list[StateStoreResourceRule]] + + @overload + def __init__( + self, + *, + broker_resources: list[BrokerResourceRule], + principals: PrincipalDefinition, + state_store_resources: Optional[list[StateStoreResourceRule]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.AzureDeviceRegistryNamespaceRef(_Model): + resource_id: str + + @overload + def __init__( + self, + *, + resource_id: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BackendChain(_Model): + partitions: int + redundancy_factor: int + workers: Optional[int] + + @overload + def __init__( + self, + *, + partitions: int, + redundancy_factor: int, + workers: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BatchingConfiguration(_Model): + latency_seconds: Optional[int] + max_messages: Optional[int] + + @overload + def __init__( + self, + *, + latency_seconds: Optional[int] = ..., + max_messages: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CUSTOM = "Custom" + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + X509 = "X509" + + + class azure.mgmt.iotoperations.models.BrokerAuthenticationProperties(_Model): + authentication_methods: list[BrokerAuthenticatorMethods] + health_state: Optional[Union[str, ResourceHealthState]] + provisioning_state: Optional[Union[str, ProvisioningState]] + + @overload + def __init__( + self, + *, + authentication_methods: list[BrokerAuthenticatorMethods] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticationResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[BrokerAuthenticationProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[BrokerAuthenticationProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorCustomAuth(_Model): + x509: X509ManualCertificate + + @overload + def __init__( + self, + *, + x509: X509ManualCertificate + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorMethodCustom(_Model): + auth: Optional[BrokerAuthenticatorCustomAuth] + ca_cert_config_map: Optional[str] + endpoint: str + headers: Optional[dict[str, str]] + + @overload + def __init__( + self, + *, + auth: Optional[BrokerAuthenticatorCustomAuth] = ..., + ca_cert_config_map: Optional[str] = ..., + endpoint: str, + headers: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorMethodSat(_Model): + audiences: list[str] + + @overload + def __init__( + self, + *, + audiences: list[str] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorMethodX509(_Model): + additional_validation: Optional[Union[str, BrokerAuthenticatorValidationMethods]] + authorization_attributes: Optional[dict[str, BrokerAuthenticatorMethodX509Attributes]] + trusted_client_ca_cert: Optional[str] + + @overload + def __init__( + self, + *, + additional_validation: Optional[Union[str, BrokerAuthenticatorValidationMethods]] = ..., + authorization_attributes: Optional[dict[str, BrokerAuthenticatorMethodX509Attributes]] = ..., + trusted_client_ca_cert: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorMethodX509Attributes(_Model): + attributes: dict[str, str] + subject: str + + @overload + def __init__( + self, + *, + attributes: dict[str, str], + subject: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorMethods(_Model): + custom_settings: Optional[BrokerAuthenticatorMethodCustom] + method: Union[str, BrokerAuthenticationMethod] + service_account_token_settings: Optional[BrokerAuthenticatorMethodSat] + x509_settings: Optional[BrokerAuthenticatorMethodX509] + + @overload + def __init__( + self, + *, + custom_settings: Optional[BrokerAuthenticatorMethodCustom] = ..., + method: Union[str, BrokerAuthenticationMethod], + service_account_token_settings: Optional[BrokerAuthenticatorMethodSat] = ..., + x509_settings: Optional[BrokerAuthenticatorMethodX509] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthenticatorValidationMethods(str, Enum, metaclass=CaseInsensitiveEnumMeta): + AZURE_DEVICE_REGISTRY = "AzureDeviceRegistry" + NONE = "None" + + + class azure.mgmt.iotoperations.models.BrokerAuthorizationProperties(_Model): + authorization_policies: AuthorizationConfig + health_state: Optional[Union[str, ResourceHealthState]] + provisioning_state: Optional[Union[str, ProvisioningState]] + + @overload + def __init__( + self, + *, + authorization_policies: AuthorizationConfig + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerAuthorizationResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[BrokerAuthorizationProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[BrokerAuthorizationProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerDiagnostics(_Model): + logs: Optional[DiagnosticsLogs] + metrics: Optional[Metrics] + self_check: Optional[SelfCheck] + traces: Optional[Traces] + + @overload + def __init__( + self, + *, + logs: Optional[DiagnosticsLogs] = ..., + metrics: Optional[Metrics] = ..., + self_check: Optional[SelfCheck] = ..., + traces: Optional[Traces] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerListenerProperties(_Model): + health_state: Optional[Union[str, ResourceHealthState]] + ports: list[ListenerPort] + provisioning_state: Optional[Union[str, ProvisioningState]] + service_name: Optional[str] + service_type: Optional[Union[str, ServiceType]] + + @overload + def __init__( + self, + *, + ports: list[ListenerPort], + service_name: Optional[str] = ..., + service_type: Optional[Union[str, ServiceType]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerListenerResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[BrokerListenerProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[BrokerListenerProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerMemoryProfile(str, Enum, metaclass=CaseInsensitiveEnumMeta): + HIGH = "High" + LOW = "Low" + MEDIUM = "Medium" + TINY = "Tiny" + + + class azure.mgmt.iotoperations.models.BrokerPersistence(_Model): + encryption: Optional[BrokerPersistenceEncryption] + max_size: str + persistent_volume_claim_spec: Optional[VolumeClaimSpec] + retain: Optional[BrokerRetainMessagesPolicy] + state_store: Optional[BrokerStateStorePolicy] + subscriber_queue: Optional[BrokerSubscriberQueuePolicy] + + @overload + def __init__( + self, + *, + encryption: Optional[BrokerPersistenceEncryption] = ..., + max_size: str, + persistent_volume_claim_spec: Optional[VolumeClaimSpec] = ..., + retain: Optional[BrokerRetainMessagesPolicy] = ..., + state_store: Optional[BrokerStateStorePolicy] = ..., + subscriber_queue: Optional[BrokerSubscriberQueuePolicy] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerPersistenceEncryption(_Model): + mode: Union[str, OperationalMode] + + @overload + def __init__( + self, + *, + mode: Union[str, OperationalMode] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerPersistencePolicyMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ALL = "All" + CUSTOM = "Custom" + NONE = "None" + + + class azure.mgmt.iotoperations.models.BrokerProperties(_Model): + advanced: Optional[AdvancedSettings] + cardinality: Optional[Cardinality] + diagnostics: Optional[BrokerDiagnostics] + disk_backed_message_buffer: Optional[DiskBackedMessageBuffer] + generate_resource_limits: Optional[GenerateResourceLimits] + health_state: Optional[Union[str, ResourceHealthState]] + high_priority_messages_backpressure_handling: Optional[Union[str, HighPriorityMessagesBackpressureHandling]] + memory_profile: Optional[Union[str, BrokerMemoryProfile]] + persistence: Optional[BrokerPersistence] + provisioning_state: Optional[Union[str, ProvisioningState]] + status: Optional[BrokerStatus] + + @overload + def __init__( + self, + *, + advanced: Optional[AdvancedSettings] = ..., + cardinality: Optional[Cardinality] = ..., + diagnostics: Optional[BrokerDiagnostics] = ..., + disk_backed_message_buffer: Optional[DiskBackedMessageBuffer] = ..., + generate_resource_limits: Optional[GenerateResourceLimits] = ..., + high_priority_messages_backpressure_handling: Optional[Union[str, HighPriorityMessagesBackpressureHandling]] = ..., + memory_profile: Optional[Union[str, BrokerMemoryProfile]] = ..., + persistence: Optional[BrokerPersistence] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerProtocolType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + MQTT = "Mqtt" + WEB_SOCKETS = "WebSockets" + + + class azure.mgmt.iotoperations.models.BrokerResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[BrokerProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[BrokerProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerResourceDefinitionMethods(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CONNECT = "Connect" + PUBLISH = "Publish" + SUBSCRIBE = "Subscribe" + + + class azure.mgmt.iotoperations.models.BrokerResourceRule(_Model): + client_ids: Optional[list[str]] + method: Union[str, BrokerResourceDefinitionMethods] + topics: Optional[list[str]] + + @overload + def __init__( + self, + *, + client_ids: Optional[list[str]] = ..., + method: Union[str, BrokerResourceDefinitionMethods], + topics: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerRetainMessagesCustomPolicy(BrokerRetainMessagesPolicy, discriminator='Custom'): + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + retain_settings: BrokerRetainMessagesSettings + + @overload + def __init__( + self, + *, + retain_settings: BrokerRetainMessagesSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerRetainMessagesDynamic(_Model): + mode: Union[str, OperationalMode] + + @overload + def __init__( + self, + *, + mode: Union[str, OperationalMode] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerRetainMessagesPolicy(_Model): + mode: str + + @overload + def __init__( + self, + *, + mode: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerRetainMessagesSettings(_Model): + dynamic: Optional[BrokerRetainMessagesDynamic] + topics: Optional[list[str]] + + @overload + def __init__( + self, + *, + dynamic: Optional[BrokerRetainMessagesDynamic] = ..., + topics: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStateStoreCustomPolicy(BrokerStateStorePolicy, discriminator='Custom'): + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + state_store_settings: BrokerStateStorePolicySettings + + @overload + def __init__( + self, + *, + state_store_settings: BrokerStateStorePolicySettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStateStoreDynamic(_Model): + mode: Union[str, OperationalMode] + + @overload + def __init__( + self, + *, + mode: Union[str, OperationalMode] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStateStoreKeyType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BINARY = "Binary" + PATTERN = "Pattern" + STRING = "String" + + + class azure.mgmt.iotoperations.models.BrokerStateStorePolicy(_Model): + mode: str + + @overload + def __init__( + self, + *, + mode: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStateStorePolicyResources(_Model): + key_type: Union[str, BrokerStateStoreKeyType] + keys_property: list[str] + + @overload + def __init__( + self, + *, + key_type: Union[str, BrokerStateStoreKeyType], + keys_property: list[str] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStateStorePolicySettings(_Model): + dynamic: Optional[BrokerStateStoreDynamic] + state_store_resources: Optional[list[BrokerStateStorePolicyResources]] + + @overload + def __init__( + self, + *, + dynamic: Optional[BrokerStateStoreDynamic] = ..., + state_store_resources: Optional[list[BrokerStateStorePolicyResources]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.BrokerSubscriberQueueCustomPolicy(BrokerSubscriberQueuePolicy, discriminator='Custom'): + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + subscriber_queue_settings: BrokerSubscriberQueueCustomPolicySettings + + @overload + def __init__( + self, + *, + subscriber_queue_settings: BrokerSubscriberQueueCustomPolicySettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerSubscriberQueueCustomPolicySettings(_Model): + dynamic: Optional[BrokerSubscriberQueueDynamic] + subscriber_client_ids: Optional[list[str]] + + @overload + def __init__( + self, + *, + dynamic: Optional[BrokerSubscriberQueueDynamic] = ..., + subscriber_client_ids: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerSubscriberQueueDynamic(_Model): + mode: Union[str, OperationalMode] + + @overload + def __init__( + self, + *, + mode: Union[str, OperationalMode] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.BrokerSubscriberQueuePolicy(_Model): + mode: str + + @overload + def __init__( + self, + *, + mode: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.Cardinality(_Model): + backend_chain: BackendChain + frontend: Frontend + + @overload + def __init__( + self, + *, + backend_chain: BackendChain, + frontend: Frontend + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.CertManagerCertOptions(_Model): + duration: str + private_key: CertManagerPrivateKey + renew_before: str + + @overload + def __init__( + self, + *, + duration: str, + private_key: CertManagerPrivateKey, + renew_before: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.CertManagerCertificateSpec(_Model): + duration: Optional[str] + issuer_ref: CertManagerIssuerRef + private_key: Optional[CertManagerPrivateKey] + renew_before: Optional[str] + san: Optional[SanForCert] + secret_name: Optional[str] + + @overload + def __init__( + self, + *, + duration: Optional[str] = ..., + issuer_ref: CertManagerIssuerRef, + private_key: Optional[CertManagerPrivateKey] = ..., + renew_before: Optional[str] = ..., + san: Optional[SanForCert] = ..., + secret_name: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.CertManagerIssuerKind(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CLUSTER_ISSUER = "ClusterIssuer" + ISSUER = "Issuer" + + + class azure.mgmt.iotoperations.models.CertManagerIssuerRef(_Model): + group: str + kind: Union[str, CertManagerIssuerKind] + name: str + + @overload + def __init__( + self, + *, + group: str, + kind: Union[str, CertManagerIssuerKind], + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.CertManagerPrivateKey(_Model): + algorithm: Union[str, PrivateKeyAlgorithm] + rotation_policy: Union[str, PrivateKeyRotationPolicy] + + @overload + def __init__( + self, + *, + algorithm: Union[str, PrivateKeyAlgorithm], + rotation_policy: Union[str, PrivateKeyRotationPolicy] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ClientConfig(_Model): + max_keep_alive_seconds: Optional[int] + max_message_expiry_seconds: Optional[int] + max_packet_size_bytes: Optional[int] + max_receive_maximum: Optional[int] + max_session_expiry_seconds: Optional[int] + subscriber_queue_limit: Optional[SubscriberQueueLimit] + + @overload + def __init__( + self, + *, + max_keep_alive_seconds: Optional[int] = ..., + max_message_expiry_seconds: Optional[int] = ..., + max_packet_size_bytes: Optional[int] = ..., + max_receive_maximum: Optional[int] = ..., + max_session_expiry_seconds: Optional[int] = ..., + subscriber_queue_limit: Optional[SubscriberQueueLimit] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.CloudEventAttributeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CREATE_OR_REMAP = "CreateOrRemap" + PROPAGATE = "Propagate" + + + class azure.mgmt.iotoperations.models.CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + APPLICATION = "Application" + KEY = "Key" + MANAGED_IDENTITY = "ManagedIdentity" + USER = "User" + + + class azure.mgmt.iotoperations.models.DataExplorerAuthMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + + + class azure.mgmt.iotoperations.models.DataLakeStorageAuthMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ACCESS_TOKEN = "AccessToken" + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + + + class azure.mgmt.iotoperations.models.DataflowBuiltInTransformationDataset(_Model): + description: Optional[str] + expression: Optional[str] + inputs: list[str] + key: str + schema_ref: Optional[str] + + @overload + def __init__( + self, + *, + description: Optional[str] = ..., + expression: Optional[str] = ..., + inputs: list[str], + key: str, + schema_ref: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowBuiltInTransformationFilter(_Model): + description: Optional[str] + expression: str + inputs: list[str] + type: Optional[Union[str, FilterType]] + + @overload + def __init__( + self, + *, + description: Optional[str] = ..., + expression: str, + inputs: list[str], + type: Optional[Union[str, FilterType]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowBuiltInTransformationMap(_Model): + description: Optional[str] + expression: Optional[str] + inputs: list[str] + output: str + type: Optional[Union[str, DataflowMappingType]] + + @overload + def __init__( + self, + *, + description: Optional[str] = ..., + expression: Optional[str] = ..., + inputs: list[str], + output: str, + type: Optional[Union[str, DataflowMappingType]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowBuiltInTransformationSettings(_Model): + datasets: Optional[list[DataflowBuiltInTransformationDataset]] + filter: Optional[list[DataflowBuiltInTransformationFilter]] + map: Optional[list[DataflowBuiltInTransformationMap]] + schema_ref: Optional[str] + serialization_format: Optional[Union[str, TransformationSerializationFormat]] + + @overload + def __init__( + self, + *, + datasets: Optional[list[DataflowBuiltInTransformationDataset]] = ..., + filter: Optional[list[DataflowBuiltInTransformationFilter]] = ..., + map: Optional[list[DataflowBuiltInTransformationMap]] = ..., + schema_ref: Optional[str] = ..., + serialization_format: Optional[Union[str, TransformationSerializationFormat]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowDestinationAddIfNotPresentHeaderAction(DataflowDestinationHeaderAction, discriminator='AddIfNotPresent'): + action_type: Literal[DataflowHeaderActionType.ADD_IF_NOT_PRESENT] + key: str + value: str + + @overload + def __init__( + self, + *, + key: str, + value: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowDestinationAddOrReplaceHeaderAction(DataflowDestinationHeaderAction, discriminator='AddOrReplace'): + action_type: Literal[DataflowHeaderActionType.ADD_OR_REPLACE] + key: str + value: str + + @overload + def __init__( + self, + *, + key: str, + value: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowDestinationHeaderAction(_Model): + action_type: str + + @overload + def __init__( + self, + *, + action_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowDestinationOperationSettings(_Model): + data_destination: str + endpoint_ref: str + headers: Optional[list[DataflowDestinationHeaderAction]] + + @overload + def __init__( + self, + *, + data_destination: str, + endpoint_ref: str, + headers: Optional[list[DataflowDestinationHeaderAction]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowDestinationRemoveHeaderAction(DataflowDestinationHeaderAction, discriminator='Remove'): + action_type: Literal[DataflowHeaderActionType.REMOVE] + key: str + + @overload + def __init__( + self, + *, + key: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationAccessToken(_Model): + secret_ref: str + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationAnonymous(_Model): + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationSasl(_Model): + sasl_type: Union[str, DataflowEndpointAuthenticationSaslType] + secret_ref: str + + @overload + def __init__( + self, + *, + sasl_type: Union[str, DataflowEndpointAuthenticationSaslType], + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationSaslType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + PLAIN = "Plain" + SCRAM_SHA256 = "ScramSha256" + SCRAM_SHA512 = "ScramSha512" + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationServiceAccountToken(_Model): + audience: str + + @overload + def __init__( + self, + *, + audience: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationSystemAssignedManagedIdentity(_Model): + audience: Optional[str] + + @overload + def __init__( + self, + *, + audience: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationUserAssignedManagedIdentity(_Model): + client_id: str + scope: Optional[str] + tenant_id: str + + @overload + def __init__( + self, + *, + client_id: str, + scope: Optional[str] = ..., + tenant_id: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointAuthenticationX509(_Model): + secret_ref: str + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointDataExplorer(_Model): + authentication: DataflowEndpointDataExplorerAuthentication + batching: Optional[BatchingConfiguration] + database: str + host: str + + @overload + def __init__( + self, + *, + authentication: DataflowEndpointDataExplorerAuthentication, + batching: Optional[BatchingConfiguration] = ..., + database: str, + host: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointDataExplorerAuthentication(_Model): + method: Union[str, DataExplorerAuthMethod] + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] + + @overload + def __init__( + self, + *, + method: Union[str, DataExplorerAuthMethod], + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] = ..., + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointDataLakeStorage(_Model): + authentication: DataflowEndpointDataLakeStorageAuthentication + batching: Optional[BatchingConfiguration] + host: str + + @overload + def __init__( + self, + *, + authentication: DataflowEndpointDataLakeStorageAuthentication, + batching: Optional[BatchingConfiguration] = ..., + host: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointDataLakeStorageAuthentication(_Model): + access_token_settings: Optional[DataflowEndpointAuthenticationAccessToken] + method: Union[str, DataLakeStorageAuthMethod] + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] + + @overload + def __init__( + self, + *, + access_token_settings: Optional[DataflowEndpointAuthenticationAccessToken] = ..., + method: Union[str, DataLakeStorageAuthMethod], + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] = ..., + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointFabricOneLake(_Model): + authentication: DataflowEndpointFabricOneLakeAuthentication + batching: Optional[BatchingConfiguration] + host: str + names: DataflowEndpointFabricOneLakeNames + one_lake_path_type: Union[str, DataflowEndpointFabricPathType] + + @overload + def __init__( + self, + *, + authentication: DataflowEndpointFabricOneLakeAuthentication, + batching: Optional[BatchingConfiguration] = ..., + host: str, + names: DataflowEndpointFabricOneLakeNames, + one_lake_path_type: Union[str, DataflowEndpointFabricPathType] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointFabricOneLakeAuthentication(_Model): + method: Union[str, FabricOneLakeAuthMethod] + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] + + @overload + def __init__( + self, + *, + method: Union[str, FabricOneLakeAuthMethod], + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] = ..., + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointFabricOneLakeNames(_Model): + lakehouse_name: str + workspace_name: str + + @overload + def __init__( + self, + *, + lakehouse_name: str, + workspace_name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointFabricPathType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + FILES = "Files" + TABLES = "Tables" + + + class azure.mgmt.iotoperations.models.DataflowEndpointHostType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CUSTOM_KAFKA = "CustomKafka" + CUSTOM_MQTT = "CustomMqtt" + EVENTHUB = "Eventhub" + EVENT_GRID = "EventGrid" + FABRIC_RT = "FabricRT" + LOCAL_BROKER = "LocalBroker" + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafka(_Model): + authentication: DataflowEndpointKafkaAuthentication + batching: Optional[DataflowEndpointKafkaBatching] + cloud_event_attributes: Optional[Union[str, CloudEventAttributeType]] + compression: Optional[Union[str, DataflowEndpointKafkaCompression]] + consumer_group_id: Optional[str] + copy_mqtt_properties: Optional[Union[str, OperationalMode]] + host: str + kafka_acks: Optional[Union[str, DataflowEndpointKafkaAcks]] + partition_strategy: Optional[Union[str, DataflowEndpointKafkaPartitionStrategy]] + tls: Optional[TlsProperties] + + @overload + def __init__( + self, + *, + authentication: DataflowEndpointKafkaAuthentication, + batching: Optional[DataflowEndpointKafkaBatching] = ..., + cloud_event_attributes: Optional[Union[str, CloudEventAttributeType]] = ..., + compression: Optional[Union[str, DataflowEndpointKafkaCompression]] = ..., + consumer_group_id: Optional[str] = ..., + copy_mqtt_properties: Optional[Union[str, OperationalMode]] = ..., + host: str, + kafka_acks: Optional[Union[str, DataflowEndpointKafkaAcks]] = ..., + partition_strategy: Optional[Union[str, DataflowEndpointKafkaPartitionStrategy]] = ..., + tls: Optional[TlsProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafkaAcks(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ALL = "All" + ONE = "One" + ZERO = "Zero" + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafkaAuthentication(_Model): + method: Union[str, KafkaAuthMethod] + sasl_settings: Optional[DataflowEndpointAuthenticationSasl] + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] + x509_certificate_settings: Optional[DataflowEndpointAuthenticationX509] + + @overload + def __init__( + self, + *, + method: Union[str, KafkaAuthMethod], + sasl_settings: Optional[DataflowEndpointAuthenticationSasl] = ..., + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] = ..., + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] = ..., + x509_certificate_settings: Optional[DataflowEndpointAuthenticationX509] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafkaBatching(_Model): + latency_ms: Optional[int] + max_bytes: Optional[int] + max_messages: Optional[int] + mode: Optional[Union[str, OperationalMode]] + + @overload + def __init__( + self, + *, + latency_ms: Optional[int] = ..., + max_bytes: Optional[int] = ..., + max_messages: Optional[int] = ..., + mode: Optional[Union[str, OperationalMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafkaCompression(str, Enum, metaclass=CaseInsensitiveEnumMeta): + GZIP = "Gzip" + LZ4 = "Lz4" + NONE = "None" + SNAPPY = "Snappy" + + + class azure.mgmt.iotoperations.models.DataflowEndpointKafkaPartitionStrategy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DEFAULT = "Default" + PROPERTY = "Property" + STATIC = "Static" + TOPIC = "Topic" + + + class azure.mgmt.iotoperations.models.DataflowEndpointLocalStorage(_Model): + persistent_volume_claim_ref: str + + @overload + def __init__( + self, + *, + persistent_volume_claim_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointMqtt(_Model): + authentication: DataflowEndpointMqttAuthentication + client_id_prefix: Optional[str] + cloud_event_attributes: Optional[Union[str, CloudEventAttributeType]] + host: Optional[str] + keep_alive_seconds: Optional[int] + max_inflight_messages: Optional[int] + protocol: Optional[Union[str, BrokerProtocolType]] + qos: Optional[int] + retain: Optional[Union[str, MqttRetainType]] + session_expiry_seconds: Optional[int] + tls: Optional[TlsProperties] + + @overload + def __init__( + self, + *, + authentication: DataflowEndpointMqttAuthentication, + client_id_prefix: Optional[str] = ..., + cloud_event_attributes: Optional[Union[str, CloudEventAttributeType]] = ..., + host: Optional[str] = ..., + keep_alive_seconds: Optional[int] = ..., + max_inflight_messages: Optional[int] = ..., + protocol: Optional[Union[str, BrokerProtocolType]] = ..., + qos: Optional[int] = ..., + retain: Optional[Union[str, MqttRetainType]] = ..., + session_expiry_seconds: Optional[int] = ..., + tls: Optional[TlsProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointMqttAuthentication(_Model): + method: Union[str, MqttAuthMethod] + service_account_token_settings: Optional[DataflowEndpointAuthenticationServiceAccountToken] + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] + x509_certificate_settings: Optional[DataflowEndpointAuthenticationX509] + + @overload + def __init__( + self, + *, + method: Union[str, MqttAuthMethod], + service_account_token_settings: Optional[DataflowEndpointAuthenticationServiceAccountToken] = ..., + system_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationSystemAssignedManagedIdentity] = ..., + user_assigned_managed_identity_settings: Optional[DataflowEndpointAuthenticationUserAssignedManagedIdentity] = ..., + x509_certificate_settings: Optional[DataflowEndpointAuthenticationX509] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointOpenTelemetry(_Model): + authentication: DataflowOpenTelemetryAuthentication + batching: Optional[BatchingConfiguration] + host: str + tls: Optional[TlsProperties] + + @overload + def __init__( + self, + *, + authentication: DataflowOpenTelemetryAuthentication, + batching: Optional[BatchingConfiguration] = ..., + host: str, + tls: Optional[TlsProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointProperties(_Model): + data_explorer_settings: Optional[DataflowEndpointDataExplorer] + data_lake_storage_settings: Optional[DataflowEndpointDataLakeStorage] + endpoint_type: Union[str, EndpointType] + fabric_one_lake_settings: Optional[DataflowEndpointFabricOneLake] + health_state: Optional[Union[str, ResourceHealthState]] + host_type: Optional[Union[str, DataflowEndpointHostType]] + kafka_settings: Optional[DataflowEndpointKafka] + local_storage_settings: Optional[DataflowEndpointLocalStorage] + mqtt_settings: Optional[DataflowEndpointMqtt] + open_telemetry_settings: Optional[DataflowEndpointOpenTelemetry] + provisioning_state: Optional[Union[str, ProvisioningState]] + + @overload + def __init__( + self, + *, + data_explorer_settings: Optional[DataflowEndpointDataExplorer] = ..., + data_lake_storage_settings: Optional[DataflowEndpointDataLakeStorage] = ..., + endpoint_type: Union[str, EndpointType], + fabric_one_lake_settings: Optional[DataflowEndpointFabricOneLake] = ..., + host_type: Optional[Union[str, DataflowEndpointHostType]] = ..., + kafka_settings: Optional[DataflowEndpointKafka] = ..., + local_storage_settings: Optional[DataflowEndpointLocalStorage] = ..., + mqtt_settings: Optional[DataflowEndpointMqtt] = ..., + open_telemetry_settings: Optional[DataflowEndpointOpenTelemetry] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowEndpointResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[DataflowEndpointProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[DataflowEndpointProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphConnectionInput(_Model): + name: str + schema: Optional[DataflowGraphConnectionSchemaSettings] + + @overload + def __init__( + self, + *, + name: str, + schema: Optional[DataflowGraphConnectionSchemaSettings] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphConnectionOutput(_Model): + name: str + + @overload + def __init__( + self, + *, + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphConnectionSchemaSerializationFormat(str, Enum, metaclass=CaseInsensitiveEnumMeta): + AVRO = "Avro" + DELTA = "Delta" + JSON = "Json" + PARQUET = "Parquet" + + + class azure.mgmt.iotoperations.models.DataflowGraphConnectionSchemaSettings(_Model): + schema_ref: Optional[str] + serialization_format: Optional[Union[str, DataflowGraphConnectionSchemaSerializationFormat]] + + @overload + def __init__( + self, + *, + schema_ref: Optional[str] = ..., + serialization_format: Optional[Union[str, DataflowGraphConnectionSchemaSerializationFormat]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationAddIfNotPresentHeaderAction(DataflowGraphDestinationHeaderAction, discriminator='AddIfNotPresent'): + action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_IF_NOT_PRESENT] + key: str + value: str + + @overload + def __init__( + self, + *, + key: str, + value: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationAddOrReplaceHeaderAction(DataflowGraphDestinationHeaderAction, discriminator='AddOrReplace'): + action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_OR_REPLACE] + key: str + value: str + + @overload + def __init__( + self, + *, + key: str, + value: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationHeaderAction(_Model): + action_type: str + + @overload + def __init__( + self, + *, + action_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationHeaderActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ADD_IF_NOT_PRESENT = "AddIfNotPresent" + ADD_OR_REPLACE = "AddOrReplace" + REMOVE = "Remove" + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationNode(DataflowGraphNode, discriminator='Destination'): + destination_settings: DataflowGraphDestinationNodeSettings + name: str + node_type: Literal[DataflowGraphNodeType.DESTINATION] + + @overload + def __init__( + self, + *, + destination_settings: DataflowGraphDestinationNodeSettings, + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationNodeSettings(_Model): + data_destination: str + endpoint_ref: str + headers: Optional[list[DataflowGraphDestinationHeaderAction]] + + @overload + def __init__( + self, + *, + data_destination: str, + endpoint_ref: str, + headers: Optional[list[DataflowGraphDestinationHeaderAction]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphDestinationRemoveHeaderAction(DataflowGraphDestinationHeaderAction, discriminator='Remove'): + action_type: Literal[DataflowGraphDestinationHeaderActionType.REMOVE] + key: str + + @overload + def __init__( + self, + *, + key: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphGraphNode(DataflowGraphNode, discriminator='Graph'): + graph_settings: DataflowGraphNodeGraphSettings + name: str + node_type: Literal[DataflowGraphNodeType.GRAPH] + + @overload + def __init__( + self, + *, + graph_settings: DataflowGraphNodeGraphSettings, + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphGraphNodeConfiguration(_Model): + key: str + value: str + + @overload + def __init__( + self, + *, + key: str, + value: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphNode(_Model): + name: str + node_type: str + + @overload + def __init__( + self, + *, + name: str, + node_type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphNodeConnection(_Model): + from_property: DataflowGraphConnectionInput + to: DataflowGraphConnectionOutput + + @overload + def __init__( + self, + *, + from_property: DataflowGraphConnectionInput, + to: DataflowGraphConnectionOutput + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphNodeGraphSettings(_Model): + artifact: str + configuration: Optional[list[DataflowGraphGraphNodeConfiguration]] + registry_endpoint_ref: str + + @overload + def __init__( + self, + *, + artifact: str, + configuration: Optional[list[DataflowGraphGraphNodeConfiguration]] = ..., + registry_endpoint_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphNodeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DESTINATION = "Destination" + GRAPH = "Graph" + SOURCE = "Source" + + + class azure.mgmt.iotoperations.models.DataflowGraphProperties(_Model): + health_state: Optional[Union[str, ResourceHealthState]] + mode: Optional[Union[str, OperationalMode]] + node_connections: list[DataflowGraphNodeConnection] + nodes: list[DataflowGraphNode] + provisioning_state: Optional[Union[str, ProvisioningState]] + request_disk_persistence: Optional[Union[str, OperationalMode]] + status: Optional[DataflowGraphStatus] + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, OperationalMode]] = ..., + node_connections: list[DataflowGraphNodeConnection], + nodes: list[DataflowGraphNode], + request_disk_persistence: Optional[Union[str, OperationalMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[DataflowGraphProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[DataflowGraphProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphSourceNode(DataflowGraphNode, discriminator='Source'): + name: str + node_type: Literal[DataflowGraphNodeType.SOURCE] + source_settings: DataflowGraphSourceSettings + + @overload + def __init__( + self, + *, + name: str, + source_settings: DataflowGraphSourceSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphSourceSettings(_Model): + asset_ref: Optional[str] + data_sources: list[str] + endpoint_ref: str + + @overload + def __init__( + self, + *, + asset_ref: Optional[str] = ..., + data_sources: list[str], + endpoint_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowGraphStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.DataflowHeaderActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ADD_IF_NOT_PRESENT = "AddIfNotPresent" + ADD_OR_REPLACE = "AddOrReplace" + REMOVE = "Remove" + + + class azure.mgmt.iotoperations.models.DataflowMappingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BUILT_IN_FUNCTION = "BuiltInFunction" + COMPUTE = "Compute" + NEW_PROPERTIES = "NewProperties" + PASS_THROUGH = "PassThrough" + RENAME = "Rename" + + + class azure.mgmt.iotoperations.models.DataflowOpenTelemetryAnonymousAuthentication(DataflowOpenTelemetryAuthentication, discriminator='Anonymous'): + anonymous_settings: DataflowEndpointAuthenticationAnonymous + method: Literal[DataflowOpenTelemetryAuthenticationMethod.ANONYMOUS] + + @overload + def __init__( + self, + *, + anonymous_settings: DataflowEndpointAuthenticationAnonymous + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowOpenTelemetryAuthentication(_Model): + method: str + + @overload + def __init__( + self, + *, + method: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowOpenTelemetryAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + X509_CERTIFICATE = "X509Certificate" + + + class azure.mgmt.iotoperations.models.DataflowOpenTelemetryServiceAccountAuthentication(DataflowOpenTelemetryAuthentication, discriminator='ServiceAccountToken'): + method: Literal[DataflowOpenTelemetryAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + service_account_token_settings: DataflowEndpointAuthenticationServiceAccountToken + + @overload + def __init__( + self, + *, + service_account_token_settings: DataflowEndpointAuthenticationServiceAccountToken + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowOpenTelemetryX509CertificateAuthentication(DataflowOpenTelemetryAuthentication, discriminator='X509Certificate'): + method: Literal[DataflowOpenTelemetryAuthenticationMethod.X509_CERTIFICATE] + x509_certificate_settings: DataflowEndpointAuthenticationX509 + + @overload + def __init__( + self, + *, + x509_certificate_settings: DataflowEndpointAuthenticationX509 + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowOperation(_Model): + built_in_transformation_settings: Optional[DataflowBuiltInTransformationSettings] + destination_settings: Optional[DataflowDestinationOperationSettings] + name: Optional[str] + operation_type: Union[str, OperationType] + source_settings: Optional[DataflowSourceOperationSettings] + + @overload + def __init__( + self, + *, + built_in_transformation_settings: Optional[DataflowBuiltInTransformationSettings] = ..., + destination_settings: Optional[DataflowDestinationOperationSettings] = ..., + name: Optional[str] = ..., + operation_type: Union[str, OperationType], + source_settings: Optional[DataflowSourceOperationSettings] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowProfileProperties(_Model): + diagnostics: Optional[ProfileDiagnostics] + health_state: Optional[Union[str, ResourceHealthState]] + instance_count: Optional[int] + provisioning_state: Optional[Union[str, ProvisioningState]] + status: Optional[DataflowProfileStatus] + + @overload + def __init__( + self, + *, + diagnostics: Optional[ProfileDiagnostics] = ..., + instance_count: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowProfileResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[DataflowProfileProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[DataflowProfileProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowProfileStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.DataflowProperties(_Model): + health_state: Optional[Union[str, ResourceHealthState]] + mode: Optional[Union[str, OperationalMode]] + operations: list[DataflowOperation] + provisioning_state: Optional[Union[str, ProvisioningState]] + request_disk_persistence: Optional[Union[str, OperationalMode]] + status: Optional[DataflowStatus] + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, OperationalMode]] = ..., + operations: list[DataflowOperation], + request_disk_persistence: Optional[Union[str, OperationalMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[DataflowProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[DataflowProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowSourceOperationSettings(_Model): + asset_ref: Optional[str] + data_sources: list[str] + endpoint_ref: str + schema_ref: Optional[str] + serialization_format: Optional[Union[str, SourceSerializationFormat]] + + @overload + def __init__( + self, + *, + asset_ref: Optional[str] = ..., + data_sources: list[str], + endpoint_ref: str, + schema_ref: Optional[str] = ..., + serialization_format: Optional[Union[str, SourceSerializationFormat]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DataflowStatus(_Model): + health_state: Optional[ResourceHealthStatus] + + + class azure.mgmt.iotoperations.models.DiagnosticsLogs(_Model): + level: Optional[str] + + @overload + def __init__( + self, + *, + level: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.DiskBackedMessageBuffer(_Model): + ephemeral_volume_claim_spec: Optional[VolumeClaimSpec] + max_size: str + persistent_volume_claim_spec: Optional[VolumeClaimSpec] + + @overload + def __init__( + self, + *, + ephemeral_volume_claim_spec: Optional[VolumeClaimSpec] = ..., + max_size: str, + persistent_volume_claim_spec: Optional[VolumeClaimSpec] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.EndpointType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DATA_EXPLORER = "DataExplorer" + DATA_LAKE_STORAGE = "DataLakeStorage" + FABRIC_ONE_LAKE = "FabricOneLake" + KAFKA = "Kafka" + LOCAL_STORAGE = "LocalStorage" + MQTT = "Mqtt" + OPEN_TELEMETRY = "OpenTelemetry" + + + class azure.mgmt.iotoperations.models.ErrorAdditionalInfo(_Model): + info: Optional[Any] + type: Optional[str] + + + class azure.mgmt.iotoperations.models.ErrorDetail(_Model): + additional_info: Optional[list[ErrorAdditionalInfo]] + code: Optional[str] + details: Optional[list[ErrorDetail]] + message: Optional[str] + target: Optional[str] + + + class azure.mgmt.iotoperations.models.ErrorResponse(_Model): + error: Optional[ErrorDetail] + + @overload + def __init__( + self, + *, + error: Optional[ErrorDetail] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ExtendedLocation(_Model): + name: str + type: Union[str, ExtendedLocationType] + + @overload + def __init__( + self, + *, + name: str, + type: Union[str, ExtendedLocationType] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ExtendedLocationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CUSTOM_LOCATION = "CustomLocation" + + + class azure.mgmt.iotoperations.models.FabricOneLakeAuthMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + + + class azure.mgmt.iotoperations.models.FilterType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + FILTER = "Filter" + + + class azure.mgmt.iotoperations.models.Frontend(_Model): + replicas: int + workers: Optional[int] + + @overload + def __init__( + self, + *, + replicas: int, + workers: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.GenerateResourceLimits(_Model): + cpu: Optional[Union[str, OperationalMode]] + + @overload + def __init__( + self, + *, + cpu: Optional[Union[str, OperationalMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.HighPriorityMessagesBackpressureHandling(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ACCEPT = "Accept" + REJECT = "Reject" + + + class azure.mgmt.iotoperations.models.InstanceFeature(_Model): + mode: Optional[Union[str, InstanceFeatureMode]] + settings: Optional[dict[str, Union[str, OperationalMode]]] + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, InstanceFeatureMode]] = ..., + settings: Optional[dict[str, Union[str, OperationalMode]]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.InstanceFeatureMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DISABLED = "Disabled" + PREVIEW = "Preview" + STABLE = "Stable" + + + class azure.mgmt.iotoperations.models.InstancePatchModel(_Model): + identity: Optional[ManagedServiceIdentity] + tags: Optional[dict[str, str]] + + @overload + def __init__( + self, + *, + identity: Optional[ManagedServiceIdentity] = ..., + tags: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.InstanceProperties(_Model): + adr_namespace_ref: Optional[AzureDeviceRegistryNamespaceRef] + default_secret_provider_class_ref: Optional[SecretProviderClassRef] + description: Optional[str] + features: Optional[dict[str, InstanceFeature]] + health_state: Optional[Union[str, ResourceHealthState]] + provisioning_state: Optional[Union[str, ProvisioningState]] + schema_registry_ref: SchemaRegistryRef + version: Optional[str] + + @overload + def __init__( + self, + *, + adr_namespace_ref: Optional[AzureDeviceRegistryNamespaceRef] = ..., + default_secret_provider_class_ref: Optional[SecretProviderClassRef] = ..., + description: Optional[str] = ..., + features: Optional[dict[str, InstanceFeature]] = ..., + schema_registry_ref: SchemaRegistryRef + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.InstanceResource(TrackedResource): + extended_location: ExtendedLocation + id: str + identity: Optional[ManagedServiceIdentity] + location: str + name: str + properties: Optional[InstanceProperties] + system_data: SystemData + tags: dict[str, str] + type: str + + @overload + def __init__( + self, + *, + extended_location: ExtendedLocation, + identity: Optional[ManagedServiceIdentity] = ..., + location: str, + properties: Optional[InstanceProperties] = ..., + tags: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.KafkaAuthMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + SASL = "Sasl" + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + X509_CERTIFICATE = "X509Certificate" + + + class azure.mgmt.iotoperations.models.KubernetesReference(_Model): + api_group: Optional[str] + kind: str + name: str + namespace: Optional[str] + + @overload + def __init__( + self, + *, + api_group: Optional[str] = ..., + kind: str, + name: str, + namespace: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ListenerPort(_Model): + authentication_ref: Optional[str] + authorization_ref: Optional[str] + node_port: Optional[int] + port: int + protocol: Optional[Union[str, BrokerProtocolType]] + tls: Optional[TlsCertMethod] + + @overload + def __init__( + self, + *, + authentication_ref: Optional[str] = ..., + authorization_ref: Optional[str] = ..., + node_port: Optional[int] = ..., + port: int, + protocol: Optional[Union[str, BrokerProtocolType]] = ..., + tls: Optional[TlsCertMethod] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.LocalKubernetesReference(_Model): + api_group: Optional[str] + kind: str + name: str + + @overload + def __init__( + self, + *, + api_group: Optional[str] = ..., + kind: str, + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ManagedServiceIdentity(_Model): + principal_id: Optional[str] + tenant_id: Optional[str] + type: Union[str, ManagedServiceIdentityType] + user_assigned_identities: Optional[dict[str, UserAssignedIdentity]] + + @overload + def __init__( + self, + *, + type: Union[str, ManagedServiceIdentityType], + user_assigned_identities: Optional[dict[str, UserAssignedIdentity]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" + USER_ASSIGNED = "UserAssigned" + + + class azure.mgmt.iotoperations.models.Metrics(_Model): + prometheus_port: Optional[int] + + @overload + def __init__( + self, + *, + prometheus_port: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.MqttAuthMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + X509_CERTIFICATE = "X509Certificate" + + + class azure.mgmt.iotoperations.models.MqttRetainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + KEEP = "Keep" + NEVER = "Never" + + + class azure.mgmt.iotoperations.models.Operation(_Model): + action_type: Optional[Union[str, ActionType]] + display: Optional[OperationDisplay] + is_data_action: Optional[bool] + name: Optional[str] + origin: Optional[Union[str, Origin]] + + @overload + def __init__( + self, + *, + display: Optional[OperationDisplay] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.OperationDisplay(_Model): + description: Optional[str] + operation: Optional[str] + provider: Optional[str] + resource: Optional[str] + + + class azure.mgmt.iotoperations.models.OperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BUILT_IN_TRANSFORMATION = "BuiltInTransformation" + DESTINATION = "Destination" + SOURCE = "Source" + + + class azure.mgmt.iotoperations.models.OperationalMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DISABLED = "Disabled" + ENABLED = "Enabled" + + + class azure.mgmt.iotoperations.models.OperatorValues(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DOES_NOT_EXIST = "DoesNotExist" + EXISTS = "Exists" + IN = "In" + NOT_IN = "NotIn" + + + class azure.mgmt.iotoperations.models.Origin(str, Enum, metaclass=CaseInsensitiveEnumMeta): + SYSTEM = "system" + USER = "user" + USER_SYSTEM = "user,system" + + + class azure.mgmt.iotoperations.models.PrincipalDefinition(_Model): + attributes: Optional[list[dict[str, str]]] + client_ids: Optional[list[str]] + usernames: Optional[list[str]] + + @overload + def __init__( + self, + *, + attributes: Optional[list[dict[str, str]]] = ..., + client_ids: Optional[list[str]] = ..., + usernames: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.PrivateKeyAlgorithm(str, Enum, metaclass=CaseInsensitiveEnumMeta): + EC256 = "Ec256" + EC384 = "Ec384" + EC521 = "Ec521" + ED25519 = "Ed25519" + RSA2048 = "Rsa2048" + RSA4096 = "Rsa4096" + RSA8192 = "Rsa8192" + + + class azure.mgmt.iotoperations.models.PrivateKeyRotationPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ALWAYS = "Always" + NEVER = "Never" + + + class azure.mgmt.iotoperations.models.ProfileDiagnostics(_Model): + logs: Optional[DiagnosticsLogs] + metrics: Optional[Metrics] + + @overload + def __init__( + self, + *, + logs: Optional[DiagnosticsLogs] = ..., + metrics: Optional[Metrics] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ACCEPTED = "Accepted" + CANCELED = "Canceled" + DELETING = "Deleting" + FAILED = "Failed" + PROVISIONING = "Provisioning" + SUCCEEDED = "Succeeded" + UPDATING = "Updating" + + + class azure.mgmt.iotoperations.models.ProxyResource(Resource): + id: str + name: str + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.models.RegistryEndpointAnonymousAuthentication(RegistryEndpointAuthentication, discriminator='Anonymous'): + anonymous_settings: RegistryEndpointAnonymousSettings + method: Literal[RegistryEndpointAuthenticationMethod.ANONYMOUS] + + @overload + def __init__( + self, + *, + anonymous_settings: RegistryEndpointAnonymousSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointAnonymousSettings(_Model): + + + class azure.mgmt.iotoperations.models.RegistryEndpointArtifactPullSecretAuthentication(RegistryEndpointAuthentication, discriminator='ArtifactPullSecret'): + artifact_pull_secret_settings: RegistryEndpointArtifactPullSecretSettings + method: Literal[RegistryEndpointAuthenticationMethod.ARTIFACT_PULL_SECRET] + + @overload + def __init__( + self, + *, + artifact_pull_secret_settings: RegistryEndpointArtifactPullSecretSettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointArtifactPullSecretSettings(_Model): + secret_ref: str + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointAuthentication(_Model): + method: str + + @overload + def __init__( + self, + *, + method: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + ARTIFACT_PULL_SECRET = "ArtifactPullSecret" + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + + + class azure.mgmt.iotoperations.models.RegistryEndpointProperties(_Model): + authentication: RegistryEndpointAuthentication + code_signing_cas: Optional[list[RegistryEndpointTrustedSigningKey]] + health_state: Optional[Union[str, ResourceHealthState]] + host: str + provisioning_state: Optional[Union[str, ProvisioningState]] + + @overload + def __init__( + self, + *, + authentication: RegistryEndpointAuthentication, + code_signing_cas: Optional[list[RegistryEndpointTrustedSigningKey]] = ..., + host: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointResource(ProxyResource): + extended_location: Optional[ExtendedLocation] + id: str + name: str + properties: Optional[RegistryEndpointProperties] + system_data: SystemData + type: str + + @overload + def __init__( + self, + *, + extended_location: Optional[ExtendedLocation] = ..., + properties: Optional[RegistryEndpointProperties] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointSystemAssignedIdentityAuthentication(RegistryEndpointAuthentication, discriminator='SystemAssignedManagedIdentity'): + method: Literal[RegistryEndpointAuthenticationMethod.SYSTEM_ASSIGNED_MANAGED_IDENTITY] + system_assigned_managed_identity_settings: RegistryEndpointSystemAssignedManagedIdentitySettings + + @overload + def __init__( + self, + *, + system_assigned_managed_identity_settings: RegistryEndpointSystemAssignedManagedIdentitySettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointSystemAssignedManagedIdentitySettings(_Model): + audience: Optional[str] + + @overload + def __init__( + self, + *, + audience: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointTrustedSigningKey(_Model): + type: str + + @overload + def __init__( + self, + *, + type: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointTrustedSigningKeyConfigMap(RegistryEndpointTrustedSigningKey, discriminator='ConfigMap'): + config_map_ref: str + type: Literal[RegistryEndpointTrustedSigningKeyType.CONFIG_MAP] + + @overload + def __init__( + self, + *, + config_map_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointTrustedSigningKeySecret(RegistryEndpointTrustedSigningKey, discriminator='Secret'): + secret_ref: str + type: Literal[RegistryEndpointTrustedSigningKeyType.SECRET] + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointTrustedSigningKeyType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CONFIG_MAP = "ConfigMap" + SECRET = "Secret" + + + class azure.mgmt.iotoperations.models.RegistryEndpointUserAssignedIdentityAuthentication(RegistryEndpointAuthentication, discriminator='UserAssignedManagedIdentity'): + method: Literal[RegistryEndpointAuthenticationMethod.USER_ASSIGNED_MANAGED_IDENTITY] + user_assigned_managed_identity_settings: RegistryEndpointUserAssignedManagedIdentitySettings + + @overload + def __init__( + self, + *, + user_assigned_managed_identity_settings: RegistryEndpointUserAssignedManagedIdentitySettings + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.RegistryEndpointUserAssignedManagedIdentitySettings(_Model): + client_id: str + scope: Optional[str] + tenant_id: str + + @overload + def __init__( + self, + *, + client_id: str, + scope: Optional[str] = ..., + tenant_id: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.Resource(_Model): + id: Optional[str] + name: Optional[str] + system_data: Optional[SystemData] + type: Optional[str] + + + class azure.mgmt.iotoperations.models.ResourceHealthState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + AVAILABLE = "Available" + DEGRADED = "Degraded" + UNAVAILABLE = "Unavailable" + UNKNOWN = "Unknown" + + + class azure.mgmt.iotoperations.models.ResourceHealthStatus(_Model): + last_transition_time: Optional[str] + last_update_time: Optional[str] + message: Optional[str] + reason_code: Optional[str] + status: Optional[Union[str, ResourceHealthState]] + + + class azure.mgmt.iotoperations.models.SanForCert(_Model): + dns: list[str] + ip: list[str] + + @overload + def __init__( + self, + *, + dns: list[str], + ip: list[str] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SchemaRegistryRef(_Model): + resource_id: str + + @overload + def __init__( + self, + *, + resource_id: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SecretProviderClassRef(_Model): + resource_id: str + + @overload + def __init__( + self, + *, + resource_id: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SelfCheck(_Model): + interval_seconds: Optional[int] + mode: Optional[Union[str, OperationalMode]] + timeout_seconds: Optional[int] + + @overload + def __init__( + self, + *, + interval_seconds: Optional[int] = ..., + mode: Optional[Union[str, OperationalMode]] = ..., + timeout_seconds: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SelfTracing(_Model): + interval_seconds: Optional[int] + mode: Optional[Union[str, OperationalMode]] + + @overload + def __init__( + self, + *, + interval_seconds: Optional[int] = ..., + mode: Optional[Union[str, OperationalMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.ServiceType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CLUSTER_IP = "ClusterIp" + LOAD_BALANCER = "LoadBalancer" + NODE_PORT = "NodePort" + + + class azure.mgmt.iotoperations.models.SourceSerializationFormat(str, Enum, metaclass=CaseInsensitiveEnumMeta): + JSON = "Json" + + + class azure.mgmt.iotoperations.models.StateStoreResourceDefinitionMethods(str, Enum, metaclass=CaseInsensitiveEnumMeta): + READ = "Read" + READ_WRITE = "ReadWrite" + WRITE = "Write" + + + class azure.mgmt.iotoperations.models.StateStoreResourceKeyTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BINARY = "Binary" + PATTERN = "Pattern" + STRING = "String" + + + class azure.mgmt.iotoperations.models.StateStoreResourceRule(_Model): + key_type: Union[str, StateStoreResourceKeyTypes] + keys_property: list[str] + method: Union[str, StateStoreResourceDefinitionMethods] + + @overload + def __init__( + self, + *, + key_type: Union[str, StateStoreResourceKeyTypes], + keys_property: list[str], + method: Union[str, StateStoreResourceDefinitionMethods] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SubscriberMessageDropStrategy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DROP_OLDEST = "DropOldest" + NONE = "None" + + + class azure.mgmt.iotoperations.models.SubscriberQueueLimit(_Model): + length: Optional[int] + strategy: Optional[Union[str, SubscriberMessageDropStrategy]] + + @overload + def __init__( + self, + *, + length: Optional[int] = ..., + strategy: Optional[Union[str, SubscriberMessageDropStrategy]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.SystemData(_Model): + created_at: Optional[datetime] + created_by: Optional[str] + created_by_type: Optional[Union[str, CreatedByType]] + last_modified_at: Optional[datetime] + last_modified_by: Optional[str] + last_modified_by_type: Optional[Union[str, CreatedByType]] + + @overload + def __init__( + self, + *, + created_at: Optional[datetime] = ..., + created_by: Optional[str] = ..., + created_by_type: Optional[Union[str, CreatedByType]] = ..., + last_modified_at: Optional[datetime] = ..., + last_modified_by: Optional[str] = ..., + last_modified_by_type: Optional[Union[str, CreatedByType]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.TlsCertMethod(_Model): + cert_manager_certificate_spec: Optional[CertManagerCertificateSpec] + manual: Optional[X509ManualCertificate] + mode: Union[str, TlsCertMethodMode] + + @overload + def __init__( + self, + *, + cert_manager_certificate_spec: Optional[CertManagerCertificateSpec] = ..., + manual: Optional[X509ManualCertificate] = ..., + mode: Union[str, TlsCertMethodMode] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.TlsCertMethodMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + AUTOMATIC = "Automatic" + MANUAL = "Manual" + + + class azure.mgmt.iotoperations.models.TlsProperties(_Model): + mode: Optional[Union[str, OperationalMode]] + trusted_ca_certificate_config_map_ref: Optional[str] + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, OperationalMode]] = ..., + trusted_ca_certificate_config_map_ref: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.Traces(_Model): + cache_size_megabytes: Optional[int] + mode: Optional[Union[str, OperationalMode]] + self_tracing: Optional[SelfTracing] + span_channel_capacity: Optional[int] + + @overload + def __init__( + self, + *, + cache_size_megabytes: Optional[int] = ..., + mode: Optional[Union[str, OperationalMode]] = ..., + self_tracing: Optional[SelfTracing] = ..., + span_channel_capacity: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.TrackedResource(Resource): + id: str + location: str + name: str + system_data: SystemData + tags: Optional[dict[str, str]] + type: str + + @overload + def __init__( + self, + *, + location: str, + tags: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.TransformationSerializationFormat(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DELTA = "Delta" + JSON = "Json" + PARQUET = "Parquet" + + + class azure.mgmt.iotoperations.models.UserAssignedIdentity(_Model): + client_id: Optional[str] + principal_id: Optional[str] + + + class azure.mgmt.iotoperations.models.VolumeClaimResourceRequirements(_Model): + claims: Optional[list[VolumeClaimResourceRequirementsClaims]] + limits: Optional[dict[str, str]] + requests: Optional[dict[str, str]] + + @overload + def __init__( + self, + *, + claims: Optional[list[VolumeClaimResourceRequirementsClaims]] = ..., + limits: Optional[dict[str, str]] = ..., + requests: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.VolumeClaimResourceRequirementsClaims(_Model): + name: str + + @overload + def __init__( + self, + *, + name: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.VolumeClaimSpec(_Model): + access_modes: Optional[list[str]] + data_source: Optional[LocalKubernetesReference] + data_source_ref: Optional[KubernetesReference] + resources: Optional[VolumeClaimResourceRequirements] + selector: Optional[VolumeClaimSpecSelector] + storage_class_name: Optional[str] + volume_mode: Optional[str] + volume_name: Optional[str] + + @overload + def __init__( + self, + *, + access_modes: Optional[list[str]] = ..., + data_source: Optional[LocalKubernetesReference] = ..., + data_source_ref: Optional[KubernetesReference] = ..., + resources: Optional[VolumeClaimResourceRequirements] = ..., + selector: Optional[VolumeClaimSpecSelector] = ..., + storage_class_name: Optional[str] = ..., + volume_mode: Optional[str] = ..., + volume_name: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.VolumeClaimSpecSelector(_Model): + match_expressions: Optional[list[VolumeClaimSpecSelectorMatchExpressions]] + match_labels: Optional[dict[str, str]] + + @overload + def __init__( + self, + *, + match_expressions: Optional[list[VolumeClaimSpecSelectorMatchExpressions]] = ..., + match_labels: Optional[dict[str, str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.VolumeClaimSpecSelectorMatchExpressions(_Model): + key: str + operator: Union[str, OperatorValues] + values_property: Optional[list[str]] + + @overload + def __init__( + self, + *, + key: str, + operator: Union[str, OperatorValues], + values_property: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.iotoperations.models.X509ManualCertificate(_Model): + secret_ref: str + + @overload + def __init__( + self, + *, + secret_ref: str + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + +namespace azure.mgmt.iotoperations.operations + + class azure.mgmt.iotoperations.operations.AkriConnectorOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: AkriConnectorResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: AkriConnectorResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorResource]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'connector_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'connector_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def get( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + connector_name: str, + **kwargs: Any + ) -> AkriConnectorResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_template( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> ItemPaged[AkriConnectorResource]: ... + + + class azure.mgmt.iotoperations.operations.AkriConnectorTemplateOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: AkriConnectorTemplateResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorTemplateResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: AkriConnectorTemplateResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorTemplateResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriConnectorTemplateResource]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_connector_template_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def get( + self, + resource_group_name: str, + instance_name: str, + akri_connector_template_name: str, + **kwargs: Any + ) -> AkriConnectorTemplateResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[AkriConnectorTemplateResource]: ... + + + class azure.mgmt.iotoperations.operations.AkriServiceOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: AkriServiceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriServiceResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: AkriServiceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriServiceResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[AkriServiceResource]: ... + + @distributed_trace + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_service_name']}, api_versions_list=['2026-03-01', '2026-07-01']) + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'akri_service_name', 'accept']}, api_versions_list=['2026-03-01', '2026-07-01']) + def get( + self, + resource_group_name: str, + instance_name: str, + akri_service_name: str, + **kwargs: Any + ) -> AkriServiceResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2026-03-01', params_added_on={'2026-03-01': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[AkriServiceResource]: ... + + + class azure.mgmt.iotoperations.operations.BrokerAuthenticationOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: BrokerAuthenticationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthenticationResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: BrokerAuthenticationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthenticationResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthenticationResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authentication_name: str, + **kwargs: Any + ) -> BrokerAuthenticationResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> ItemPaged[BrokerAuthenticationResource]: ... + + + class azure.mgmt.iotoperations.operations.BrokerAuthorizationOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: BrokerAuthorizationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthorizationResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: BrokerAuthorizationResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthorizationResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerAuthorizationResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + authorization_name: str, + **kwargs: Any + ) -> BrokerAuthorizationResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> ItemPaged[BrokerAuthorizationResource]: ... + + + class azure.mgmt.iotoperations.operations.BrokerListenerOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: BrokerListenerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerListenerResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: BrokerListenerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerListenerResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerListenerResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + listener_name: str, + **kwargs: Any + ) -> BrokerListenerResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> ItemPaged[BrokerListenerResource]: ... + + + class azure.mgmt.iotoperations.operations.BrokerOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: BrokerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: BrokerResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[BrokerResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + broker_name: str, + **kwargs: Any + ) -> BrokerResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[BrokerResource]: ... + + + class azure.mgmt.iotoperations.operations.DataflowEndpointOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: DataflowEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowEndpointResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: DataflowEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowEndpointResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowEndpointResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_endpoint_name: str, + **kwargs: Any + ) -> DataflowEndpointResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[DataflowEndpointResource]: ... + + + class azure.mgmt.iotoperations.operations.DataflowGraphOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: DataflowGraphResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowGraphResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: DataflowGraphResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowGraphResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowGraphResource]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'dataflow_graph_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'dataflow_graph_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_graph_name: str, + **kwargs: Any + ) -> DataflowGraphResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'dataflow_profile_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_dataflow_profile( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> ItemPaged[DataflowGraphResource]: ... + + + class azure.mgmt.iotoperations.operations.DataflowOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: DataflowResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: DataflowResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + dataflow_name: str, + **kwargs: Any + ) -> DataflowResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> ItemPaged[DataflowResource]: ... + + + class azure.mgmt.iotoperations.operations.DataflowProfileOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: DataflowProfileResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowProfileResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: DataflowProfileResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowProfileResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[DataflowProfileResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + dataflow_profile_name: str, + **kwargs: Any + ) -> DataflowProfileResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[DataflowProfileResource]: ... + + + class azure.mgmt.iotoperations.operations.InstanceOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: InstanceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[InstanceResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: InstanceResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[InstanceResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[InstanceResource]: ... + + @distributed_trace + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + def get( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> InstanceResource: ... + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> ItemPaged[InstanceResource]: ... + + @distributed_trace + def list_by_subscription(self, **kwargs: Any) -> ItemPaged[InstanceResource]: ... + + @overload + def update( + self, + resource_group_name: str, + instance_name: str, + properties: InstancePatchModel, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + @overload + def update( + self, + resource_group_name: str, + instance_name: str, + properties: InstancePatchModel, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + @overload + def update( + self, + resource_group_name: str, + instance_name: str, + properties: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> InstanceResource: ... + + + class azure.mgmt.iotoperations.operations.Operations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @distributed_trace + def list(self, **kwargs: Any) -> ItemPaged[Operation]: ... + + + class azure.mgmt.iotoperations.operations.RegistryEndpointOperations: + + def __init__( + self, + *args, + **kwargs + ) -> None: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: RegistryEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[RegistryEndpointResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: RegistryEndpointResource, + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[RegistryEndpointResource]: ... + + @overload + def begin_create_or_update( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + resource: IO[bytes], + *, + content_type: str = "application/json", + **kwargs: Any + ) -> LROPoller[RegistryEndpointResource]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'registry_endpoint_name']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def begin_delete( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + **kwargs: Any + ) -> LROPoller[None]: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'registry_endpoint_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def get( + self, + resource_group_name: str, + instance_name: str, + registry_endpoint_name: str, + **kwargs: Any + ) -> RegistryEndpointResource: ... + + @distributed_trace + @api_version_validation(method_added_on='2025-07-01-preview', params_added_on={'2025-07-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'instance_name', 'accept']}, api_versions_list=['2025-07-01-preview', '2025-10-01', '2026-03-01', '2026-07-01']) + def list_by_instance_resource( + self, + resource_group_name: str, + instance_name: str, + **kwargs: Any + ) -> ItemPaged[RegistryEndpointResource]: ... + + +namespace azure.mgmt.iotoperations.types + + class azure.mgmt.iotoperations.types.AdvancedSettings(TypedDict, total=False): + key "clients": ForwardRef('ClientConfig', module='types') + key "encryptInternalTraffic": Union[str, OperationalMode] + key "internalCerts": ForwardRef('CertManagerCertOptions', module='types') + clients: ClientConfig + encrypt_internal_traffic: Union[str, OperationalMode] + internal_certs: CertManagerCertOptions + + + class azure.mgmt.iotoperations.types.AkriConnectorAllocatedDevice(TypedDict, total=False): + key "deviceInboundEndpointName": Required[str] + key "deviceName": Required[str] + device_inbound_endpoint_name: str + device_name: str + + + class azure.mgmt.iotoperations.types.AkriConnectorProperties(TypedDict, total=False): + key "healthState": Union[str, ResourceHealthState] + key "provisioningState": Union[str, ProvisioningState] + key "status": ForwardRef('AkriConnectorStatus', module='types') + allocatedDevices: list[AkriConnectorAllocatedDevice] + allocated_devices: list[AkriConnectorAllocatedDevice] + health_state: Union[str, ResourceHealthState] + provisioning_state: Union[str, ProvisioningState] + status: AkriConnectorStatus + + + class azure.mgmt.iotoperations.types.AkriConnectorResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('AkriConnectorProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: AkriConnectorProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.AkriConnectorStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateAioMetadata(TypedDict, total=False): + key "aioMaxVersion": str + key "aioMinVersion": str + aio_max_version: str + aio_min_version: str + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateAllocation(TypedDict, total=False): + key "bucketSize": Required[int] + key "policy": Required[Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED]] + bucket_size: int + policy: Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED] + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateAllocationPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BUCKETIZED = "Bucketized" + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateBucketizedAllocation(TypedDict, total=False): + key "bucketSize": Required[int] + key "policy": Required[Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED]] + bucket_size: int + policy: Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED] + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateDeviceInboundEndpointType(TypedDict, total=False): + key "displayName": str + key "endpointType": Required[str] + key "version": str + display_name: str + endpoint_type: str + version: str + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateDiagnostics(TypedDict, total=False): + key "logs": Required[AkriConnectorsDiagnosticsLogs] + logs: AkriConnectorsDiagnosticsLogs + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateExecAction(TypedDict, total=False): + key "command": Required[list[str]] + command: list[str] + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateManagedConfiguration(TypedDict, total=False): + key "managedConfigurationSettings": Required[AkriConnectorTemplateManagedConfigurationSettings] + key "runtimeConfigurationType": Required[Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION]] + managed_configuration_settings: AkriConnectorTemplateManagedConfigurationSettings + runtime_configuration_type: Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION] + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateManagedConfigurationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + IMAGE_CONFIGURATION = "ImageConfiguration" + STATEFUL_SET_CONFIGURATION = "StatefulSetConfiguration" + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplatePersistentVolumeClaim(TypedDict, total=False): + key "claimName": Required[str] + key "mountPath": Required[str] + claim_name: str + mount_path: str + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateProperties(TypedDict, total=False): + key "aioMetadata": ForwardRef('AkriConnectorTemplateAioMetadata', module='types') + key "connectorMetadataRef": str + key "deviceInboundEndpointTypes": Required[list[AkriConnectorTemplateDeviceInboundEndpointType]] + key "diagnostics": ForwardRef('AkriConnectorTemplateDiagnostics', module='types') + key "healthState": Union[str, ResourceHealthState] + key "mqttConnectionConfiguration": ForwardRef('AkriConnectorsMqttConnectionConfiguration', module='types') + key "provisioningState": Union[str, ProvisioningState] + key "runtimeConfiguration": Required[AkriConnectorTemplateRuntimeConfiguration] + aio_metadata: AkriConnectorTemplateAioMetadata + connector_metadata_ref: str + device_inbound_endpoint_types: list[AkriConnectorTemplateDeviceInboundEndpointType] + diagnostics: AkriConnectorTemplateDiagnostics + health_state: Union[str, ResourceHealthState] + mqtt_connection_configuration: AkriConnectorsMqttConnectionConfiguration + provisioning_state: Union[str, ProvisioningState] + runtime_configuration: AkriConnectorTemplateRuntimeConfiguration + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateReadinessProbe(TypedDict, total=False): + key "exec": ForwardRef('AkriConnectorTemplateExecAction', module='types') + key "failureThreshold": int + key "initialDelaySeconds": int + key "periodSeconds": int + key "successThreshold": int + key "timeoutSeconds": int + exec_property: AkriConnectorTemplateExecAction + failure_threshold: int + initial_delay_seconds: int + period_seconds: int + success_threshold: int + timeout_seconds: int + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('AkriConnectorTemplateProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: AkriConnectorTemplateProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateRuntimeConfiguration(TypedDict, total=False): + key "managedConfigurationSettings": Required[AkriConnectorTemplateManagedConfigurationSettings] + key "runtimeConfigurationType": Required[Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION]] + managed_configuration_settings: AkriConnectorTemplateManagedConfigurationSettings + runtime_configuration_type: Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION] + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateRuntimeConfigurationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + MANAGED_CONFIGURATION = "ManagedConfiguration" + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateRuntimeImageConfiguration(TypedDict, total=False): + key "allocation": ForwardRef('AkriConnectorTemplateAllocation', module='types') + key "imageConfigurationSettings": Required[AkriConnectorTemplateRuntimeImageConfigurationSettings] + key "managedConfigurationType": Required[Literal[AkriConnectorTemplateManagedConfigurationType.IMAGE_CONFIGURATION]] + key "trustSettings": ForwardRef('AkriConnectorTemplateTrustList', module='types') + additionalConfiguration: dict[str, str] + additional_configuration: dict[str, str] + allocation: AkriConnectorTemplateAllocation + image_configuration_settings: AkriConnectorTemplateRuntimeImageConfigurationSettings + managed_configuration_type: Literal[AkriConnectorTemplateManagedConfigurationType.IMAGE_CONFIGURATION] + persistentVolumeClaimTemplates: list[dict[str, Any]] + persistentVolumeClaims: list[AkriConnectorTemplatePersistentVolumeClaim] + persistent_volume_claim_templates: list[dict[str, Any]] + persistent_volume_claims: list[AkriConnectorTemplatePersistentVolumeClaim] + secrets: list[AkriConnectorsSecret] + trust_settings: AkriConnectorTemplateTrustList + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateRuntimeImageConfigurationSettings(TypedDict, total=False): + key "imageName": Required[str] + key "imagePullPolicy": Union[str, AkriConnectorsImagePullPolicy] + key "readinessProbe": ForwardRef('AkriConnectorTemplateReadinessProbe', module='types') + key "registrySettings": ForwardRef('AkriConnectorsRegistrySettings', module='types') + key "replicas": int + key "tagDigestSettings": ForwardRef('AkriConnectorsTagDigestSettings', module='types') + image_name: str + image_pull_policy: Union[str, AkriConnectorsImagePullPolicy] + readiness_probe: AkriConnectorTemplateReadinessProbe + registry_settings: AkriConnectorsRegistrySettings + replicas: int + tag_digest_settings: AkriConnectorsTagDigestSettings + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateRuntimeStatefulSetConfiguration(TypedDict, total=False): + key "allocation": ForwardRef('AkriConnectorTemplateAllocation', module='types') + key "managedConfigurationType": Required[Literal[AkriConnectorTemplateManagedConfigurationType.STATEFUL_SET_CONFIGURATION]] + key "statefulSetConfigurationSettings": Required[dict[str, Any]] + key "trustSettings": ForwardRef('AkriConnectorTemplateTrustList', module='types') + additionalConfiguration: dict[str, str] + additional_configuration: dict[str, str] + allocation: AkriConnectorTemplateAllocation + managed_configuration_type: Literal[AkriConnectorTemplateManagedConfigurationType.STATEFUL_SET_CONFIGURATION] + persistentVolumeClaimTemplates: list[dict[str, Any]] + persistentVolumeClaims: list[AkriConnectorTemplatePersistentVolumeClaim] + persistent_volume_claim_templates: list[dict[str, Any]] + persistent_volume_claims: list[AkriConnectorTemplatePersistentVolumeClaim] + secrets: list[AkriConnectorsSecret] + stateful_set_configuration_settings: dict[str, Any] + trust_settings: AkriConnectorTemplateTrustList + + + class azure.mgmt.iotoperations.types.AkriConnectorTemplateTrustList(TypedDict, total=False): + key "trustListSecretRef": Required[str] + trust_list_secret_ref: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsContainerRegistry(TypedDict, total=False): + key "containerRegistrySettings": Required[AkriConnectorsContainerRegistrySettings] + key "registrySettingsType": Required[Literal[AkriConnectorsRegistrySettingsType.CONTAINER_REGISTRY]] + container_registry_settings: AkriConnectorsContainerRegistrySettings + registry_settings_type: Literal[AkriConnectorsRegistrySettingsType.CONTAINER_REGISTRY] + + + class azure.mgmt.iotoperations.types.AkriConnectorsContainerRegistrySettings(TypedDict, total=False): + key "registry": Required[str] + imagePullSecrets: list[AkriConnectorsImagePullSecret] + image_pull_secrets: list[AkriConnectorsImagePullSecret] + registry: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsDiagnosticsLogs(TypedDict, total=False): + key "level": str + level: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsDigest(TypedDict, total=False): + key "digest": Required[str] + key "tagDigestType": Required[Literal[AkriConnectorsTagDigestType.DIGEST]] + digest: str + tag_digest_type: Literal[AkriConnectorsTagDigestType.DIGEST] + + + class azure.mgmt.iotoperations.types.AkriConnectorsImagePullSecret(TypedDict, total=False): + key "secretRef": Required[str] + secret_ref: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsMqttAuthentication(TypedDict, total=False): + key "method": Required[Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN]] + key "serviceAccountTokenSettings": Required[AkriConnectorsServiceAccountTokenSettings] + method: Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + service_account_token_settings: AkriConnectorsServiceAccountTokenSettings + + + class azure.mgmt.iotoperations.types.AkriConnectorsMqttAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + + + class azure.mgmt.iotoperations.types.AkriConnectorsMqttConnectionConfiguration(TypedDict, total=False): + key "authentication": ForwardRef('AkriConnectorsMqttAuthentication', module='types') + key "host": str + key "keepAliveSeconds": int + key "maxInflightMessages": int + key "protocol": Union[str, AkriConnectorsMqttProtocolType] + key "sessionExpirySeconds": int + key "tls": ForwardRef('TlsProperties', module='types') + authentication: AkriConnectorsMqttAuthentication + host: str + keep_alive_seconds: int + max_inflight_messages: int + protocol: Union[str, AkriConnectorsMqttProtocolType] + session_expiry_seconds: int + tls: TlsProperties + + + class azure.mgmt.iotoperations.types.AkriConnectorsRegistryEndpointRef(TypedDict, total=False): + key "registryEndpointRef": Required[str] + key "registrySettingsType": Required[Literal[AkriConnectorsRegistrySettingsType.REGISTRY_ENDPOINT_REF]] + registry_endpoint_ref: str + registry_settings_type: Literal[AkriConnectorsRegistrySettingsType.REGISTRY_ENDPOINT_REF] + + + class azure.mgmt.iotoperations.types.AkriConnectorsRegistrySettingsType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CONTAINER_REGISTRY = "ContainerRegistry" + REGISTRY_ENDPOINT_REF = "RegistryEndpointRef" + + + class azure.mgmt.iotoperations.types.AkriConnectorsSecret(TypedDict, total=False): + key "secretAlias": Required[str] + key "secretKey": Required[str] + key "secretRef": Required[str] + secret_alias: str + secret_key: str + secret_ref: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsServiceAccountAuthentication(TypedDict, total=False): + key "method": Required[Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN]] + key "serviceAccountTokenSettings": Required[AkriConnectorsServiceAccountTokenSettings] + method: Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + service_account_token_settings: AkriConnectorsServiceAccountTokenSettings + + + class azure.mgmt.iotoperations.types.AkriConnectorsServiceAccountTokenSettings(TypedDict, total=False): + key "audience": Required[str] + audience: str + + + class azure.mgmt.iotoperations.types.AkriConnectorsTag(TypedDict, total=False): + key "tag": Required[str] + key "tagDigestType": Required[Literal[AkriConnectorsTagDigestType.TAG]] + tag: str + tag_digest_type: Literal[AkriConnectorsTagDigestType.TAG] + + + class azure.mgmt.iotoperations.types.AkriConnectorsTagDigestType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DIGEST = "Digest" + TAG = "Tag" + + + class azure.mgmt.iotoperations.types.AkriServiceProperties(TypedDict, total=False): + key "provisioningState": Union[str, ProvisioningState] + key "status": ForwardRef('AkriServiceStatus', module='types') + provisioning_state: Union[str, ProvisioningState] + status: AkriServiceStatus + + + class azure.mgmt.iotoperations.types.AkriServiceResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('AkriServiceProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: AkriServiceProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.AkriServiceStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.AuthorizationConfig(TypedDict, total=False): + key "cache": Union[str, OperationalMode] + cache: Union[str, OperationalMode] + rules: list[AuthorizationRule] + + + class azure.mgmt.iotoperations.types.AuthorizationRule(TypedDict, total=False): + key "brokerResources": Required[list[BrokerResourceRule]] + key "principals": Required[PrincipalDefinition] + broker_resources: list[BrokerResourceRule] + principals: PrincipalDefinition + stateStoreResources: list[StateStoreResourceRule] + state_store_resources: list[StateStoreResourceRule] + + + class azure.mgmt.iotoperations.types.AzureDeviceRegistryNamespaceRef(TypedDict, total=False): + key "resourceId": Required[str] + resource_id: str + + + class azure.mgmt.iotoperations.types.BackendChain(TypedDict, total=False): + key "partitions": Required[int] + key "redundancyFactor": Required[int] + key "workers": int + partitions: int + redundancy_factor: int + workers: int + + + class azure.mgmt.iotoperations.types.BatchingConfiguration(TypedDict, total=False): + key "latencySeconds": int + key "maxMessages": int + latency_seconds: int + max_messages: int + + + class azure.mgmt.iotoperations.types.BrokerAuthenticationProperties(TypedDict, total=False): + key "authenticationMethods": Required[list[BrokerAuthenticatorMethods]] + key "healthState": Union[str, ResourceHealthState] + key "provisioningState": Union[str, ProvisioningState] + authentication_methods: list[BrokerAuthenticatorMethods] + health_state: Union[str, ResourceHealthState] + provisioning_state: Union[str, ProvisioningState] + + + class azure.mgmt.iotoperations.types.BrokerAuthenticationResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('BrokerAuthenticationProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: BrokerAuthenticationProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorCustomAuth(TypedDict, total=False): + key "x509": Required[X509ManualCertificate] + x509: X509ManualCertificate + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorMethodCustom(TypedDict, total=False): + key "auth": ForwardRef('BrokerAuthenticatorCustomAuth', module='types') + key "caCertConfigMap": str + key "endpoint": Required[str] + auth: BrokerAuthenticatorCustomAuth + ca_cert_config_map: str + endpoint: str + headers: dict[str, str] + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorMethodSat(TypedDict, total=False): + key "audiences": Required[list[str]] + audiences: list[str] + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorMethodX509(TypedDict, total=False): + key "additionalValidation": Union[str, BrokerAuthenticatorValidationMethods] + key "trustedClientCaCert": str + additional_validation: Union[str, BrokerAuthenticatorValidationMethods] + authorizationAttributes: dict[str, BrokerAuthenticatorMethodX509Attributes] + authorization_attributes: dict[str, BrokerAuthenticatorMethodX509Attributes] + trusted_client_ca_cert: str + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorMethodX509Attributes(TypedDict, total=False): + key "attributes": Required[dict[str, str]] + key "subject": Required[str] + attributes: dict[str, str] + subject: str + + + class azure.mgmt.iotoperations.types.BrokerAuthenticatorMethods(TypedDict, total=False): + key "customSettings": ForwardRef('BrokerAuthenticatorMethodCustom', module='types') + key "method": Required[Union[str, BrokerAuthenticationMethod]] + key "serviceAccountTokenSettings": ForwardRef('BrokerAuthenticatorMethodSat', module='types') + key "x509Settings": ForwardRef('BrokerAuthenticatorMethodX509', module='types') + custom_settings: BrokerAuthenticatorMethodCustom + method: Union[str, BrokerAuthenticationMethod] + service_account_token_settings: BrokerAuthenticatorMethodSat + x509_settings: BrokerAuthenticatorMethodX509 + + + class azure.mgmt.iotoperations.types.BrokerAuthorizationProperties(TypedDict, total=False): + key "authorizationPolicies": Required[AuthorizationConfig] + key "healthState": Union[str, ResourceHealthState] + key "provisioningState": Union[str, ProvisioningState] + authorization_policies: AuthorizationConfig + health_state: Union[str, ResourceHealthState] + provisioning_state: Union[str, ProvisioningState] + + + class azure.mgmt.iotoperations.types.BrokerAuthorizationResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('BrokerAuthorizationProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: BrokerAuthorizationProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.BrokerDiagnostics(TypedDict, total=False): + key "logs": ForwardRef('DiagnosticsLogs', module='types') + key "metrics": ForwardRef('Metrics', module='types') + key "selfCheck": ForwardRef('SelfCheck', module='types') + key "traces": ForwardRef('Traces', module='types') + logs: DiagnosticsLogs + metrics: Metrics + self_check: SelfCheck + traces: Traces + + + class azure.mgmt.iotoperations.types.BrokerListenerProperties(TypedDict, total=False): + key "healthState": Union[str, ResourceHealthState] + key "ports": Required[list[ListenerPort]] + key "provisioningState": Union[str, ProvisioningState] + key "serviceName": str + key "serviceType": Union[str, ServiceType] + health_state: Union[str, ResourceHealthState] + ports: list[ListenerPort] + provisioning_state: Union[str, ProvisioningState] + service_name: str + service_type: Union[str, ServiceType] + + + class azure.mgmt.iotoperations.types.BrokerListenerResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('BrokerListenerProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: BrokerListenerProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.BrokerPersistence(TypedDict, total=False): + key "encryption": ForwardRef('BrokerPersistenceEncryption', module='types') + key "maxSize": Required[str] + key "persistentVolumeClaimSpec": ForwardRef('VolumeClaimSpec', module='types') + key "retain": ForwardRef('BrokerRetainMessagesPolicy', module='types') + key "stateStore": ForwardRef('BrokerStateStorePolicy', module='types') + key "subscriberQueue": ForwardRef('BrokerSubscriberQueuePolicy', module='types') + encryption: BrokerPersistenceEncryption + max_size: str + persistent_volume_claim_spec: VolumeClaimSpec + retain: BrokerRetainMessagesPolicy + state_store: BrokerStateStorePolicy + subscriber_queue: BrokerSubscriberQueuePolicy + + + class azure.mgmt.iotoperations.types.BrokerPersistenceEncryption(TypedDict, total=False): + key "mode": Required[Union[str, OperationalMode]] + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.BrokerPersistencePolicyMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ALL = "All" + CUSTOM = "Custom" + NONE = "None" + + + class azure.mgmt.iotoperations.types.BrokerProperties(TypedDict, total=False): + key "advanced": ForwardRef('AdvancedSettings', module='types') + key "cardinality": ForwardRef('Cardinality', module='types') + key "diagnostics": ForwardRef('BrokerDiagnostics', module='types') + key "diskBackedMessageBuffer": ForwardRef('DiskBackedMessageBuffer', module='types') + key "generateResourceLimits": ForwardRef('GenerateResourceLimits', module='types') + key "healthState": Union[str, ResourceHealthState] + key "highPriorityMessagesBackpressureHandling": Union[str, HighPriorityMessagesBackpressureHandling] + key "memoryProfile": Union[str, BrokerMemoryProfile] + key "persistence": ForwardRef('BrokerPersistence', module='types') + key "provisioningState": Union[str, ProvisioningState] + key "status": ForwardRef('BrokerStatus', module='types') + advanced: AdvancedSettings + cardinality: Cardinality + diagnostics: BrokerDiagnostics + disk_backed_message_buffer: DiskBackedMessageBuffer + generate_resource_limits: GenerateResourceLimits + health_state: Union[str, ResourceHealthState] + high_priority_messages_backpressure_handling: Union[str, HighPriorityMessagesBackpressureHandling] + memory_profile: Union[str, BrokerMemoryProfile] + persistence: BrokerPersistence + provisioning_state: Union[str, ProvisioningState] + status: BrokerStatus + + + class azure.mgmt.iotoperations.types.BrokerResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('BrokerProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: BrokerProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.BrokerResourceRule(TypedDict, total=False): + key "method": Required[Union[str, BrokerResourceDefinitionMethods]] + clientIds: list[str] + client_ids: list[str] + method: Union[str, BrokerResourceDefinitionMethods] + topics: list[str] + + + class azure.mgmt.iotoperations.types.BrokerRetainMessagesCustomPolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "retainSettings": Required[BrokerRetainMessagesSettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + retain_settings: BrokerRetainMessagesSettings + + + class azure.mgmt.iotoperations.types.BrokerRetainMessagesDynamic(TypedDict, total=False): + key "mode": Required[Union[str, OperationalMode]] + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.BrokerRetainMessagesPolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "retainSettings": Required[BrokerRetainMessagesSettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + retain_settings: BrokerRetainMessagesSettings + + + class azure.mgmt.iotoperations.types.BrokerRetainMessagesSettings(TypedDict, total=False): + key "dynamic": ForwardRef('BrokerRetainMessagesDynamic', module='types') + dynamic: BrokerRetainMessagesDynamic + topics: list[str] + + + class azure.mgmt.iotoperations.types.BrokerStateStoreCustomPolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "stateStoreSettings": Required[BrokerStateStorePolicySettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + state_store_settings: BrokerStateStorePolicySettings + + + class azure.mgmt.iotoperations.types.BrokerStateStoreDynamic(TypedDict, total=False): + key "mode": Required[Union[str, OperationalMode]] + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.BrokerStateStorePolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "stateStoreSettings": Required[BrokerStateStorePolicySettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + state_store_settings: BrokerStateStorePolicySettings + + + class azure.mgmt.iotoperations.types.BrokerStateStorePolicyResources(TypedDict, total=False): + key "keyType": Required[Union[str, BrokerStateStoreKeyType]] + key "keys": Required[list[str]] + key_type: Union[str, BrokerStateStoreKeyType] + keys_property: list[str] + + + class azure.mgmt.iotoperations.types.BrokerStateStorePolicySettings(TypedDict, total=False): + key "dynamic": ForwardRef('BrokerStateStoreDynamic', module='types') + dynamic: BrokerStateStoreDynamic + stateStoreResources: list[BrokerStateStorePolicyResources] + state_store_resources: list[BrokerStateStorePolicyResources] + + + class azure.mgmt.iotoperations.types.BrokerStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.BrokerSubscriberQueueCustomPolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "subscriberQueueSettings": Required[BrokerSubscriberQueueCustomPolicySettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + subscriber_queue_settings: BrokerSubscriberQueueCustomPolicySettings + + + class azure.mgmt.iotoperations.types.BrokerSubscriberQueueCustomPolicySettings(TypedDict, total=False): + key "dynamic": ForwardRef('BrokerSubscriberQueueDynamic', module='types') + dynamic: BrokerSubscriberQueueDynamic + subscriberClientIds: list[str] + subscriber_client_ids: list[str] + + + class azure.mgmt.iotoperations.types.BrokerSubscriberQueueDynamic(TypedDict, total=False): + key "mode": Required[Union[str, OperationalMode]] + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.BrokerSubscriberQueuePolicy(TypedDict, total=False): + key "mode": Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + key "subscriberQueueSettings": Required[BrokerSubscriberQueueCustomPolicySettings] + mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + subscriber_queue_settings: BrokerSubscriberQueueCustomPolicySettings + + + class azure.mgmt.iotoperations.types.Cardinality(TypedDict, total=False): + key "backendChain": Required[BackendChain] + key "frontend": Required[Frontend] + backend_chain: BackendChain + frontend: Frontend + + + class azure.mgmt.iotoperations.types.CertManagerCertOptions(TypedDict, total=False): + key "duration": Required[str] + key "privateKey": Required[CertManagerPrivateKey] + key "renewBefore": Required[str] + duration: str + private_key: CertManagerPrivateKey + renew_before: str + + + class azure.mgmt.iotoperations.types.CertManagerCertificateSpec(TypedDict, total=False): + key "duration": str + key "issuerRef": Required[CertManagerIssuerRef] + key "privateKey": ForwardRef('CertManagerPrivateKey', module='types') + key "renewBefore": str + key "san": ForwardRef('SanForCert', module='types') + key "secretName": str + duration: str + issuer_ref: CertManagerIssuerRef + private_key: CertManagerPrivateKey + renew_before: str + san: SanForCert + secret_name: str + + + class azure.mgmt.iotoperations.types.CertManagerIssuerRef(TypedDict, total=False): + key "group": Required[str] + key "kind": Required[Union[str, CertManagerIssuerKind]] + key "name": Required[str] + group: str + kind: Union[str, CertManagerIssuerKind] + name: str + + + class azure.mgmt.iotoperations.types.CertManagerPrivateKey(TypedDict, total=False): + key "algorithm": Required[Union[str, PrivateKeyAlgorithm]] + key "rotationPolicy": Required[Union[str, PrivateKeyRotationPolicy]] + algorithm: Union[str, PrivateKeyAlgorithm] + rotation_policy: Union[str, PrivateKeyRotationPolicy] + + + class azure.mgmt.iotoperations.types.ClientConfig(TypedDict, total=False): + key "maxKeepAliveSeconds": int + key "maxMessageExpirySeconds": int + key "maxPacketSizeBytes": int + key "maxReceiveMaximum": int + key "maxSessionExpirySeconds": int + key "subscriberQueueLimit": ForwardRef('SubscriberQueueLimit', module='types') + max_keep_alive_seconds: int + max_message_expiry_seconds: int + max_packet_size_bytes: int + max_receive_maximum: int + max_session_expiry_seconds: int + subscriber_queue_limit: SubscriberQueueLimit + + + class azure.mgmt.iotoperations.types.DataflowBuiltInTransformationDataset(TypedDict, total=False): + key "description": str + key "expression": str + key "inputs": Required[list[str]] + key "key": Required[str] + key "schemaRef": str + description: str + expression: str + inputs: list[str] + key: str + schema_ref: str + + + class azure.mgmt.iotoperations.types.DataflowBuiltInTransformationFilter(TypedDict, total=False): + key "description": str + key "expression": Required[str] + key "inputs": Required[list[str]] + key "type": Union[str, FilterType] + description: str + expression: str + inputs: list[str] + type: Union[str, FilterType] + + + class azure.mgmt.iotoperations.types.DataflowBuiltInTransformationMap(TypedDict, total=False): + key "description": str + key "expression": str + key "inputs": Required[list[str]] + key "output": Required[str] + key "type": Union[str, DataflowMappingType] + description: str + expression: str + inputs: list[str] + output: str + type: Union[str, DataflowMappingType] + + + class azure.mgmt.iotoperations.types.DataflowBuiltInTransformationSettings(TypedDict, total=False): + key "schemaRef": str + key "serializationFormat": Union[str, TransformationSerializationFormat] + datasets: list[DataflowBuiltInTransformationDataset] + filter: list[DataflowBuiltInTransformationFilter] + map: list[DataflowBuiltInTransformationMap] + schema_ref: str + serialization_format: Union[str, TransformationSerializationFormat] + + + class azure.mgmt.iotoperations.types.DataflowDestinationAddIfNotPresentHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowHeaderActionType.ADD_IF_NOT_PRESENT]] + key "key": Required[str] + key "value": Required[str] + action_type: Literal[DataflowHeaderActionType.ADD_IF_NOT_PRESENT] + key: str + value: str + + + class azure.mgmt.iotoperations.types.DataflowDestinationAddOrReplaceHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowHeaderActionType.ADD_OR_REPLACE]] + key "key": Required[str] + key "value": Required[str] + action_type: Literal[DataflowHeaderActionType.ADD_OR_REPLACE] + key: str + value: str + + + class azure.mgmt.iotoperations.types.DataflowDestinationOperationSettings(TypedDict, total=False): + key "dataDestination": Required[str] + key "endpointRef": Required[str] + data_destination: str + endpoint_ref: str + headers: list[DataflowDestinationHeaderAction] + + + class azure.mgmt.iotoperations.types.DataflowDestinationRemoveHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowHeaderActionType.REMOVE]] + key "key": Required[str] + action_type: Literal[DataflowHeaderActionType.REMOVE] + key: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationAccessToken(TypedDict, total=False): + key "secretRef": Required[str] + secret_ref: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationAnonymous(TypedDict, total=False): + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationSasl(TypedDict, total=False): + key "saslType": Required[Union[str, DataflowEndpointAuthenticationSaslType]] + key "secretRef": Required[str] + sasl_type: Union[str, DataflowEndpointAuthenticationSaslType] + secret_ref: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationServiceAccountToken(TypedDict, total=False): + key "audience": Required[str] + audience: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationSystemAssignedManagedIdentity(TypedDict, total=False): + key "audience": str + audience: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationUserAssignedManagedIdentity(TypedDict, total=False): + key "clientId": Required[str] + key "scope": str + key "tenantId": Required[str] + client_id: str + scope: str + tenant_id: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointAuthenticationX509(TypedDict, total=False): + key "secretRef": Required[str] + secret_ref: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointDataExplorer(TypedDict, total=False): + key "authentication": Required[DataflowEndpointDataExplorerAuthentication] + key "batching": ForwardRef('BatchingConfiguration', module='types') + key "database": Required[str] + key "host": Required[str] + authentication: DataflowEndpointDataExplorerAuthentication + batching: BatchingConfiguration + database: str + host: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointDataExplorerAuthentication(TypedDict, total=False): + key "method": Required[Union[str, DataExplorerAuthMethod]] + key "systemAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationSystemAssignedManagedIdentity', module='types') + key "userAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationUserAssignedManagedIdentity', module='types') + method: Union[str, DataExplorerAuthMethod] + system_assigned_managed_identity_settings: DataflowEndpointAuthenticationSystemAssignedManagedIdentity + user_assigned_managed_identity_settings: DataflowEndpointAuthenticationUserAssignedManagedIdentity + + + class azure.mgmt.iotoperations.types.DataflowEndpointDataLakeStorage(TypedDict, total=False): + key "authentication": Required[DataflowEndpointDataLakeStorageAuthentication] + key "batching": ForwardRef('BatchingConfiguration', module='types') + key "host": Required[str] + authentication: DataflowEndpointDataLakeStorageAuthentication + batching: BatchingConfiguration + host: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointDataLakeStorageAuthentication(TypedDict, total=False): + key "accessTokenSettings": ForwardRef('DataflowEndpointAuthenticationAccessToken', module='types') + key "method": Required[Union[str, DataLakeStorageAuthMethod]] + key "systemAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationSystemAssignedManagedIdentity', module='types') + key "userAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationUserAssignedManagedIdentity', module='types') + access_token_settings: DataflowEndpointAuthenticationAccessToken + method: Union[str, DataLakeStorageAuthMethod] + system_assigned_managed_identity_settings: DataflowEndpointAuthenticationSystemAssignedManagedIdentity + user_assigned_managed_identity_settings: DataflowEndpointAuthenticationUserAssignedManagedIdentity + + + class azure.mgmt.iotoperations.types.DataflowEndpointFabricOneLake(TypedDict, total=False): + key "authentication": Required[DataflowEndpointFabricOneLakeAuthentication] + key "batching": ForwardRef('BatchingConfiguration', module='types') + key "host": Required[str] + key "names": Required[DataflowEndpointFabricOneLakeNames] + key "oneLakePathType": Required[Union[str, DataflowEndpointFabricPathType]] + authentication: DataflowEndpointFabricOneLakeAuthentication + batching: BatchingConfiguration + host: str + names: DataflowEndpointFabricOneLakeNames + one_lake_path_type: Union[str, DataflowEndpointFabricPathType] + + + class azure.mgmt.iotoperations.types.DataflowEndpointFabricOneLakeAuthentication(TypedDict, total=False): + key "method": Required[Union[str, FabricOneLakeAuthMethod]] + key "systemAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationSystemAssignedManagedIdentity', module='types') + key "userAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationUserAssignedManagedIdentity', module='types') + method: Union[str, FabricOneLakeAuthMethod] + system_assigned_managed_identity_settings: DataflowEndpointAuthenticationSystemAssignedManagedIdentity + user_assigned_managed_identity_settings: DataflowEndpointAuthenticationUserAssignedManagedIdentity + + + class azure.mgmt.iotoperations.types.DataflowEndpointFabricOneLakeNames(TypedDict, total=False): + key "lakehouseName": Required[str] + key "workspaceName": Required[str] + lakehouse_name: str + workspace_name: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointKafka(TypedDict, total=False): + key "authentication": Required[DataflowEndpointKafkaAuthentication] + key "batching": ForwardRef('DataflowEndpointKafkaBatching', module='types') + key "cloudEventAttributes": Union[str, CloudEventAttributeType] + key "compression": Union[str, DataflowEndpointKafkaCompression] + key "consumerGroupId": str + key "copyMqttProperties": Union[str, OperationalMode] + key "host": Required[str] + key "kafkaAcks": Union[str, DataflowEndpointKafkaAcks] + key "partitionStrategy": Union[str, DataflowEndpointKafkaPartitionStrategy] + key "tls": ForwardRef('TlsProperties', module='types') + authentication: DataflowEndpointKafkaAuthentication + batching: DataflowEndpointKafkaBatching + cloud_event_attributes: Union[str, CloudEventAttributeType] + compression: Union[str, DataflowEndpointKafkaCompression] + consumer_group_id: str + copy_mqtt_properties: Union[str, OperationalMode] + host: str + kafka_acks: Union[str, DataflowEndpointKafkaAcks] + partition_strategy: Union[str, DataflowEndpointKafkaPartitionStrategy] + tls: TlsProperties + + + class azure.mgmt.iotoperations.types.DataflowEndpointKafkaAuthentication(TypedDict, total=False): + key "method": Required[Union[str, KafkaAuthMethod]] + key "saslSettings": ForwardRef('DataflowEndpointAuthenticationSasl', module='types') + key "systemAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationSystemAssignedManagedIdentity', module='types') + key "userAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationUserAssignedManagedIdentity', module='types') + key "x509CertificateSettings": ForwardRef('DataflowEndpointAuthenticationX509', module='types') + method: Union[str, KafkaAuthMethod] + sasl_settings: DataflowEndpointAuthenticationSasl + system_assigned_managed_identity_settings: DataflowEndpointAuthenticationSystemAssignedManagedIdentity + user_assigned_managed_identity_settings: DataflowEndpointAuthenticationUserAssignedManagedIdentity + x509_certificate_settings: DataflowEndpointAuthenticationX509 + + + class azure.mgmt.iotoperations.types.DataflowEndpointKafkaBatching(TypedDict, total=False): + key "latencyMs": int + key "maxBytes": int + key "maxMessages": int + key "mode": Union[str, OperationalMode] + latency_ms: int + max_bytes: int + max_messages: int + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.DataflowEndpointLocalStorage(TypedDict, total=False): + key "persistentVolumeClaimRef": Required[str] + persistent_volume_claim_ref: str + + + class azure.mgmt.iotoperations.types.DataflowEndpointMqtt(TypedDict, total=False): + key "authentication": Required[DataflowEndpointMqttAuthentication] + key "clientIdPrefix": str + key "cloudEventAttributes": Union[str, CloudEventAttributeType] + key "host": str + key "keepAliveSeconds": int + key "maxInflightMessages": int + key "protocol": Union[str, BrokerProtocolType] + key "qos": int + key "retain": Union[str, MqttRetainType] + key "sessionExpirySeconds": int + key "tls": ForwardRef('TlsProperties', module='types') + authentication: DataflowEndpointMqttAuthentication + client_id_prefix: str + cloud_event_attributes: Union[str, CloudEventAttributeType] + host: str + keep_alive_seconds: int + max_inflight_messages: int + protocol: Union[str, BrokerProtocolType] + qos: int + retain: Union[str, MqttRetainType] + session_expiry_seconds: int + tls: TlsProperties + + + class azure.mgmt.iotoperations.types.DataflowEndpointMqttAuthentication(TypedDict, total=False): + key "method": Required[Union[str, MqttAuthMethod]] + key "serviceAccountTokenSettings": ForwardRef('DataflowEndpointAuthenticationServiceAccountToken', module='types') + key "systemAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationSystemAssignedManagedIdentity', module='types') + key "userAssignedManagedIdentitySettings": ForwardRef('DataflowEndpointAuthenticationUserAssignedManagedIdentity', module='types') + key "x509CertificateSettings": ForwardRef('DataflowEndpointAuthenticationX509', module='types') + method: Union[str, MqttAuthMethod] + service_account_token_settings: DataflowEndpointAuthenticationServiceAccountToken + system_assigned_managed_identity_settings: DataflowEndpointAuthenticationSystemAssignedManagedIdentity + user_assigned_managed_identity_settings: DataflowEndpointAuthenticationUserAssignedManagedIdentity + x509_certificate_settings: DataflowEndpointAuthenticationX509 + + + class azure.mgmt.iotoperations.types.DataflowEndpointOpenTelemetry(TypedDict, total=False): + key "authentication": Required[DataflowOpenTelemetryAuthentication] + key "batching": ForwardRef('BatchingConfiguration', module='types') + key "host": Required[str] + key "tls": ForwardRef('TlsProperties', module='types') + authentication: DataflowOpenTelemetryAuthentication + batching: BatchingConfiguration + host: str + tls: TlsProperties + + + class azure.mgmt.iotoperations.types.DataflowEndpointProperties(TypedDict, total=False): + key "dataExplorerSettings": ForwardRef('DataflowEndpointDataExplorer', module='types') + key "dataLakeStorageSettings": ForwardRef('DataflowEndpointDataLakeStorage', module='types') + key "endpointType": Required[Union[str, EndpointType]] + key "fabricOneLakeSettings": ForwardRef('DataflowEndpointFabricOneLake', module='types') + key "healthState": Union[str, ResourceHealthState] + key "hostType": Union[str, DataflowEndpointHostType] + key "kafkaSettings": ForwardRef('DataflowEndpointKafka', module='types') + key "localStorageSettings": ForwardRef('DataflowEndpointLocalStorage', module='types') + key "mqttSettings": ForwardRef('DataflowEndpointMqtt', module='types') + key "openTelemetrySettings": ForwardRef('DataflowEndpointOpenTelemetry', module='types') + key "provisioningState": Union[str, ProvisioningState] + data_explorer_settings: DataflowEndpointDataExplorer + data_lake_storage_settings: DataflowEndpointDataLakeStorage + endpoint_type: Union[str, EndpointType] + fabric_one_lake_settings: DataflowEndpointFabricOneLake + health_state: Union[str, ResourceHealthState] + host_type: Union[str, DataflowEndpointHostType] + kafka_settings: DataflowEndpointKafka + local_storage_settings: DataflowEndpointLocalStorage + mqtt_settings: DataflowEndpointMqtt + open_telemetry_settings: DataflowEndpointOpenTelemetry + provisioning_state: Union[str, ProvisioningState] + + + class azure.mgmt.iotoperations.types.DataflowEndpointResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('DataflowEndpointProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: DataflowEndpointProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.DataflowGraphConnectionInput(TypedDict, total=False): + key "name": Required[str] + key "schema": ForwardRef('DataflowGraphConnectionSchemaSettings', module='types') + name: str + schema: DataflowGraphConnectionSchemaSettings + + + class azure.mgmt.iotoperations.types.DataflowGraphConnectionOutput(TypedDict, total=False): + key "name": Required[str] + name: str + + + class azure.mgmt.iotoperations.types.DataflowGraphConnectionSchemaSettings(TypedDict, total=False): + key "schemaRef": str + key "serializationFormat": Union[str, DataflowGraphConnectionSchemaSerializationFormat] + schema_ref: str + serialization_format: Union[str, DataflowGraphConnectionSchemaSerializationFormat] + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationAddIfNotPresentHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowGraphDestinationHeaderActionType.ADD_IF_NOT_PRESENT]] + key "key": Required[str] + key "value": Required[str] + action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_IF_NOT_PRESENT] + key: str + value: str + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationAddOrReplaceHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowGraphDestinationHeaderActionType.ADD_OR_REPLACE]] + key "key": Required[str] + key "value": Required[str] + action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_OR_REPLACE] + key: str + value: str + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationHeaderActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ADD_IF_NOT_PRESENT = "AddIfNotPresent" + ADD_OR_REPLACE = "AddOrReplace" + REMOVE = "Remove" + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationNode(TypedDict, total=False): + key "destinationSettings": Required[DataflowGraphDestinationNodeSettings] + key "name": Required[str] + key "nodeType": Required[Literal[DataflowGraphNodeType.DESTINATION]] + destination_settings: DataflowGraphDestinationNodeSettings + name: str + node_type: Literal[DataflowGraphNodeType.DESTINATION] + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationNodeSettings(TypedDict, total=False): + key "dataDestination": Required[str] + key "endpointRef": Required[str] + data_destination: str + endpoint_ref: str + headers: list[DataflowGraphDestinationHeaderAction] + + + class azure.mgmt.iotoperations.types.DataflowGraphDestinationRemoveHeaderAction(TypedDict, total=False): + key "actionType": Required[Literal[DataflowGraphDestinationHeaderActionType.REMOVE]] + key "key": Required[str] + action_type: Literal[DataflowGraphDestinationHeaderActionType.REMOVE] + key: str + + + class azure.mgmt.iotoperations.types.DataflowGraphGraphNode(TypedDict, total=False): + key "graphSettings": Required[DataflowGraphNodeGraphSettings] + key "name": Required[str] + key "nodeType": Required[Literal[DataflowGraphNodeType.GRAPH]] + graph_settings: DataflowGraphNodeGraphSettings + name: str + node_type: Literal[DataflowGraphNodeType.GRAPH] + + + class azure.mgmt.iotoperations.types.DataflowGraphGraphNodeConfiguration(TypedDict, total=False): + key "key": Required[str] + key "value": Required[str] + key: str + value: str + + + class azure.mgmt.iotoperations.types.DataflowGraphNodeConnection(TypedDict): + key "from": Required[DataflowGraphConnectionInput] + key "to": Required[DataflowGraphConnectionOutput] + from_property: DataflowGraphConnectionInput + to: DataflowGraphConnectionOutput + + + class azure.mgmt.iotoperations.types.DataflowGraphNodeGraphSettings(TypedDict, total=False): + key "artifact": Required[str] + key "registryEndpointRef": Required[str] + artifact: str + configuration: list[DataflowGraphGraphNodeConfiguration] + registry_endpoint_ref: str + + + class azure.mgmt.iotoperations.types.DataflowGraphNodeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DESTINATION = "Destination" + GRAPH = "Graph" + SOURCE = "Source" + + + class azure.mgmt.iotoperations.types.DataflowGraphProperties(TypedDict, total=False): + key "healthState": Union[str, ResourceHealthState] + key "mode": Union[str, OperationalMode] + key "nodeConnections": Required[list[DataflowGraphNodeConnection]] + key "nodes": Required[list[DataflowGraphNode]] + key "provisioningState": Union[str, ProvisioningState] + key "requestDiskPersistence": Union[str, OperationalMode] + key "status": ForwardRef('DataflowGraphStatus', module='types') + health_state: Union[str, ResourceHealthState] + mode: Union[str, OperationalMode] + node_connections: list[DataflowGraphNodeConnection] + nodes: list[DataflowGraphNode] + provisioning_state: Union[str, ProvisioningState] + request_disk_persistence: Union[str, OperationalMode] + status: DataflowGraphStatus + + + class azure.mgmt.iotoperations.types.DataflowGraphResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('DataflowGraphProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: DataflowGraphProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.DataflowGraphSourceNode(TypedDict, total=False): + key "name": Required[str] + key "nodeType": Required[Literal[DataflowGraphNodeType.SOURCE]] + key "sourceSettings": Required[DataflowGraphSourceSettings] + name: str + node_type: Literal[DataflowGraphNodeType.SOURCE] + source_settings: DataflowGraphSourceSettings + + + class azure.mgmt.iotoperations.types.DataflowGraphSourceSettings(TypedDict, total=False): + key "assetRef": str + key "dataSources": Required[list[str]] + key "endpointRef": Required[str] + asset_ref: str + data_sources: list[str] + endpoint_ref: str + + + class azure.mgmt.iotoperations.types.DataflowGraphStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.DataflowHeaderActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ADD_IF_NOT_PRESENT = "AddIfNotPresent" + ADD_OR_REPLACE = "AddOrReplace" + REMOVE = "Remove" + + + class azure.mgmt.iotoperations.types.DataflowOpenTelemetryAnonymousAuthentication(TypedDict, total=False): + key "anonymousSettings": Required[DataflowEndpointAuthenticationAnonymous] + key "method": Required[Literal[DataflowOpenTelemetryAuthenticationMethod.ANONYMOUS]] + anonymous_settings: DataflowEndpointAuthenticationAnonymous + method: Literal[DataflowOpenTelemetryAuthenticationMethod.ANONYMOUS] + + + class azure.mgmt.iotoperations.types.DataflowOpenTelemetryAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + SERVICE_ACCOUNT_TOKEN = "ServiceAccountToken" + X509_CERTIFICATE = "X509Certificate" + + + class azure.mgmt.iotoperations.types.DataflowOpenTelemetryServiceAccountAuthentication(TypedDict, total=False): + key "method": Required[Literal[DataflowOpenTelemetryAuthenticationMethod.SERVICE_ACCOUNT_TOKEN]] + key "serviceAccountTokenSettings": Required[DataflowEndpointAuthenticationServiceAccountToken] + method: Literal[DataflowOpenTelemetryAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + service_account_token_settings: DataflowEndpointAuthenticationServiceAccountToken + + + class azure.mgmt.iotoperations.types.DataflowOpenTelemetryX509CertificateAuthentication(TypedDict, total=False): + key "method": Required[Literal[DataflowOpenTelemetryAuthenticationMethod.X509_CERTIFICATE]] + key "x509CertificateSettings": Required[DataflowEndpointAuthenticationX509] + method: Literal[DataflowOpenTelemetryAuthenticationMethod.X509_CERTIFICATE] + x509_certificate_settings: DataflowEndpointAuthenticationX509 + + + class azure.mgmt.iotoperations.types.DataflowOperation(TypedDict, total=False): + key "builtInTransformationSettings": ForwardRef('DataflowBuiltInTransformationSettings', module='types') + key "destinationSettings": ForwardRef('DataflowDestinationOperationSettings', module='types') + key "name": str + key "operationType": Required[Union[str, OperationType]] + key "sourceSettings": ForwardRef('DataflowSourceOperationSettings', module='types') + built_in_transformation_settings: DataflowBuiltInTransformationSettings + destination_settings: DataflowDestinationOperationSettings + name: str + operation_type: Union[str, OperationType] + source_settings: DataflowSourceOperationSettings + + + class azure.mgmt.iotoperations.types.DataflowProfileProperties(TypedDict, total=False): + key "diagnostics": ForwardRef('ProfileDiagnostics', module='types') + key "healthState": Union[str, ResourceHealthState] + key "instanceCount": int + key "provisioningState": Union[str, ProvisioningState] + key "status": ForwardRef('DataflowProfileStatus', module='types') + diagnostics: ProfileDiagnostics + health_state: Union[str, ResourceHealthState] + instance_count: int + provisioning_state: Union[str, ProvisioningState] + status: DataflowProfileStatus + + + class azure.mgmt.iotoperations.types.DataflowProfileResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('DataflowProfileProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: DataflowProfileProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.DataflowProfileStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.DataflowProperties(TypedDict, total=False): + key "healthState": Union[str, ResourceHealthState] + key "mode": Union[str, OperationalMode] + key "operations": Required[list[DataflowOperation]] + key "provisioningState": Union[str, ProvisioningState] + key "requestDiskPersistence": Union[str, OperationalMode] + key "status": ForwardRef('DataflowStatus', module='types') + health_state: Union[str, ResourceHealthState] + mode: Union[str, OperationalMode] + operations: list[DataflowOperation] + provisioning_state: Union[str, ProvisioningState] + request_disk_persistence: Union[str, OperationalMode] + status: DataflowStatus + + + class azure.mgmt.iotoperations.types.DataflowResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('DataflowProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: DataflowProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.DataflowSourceOperationSettings(TypedDict, total=False): + key "assetRef": str + key "dataSources": Required[list[str]] + key "endpointRef": Required[str] + key "schemaRef": str + key "serializationFormat": Union[str, SourceSerializationFormat] + asset_ref: str + data_sources: list[str] + endpoint_ref: str + schema_ref: str + serialization_format: Union[str, SourceSerializationFormat] + + + class azure.mgmt.iotoperations.types.DataflowStatus(TypedDict, total=False): + key "healthState": ForwardRef('ResourceHealthStatus', module='types') + health_state: ResourceHealthStatus + + + class azure.mgmt.iotoperations.types.DiagnosticsLogs(TypedDict, total=False): + key "level": str + level: str + + + class azure.mgmt.iotoperations.types.DiskBackedMessageBuffer(TypedDict, total=False): + key "ephemeralVolumeClaimSpec": ForwardRef('VolumeClaimSpec', module='types') + key "maxSize": Required[str] + key "persistentVolumeClaimSpec": ForwardRef('VolumeClaimSpec', module='types') + ephemeral_volume_claim_spec: VolumeClaimSpec + max_size: str + persistent_volume_claim_spec: VolumeClaimSpec + + + class azure.mgmt.iotoperations.types.ExtendedLocation(TypedDict, total=False): + key "name": Required[str] + key "type": Required[Union[str, ExtendedLocationType]] + name: str + type: Union[str, ExtendedLocationType] + + + class azure.mgmt.iotoperations.types.Frontend(TypedDict, total=False): + key "replicas": Required[int] + key "workers": int + replicas: int + workers: int + + + class azure.mgmt.iotoperations.types.GenerateResourceLimits(TypedDict, total=False): + key "cpu": Union[str, OperationalMode] + cpu: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.InstanceFeature(TypedDict, total=False): + key "mode": Union[str, InstanceFeatureMode] + mode: Union[str, InstanceFeatureMode] + settings: dict[str, Union[str, OperationalMode]] + + + class azure.mgmt.iotoperations.types.InstancePatchModel(TypedDict, total=False): + key "identity": ForwardRef('ManagedServiceIdentity', module='types') + identity: ManagedServiceIdentity + tags: dict[str, str] + + + class azure.mgmt.iotoperations.types.InstanceProperties(TypedDict, total=False): + key "adrNamespaceRef": ForwardRef('AzureDeviceRegistryNamespaceRef', module='types') + key "defaultSecretProviderClassRef": ForwardRef('SecretProviderClassRef', module='types') + key "description": str + key "healthState": Union[str, ResourceHealthState] + key "provisioningState": Union[str, ProvisioningState] + key "schemaRegistryRef": Required[SchemaRegistryRef] + key "version": str + adr_namespace_ref: AzureDeviceRegistryNamespaceRef + default_secret_provider_class_ref: SecretProviderClassRef + description: str + features: dict[str, InstanceFeature] + health_state: Union[str, ResourceHealthState] + provisioning_state: Union[str, ProvisioningState] + schema_registry_ref: SchemaRegistryRef + version: str + + + class azure.mgmt.iotoperations.types.InstanceResource(TrackedResource): + key "extendedLocation": Required[ExtendedLocation] + key "id": str + key "identity": ForwardRef('ManagedServiceIdentity', module='types') + key "location": Required[str] + key "name": str + key "properties": ForwardRef('InstanceProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + identity: ManagedServiceIdentity + location: str + name: str + properties: InstanceProperties + system_data: SystemData + tags: dict[str, str] + type: str + + + class azure.mgmt.iotoperations.types.KubernetesReference(TypedDict, total=False): + key "apiGroup": str + key "kind": Required[str] + key "name": Required[str] + key "namespace": str + api_group: str + kind: str + name: str + namespace: str + + + class azure.mgmt.iotoperations.types.ListenerPort(TypedDict, total=False): + key "authenticationRef": str + key "authorizationRef": str + key "nodePort": int + key "port": Required[int] + key "protocol": Union[str, BrokerProtocolType] + key "tls": ForwardRef('TlsCertMethod', module='types') + authentication_ref: str + authorization_ref: str + node_port: int + port: int + protocol: Union[str, BrokerProtocolType] + tls: TlsCertMethod + + + class azure.mgmt.iotoperations.types.LocalKubernetesReference(TypedDict, total=False): + key "apiGroup": str + key "kind": Required[str] + key "name": Required[str] + api_group: str + kind: str + name: str + + + class azure.mgmt.iotoperations.types.ManagedServiceIdentity(TypedDict, total=False): + key "principalId": str + key "tenantId": str + key "type": Required[Union[str, ManagedServiceIdentityType]] + principal_id: str + tenant_id: str + type: Union[str, ManagedServiceIdentityType] + userAssignedIdentities: dict[str, UserAssignedIdentity] + user_assigned_identities: dict[str, UserAssignedIdentity] + + + class azure.mgmt.iotoperations.types.Metrics(TypedDict, total=False): + key "prometheusPort": int + prometheus_port: int + + + class azure.mgmt.iotoperations.types.PrincipalDefinition(TypedDict, total=False): + attributes: list[dict[str, str]] + clientIds: list[str] + client_ids: list[str] + usernames: list[str] + + + class azure.mgmt.iotoperations.types.ProfileDiagnostics(TypedDict, total=False): + key "logs": ForwardRef('DiagnosticsLogs', module='types') + key "metrics": ForwardRef('Metrics', module='types') + logs: DiagnosticsLogs + metrics: Metrics + + + class azure.mgmt.iotoperations.types.ProxyResource(Resource): + key "id": str + key "name": str + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + id: str + name: str + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.RegistryEndpointAnonymousAuthentication(TypedDict, total=False): + key "anonymousSettings": Required[RegistryEndpointAnonymousSettings] + key "method": Required[Literal[RegistryEndpointAuthenticationMethod.ANONYMOUS]] + anonymous_settings: RegistryEndpointAnonymousSettings + method: Literal[RegistryEndpointAuthenticationMethod.ANONYMOUS] + + + class azure.mgmt.iotoperations.types.RegistryEndpointAnonymousSettings(TypedDict, total=False): + + + class azure.mgmt.iotoperations.types.RegistryEndpointArtifactPullSecretAuthentication(TypedDict, total=False): + key "artifactPullSecretSettings": Required[RegistryEndpointArtifactPullSecretSettings] + key "method": Required[Literal[RegistryEndpointAuthenticationMethod.ARTIFACT_PULL_SECRET]] + artifact_pull_secret_settings: RegistryEndpointArtifactPullSecretSettings + method: Literal[RegistryEndpointAuthenticationMethod.ARTIFACT_PULL_SECRET] + + + class azure.mgmt.iotoperations.types.RegistryEndpointArtifactPullSecretSettings(TypedDict, total=False): + key "secretRef": Required[str] + secret_ref: str + + + class azure.mgmt.iotoperations.types.RegistryEndpointAuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ANONYMOUS = "Anonymous" + ARTIFACT_PULL_SECRET = "ArtifactPullSecret" + SYSTEM_ASSIGNED_MANAGED_IDENTITY = "SystemAssignedManagedIdentity" + USER_ASSIGNED_MANAGED_IDENTITY = "UserAssignedManagedIdentity" + + + class azure.mgmt.iotoperations.types.RegistryEndpointProperties(TypedDict, total=False): + key "authentication": Required[RegistryEndpointAuthentication] + key "healthState": Union[str, ResourceHealthState] + key "host": Required[str] + key "provisioningState": Union[str, ProvisioningState] + authentication: RegistryEndpointAuthentication + codeSigningCas: list[RegistryEndpointTrustedSigningKey] + code_signing_cas: list[RegistryEndpointTrustedSigningKey] + health_state: Union[str, ResourceHealthState] + host: str + provisioning_state: Union[str, ProvisioningState] + + + class azure.mgmt.iotoperations.types.RegistryEndpointResource(ProxyResource): + key "extendedLocation": ForwardRef('ExtendedLocation', module='types') + key "id": str + key "name": str + key "properties": ForwardRef('RegistryEndpointProperties', module='types') + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + extended_location: ExtendedLocation + id: str + name: str + properties: RegistryEndpointProperties + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.RegistryEndpointSystemAssignedIdentityAuthentication(TypedDict, total=False): + key "method": Required[Literal[RegistryEndpointAuthenticationMethod.SYSTEM_ASSIGNED_MANAGED_IDENTITY]] + key "systemAssignedManagedIdentitySettings": Required[RegistryEndpointSystemAssignedManagedIdentitySettings] + method: Literal[RegistryEndpointAuthenticationMethod.SYSTEM_ASSIGNED_MANAGED_IDENTITY] + system_assigned_managed_identity_settings: RegistryEndpointSystemAssignedManagedIdentitySettings + + + class azure.mgmt.iotoperations.types.RegistryEndpointSystemAssignedManagedIdentitySettings(TypedDict, total=False): + key "audience": str + audience: str + + + class azure.mgmt.iotoperations.types.RegistryEndpointTrustedSigningKeyConfigMap(TypedDict, total=False): + key "configMapRef": Required[str] + key "type": Required[Literal[RegistryEndpointTrustedSigningKeyType.CONFIG_MAP]] + config_map_ref: str + type: Literal[RegistryEndpointTrustedSigningKeyType.CONFIG_MAP] + + + class azure.mgmt.iotoperations.types.RegistryEndpointTrustedSigningKeySecret(TypedDict, total=False): + key "secretRef": Required[str] + key "type": Required[Literal[RegistryEndpointTrustedSigningKeyType.SECRET]] + secret_ref: str + type: Literal[RegistryEndpointTrustedSigningKeyType.SECRET] + + + class azure.mgmt.iotoperations.types.RegistryEndpointTrustedSigningKeyType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CONFIG_MAP = "ConfigMap" + SECRET = "Secret" + + + class azure.mgmt.iotoperations.types.RegistryEndpointUserAssignedIdentityAuthentication(TypedDict, total=False): + key "method": Required[Literal[RegistryEndpointAuthenticationMethod.USER_ASSIGNED_MANAGED_IDENTITY]] + key "userAssignedManagedIdentitySettings": Required[RegistryEndpointUserAssignedManagedIdentitySettings] + method: Literal[RegistryEndpointAuthenticationMethod.USER_ASSIGNED_MANAGED_IDENTITY] + user_assigned_managed_identity_settings: RegistryEndpointUserAssignedManagedIdentitySettings + + + class azure.mgmt.iotoperations.types.RegistryEndpointUserAssignedManagedIdentitySettings(TypedDict, total=False): + key "clientId": Required[str] + key "scope": str + key "tenantId": Required[str] + client_id: str + scope: str + tenant_id: str + + + class azure.mgmt.iotoperations.types.Resource(TypedDict, total=False): + key "id": str + key "name": str + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + id: str + name: str + system_data: SystemData + type: str + + + class azure.mgmt.iotoperations.types.ResourceHealthStatus(TypedDict, total=False): + key "lastTransitionTime": str + key "lastUpdateTime": str + key "message": str + key "reasonCode": str + key "status": Union[str, ResourceHealthState] + last_transition_time: str + last_update_time: str + message: str + reason_code: str + status: Union[str, ResourceHealthState] + + + class azure.mgmt.iotoperations.types.SanForCert(TypedDict, total=False): + key "dns": Required[list[str]] + key "ip": Required[list[str]] + dns: list[str] + ip: list[str] + + + class azure.mgmt.iotoperations.types.SchemaRegistryRef(TypedDict, total=False): + key "resourceId": Required[str] + resource_id: str + + + class azure.mgmt.iotoperations.types.SecretProviderClassRef(TypedDict, total=False): + key "resourceId": Required[str] + resource_id: str + + + class azure.mgmt.iotoperations.types.SelfCheck(TypedDict, total=False): + key "intervalSeconds": int + key "mode": Union[str, OperationalMode] + key "timeoutSeconds": int + interval_seconds: int + mode: Union[str, OperationalMode] + timeout_seconds: int + + + class azure.mgmt.iotoperations.types.SelfTracing(TypedDict, total=False): + key "intervalSeconds": int + key "mode": Union[str, OperationalMode] + interval_seconds: int + mode: Union[str, OperationalMode] + + + class azure.mgmt.iotoperations.types.StateStoreResourceRule(TypedDict, total=False): + key "keyType": Required[Union[str, StateStoreResourceKeyTypes]] + key "keys": Required[list[str]] + key "method": Required[Union[str, StateStoreResourceDefinitionMethods]] + key_type: Union[str, StateStoreResourceKeyTypes] + keys_property: list[str] + method: Union[str, StateStoreResourceDefinitionMethods] + + + class azure.mgmt.iotoperations.types.SubscriberQueueLimit(TypedDict, total=False): + key "length": int + key "strategy": Union[str, SubscriberMessageDropStrategy] + length: int + strategy: Union[str, SubscriberMessageDropStrategy] + + + class azure.mgmt.iotoperations.types.SystemData(TypedDict, total=False): + key "createdAt": str + key "createdBy": str + key "createdByType": Union[str, CreatedByType] + key "lastModifiedAt": str + key "lastModifiedBy": str + key "lastModifiedByType": Union[str, CreatedByType] + created_at: str + created_by: str + created_by_type: Union[str, CreatedByType] + last_modified_at: str + last_modified_by: str + last_modified_by_type: Union[str, CreatedByType] + + + class azure.mgmt.iotoperations.types.TlsCertMethod(TypedDict, total=False): + key "certManagerCertificateSpec": ForwardRef('CertManagerCertificateSpec', module='types') + key "manual": ForwardRef('X509ManualCertificate', module='types') + key "mode": Required[Union[str, TlsCertMethodMode]] + cert_manager_certificate_spec: CertManagerCertificateSpec + manual: X509ManualCertificate + mode: Union[str, TlsCertMethodMode] + + + class azure.mgmt.iotoperations.types.TlsProperties(TypedDict, total=False): + key "mode": Union[str, OperationalMode] + key "trustedCaCertificateConfigMapRef": str + mode: Union[str, OperationalMode] + trusted_ca_certificate_config_map_ref: str + + + class azure.mgmt.iotoperations.types.Traces(TypedDict, total=False): + key "cacheSizeMegabytes": int + key "mode": Union[str, OperationalMode] + key "selfTracing": ForwardRef('SelfTracing', module='types') + key "spanChannelCapacity": int + cache_size_megabytes: int + mode: Union[str, OperationalMode] + self_tracing: SelfTracing + span_channel_capacity: int + + + class azure.mgmt.iotoperations.types.TrackedResource(Resource): + key "id": str + key "location": Required[str] + key "name": str + key "systemData": ForwardRef('SystemData', module='types') + key "type": str + id: str + location: str + name: str + system_data: SystemData + tags: dict[str, str] + type: str + + + class azure.mgmt.iotoperations.types.UserAssignedIdentity(TypedDict, total=False): + key "clientId": str + key "principalId": str + client_id: str + principal_id: str + + + class azure.mgmt.iotoperations.types.VolumeClaimResourceRequirements(TypedDict, total=False): + claims: list[VolumeClaimResourceRequirementsClaims] + limits: dict[str, str] + requests: dict[str, str] + + + class azure.mgmt.iotoperations.types.VolumeClaimResourceRequirementsClaims(TypedDict, total=False): + key "name": Required[str] + name: str + + + class azure.mgmt.iotoperations.types.VolumeClaimSpec(TypedDict, total=False): + key "dataSource": ForwardRef('LocalKubernetesReference', module='types') + key "dataSourceRef": ForwardRef('KubernetesReference', module='types') + key "resources": ForwardRef('VolumeClaimResourceRequirements', module='types') + key "selector": ForwardRef('VolumeClaimSpecSelector', module='types') + key "storageClassName": str + key "volumeMode": str + key "volumeName": str + accessModes: list[str] + access_modes: list[str] + data_source: LocalKubernetesReference + data_source_ref: KubernetesReference + resources: VolumeClaimResourceRequirements + selector: VolumeClaimSpecSelector + storage_class_name: str + volume_mode: str + volume_name: str + + + class azure.mgmt.iotoperations.types.VolumeClaimSpecSelector(TypedDict, total=False): + matchExpressions: list[VolumeClaimSpecSelectorMatchExpressions] + matchLabels: dict[str, str] + match_expressions: list[VolumeClaimSpecSelectorMatchExpressions] + match_labels: dict[str, str] + + + class azure.mgmt.iotoperations.types.VolumeClaimSpecSelectorMatchExpressions(TypedDict, total=False): + key "key": Required[str] + key "operator": Required[Union[str, OperatorValues]] + key: str + operator: Union[str, OperatorValues] + values: list[str] + values_property: list[str] + + + class azure.mgmt.iotoperations.types.X509ManualCertificate(TypedDict, total=False): + key "secretRef": Required[str] + secret_ref: str + + +``` \ No newline at end of file diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/api.metadata.yml b/sdk/iotoperations/azure-mgmt-iotoperations/api.metadata.yml new file mode 100644 index 000000000000..5e2d5a2de243 --- /dev/null +++ b/sdk/iotoperations/azure-mgmt-iotoperations/api.metadata.yml @@ -0,0 +1,3 @@ +apiMdSha256: 28c432e4d75565abcf9ccfbe5970c74eee129aff043a94673c95eef804e894ce +parserVersion: 0.3.30 +pythonVersion: 3.13.14 diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/apiview-properties.json b/sdk/iotoperations/azure-mgmt-iotoperations/apiview-properties.json index 591637e64853..24d38fe0f82e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/apiview-properties.json +++ b/sdk/iotoperations/azure-mgmt-iotoperations/apiview-properties.json @@ -27,11 +27,13 @@ "azure.mgmt.iotoperations.models.AkriConnectorTemplateBucketizedAllocation": "Microsoft.IoTOperations.AkriConnectorTemplateBucketizedAllocation", "azure.mgmt.iotoperations.models.AkriConnectorTemplateDeviceInboundEndpointType": "Microsoft.IoTOperations.AkriConnectorTemplateDeviceInboundEndpointType", "azure.mgmt.iotoperations.models.AkriConnectorTemplateDiagnostics": "Microsoft.IoTOperations.AkriConnectorTemplateDiagnostics", + "azure.mgmt.iotoperations.models.AkriConnectorTemplateExecAction": "Microsoft.IoTOperations.AkriConnectorTemplateExecAction", "azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeConfiguration": "Microsoft.IoTOperations.AkriConnectorTemplateRuntimeConfiguration", "azure.mgmt.iotoperations.models.AkriConnectorTemplateManagedConfiguration": "Microsoft.IoTOperations.AkriConnectorTemplateManagedConfiguration", "azure.mgmt.iotoperations.models.AkriConnectorTemplateManagedConfigurationSettings": "Microsoft.IoTOperations.AkriConnectorTemplateManagedConfigurationSettings", "azure.mgmt.iotoperations.models.AkriConnectorTemplatePersistentVolumeClaim": "Microsoft.IoTOperations.AkriConnectorTemplatePersistentVolumeClaim", "azure.mgmt.iotoperations.models.AkriConnectorTemplateProperties": "Microsoft.IoTOperations.AkriConnectorTemplateProperties", + "azure.mgmt.iotoperations.models.AkriConnectorTemplateReadinessProbe": "Microsoft.IoTOperations.AkriConnectorTemplateReadinessProbe", "azure.mgmt.iotoperations.models.AkriConnectorTemplateResource": "Microsoft.IoTOperations.AkriConnectorTemplateResource", "azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeImageConfiguration": "Microsoft.IoTOperations.AkriConnectorTemplateRuntimeImageConfiguration", "azure.mgmt.iotoperations.models.AkriConnectorTemplateRuntimeImageConfigurationSettings": "Microsoft.IoTOperations.AkriConnectorTemplateRuntimeImageConfigurationSettings", @@ -214,6 +216,7 @@ "azure.mgmt.iotoperations.models.PrivateKeyAlgorithm": "Microsoft.IoTOperations.PrivateKeyAlgorithm", "azure.mgmt.iotoperations.models.PrivateKeyRotationPolicy": "Microsoft.IoTOperations.PrivateKeyRotationPolicy", "azure.mgmt.iotoperations.models.OperatorValues": "Microsoft.IoTOperations.OperatorValues", + "azure.mgmt.iotoperations.models.HighPriorityMessagesBackpressureHandling": "Microsoft.IoTOperations.HighPriorityMessagesBackpressureHandling", "azure.mgmt.iotoperations.models.BrokerMemoryProfile": "Microsoft.IoTOperations.BrokerMemoryProfile", "azure.mgmt.iotoperations.models.BrokerPersistencePolicyMode": "Microsoft.IoTOperations.BrokerPersistencePolicyMode", "azure.mgmt.iotoperations.models.BrokerStateStoreKeyType": "Microsoft.IoTOperations.BrokerStateStoreKeyType", @@ -370,5 +373,6 @@ "azure.mgmt.iotoperations.aio.operations.AkriServiceOperations.begin_delete": "Microsoft.IoTOperations.AkriService.delete", "azure.mgmt.iotoperations.operations.AkriServiceOperations.list_by_instance_resource": "Microsoft.IoTOperations.AkriService.listByInstanceResource", "azure.mgmt.iotoperations.aio.operations.AkriServiceOperations.list_by_instance_resource": "Microsoft.IoTOperations.AkriService.listByInstanceResource" - } + }, + "CrossLanguageVersion": "15bb2b5bafae" } \ No newline at end of file diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_client.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_client.py index fbabe6ab2603..62af048a6522 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_client.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_client.py @@ -7,8 +7,8 @@ # -------------------------------------------------------------------------- from copy import deepcopy +import sys from typing import Any, Optional, TYPE_CHECKING, cast -from typing_extensions import Self from azure.core.pipeline import policies from azure.core.rest import HttpRequest, HttpResponse @@ -36,6 +36,11 @@ RegistryEndpointOperations, ) +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self # type: ignore + if TYPE_CHECKING: from azure.core import AzureClouds from azure.core.credentials import TokenCredential @@ -84,9 +89,9 @@ class IoTOperationsMgmtClient: # pylint: disable=too-many-instance-attributes :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2026-03-01". - Default value is "2026-03-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2026-07-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_configuration.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_configuration.py index 11df4bafa01b..d149e920bc3c 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_configuration.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_configuration.py @@ -33,9 +33,9 @@ class IoTOperationsMgmtClientConfiguration: # pylint: disable=too-many-instance :param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :type cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2026-03-01". - Default value is "2026-03-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2026-07-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -47,7 +47,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-03-01") + api_version: str = kwargs.pop("api_version", "2026-07-01") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/model_base.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/model_base.py index eef4e52ed1a0..1934415c1369 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/model_base.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/model_base.py @@ -23,14 +23,19 @@ from json import JSONEncoder import xml.etree.ElementTree as ET from collections.abc import MutableMapping -from typing_extensions import Self import isodate from azure.core.exceptions import DeserializationError from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null + from azure.core.rest import HttpResponse +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self + _LOGGER = logging.getLogger(__name__) __all__ = ["SdkJSONEncoder", "Model", "rest_field", "rest_discriminator"] @@ -104,6 +109,29 @@ def _serialize_bytes(o, format: typing.Optional[str] = None) -> str: return encoded +def _serialize_duration(td: timedelta, format: typing.Optional[str] = None): + """Serialize a timedelta to its wire representation. + + For the ``seconds``/``milliseconds`` encodings the value is converted to a + numeric value, otherwise it falls back to an ISO 8601 duration string. + + :param timedelta td: The timedelta to serialize. + :param str format: The duration encoding format. + :rtype: int or float or str + :return: serialized duration + """ + seconds = td.total_seconds() + if format == "duration-seconds-int": + return int(seconds) + if format == "duration-seconds-float": + return seconds + if format == "duration-milliseconds-int": + return int(seconds * 1000) + if format == "duration-milliseconds-float": + return seconds * 1000 + return _timedelta_as_isostr(td) + + def _serialize_datetime(o, format: typing.Optional[str] = None): if hasattr(o, "year") and hasattr(o, "hour"): if format == "rfc7231": @@ -296,6 +324,12 @@ def _deserialize_duration(attr): return isodate.parse_duration(attr) +def _deserialize_duration_numeric(attr, unit): + if isinstance(attr, timedelta): + return attr + return timedelta(**{unit: float(attr)}) + + def _deserialize_decimal(attr): if isinstance(attr, decimal.Decimal): return attr @@ -325,6 +359,10 @@ def _deserialize_int_as_str(attr): "unix-timestamp": _deserialize_datetime_unix_timestamp, "base64": _deserialize_bytes, "base64url": _deserialize_bytes_base64, + "duration-seconds-int": functools.partial(_deserialize_duration_numeric, unit="seconds"), + "duration-seconds-float": functools.partial(_deserialize_duration_numeric, unit="seconds"), + "duration-milliseconds-int": functools.partial(_deserialize_duration_numeric, unit="milliseconds"), + "duration-milliseconds-float": functools.partial(_deserialize_duration_numeric, unit="milliseconds"), } @@ -420,21 +458,21 @@ def __ne__(self, other: typing.Any) -> bool: def keys(self) -> typing.KeysView[str]: """ - :returns: a set-like object providing a view on D's keys + :returns: a set-like object providing a view on the mapping's keys :rtype: ~typing.KeysView """ return self._data.keys() def values(self) -> typing.ValuesView[typing.Any]: """ - :returns: an object providing a view on D's values + :returns: an object providing a view on the mapping's values :rtype: ~typing.ValuesView """ return self._data.values() def items(self) -> typing.ItemsView[str, typing.Any]: """ - :returns: set-like object providing a view on D's items + :returns: a set-like object providing a view on the mapping's items :rtype: ~typing.ItemsView """ return self._data.items() @@ -444,7 +482,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any: Get the value for key if key is in the dictionary, else default. :param str key: The key to look up. :param any default: The value to return if key is not in the dictionary. Defaults to None - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ try: @@ -479,19 +517,19 @@ def popitem(self) -> tuple[str, typing.Any]: Removes and returns some (key, value) pair :returns: The (key, value) pair. :rtype: tuple - :raises KeyError: if D is empty. + :raises KeyError: if the dictionary is empty. """ return self._data.popitem() def clear(self) -> None: """ - Remove all items from D. + Remove all items from the dictionary. """ self._data.clear() def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: # pylint: disable=arguments-differ """ - Updates D from mapping/iterable E and F. + Update the dictionary from a mapping or an iterable of key-value pairs. :param any args: Either a mapping object or an iterable of key-value pairs. """ self._data.update(*args, **kwargs) @@ -504,10 +542,11 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... # pylint def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any: """ - Same as calling D.get(k, d), and setting D[k]=d if k not found + Return the value for key if key is in the dictionary; otherwise set the key to + default and return default. :param str key: The key to look up. :param any default: The value to set if key is not in the dictionary - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ if default is _UNSET: @@ -559,7 +598,7 @@ def _serialize(o, format: typing.Optional[str] = None): # pylint: disable=too-m pass # Last, try datetime.timedelta try: - return _timedelta_as_isostr(o) + return _serialize_duration(o, format) except AttributeError: # This will be raised when it hits value.total_seconds in the method above pass @@ -585,6 +624,239 @@ def _create_value(rf: typing.Optional["_RestField"], value: typing.Any) -> typin return _serialize(value, rf._format) +# ============================================================================ +# Fast-path scalar deserializer functions for rest_field(deserializer=...) +# These are referenced from rest_field declarations to bypass the generic +# _deserialize -> _deserialize_with_callable chain. +# Only simple/primitive types — no models or container types. +# ============================================================================ + + +def _xml_deser_str(value): + if isinstance(value, ET.Element): + return value.text or "" + return str(value) if value is not None else None + + +def _xml_deser_int(value): + if isinstance(value, ET.Element): + return int(value.text) if value.text else None + return int(value) if value is not None else None + + +def _xml_deser_float(value): + if isinstance(value, ET.Element): + return float(value.text) if value.text else None + return float(value) if value is not None else None + + +def _xml_deser_bool(value): + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + if text in (True, False): + return text + return text.lower() == "true" + + +# pylint: disable=docstring-missing-param +def _xml_deser_bytes(value): + """Deserialize bytes from XML (base64).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_bytes(text) + + +def _xml_deser_bytes_base64url(value): + """Deserialize bytes from XML (base64url).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_bytes_base64(text) + + +def _xml_deser_datetime(value): + """Deserialize a datetime from XML (ISO 8601 / rfc3339).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_datetime(text) + + +def _xml_deser_datetime_rfc7231(value): + """Deserialize a datetime from XML (RFC7231 format).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_datetime_rfc7231(text) + + +def _xml_deser_datetime_unix_timestamp(value): + """Deserialize a datetime from XML (Unix timestamp).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_datetime_unix_timestamp(float(text)) + + +def _xml_deser_date(value): + """Deserialize a date from XML (ISO 8601).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_date(text) + + +def _xml_deser_time(value): + """Deserialize a time from XML (ISO 8601).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_time(text) + + +def _xml_deser_duration(value): + """Deserialize a timedelta from XML (ISO 8601 duration).""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_duration(text) + + +def _xml_deser_decimal(value): + """Deserialize a Decimal from XML.""" + if isinstance(value, ET.Element): + text = value.text + else: + text = value + if text is None: + return None + return _deserialize_decimal(text) + + +def _xml_deser_enum_or_str(enum_cls, value): + """Deserialize a Union[EnumType, str] from XML.""" + text = value.text if isinstance(value, ET.Element) else value + if text is None: + return None + try: + return enum_cls(text) + except ValueError: + return text + + +def _extract_xml_model_type(rf_type): + """Extract the concrete Model class from a resolved rf._type partial chain. + + Unwraps ``Optional[Model]`` and ``_deserialize_model(Model, ...)`` + wrappers. Only handles Model and Optional[Model] — other composite + types (List, Dict, Union, etc.) return None and fall through to the + generic ``_deserialize`` path at runtime. + """ + if rf_type is None: + return None + if isinstance(rf_type, type) and _is_model(rf_type): + return rf_type + if not isinstance(rf_type, functools.partial): + return None + func = rf_type.func + args = rf_type.args + if func is _deserialize_with_optional and args: + return _extract_xml_model_type(args[0]) + if func is _deserialize_model and args: + cls = args[0] + return cls if isinstance(cls, type) and _is_model(cls) else None + return None + + +def _build_xml_field_plan( # pylint: disable=docstring-missing-return, docstring-missing-rtype, unused-variable + cls, attr_to_rest_field: dict +) -> list: + """Build a precomputed XML field plan for fast _init_from_xml iteration. + + Called once per model class in __new__. Returns a list of tuples: + (rest_name, xml_name, kind, deser, rf_type, is_optional, items_name) + + kind: 0=wrapped, 1=attribute, 2=unwrapped, 3=text + + For Model and Optional[Model] fields that lack a scalar + ``_deserializer``, this function precomputes the Model class as the + deserializer so ``_init_from_xml`` can call ``ModelClass(element)`` + directly instead of going through the expensive + ``_get_deserialize_callable_from_annotation`` chain at runtime. + """ + model_meta = getattr(cls, "_xml", {}) + model_ns = model_meta.get("ns") or model_meta.get("namespace") + plan = [] + + for rf in attr_to_rest_field.values(): + prop_meta = getattr(rf, "_xml", {}) + deser = rf._deserializer + + xml_name = prop_meta.get("name", rf._rest_name) + xml_ns = _resolve_xml_ns(prop_meta, model_meta) + if xml_ns: + xml_name = "{" + xml_ns + "}" + xml_name + + is_optional = rf._is_optional + + # For Model / Optional[Model] fields without a scalar deserializer, + # precompute the Model class as the deserializer. + if deser is None and rf._type is not None: + model_cls = _extract_xml_model_type(rf._type) + if model_cls is not None: + deser = model_cls + + if prop_meta.get("attribute", False): + plan.append((rf._rest_name, xml_name, 1, deser, rf._type, is_optional, None)) + elif prop_meta.get("unwrapped", False): + items_name = prop_meta.get("itemsName") + if items_name: + items_ns = prop_meta.get("itemsNs") + if items_ns is not None: + xml_ns = items_ns + if xml_ns: + items_name = "{" + xml_ns + "}" + items_name + else: + items_name = xml_name + plan.append((rf._rest_name, xml_name, 2, deser, rf._type, is_optional, items_name)) + elif prop_meta.get("text", False): + plan.append((rf._rest_name, xml_name, 3, deser, rf._type, is_optional, None)) + else: + plan.append((rf._rest_name, xml_name, 0, deser, rf._type, is_optional, None)) + + return plan + + +# pylint: enable=docstring-missing-param class Model(_MyMutableMapping): _is_model = True # label whether current class's _attr_to_rest_field has been calculated @@ -595,11 +867,7 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None: class_name = self.__class__.__name__ if len(args) > 1: raise TypeError(f"{class_name}.__init__() takes 2 positional arguments but {len(args) + 1} were given") - dict_to_pass = { - rest_field._rest_name: rest_field._default - for rest_field in self._attr_to_rest_field.values() - if rest_field._default is not _UNSET - } + dict_to_pass: dict[str, typing.Any] = {} if args: if isinstance(args[0], ET.Element): dict_to_pass.update(self._init_from_xml(args[0])) @@ -619,9 +887,19 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None: if v is not None } ) + # Apply client default values for fields the caller didn't set so that + # defaults are part of `_data` and therefore included during serialization. + for rf in self._attr_to_rest_field.values(): + if rf._default is _UNSET: + continue + if rf._rest_name in dict_to_pass: + continue + dict_to_pass[rf._rest_name] = _create_value(rf, rf._default) super().__init__(dict_to_pass) - def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]: + def _init_from_xml( # pylint: disable=too-many-branches, too-many-statements + self, element: ET.Element + ) -> dict[str, typing.Any]: """Deserialize an XML element into a dict mapping rest field names to values. :param ET.Element element: The XML element to deserialize from. @@ -629,53 +907,89 @@ def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]: :rtype: dict """ result: dict[str, typing.Any] = {} - model_meta = getattr(self, "_xml", {}) existed_attr_keys: list[str] = [] - for rf in self._attr_to_rest_field.values(): - prop_meta = getattr(rf, "_xml", {}) - xml_name = prop_meta.get("name", rf._rest_name) - xml_ns = _resolve_xml_ns(prop_meta, model_meta) - if xml_ns: - xml_name = "{" + xml_ns + "}" + xml_name - - # attribute - if prop_meta.get("attribute", False) and element.get(xml_name) is not None: - existed_attr_keys.append(xml_name) - result[rf._rest_name] = _deserialize(rf._type, element.get(xml_name)) - continue - - # unwrapped element is array - if prop_meta.get("unwrapped", False): - # unwrapped array could either use prop items meta/prop meta - _items_name = prop_meta.get("itemsName") - if _items_name: - xml_name = _items_name - _items_ns = prop_meta.get("itemsNs") - if _items_ns is not None: - xml_ns = _items_ns - if xml_ns: - xml_name = "{" + xml_ns + "}" + xml_name - items = element.findall(xml_name) # pyright: ignore - if len(items) > 0: + field_plan = getattr(self, "_xml_field_plan", None) + if field_plan: + for rest_name, xml_name, kind, deser, rf_type, is_optional, items_name in field_plan: + if kind == 0: # wrapped element (most common) + item = element.find(xml_name) + if item is not None: + existed_attr_keys.append(xml_name) + if deser: + result[rest_name] = deser(item) + else: + result[rest_name] = _deserialize(rf_type, item) + elif kind == 1: # attribute + attr_val = element.get(xml_name) + if attr_val is not None: + existed_attr_keys.append(xml_name) + if deser: + result[rest_name] = deser(attr_val) + else: + result[rest_name] = attr_val + elif kind == 2: # unwrapped array + items = element.findall(items_name) # pyright: ignore + if len(items) > 0: + existed_attr_keys.append(items_name) + if deser: + result[rest_name] = deser(items) + else: + result[rest_name] = _deserialize(rf_type, items) + elif not is_optional: + existed_attr_keys.append(items_name) + result[rest_name] = [] + elif kind == 3: # text + if element.text is not None: + if deser: + result[rest_name] = deser(element.text) + else: + result[rest_name] = element.text + else: + model_meta = getattr(self, "_xml", {}) + for rf in self._attr_to_rest_field.values(): + prop_meta = getattr(rf, "_xml", {}) + xml_name = prop_meta.get("name", rf._rest_name) + xml_ns = _resolve_xml_ns(prop_meta, model_meta) + if xml_ns: + xml_name = "{" + xml_ns + "}" + xml_name + + # attribute + if prop_meta.get("attribute", False) and element.get(xml_name) is not None: existed_attr_keys.append(xml_name) - result[rf._rest_name] = _deserialize(rf._type, items) - elif not rf._is_optional: + result[rf._rest_name] = _deserialize(rf._type, element.get(xml_name)) + continue + + # unwrapped element is array + if prop_meta.get("unwrapped", False): + _items_name = prop_meta.get("itemsName") + if _items_name: + xml_name = _items_name + _items_ns = prop_meta.get("itemsNs") + if _items_ns is not None: + xml_ns = _items_ns + if xml_ns: + xml_name = "{" + xml_ns + "}" + xml_name + items = element.findall(xml_name) # pyright: ignore + if len(items) > 0: + existed_attr_keys.append(xml_name) + result[rf._rest_name] = _deserialize(rf._type, items) + elif not rf._is_optional: + existed_attr_keys.append(xml_name) + result[rf._rest_name] = [] + continue + + # text element is primitive type + if prop_meta.get("text", False): + if element.text is not None: + result[rf._rest_name] = _deserialize(rf._type, element.text) + continue + + # wrapped element could be normal property or array + item = element.find(xml_name) + if item is not None: existed_attr_keys.append(xml_name) - result[rf._rest_name] = [] - continue - - # text element is primitive type - if prop_meta.get("text", False): - if element.text is not None: - result[rf._rest_name] = _deserialize(rf._type, element.text) - continue - - # wrapped element could be normal property or array, it should only have one element - item = element.find(xml_name) - if item is not None: - existed_attr_keys.append(xml_name) - result[rf._rest_name] = _deserialize(rf._type, item) + result[rf._rest_name] = _deserialize(rf._type, item) # rest thing is additional properties for e in element: @@ -712,6 +1026,9 @@ def __new__(cls, *args: typing.Any, **kwargs: typing.Any) -> Self: Model._get_backcompat_attribute_name(cls._attr_to_rest_field, attr): rf for attr, rf in cls._attr_to_rest_field.items() } + # Build XML field plan for fast _init_from_xml (only for XML models) + if getattr(cls, "_xml", None): + cls._xml_field_plan = _build_xml_field_plan(cls, attr_to_rest_field) cls._calculated.add(f"{cls.__module__}.{cls.__qualname__}") return super().__new__(cls) @@ -1096,6 +1413,7 @@ def __init__( format: typing.Optional[str] = None, is_multipart_file_input: bool = False, xml: typing.Optional[dict[str, typing.Any]] = None, + deserializer: typing.Optional[typing.Callable] = None, original_tsp_name: typing.Optional[str] = None, ): self._type = type @@ -1109,6 +1427,7 @@ def __init__( self._format = format self._is_multipart_file_input = is_multipart_file_input self._xml = xml if xml is not None else {} + self._deserializer = deserializer self._original_tsp_name = original_tsp_name @property @@ -1129,7 +1448,10 @@ def __get__(self, obj: Model, type=None): # pylint: disable=redefined-builtin # by this point, type and rest_name will have a value bc we default # them in __new__ of the Model class # Use _data.get() directly to avoid triggering __getitem__ which clears the cache - item = obj._data.get(self._rest_name) + item = obj._data.get(self._rest_name, _UNSET) + if item is _UNSET: + # Field not set by user; return the client default if one exists, otherwise None + return self._default if self._default is not _UNSET else None if item is None: return item if self._is_model: @@ -1142,7 +1464,11 @@ def __get__(self, obj: Model, type=None): # pylint: disable=redefined-builtin # Return the value from _data directly (it's been deserialized in place) return obj._data.get(self._rest_name) - deserialized = _deserialize(self._type, _serialize(item, self._format), rf=self) + # Fast path: use _deserializer directly (avoids _serialize/_deserialize chain) + if self._deserializer: + deserialized = self._deserializer(item) + else: + deserialized = _deserialize(self._type, _serialize(item, self._format), rf=self) # For mutable types, store the deserialized value back in _data # so mutations directly affect _data @@ -1188,6 +1514,7 @@ def rest_field( format: typing.Optional[str] = None, is_multipart_file_input: bool = False, xml: typing.Optional[dict[str, typing.Any]] = None, + deserializer: typing.Optional[typing.Callable] = None, original_tsp_name: typing.Optional[str] = None, ) -> typing.Any: return _RestField( @@ -1198,6 +1525,7 @@ def rest_field( format=format, is_multipart_file_input=is_multipart_file_input, xml=xml, + deserializer=deserializer, original_tsp_name=original_tsp_name, ) @@ -1432,6 +1760,8 @@ def _deserialize_xml( value: str, ) -> typing.Any: element = ET.fromstring(value) # nosec + if _is_model(deserializer): + return deserializer._deserialize(element, []) return _deserialize(deserializer, element) diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/serialization.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/serialization.py index 81ec1de5922b..75906e2eb77f 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/serialization.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_utils/serialization.py @@ -39,11 +39,15 @@ import xml.etree.ElementTree as ET import isodate # type: ignore -from typing_extensions import Self from azure.core.exceptions import DeserializationError, SerializationError from azure.core.serialization import NULL as CoreNull +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self + _BOM = codecs.BOM_UTF8.decode(encoding="utf-8") JSON = MutableMapping[str, Any] @@ -516,6 +520,10 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: "rfc-1123": Serializer.serialize_rfc, "unix-time": Serializer.serialize_unix, "duration": Serializer.serialize_duration, + "duration-seconds-int": Serializer.serialize_duration_seconds_int, + "duration-seconds-float": Serializer.serialize_duration_seconds_float, + "duration-milliseconds-int": Serializer.serialize_duration_milliseconds_int, + "duration-milliseconds-float": Serializer.serialize_duration_milliseconds_float, "date": Serializer.serialize_date, "time": Serializer.serialize_time, "decimal": Serializer.serialize_decimal, @@ -1105,6 +1113,61 @@ def serialize_duration(attr, **kwargs): # pylint: disable=unused-argument attr = isodate.parse_duration(attr) return isodate.duration_isoformat(attr) + @staticmethod + def _serialize_duration_numeric(attr, scale, as_int): + """Serialize a TimeDelta into a numeric value scaled to the wire unit. + + :param TimeDelta attr: Object to be serialized. + :param int scale: Multiplier applied to total seconds (1 for seconds, 1000 for milliseconds). + :param bool as_int: Whether to truncate the result to an int. + :rtype: int or float + :return: serialized duration + """ + if isinstance(attr, str): + attr = isodate.parse_duration(attr) + value = attr.total_seconds() * scale if isinstance(attr, datetime.timedelta) else attr + return int(value) if as_int else float(value) + + @staticmethod + def serialize_duration_seconds_int(attr, **kwargs): # pylint: disable=unused-argument + """Serialize TimeDelta object into an integer number of seconds. + + :param TimeDelta attr: Object to be serialized. + :rtype: int + :return: serialized duration + """ + return Serializer._serialize_duration_numeric(attr, 1, True) + + @staticmethod + def serialize_duration_seconds_float(attr, **kwargs): # pylint: disable=unused-argument + """Serialize TimeDelta object into a floating point number of seconds. + + :param TimeDelta attr: Object to be serialized. + :rtype: float + :return: serialized duration + """ + return Serializer._serialize_duration_numeric(attr, 1, False) + + @staticmethod + def serialize_duration_milliseconds_int(attr, **kwargs): # pylint: disable=unused-argument + """Serialize TimeDelta object into an integer number of milliseconds. + + :param TimeDelta attr: Object to be serialized. + :rtype: int + :return: serialized duration + """ + return Serializer._serialize_duration_numeric(attr, 1000, True) + + @staticmethod + def serialize_duration_milliseconds_float(attr, **kwargs): # pylint: disable=unused-argument + """Serialize TimeDelta object into a floating point number of milliseconds. + + :param TimeDelta attr: Object to be serialized. + :rtype: float + :return: serialized duration + """ + return Serializer._serialize_duration_numeric(attr, 1000, False) + @staticmethod def serialize_rfc(attr, **kwargs): # pylint: disable=unused-argument """Serialize Datetime object into RFC-1123 formatted string. @@ -1377,6 +1440,10 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: "rfc-1123": Deserializer.deserialize_rfc, "unix-time": Deserializer.deserialize_unix, "duration": Deserializer.deserialize_duration, + "duration-seconds-int": Deserializer.deserialize_duration_seconds, + "duration-seconds-float": Deserializer.deserialize_duration_seconds, + "duration-milliseconds-int": Deserializer.deserialize_duration_milliseconds, + "duration-milliseconds-float": Deserializer.deserialize_duration_milliseconds, "date": Deserializer.deserialize_date, "time": Deserializer.deserialize_time, "decimal": Deserializer.deserialize_decimal, @@ -1389,6 +1456,10 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: } self.deserialize_expected_types = { "duration": (isodate.Duration, datetime.timedelta), + "duration-seconds-int": (isodate.Duration, datetime.timedelta), + "duration-seconds-float": (isodate.Duration, datetime.timedelta), + "duration-milliseconds-int": (isodate.Duration, datetime.timedelta), + "duration-milliseconds-float": (isodate.Duration, datetime.timedelta), "iso-8601": (datetime.datetime), } self.dependencies: dict[str, type] = dict(classes) if classes else {} @@ -1401,7 +1472,7 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: # Otherwise, result are unexpected self.additional_properties_detection = True - def __call__(self, target_obj, response_data, content_type=None): + def __call__(self, target_obj, response_data, content_type=None): # pylint: disable=too-many-return-statements """Call the deserializer to process a REST response. :param str target_obj: Target data type to deserialize to. @@ -1411,6 +1482,27 @@ def __call__(self, target_obj, response_data, content_type=None): :return: Deserialized object. :rtype: object """ + # Fast path for header deserialization: response_data is a plain str or None + # and target_obj is a simple scalar type. This avoids the expensive + # _unpack_content → _deserialize → _classify_target → deserialize_data chain. + if response_data is None: + return None + if target_obj == "str" and isinstance(response_data, str): + return response_data + if isinstance(response_data, str): + if target_obj == "int": + return int(response_data) + if target_obj == "bool": + if response_data in ("true", "1", "True"): + return True + if response_data in ("false", "0", "False"): + return False + return bool(response_data) + if target_obj == "rfc-1123": + return Deserializer.deserialize_rfc(response_data) + if target_obj == "bytearray": + return Deserializer.deserialize_bytearray(response_data) + data = self._unpack_content(response_data, content_type) return self._deserialize(target_obj, data) @@ -1929,6 +2021,48 @@ def deserialize_duration(attr): raise DeserializationError(msg) from err return duration + @staticmethod + def _deserialize_duration_numeric(attr, unit): + """Deserialize a numeric duration value into a TimeDelta object. + + :param float attr: response value to be deserialized. + :param str unit: The wire unit, used as the ``timedelta`` keyword + (``"seconds"`` or ``"milliseconds"``). + :return: Deserialized duration + :rtype: TimeDelta + :raises DeserializationError: if value is invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + duration = datetime.timedelta(**{unit: float(attr)}) # type: ignore + except (ValueError, OverflowError, TypeError) as err: + msg = "Cannot deserialize duration object." + raise DeserializationError(msg) from err + return duration + + @staticmethod + def deserialize_duration_seconds(attr): + """Deserialize a numeric number of seconds into a TimeDelta object. + + :param float attr: response value to be deserialized. + :return: Deserialized duration + :rtype: TimeDelta + :raises DeserializationError: if value is invalid. + """ + return Deserializer._deserialize_duration_numeric(attr, "seconds") + + @staticmethod + def deserialize_duration_milliseconds(attr): + """Deserialize a numeric number of milliseconds into a TimeDelta object. + + :param float attr: response value to be deserialized. + :return: Deserialized duration + :rtype: TimeDelta + :raises DeserializationError: if value is invalid. + """ + return Deserializer._deserialize_duration_numeric(attr, "milliseconds") + @staticmethod def deserialize_date(attr): """Deserialize ISO-8601 formatted string into Date object. diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_version.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_version.py index ed0855dea5e6..a73f358d285a 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_version.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.1.0" +VERSION = "1.2.0" diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_client.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_client.py index a3a248af97ae..8ef5226a537c 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_client.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_client.py @@ -7,8 +7,8 @@ # -------------------------------------------------------------------------- from copy import deepcopy +import sys from typing import Any, Awaitable, Optional, TYPE_CHECKING, cast -from typing_extensions import Self from azure.core.pipeline import policies from azure.core.rest import AsyncHttpResponse, HttpRequest @@ -36,6 +36,11 @@ RegistryEndpointOperations, ) +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self # type: ignore + if TYPE_CHECKING: from azure.core import AzureClouds from azure.core.credentials_async import AsyncTokenCredential @@ -84,9 +89,9 @@ class IoTOperationsMgmtClient: # pylint: disable=too-many-instance-attributes :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2026-03-01". - Default value is "2026-03-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2026-07-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_configuration.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_configuration.py index 5c317ba6ddaf..da76739b99a3 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_configuration.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/_configuration.py @@ -33,9 +33,9 @@ class IoTOperationsMgmtClientConfiguration: # pylint: disable=too-many-instance :param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :type cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2026-03-01". - Default value is "2026-03-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2026-07-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -47,7 +47,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-03-01") + api_version: str = kwargs.pop("api_version", "2026-07-01") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/operations/_operations.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/operations/_operations.py index d037ad122cde..0bd04f23155a 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/operations/_operations.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/aio/operations/_operations.py @@ -33,7 +33,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling -from ... import models as _models +from ... import models as _models, types as _types from ..._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize from ..._utils.serialization import Deserializer, Serializer from ..._validation import api_version_validation @@ -98,7 +98,6 @@ T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -JSON = MutableMapping[str, Any] List = list @@ -166,7 +165,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -300,7 +302,7 @@ async def _create_or_update_initial( self, resource_group_name: str, instance_name: str, - resource: Union[_models.InstanceResource, JSON, IO[bytes]], + resource: Union[_models.InstanceResource, _types.InstanceResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -406,7 +408,7 @@ async def begin_create_or_update( self, resource_group_name: str, instance_name: str, - resource: JSON, + resource: _types.InstanceResource, *, content_type: str = "application/json", **kwargs: Any @@ -419,7 +421,7 @@ async def begin_create_or_update( :param instance_name: Name of instance. Required. :type instance_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.InstanceResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -462,7 +464,7 @@ async def begin_create_or_update( self, resource_group_name: str, instance_name: str, - resource: Union[_models.InstanceResource, JSON, IO[bytes]], + resource: Union[_models.InstanceResource, _types.InstanceResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.InstanceResource]: """Create a InstanceResource. @@ -472,9 +474,10 @@ async def begin_create_or_update( :type resource_group_name: str :param instance_name: Name of instance. Required. :type instance_name: str - :param resource: Resource create parameters. Is one of the following types: InstanceResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.InstanceResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a InstanceResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.InstanceResource or + ~azure.mgmt.iotoperations.types.InstanceResource or IO[bytes] :return: An instance of AsyncLROPoller that returns InstanceResource. The InstanceResource is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.iotoperations.models.InstanceResource] @@ -564,7 +567,7 @@ async def update( self, resource_group_name: str, instance_name: str, - properties: JSON, + properties: _types.InstancePatchModel, *, content_type: str = "application/json", **kwargs: Any @@ -577,7 +580,7 @@ async def update( :param instance_name: Name of instance. Required. :type instance_name: str :param properties: The resource properties to be updated. Required. - :type properties: JSON + :type properties: ~azure.mgmt.iotoperations.types.InstancePatchModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -618,7 +621,7 @@ async def update( self, resource_group_name: str, instance_name: str, - properties: Union[_models.InstancePatchModel, JSON, IO[bytes]], + properties: Union[_models.InstancePatchModel, _types.InstancePatchModel, IO[bytes]], **kwargs: Any ) -> _models.InstanceResource: """Update a InstanceResource. @@ -628,9 +631,10 @@ async def update( :type resource_group_name: str :param instance_name: Name of instance. Required. :type instance_name: str - :param properties: The resource properties to be updated. Is one of the following types: - InstancePatchModel, JSON, IO[bytes] Required. - :type properties: ~azure.mgmt.iotoperations.models.InstancePatchModel or JSON or IO[bytes] + :param properties: The resource properties to be updated. Is either a InstancePatchModel type + or a IO[bytes] type. Required. + :type properties: ~azure.mgmt.iotoperations.models.InstancePatchModel or + ~azure.mgmt.iotoperations.types.InstancePatchModel or IO[bytes] :return: InstanceResource. The InstanceResource is compatible with MutableMapping :rtype: ~azure.mgmt.iotoperations.models.InstanceResource :raises ~azure.core.exceptions.HttpResponseError: @@ -875,7 +879,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -966,7 +973,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1106,7 +1116,7 @@ async def _create_or_update_initial( resource_group_name: str, instance_name: str, broker_name: str, - resource: Union[_models.BrokerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerResource, _types.BrokerResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -1217,7 +1227,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, broker_name: str, - resource: JSON, + resource: _types.BrokerResource, *, content_type: str = "application/json", **kwargs: Any @@ -1232,7 +1242,7 @@ async def begin_create_or_update( :param broker_name: Name of broker. Required. :type broker_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1279,7 +1289,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, broker_name: str, - resource: Union[_models.BrokerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerResource, _types.BrokerResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.BrokerResource]: """Create a BrokerResource. @@ -1291,9 +1301,10 @@ async def begin_create_or_update( :type instance_name: str :param broker_name: Name of broker. Required. :type broker_name: str - :param resource: Resource create parameters. Is one of the following types: BrokerResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a BrokerResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerResource or + ~azure.mgmt.iotoperations.types.BrokerResource or IO[bytes] :return: An instance of AsyncLROPoller that returns BrokerResource. The BrokerResource is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.iotoperations.models.BrokerResource] @@ -1534,7 +1545,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1678,7 +1692,7 @@ async def _create_or_update_initial( instance_name: str, broker_name: str, listener_name: str, - resource: Union[_models.BrokerListenerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerListenerResource, _types.BrokerListenerResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -1795,7 +1809,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, listener_name: str, - resource: JSON, + resource: _types.BrokerListenerResource, *, content_type: str = "application/json", **kwargs: Any @@ -1812,7 +1826,7 @@ async def begin_create_or_update( :param listener_name: Name of Instance broker listener resource. Required. :type listener_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerListenerResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1865,7 +1879,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, listener_name: str, - resource: Union[_models.BrokerListenerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerListenerResource, _types.BrokerListenerResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.BrokerListenerResource]: """Create a BrokerListenerResource. @@ -1879,9 +1893,10 @@ async def begin_create_or_update( :type broker_name: str :param listener_name: Name of Instance broker listener resource. Required. :type listener_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerListenerResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerListenerResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a BrokerListenerResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerListenerResource or + ~azure.mgmt.iotoperations.types.BrokerListenerResource or IO[bytes] :return: An instance of AsyncLROPoller that returns BrokerListenerResource. The BrokerListenerResource is compatible with MutableMapping :rtype: @@ -2131,7 +2146,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2276,7 +2294,7 @@ async def _create_or_update_initial( instance_name: str, broker_name: str, authentication_name: str, - resource: Union[_models.BrokerAuthenticationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthenticationResource, _types.BrokerAuthenticationResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -2393,7 +2411,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, authentication_name: str, - resource: JSON, + resource: _types.BrokerAuthenticationResource, *, content_type: str = "application/json", **kwargs: Any @@ -2410,7 +2428,7 @@ async def begin_create_or_update( :param authentication_name: Name of Instance broker authentication resource. Required. :type authentication_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerAuthenticationResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2463,7 +2481,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, authentication_name: str, - resource: Union[_models.BrokerAuthenticationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthenticationResource, _types.BrokerAuthenticationResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.BrokerAuthenticationResource]: """Create a BrokerAuthenticationResource. @@ -2477,10 +2495,10 @@ async def begin_create_or_update( :type broker_name: str :param authentication_name: Name of Instance broker authentication resource. Required. :type authentication_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerAuthenticationResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthenticationResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a BrokerAuthenticationResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthenticationResource or + ~azure.mgmt.iotoperations.types.BrokerAuthenticationResource or IO[bytes] :return: An instance of AsyncLROPoller that returns BrokerAuthenticationResource. The BrokerAuthenticationResource is compatible with MutableMapping :rtype: @@ -2730,7 +2748,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2875,7 +2896,7 @@ async def _create_or_update_initial( instance_name: str, broker_name: str, authorization_name: str, - resource: Union[_models.BrokerAuthorizationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthorizationResource, _types.BrokerAuthorizationResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -2992,7 +3013,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, authorization_name: str, - resource: JSON, + resource: _types.BrokerAuthorizationResource, *, content_type: str = "application/json", **kwargs: Any @@ -3009,7 +3030,7 @@ async def begin_create_or_update( :param authorization_name: Name of Instance broker authorization resource. Required. :type authorization_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerAuthorizationResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3062,7 +3083,7 @@ async def begin_create_or_update( instance_name: str, broker_name: str, authorization_name: str, - resource: Union[_models.BrokerAuthorizationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthorizationResource, _types.BrokerAuthorizationResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.BrokerAuthorizationResource]: """Create a BrokerAuthorizationResource. @@ -3076,10 +3097,10 @@ async def begin_create_or_update( :type broker_name: str :param authorization_name: Name of Instance broker authorization resource. Required. :type authorization_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerAuthorizationResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthorizationResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a BrokerAuthorizationResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthorizationResource or + ~azure.mgmt.iotoperations.types.BrokerAuthorizationResource or IO[bytes] :return: An instance of AsyncLROPoller that returns BrokerAuthorizationResource. The BrokerAuthorizationResource is compatible with MutableMapping :rtype: @@ -3329,7 +3350,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -3469,7 +3493,7 @@ async def _create_or_update_initial( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: Union[_models.DataflowProfileResource, JSON, IO[bytes]], + resource: Union[_models.DataflowProfileResource, _types.DataflowProfileResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -3581,7 +3605,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: JSON, + resource: _types.DataflowProfileResource, *, content_type: str = "application/json", **kwargs: Any @@ -3596,7 +3620,7 @@ async def begin_create_or_update( :param dataflow_profile_name: Name of Instance dataflowProfile resource. Required. :type dataflow_profile_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowProfileResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3645,7 +3669,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: Union[_models.DataflowProfileResource, JSON, IO[bytes]], + resource: Union[_models.DataflowProfileResource, _types.DataflowProfileResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.DataflowProfileResource]: """Create a DataflowProfileResource. @@ -3657,9 +3681,10 @@ async def begin_create_or_update( :type instance_name: str :param dataflow_profile_name: Name of Instance dataflowProfile resource. Required. :type dataflow_profile_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowProfileResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowProfileResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowProfileResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowProfileResource or + ~azure.mgmt.iotoperations.types.DataflowProfileResource or IO[bytes] :return: An instance of AsyncLROPoller that returns DataflowProfileResource. The DataflowProfileResource is compatible with MutableMapping :rtype: @@ -3901,7 +3926,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -4050,7 +4078,7 @@ async def _create_or_update_initial( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: Union[_models.DataflowResource, JSON, IO[bytes]], + resource: Union[_models.DataflowResource, _types.DataflowResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -4166,7 +4194,7 @@ async def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: JSON, + resource: _types.DataflowResource, *, content_type: str = "application/json", **kwargs: Any @@ -4183,7 +4211,7 @@ async def begin_create_or_update( :param dataflow_name: Name of Instance dataflowProfile dataflow resource. Required. :type dataflow_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4234,7 +4262,7 @@ async def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: Union[_models.DataflowResource, JSON, IO[bytes]], + resource: Union[_models.DataflowResource, _types.DataflowResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.DataflowResource]: """Create a DataflowResource. @@ -4248,9 +4276,10 @@ async def begin_create_or_update( :type dataflow_profile_name: str :param dataflow_name: Name of Instance dataflowProfile dataflow resource. Required. :type dataflow_name: str - :param resource: Resource create parameters. Is one of the following types: DataflowResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowResource or + ~azure.mgmt.iotoperations.types.DataflowResource or IO[bytes] :return: An instance of AsyncLROPoller that returns DataflowResource. The DataflowResource is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.iotoperations.models.DataflowResource] @@ -4509,7 +4538,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -4650,7 +4682,7 @@ async def _create_or_update_initial( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: Union[_models.DataflowEndpointResource, JSON, IO[bytes]], + resource: Union[_models.DataflowEndpointResource, _types.DataflowEndpointResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -4762,7 +4794,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: JSON, + resource: _types.DataflowEndpointResource, *, content_type: str = "application/json", **kwargs: Any @@ -4777,7 +4809,7 @@ async def begin_create_or_update( :param dataflow_endpoint_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_endpoint_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowEndpointResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4826,7 +4858,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: Union[_models.DataflowEndpointResource, JSON, IO[bytes]], + resource: Union[_models.DataflowEndpointResource, _types.DataflowEndpointResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.DataflowEndpointResource]: """Create a DataflowEndpointResource. @@ -4838,9 +4870,10 @@ async def begin_create_or_update( :type instance_name: str :param dataflow_endpoint_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_endpoint_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowEndpointResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowEndpointResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowEndpointResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowEndpointResource or + ~azure.mgmt.iotoperations.types.DataflowEndpointResource or IO[bytes] :return: An instance of AsyncLROPoller that returns DataflowEndpointResource. The DataflowEndpointResource is compatible with MutableMapping :rtype: @@ -5082,7 +5115,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -5156,7 +5192,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def get( self, @@ -5254,7 +5290,7 @@ async def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _create_or_update_initial( self, @@ -5262,7 +5298,7 @@ async def _create_or_update_initial( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: Union[_models.DataflowGraphResource, JSON, IO[bytes]], + resource: Union[_models.DataflowGraphResource, _types.DataflowGraphResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -5379,7 +5415,7 @@ async def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: JSON, + resource: _types.DataflowGraphResource, *, content_type: str = "application/json", **kwargs: Any @@ -5396,7 +5432,7 @@ async def begin_create_or_update( :param dataflow_graph_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_graph_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowGraphResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5457,7 +5493,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_create_or_update( self, @@ -5465,7 +5501,7 @@ async def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: Union[_models.DataflowGraphResource, JSON, IO[bytes]], + resource: Union[_models.DataflowGraphResource, _types.DataflowGraphResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.DataflowGraphResource]: """Create a DataflowGraphResource. @@ -5479,9 +5515,10 @@ async def begin_create_or_update( :type dataflow_profile_name: str :param dataflow_graph_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_graph_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowGraphResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowGraphResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowGraphResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowGraphResource or + ~azure.mgmt.iotoperations.types.DataflowGraphResource or IO[bytes] :return: An instance of AsyncLROPoller that returns DataflowGraphResource. The DataflowGraphResource is compatible with MutableMapping :rtype: @@ -5554,7 +5591,7 @@ def get_long_running_output(pipeline_response): "dataflow_graph_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _delete_initial( self, @@ -5637,7 +5674,7 @@ async def _delete_initial( "dataflow_graph_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_delete( self, @@ -5721,7 +5758,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_dataflow_profile( self, resource_group_name: str, instance_name: str, dataflow_profile_name: str, **kwargs: Any @@ -5783,7 +5820,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -5856,7 +5896,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def get( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -5946,14 +5986,14 @@ async def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _create_or_update_initial( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: Union[_models.RegistryEndpointResource, JSON, IO[bytes]], + resource: Union[_models.RegistryEndpointResource, _types.RegistryEndpointResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -6065,7 +6105,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: JSON, + resource: _types.RegistryEndpointResource, *, content_type: str = "application/json", **kwargs: Any @@ -6080,7 +6120,7 @@ async def begin_create_or_update( :param registry_endpoint_name: Name of RegistryEndpoint resource. Required. :type registry_endpoint_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.RegistryEndpointResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6137,14 +6177,14 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_create_or_update( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: Union[_models.RegistryEndpointResource, JSON, IO[bytes]], + resource: Union[_models.RegistryEndpointResource, _types.RegistryEndpointResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.RegistryEndpointResource]: """Create a RegistryEndpointResource. @@ -6156,9 +6196,10 @@ async def begin_create_or_update( :type instance_name: str :param registry_endpoint_name: Name of RegistryEndpoint resource. Required. :type registry_endpoint_name: str - :param resource: Resource create parameters. Is one of the following types: - RegistryEndpointResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.RegistryEndpointResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a RegistryEndpointResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.RegistryEndpointResource or + ~azure.mgmt.iotoperations.types.RegistryEndpointResource or IO[bytes] :return: An instance of AsyncLROPoller that returns RegistryEndpointResource. The RegistryEndpointResource is compatible with MutableMapping :rtype: @@ -6229,7 +6270,7 @@ def get_long_running_output(pipeline_response): "registry_endpoint_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _delete_initial( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -6305,7 +6346,7 @@ async def _delete_initial( "registry_endpoint_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_delete( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -6374,7 +6415,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2025-07-01-preview": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -6433,7 +6474,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -6506,7 +6550,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def get( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -6596,14 +6640,14 @@ async def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _create_or_update_initial( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: Union[_models.AkriConnectorTemplateResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorTemplateResource, _types.AkriConnectorTemplateResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -6715,7 +6759,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: JSON, + resource: _types.AkriConnectorTemplateResource, *, content_type: str = "application/json", **kwargs: Any @@ -6730,7 +6774,7 @@ async def begin_create_or_update( :param akri_connector_template_name: Name of AkriConnectorTemplate resource. Required. :type akri_connector_template_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriConnectorTemplateResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6787,14 +6831,14 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_create_or_update( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: Union[_models.AkriConnectorTemplateResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorTemplateResource, _types.AkriConnectorTemplateResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.AkriConnectorTemplateResource]: """Create a AkriConnectorTemplateResource. @@ -6806,10 +6850,10 @@ async def begin_create_or_update( :type instance_name: str :param akri_connector_template_name: Name of AkriConnectorTemplate resource. Required. :type akri_connector_template_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriConnectorTemplateResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a AkriConnectorTemplateResource type or + a IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateResource or + ~azure.mgmt.iotoperations.types.AkriConnectorTemplateResource or IO[bytes] :return: An instance of AsyncLROPoller that returns AkriConnectorTemplateResource. The AkriConnectorTemplateResource is compatible with MutableMapping :rtype: @@ -6880,7 +6924,7 @@ def get_long_running_output(pipeline_response): "akri_connector_template_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _delete_initial( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -6956,7 +7000,7 @@ async def _delete_initial( "akri_connector_template_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_delete( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -7025,7 +7069,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2025-07-01-preview": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -7084,7 +7128,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -7158,7 +7205,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def get( self, @@ -7256,7 +7303,7 @@ async def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _create_or_update_initial( self, @@ -7264,7 +7311,7 @@ async def _create_or_update_initial( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: Union[_models.AkriConnectorResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorResource, _types.AkriConnectorResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -7381,7 +7428,7 @@ async def begin_create_or_update( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: JSON, + resource: _types.AkriConnectorResource, *, content_type: str = "application/json", **kwargs: Any @@ -7398,7 +7445,7 @@ async def begin_create_or_update( :param connector_name: Name of AkriConnector resource. Required. :type connector_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriConnectorResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -7459,7 +7506,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_create_or_update( self, @@ -7467,7 +7514,7 @@ async def begin_create_or_update( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: Union[_models.AkriConnectorResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorResource, _types.AkriConnectorResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.AkriConnectorResource]: """Create a AkriConnectorResource. @@ -7481,9 +7528,10 @@ async def begin_create_or_update( :type akri_connector_template_name: str :param connector_name: Name of AkriConnector resource. Required. :type connector_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriConnectorResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a AkriConnectorResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorResource or + ~azure.mgmt.iotoperations.types.AkriConnectorResource or IO[bytes] :return: An instance of AsyncLROPoller that returns AkriConnectorResource. The AkriConnectorResource is compatible with MutableMapping :rtype: @@ -7556,7 +7604,7 @@ def get_long_running_output(pipeline_response): "connector_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def _delete_initial( self, @@ -7639,7 +7687,7 @@ async def _delete_initial( "connector_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) async def begin_delete( self, @@ -7723,7 +7771,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_template( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -7785,7 +7833,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -7858,7 +7909,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) async def get( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -7947,14 +7998,14 @@ async def get( "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) async def _create_or_update_initial( self, resource_group_name: str, instance_name: str, akri_service_name: str, - resource: Union[_models.AkriServiceResource, JSON, IO[bytes]], + resource: Union[_models.AkriServiceResource, _types.AkriServiceResource, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -8066,7 +8117,7 @@ async def begin_create_or_update( resource_group_name: str, instance_name: str, akri_service_name: str, - resource: JSON, + resource: _types.AkriServiceResource, *, content_type: str = "application/json", **kwargs: Any @@ -8081,7 +8132,7 @@ async def begin_create_or_update( :param akri_service_name: Name of AkriService resource. Required. :type akri_service_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriServiceResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8138,14 +8189,14 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) async def begin_create_or_update( self, resource_group_name: str, instance_name: str, akri_service_name: str, - resource: Union[_models.AkriServiceResource, JSON, IO[bytes]], + resource: Union[_models.AkriServiceResource, _types.AkriServiceResource, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.AkriServiceResource]: """Create a AkriServiceResource. @@ -8157,9 +8208,10 @@ async def begin_create_or_update( :type instance_name: str :param akri_service_name: Name of AkriService resource. Required. :type akri_service_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriServiceResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriServiceResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a AkriServiceResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriServiceResource or + ~azure.mgmt.iotoperations.types.AkriServiceResource or IO[bytes] :return: An instance of AsyncLROPoller that returns AkriServiceResource. The AkriServiceResource is compatible with MutableMapping :rtype: @@ -8230,7 +8282,7 @@ def get_long_running_output(pipeline_response): "akri_service_name", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) async def _delete_initial( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -8306,7 +8358,7 @@ async def _delete_initial( "akri_service_name", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) async def begin_delete( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -8375,7 +8427,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-03-01": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -8434,7 +8486,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/__init__.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/__init__.py index 4d3ba8928df5..5341028b7a6e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/__init__.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/__init__.py @@ -24,10 +24,12 @@ AkriConnectorTemplateBucketizedAllocation, AkriConnectorTemplateDeviceInboundEndpointType, AkriConnectorTemplateDiagnostics, + AkriConnectorTemplateExecAction, AkriConnectorTemplateManagedConfiguration, AkriConnectorTemplateManagedConfigurationSettings, AkriConnectorTemplatePersistentVolumeClaim, AkriConnectorTemplateProperties, + AkriConnectorTemplateReadinessProbe, AkriConnectorTemplateResource, AkriConnectorTemplateRuntimeConfiguration, AkriConnectorTemplateRuntimeImageConfiguration, @@ -254,6 +256,7 @@ ExtendedLocationType, FabricOneLakeAuthMethod, FilterType, + HighPriorityMessagesBackpressureHandling, InstanceFeatureMode, KafkaAuthMethod, ManagedServiceIdentityType, @@ -292,10 +295,12 @@ "AkriConnectorTemplateBucketizedAllocation", "AkriConnectorTemplateDeviceInboundEndpointType", "AkriConnectorTemplateDiagnostics", + "AkriConnectorTemplateExecAction", "AkriConnectorTemplateManagedConfiguration", "AkriConnectorTemplateManagedConfigurationSettings", "AkriConnectorTemplatePersistentVolumeClaim", "AkriConnectorTemplateProperties", + "AkriConnectorTemplateReadinessProbe", "AkriConnectorTemplateResource", "AkriConnectorTemplateRuntimeConfiguration", "AkriConnectorTemplateRuntimeImageConfiguration", @@ -519,6 +524,7 @@ "ExtendedLocationType", "FabricOneLakeAuthMethod", "FilterType", + "HighPriorityMessagesBackpressureHandling", "InstanceFeatureMode", "KafkaAuthMethod", "ManagedServiceIdentityType", diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_enums.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_enums.py index 82575e0215b0..62ba54ae8188 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_enums.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_enums.py @@ -409,6 +409,17 @@ class FilterType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Filter type.""" +class HighPriorityMessagesBackpressureHandling(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Handling of high-priority messages during backpressure state.""" + + ACCEPT = "Accept" + """When the broker rejects regular-priority messages due to backpressure, it continues to accept + high-priority messages.""" + REJECT = "Reject" + """When the broker rejects regular-priority messages due to backpressure, it also rejects + high-priority messages.""" + + class InstanceFeatureMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The enum defining mode of a feature.""" diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_models.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_models.py index ea953dc8ed2f..56c47d2a5cc0 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_models.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/models/_models.py @@ -919,6 +919,36 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) +class AkriConnectorTemplateExecAction(_Model): + """AkriConnectorTemplateExecAction properties. Describes a command to execute in a container. + + :ivar command: The command to execute inside the container. Exit status of 0 is treated as + healthy, non-zero is unhealthy. Required. + :vartype command: list[str] + """ + + command: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The command to execute inside the container. Exit status of 0 is treated as healthy, non-zero + is unhealthy. Required.""" + + @overload + def __init__( + self, + *, + command: list[str], + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + class AkriConnectorTemplateRuntimeConfiguration(_Model): # pylint: disable=name-too-long """AkriConnectorTemplateRuntimeConfiguration properties. @@ -1203,6 +1233,75 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) +class AkriConnectorTemplateReadinessProbe(_Model): + """AkriConnectorTemplateReadinessProbe properties. Defines a readiness probe for the connector + container. + + :ivar exec_property: Exec specifies a command to execute in the container. + :vartype exec_property: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateExecAction + :ivar failure_threshold: Minimum consecutive failures for the probe to be considered failed + after having succeeded. + :vartype failure_threshold: int + :ivar initial_delay_seconds: Number of seconds after the container has started before the probe + is initiated. + :vartype initial_delay_seconds: int + :ivar period_seconds: How often (in seconds) to perform the probe. + :vartype period_seconds: int + :ivar success_threshold: Minimum consecutive successes for the probe to be considered + successful after having failed. + :vartype success_threshold: int + :ivar timeout_seconds: Number of seconds after which the probe times out. + :vartype timeout_seconds: int + """ + + exec_property: Optional["_models.AkriConnectorTemplateExecAction"] = rest_field( + name="exec", visibility=["read", "create", "update", "delete", "query"] + ) + """Exec specifies a command to execute in the container.""" + failure_threshold: Optional[int] = rest_field( + name="failureThreshold", visibility=["read", "create", "update", "delete", "query"] + ) + """Minimum consecutive failures for the probe to be considered failed after having succeeded.""" + initial_delay_seconds: Optional[int] = rest_field( + name="initialDelaySeconds", visibility=["read", "create", "update", "delete", "query"] + ) + """Number of seconds after the container has started before the probe is initiated.""" + period_seconds: Optional[int] = rest_field( + name="periodSeconds", visibility=["read", "create", "update", "delete", "query"] + ) + """How often (in seconds) to perform the probe.""" + success_threshold: Optional[int] = rest_field( + name="successThreshold", visibility=["read", "create", "update", "delete", "query"] + ) + """Minimum consecutive successes for the probe to be considered successful after having failed.""" + timeout_seconds: Optional[int] = rest_field( + name="timeoutSeconds", visibility=["read", "create", "update", "delete", "query"] + ) + """Number of seconds after which the probe times out.""" + + @overload + def __init__( + self, + *, + exec_property: Optional["_models.AkriConnectorTemplateExecAction"] = None, + failure_threshold: Optional[int] = None, + initial_delay_seconds: Optional[int] = None, + period_seconds: Optional[int] = None, + success_threshold: Optional[int] = None, + timeout_seconds: Optional[int] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + class AkriConnectorTemplateResource(ProxyResource): """AkriConnectorTemplate resource. @@ -1324,6 +1423,10 @@ class AkriConnectorTemplateRuntimeImageConfigurationSettings(_Model): # pylint: "IfNotPresent", and "Never". :vartype image_pull_policy: str or ~azure.mgmt.iotoperations.models.AkriConnectorsImagePullPolicy + :ivar readiness_probe: Optional readiness probe for the connector container. When set, the + operator injects this into the pod spec and uses the pod's ``Ready`` condition for health + reporting instead of crash-based detection. + :vartype readiness_probe: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateReadinessProbe :ivar replicas: The number of replicas to be set up. :vartype replicas: int :ivar registry_settings: The registry settings for the image. You can omit this field if using @@ -1340,6 +1443,12 @@ class AkriConnectorTemplateRuntimeImageConfigurationSettings(_Model): # pylint: name="imagePullPolicy", visibility=["read", "create", "update", "delete", "query"] ) """The pull policy of the image. Known values are: \"Always\", \"IfNotPresent\", and \"Never\".""" + readiness_probe: Optional["_models.AkriConnectorTemplateReadinessProbe"] = rest_field( + name="readinessProbe", visibility=["read", "create", "update", "delete", "query"] + ) + """Optional readiness probe for the connector container. When set, the operator injects this into + the pod spec and uses the pod's ``Ready`` condition for health reporting instead of crash-based + detection.""" replicas: Optional[int] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """The number of replicas to be set up.""" registry_settings: Optional["_models.AkriConnectorsRegistrySettings"] = rest_field( @@ -1358,6 +1467,7 @@ def __init__( *, image_name: str, image_pull_policy: Optional[Union[str, "_models.AkriConnectorsImagePullPolicy"]] = None, + readiness_probe: Optional["_models.AkriConnectorTemplateReadinessProbe"] = None, replicas: Optional[int] = None, registry_settings: Optional["_models.AkriConnectorsRegistrySettings"] = None, tag_digest_settings: Optional["_models.AkriConnectorsTagDigestSettings"] = None, @@ -2476,6 +2586,17 @@ class BrokerProperties(_Model): of CPU resources requested. If this setting is enabled and there are insufficient CPU resources, an error will be emitted. :vartype generate_resource_limits: ~azure.mgmt.iotoperations.models.GenerateResourceLimits + :ivar high_priority_messages_backpressure_handling: Handling of high-priority messages in the + event that regular-priority messages are being backpressured. + + When set to "Accept", the broker continues to accept high-priority messages even while + regular-priority messages are rejected due to backpressure. + + When set to "Reject", backpressure also affects high-priority messages. + + Defaults to "Accept". Known values are: "Accept" and "Reject". + :vartype high_priority_messages_backpressure_handling: str or + ~azure.mgmt.iotoperations.models.HighPriorityMessagesBackpressureHandling :ivar memory_profile: Memory profile of Broker. Known values are: "Tiny", "Low", "Medium", and "High". :vartype memory_profile: str or ~azure.mgmt.iotoperations.models.BrokerMemoryProfile @@ -2509,6 +2630,20 @@ class BrokerProperties(_Model): """This setting controls whether Kubernetes CPU resource limits are requested. Increasing the number of replicas or workers proportionally increases the amount of CPU resources requested. If this setting is enabled and there are insufficient CPU resources, an error will be emitted.""" + high_priority_messages_backpressure_handling: Optional[ + Union[str, "_models.HighPriorityMessagesBackpressureHandling"] + ] = rest_field( + name="highPriorityMessagesBackpressureHandling", visibility=["read", "create", "update", "delete", "query"] + ) + """ Handling of high-priority messages in the event that regular-priority messages are being + backpressured. + + When set to \"Accept\", the broker continues to accept high-priority messages even while + regular-priority messages are rejected due to backpressure. + + When set to \"Reject\", backpressure also affects high-priority messages. + + Defaults to \"Accept\". Known values are: \"Accept\" and \"Reject\".""" memory_profile: Optional[Union[str, "_models.BrokerMemoryProfile"]] = rest_field( name="memoryProfile", visibility=["read", "create"] ) @@ -2539,6 +2674,9 @@ def __init__( diagnostics: Optional["_models.BrokerDiagnostics"] = None, disk_backed_message_buffer: Optional["_models.DiskBackedMessageBuffer"] = None, generate_resource_limits: Optional["_models.GenerateResourceLimits"] = None, + high_priority_messages_backpressure_handling: Optional[ + Union[str, "_models.HighPriorityMessagesBackpressureHandling"] + ] = None, memory_profile: Optional[Union[str, "_models.BrokerMemoryProfile"]] = None, persistence: Optional["_models.BrokerPersistence"] = None, ) -> None: ... diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/operations/_operations.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/operations/_operations.py index dde1f163a778..80bfa4804c7d 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/operations/_operations.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/operations/_operations.py @@ -32,7 +32,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.arm_polling import ARMPolling -from .. import models as _models +from .. import models as _models, types as _types from .._configuration import IoTOperationsMgmtClientConfiguration from .._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize from .._utils.serialization import Deserializer, Serializer @@ -40,7 +40,6 @@ T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, dict[str, Any]], Any]] -JSON = MutableMapping[str, Any] List = list _SERIALIZER = Serializer() @@ -51,7 +50,7 @@ def build_operations_list_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -72,7 +71,7 @@ def build_instance_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -101,7 +100,7 @@ def build_instance_create_or_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -132,7 +131,7 @@ def build_instance_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -161,7 +160,7 @@ def build_instance_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}" path_format_arguments = { @@ -184,7 +183,7 @@ def build_instance_list_by_resource_group_request( # pylint: disable=name-too-l _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -213,7 +212,7 @@ def build_instance_list_by_subscription_request( # pylint: disable=name-too-lon _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -239,7 +238,7 @@ def build_broker_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -269,7 +268,7 @@ def build_broker_create_or_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -299,7 +298,7 @@ def build_broker_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}" path_format_arguments = { @@ -323,7 +322,7 @@ def build_broker_list_by_resource_group_request( # pylint: disable=name-too-lon _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -356,7 +355,7 @@ def build_broker_listener_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -392,7 +391,7 @@ def build_broker_listener_create_or_update_request( # pylint: disable=name-too- _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -428,7 +427,7 @@ def build_broker_listener_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}" path_format_arguments = { @@ -453,7 +452,7 @@ def build_broker_listener_list_by_resource_group_request( # pylint: disable=nam _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -487,7 +486,7 @@ def build_broker_authentication_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -523,7 +522,7 @@ def build_broker_authentication_create_or_update_request( # pylint: disable=nam _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -559,7 +558,7 @@ def build_broker_authentication_delete_request( # pylint: disable=name-too-long ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}" path_format_arguments = { @@ -584,7 +583,7 @@ def build_broker_authentication_list_by_resource_group_request( # pylint: disab _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -618,7 +617,7 @@ def build_broker_authorization_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -654,7 +653,7 @@ def build_broker_authorization_create_or_update_request( # pylint: disable=name _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -690,7 +689,7 @@ def build_broker_authorization_delete_request( # pylint: disable=name-too-long ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}" path_format_arguments = { @@ -715,7 +714,7 @@ def build_broker_authorization_list_by_resource_group_request( # pylint: disabl _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -744,7 +743,7 @@ def build_dataflow_profile_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -774,7 +773,7 @@ def build_dataflow_profile_create_or_update_request( # pylint: disable=name-too _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -804,7 +803,7 @@ def build_dataflow_profile_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}" path_format_arguments = { @@ -828,7 +827,7 @@ def build_dataflow_profile_list_by_resource_group_request( # pylint: disable=na _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -861,7 +860,7 @@ def build_dataflow_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -897,7 +896,7 @@ def build_dataflow_create_or_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -933,7 +932,7 @@ def build_dataflow_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}" path_format_arguments = { @@ -958,7 +957,7 @@ def build_dataflow_list_by_resource_group_request( # pylint: disable=name-too-l _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -987,7 +986,7 @@ def build_dataflow_endpoint_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1017,7 +1016,7 @@ def build_dataflow_endpoint_create_or_update_request( # pylint: disable=name-to _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1047,7 +1046,7 @@ def build_dataflow_endpoint_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}" path_format_arguments = { @@ -1071,7 +1070,7 @@ def build_dataflow_endpoint_list_by_resource_group_request( # pylint: disable=n _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1104,7 +1103,7 @@ def build_dataflow_graph_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1140,7 +1139,7 @@ def build_dataflow_graph_create_or_update_request( # pylint: disable=name-too-l _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1176,7 +1175,7 @@ def build_dataflow_graph_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflowGraphs/{dataflowGraphName}" path_format_arguments = { @@ -1201,7 +1200,7 @@ def build_dataflow_graph_list_by_dataflow_profile_request( # pylint: disable=na _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1230,7 +1229,7 @@ def build_registry_endpoint_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1260,7 +1259,7 @@ def build_registry_endpoint_create_or_update_request( # pylint: disable=name-to _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1290,7 +1289,7 @@ def build_registry_endpoint_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/registryEndpoints/{registryEndpointName}" path_format_arguments = { @@ -1314,7 +1313,7 @@ def build_registry_endpoint_list_by_instance_resource_request( # pylint: disabl _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1342,7 +1341,7 @@ def build_akri_connector_template_get_request( # pylint: disable=name-too-long _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1374,7 +1373,7 @@ def build_akri_connector_template_create_or_update_request( # pylint: disable=n _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1406,7 +1405,7 @@ def build_akri_connector_template_delete_request( # pylint: disable=name-too-lo ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}" path_format_arguments = { @@ -1432,7 +1431,7 @@ def build_akri_connector_template_list_by_instance_resource_request( # pylint: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1465,7 +1464,7 @@ def build_akri_connector_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1503,7 +1502,7 @@ def build_akri_connector_create_or_update_request( # pylint: disable=name-too-l _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1541,7 +1540,7 @@ def build_akri_connector_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}" path_format_arguments = { @@ -1568,7 +1567,7 @@ def build_akri_connector_list_by_template_request( # pylint: disable=name-too-l _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1599,7 +1598,7 @@ def build_akri_service_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1629,7 +1628,7 @@ def build_akri_service_create_or_update_request( # pylint: disable=name-too-lon _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1659,7 +1658,7 @@ def build_akri_service_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriServices/{akriServiceName}" path_format_arguments = { @@ -1683,7 +1682,7 @@ def build_akri_service_list_by_instance_resource_request( # pylint: disable=nam _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-03-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-01")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1769,7 +1768,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1903,7 +1905,7 @@ def _create_or_update_initial( self, resource_group_name: str, instance_name: str, - resource: Union[_models.InstanceResource, JSON, IO[bytes]], + resource: Union[_models.InstanceResource, _types.InstanceResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -2009,7 +2011,7 @@ def begin_create_or_update( self, resource_group_name: str, instance_name: str, - resource: JSON, + resource: _types.InstanceResource, *, content_type: str = "application/json", **kwargs: Any @@ -2022,7 +2024,7 @@ def begin_create_or_update( :param instance_name: Name of instance. Required. :type instance_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.InstanceResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2065,7 +2067,7 @@ def begin_create_or_update( self, resource_group_name: str, instance_name: str, - resource: Union[_models.InstanceResource, JSON, IO[bytes]], + resource: Union[_models.InstanceResource, _types.InstanceResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.InstanceResource]: """Create a InstanceResource. @@ -2075,9 +2077,10 @@ def begin_create_or_update( :type resource_group_name: str :param instance_name: Name of instance. Required. :type instance_name: str - :param resource: Resource create parameters. Is one of the following types: InstanceResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.InstanceResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a InstanceResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.InstanceResource or + ~azure.mgmt.iotoperations.types.InstanceResource or IO[bytes] :return: An instance of LROPoller that returns InstanceResource. The InstanceResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.InstanceResource] @@ -2167,7 +2170,7 @@ def update( self, resource_group_name: str, instance_name: str, - properties: JSON, + properties: _types.InstancePatchModel, *, content_type: str = "application/json", **kwargs: Any @@ -2180,7 +2183,7 @@ def update( :param instance_name: Name of instance. Required. :type instance_name: str :param properties: The resource properties to be updated. Required. - :type properties: JSON + :type properties: ~azure.mgmt.iotoperations.types.InstancePatchModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2221,7 +2224,7 @@ def update( self, resource_group_name: str, instance_name: str, - properties: Union[_models.InstancePatchModel, JSON, IO[bytes]], + properties: Union[_models.InstancePatchModel, _types.InstancePatchModel, IO[bytes]], **kwargs: Any ) -> _models.InstanceResource: """Update a InstanceResource. @@ -2231,9 +2234,10 @@ def update( :type resource_group_name: str :param instance_name: Name of instance. Required. :type instance_name: str - :param properties: The resource properties to be updated. Is one of the following types: - InstancePatchModel, JSON, IO[bytes] Required. - :type properties: ~azure.mgmt.iotoperations.models.InstancePatchModel or JSON or IO[bytes] + :param properties: The resource properties to be updated. Is either a InstancePatchModel type + or a IO[bytes] type. Required. + :type properties: ~azure.mgmt.iotoperations.models.InstancePatchModel or + ~azure.mgmt.iotoperations.types.InstancePatchModel or IO[bytes] :return: InstanceResource. The InstanceResource is compatible with MutableMapping :rtype: ~azure.mgmt.iotoperations.models.InstanceResource :raises ~azure.core.exceptions.HttpResponseError: @@ -2473,7 +2477,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2563,7 +2570,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2703,7 +2713,7 @@ def _create_or_update_initial( resource_group_name: str, instance_name: str, broker_name: str, - resource: Union[_models.BrokerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerResource, _types.BrokerResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -2814,7 +2824,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, broker_name: str, - resource: JSON, + resource: _types.BrokerResource, *, content_type: str = "application/json", **kwargs: Any @@ -2829,7 +2839,7 @@ def begin_create_or_update( :param broker_name: Name of broker. Required. :type broker_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2876,7 +2886,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, broker_name: str, - resource: Union[_models.BrokerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerResource, _types.BrokerResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.BrokerResource]: """Create a BrokerResource. @@ -2888,9 +2898,10 @@ def begin_create_or_update( :type instance_name: str :param broker_name: Name of broker. Required. :type broker_name: str - :param resource: Resource create parameters. Is one of the following types: BrokerResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a BrokerResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerResource or + ~azure.mgmt.iotoperations.types.BrokerResource or IO[bytes] :return: An instance of LROPoller that returns BrokerResource. The BrokerResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.BrokerResource] @@ -3130,7 +3141,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -3274,7 +3288,7 @@ def _create_or_update_initial( instance_name: str, broker_name: str, listener_name: str, - resource: Union[_models.BrokerListenerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerListenerResource, _types.BrokerListenerResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -3390,7 +3404,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, listener_name: str, - resource: JSON, + resource: _types.BrokerListenerResource, *, content_type: str = "application/json", **kwargs: Any @@ -3407,7 +3421,7 @@ def begin_create_or_update( :param listener_name: Name of Instance broker listener resource. Required. :type listener_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerListenerResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3458,7 +3472,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, listener_name: str, - resource: Union[_models.BrokerListenerResource, JSON, IO[bytes]], + resource: Union[_models.BrokerListenerResource, _types.BrokerListenerResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.BrokerListenerResource]: """Create a BrokerListenerResource. @@ -3472,9 +3486,10 @@ def begin_create_or_update( :type broker_name: str :param listener_name: Name of Instance broker listener resource. Required. :type listener_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerListenerResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerListenerResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a BrokerListenerResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerListenerResource or + ~azure.mgmt.iotoperations.types.BrokerListenerResource or IO[bytes] :return: An instance of LROPoller that returns BrokerListenerResource. The BrokerListenerResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.BrokerListenerResource] @@ -3722,7 +3737,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -3867,7 +3885,7 @@ def _create_or_update_initial( instance_name: str, broker_name: str, authentication_name: str, - resource: Union[_models.BrokerAuthenticationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthenticationResource, _types.BrokerAuthenticationResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -3984,7 +4002,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, authentication_name: str, - resource: JSON, + resource: _types.BrokerAuthenticationResource, *, content_type: str = "application/json", **kwargs: Any @@ -4001,7 +4019,7 @@ def begin_create_or_update( :param authentication_name: Name of Instance broker authentication resource. Required. :type authentication_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerAuthenticationResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4054,7 +4072,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, authentication_name: str, - resource: Union[_models.BrokerAuthenticationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthenticationResource, _types.BrokerAuthenticationResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.BrokerAuthenticationResource]: """Create a BrokerAuthenticationResource. @@ -4068,10 +4086,10 @@ def begin_create_or_update( :type broker_name: str :param authentication_name: Name of Instance broker authentication resource. Required. :type authentication_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerAuthenticationResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthenticationResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a BrokerAuthenticationResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthenticationResource or + ~azure.mgmt.iotoperations.types.BrokerAuthenticationResource or IO[bytes] :return: An instance of LROPoller that returns BrokerAuthenticationResource. The BrokerAuthenticationResource is compatible with MutableMapping :rtype: @@ -4321,7 +4339,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -4466,7 +4487,7 @@ def _create_or_update_initial( instance_name: str, broker_name: str, authorization_name: str, - resource: Union[_models.BrokerAuthorizationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthorizationResource, _types.BrokerAuthorizationResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -4583,7 +4604,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, authorization_name: str, - resource: JSON, + resource: _types.BrokerAuthorizationResource, *, content_type: str = "application/json", **kwargs: Any @@ -4600,7 +4621,7 @@ def begin_create_or_update( :param authorization_name: Name of Instance broker authorization resource. Required. :type authorization_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.BrokerAuthorizationResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4653,7 +4674,7 @@ def begin_create_or_update( instance_name: str, broker_name: str, authorization_name: str, - resource: Union[_models.BrokerAuthorizationResource, JSON, IO[bytes]], + resource: Union[_models.BrokerAuthorizationResource, _types.BrokerAuthorizationResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.BrokerAuthorizationResource]: """Create a BrokerAuthorizationResource. @@ -4667,10 +4688,10 @@ def begin_create_or_update( :type broker_name: str :param authorization_name: Name of Instance broker authorization resource. Required. :type authorization_name: str - :param resource: Resource create parameters. Is one of the following types: - BrokerAuthorizationResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthorizationResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a BrokerAuthorizationResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.BrokerAuthorizationResource or + ~azure.mgmt.iotoperations.types.BrokerAuthorizationResource or IO[bytes] :return: An instance of LROPoller that returns BrokerAuthorizationResource. The BrokerAuthorizationResource is compatible with MutableMapping :rtype: @@ -4920,7 +4941,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -5060,7 +5084,7 @@ def _create_or_update_initial( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: Union[_models.DataflowProfileResource, JSON, IO[bytes]], + resource: Union[_models.DataflowProfileResource, _types.DataflowProfileResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -5171,7 +5195,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: JSON, + resource: _types.DataflowProfileResource, *, content_type: str = "application/json", **kwargs: Any @@ -5186,7 +5210,7 @@ def begin_create_or_update( :param dataflow_profile_name: Name of Instance dataflowProfile resource. Required. :type dataflow_profile_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowProfileResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5233,7 +5257,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_profile_name: str, - resource: Union[_models.DataflowProfileResource, JSON, IO[bytes]], + resource: Union[_models.DataflowProfileResource, _types.DataflowProfileResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.DataflowProfileResource]: """Create a DataflowProfileResource. @@ -5245,9 +5269,10 @@ def begin_create_or_update( :type instance_name: str :param dataflow_profile_name: Name of Instance dataflowProfile resource. Required. :type dataflow_profile_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowProfileResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowProfileResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowProfileResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowProfileResource or + ~azure.mgmt.iotoperations.types.DataflowProfileResource or IO[bytes] :return: An instance of LROPoller that returns DataflowProfileResource. The DataflowProfileResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.DataflowProfileResource] @@ -5487,7 +5512,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -5636,7 +5664,7 @@ def _create_or_update_initial( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: Union[_models.DataflowResource, JSON, IO[bytes]], + resource: Union[_models.DataflowResource, _types.DataflowResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -5752,7 +5780,7 @@ def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: JSON, + resource: _types.DataflowResource, *, content_type: str = "application/json", **kwargs: Any @@ -5769,7 +5797,7 @@ def begin_create_or_update( :param dataflow_name: Name of Instance dataflowProfile dataflow resource. Required. :type dataflow_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5820,7 +5848,7 @@ def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_name: str, - resource: Union[_models.DataflowResource, JSON, IO[bytes]], + resource: Union[_models.DataflowResource, _types.DataflowResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.DataflowResource]: """Create a DataflowResource. @@ -5834,9 +5862,10 @@ def begin_create_or_update( :type dataflow_profile_name: str :param dataflow_name: Name of Instance dataflowProfile dataflow resource. Required. :type dataflow_name: str - :param resource: Resource create parameters. Is one of the following types: DataflowResource, - JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowResource type or a IO[bytes] + type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowResource or + ~azure.mgmt.iotoperations.types.DataflowResource or IO[bytes] :return: An instance of LROPoller that returns DataflowResource. The DataflowResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.DataflowResource] @@ -6094,7 +6123,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -6235,7 +6267,7 @@ def _create_or_update_initial( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: Union[_models.DataflowEndpointResource, JSON, IO[bytes]], + resource: Union[_models.DataflowEndpointResource, _types.DataflowEndpointResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -6347,7 +6379,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: JSON, + resource: _types.DataflowEndpointResource, *, content_type: str = "application/json", **kwargs: Any @@ -6362,7 +6394,7 @@ def begin_create_or_update( :param dataflow_endpoint_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_endpoint_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowEndpointResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6411,7 +6443,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, dataflow_endpoint_name: str, - resource: Union[_models.DataflowEndpointResource, JSON, IO[bytes]], + resource: Union[_models.DataflowEndpointResource, _types.DataflowEndpointResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.DataflowEndpointResource]: """Create a DataflowEndpointResource. @@ -6423,9 +6455,10 @@ def begin_create_or_update( :type instance_name: str :param dataflow_endpoint_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_endpoint_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowEndpointResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowEndpointResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowEndpointResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowEndpointResource or + ~azure.mgmt.iotoperations.types.DataflowEndpointResource or IO[bytes] :return: An instance of LROPoller that returns DataflowEndpointResource. The DataflowEndpointResource is compatible with MutableMapping :rtype: @@ -6666,7 +6699,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -6740,7 +6776,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def get( self, @@ -6838,7 +6874,7 @@ def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _create_or_update_initial( self, @@ -6846,7 +6882,7 @@ def _create_or_update_initial( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: Union[_models.DataflowGraphResource, JSON, IO[bytes]], + resource: Union[_models.DataflowGraphResource, _types.DataflowGraphResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -6962,7 +6998,7 @@ def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: JSON, + resource: _types.DataflowGraphResource, *, content_type: str = "application/json", **kwargs: Any @@ -6979,7 +7015,7 @@ def begin_create_or_update( :param dataflow_graph_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_graph_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.DataflowGraphResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -7038,7 +7074,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_create_or_update( self, @@ -7046,7 +7082,7 @@ def begin_create_or_update( instance_name: str, dataflow_profile_name: str, dataflow_graph_name: str, - resource: Union[_models.DataflowGraphResource, JSON, IO[bytes]], + resource: Union[_models.DataflowGraphResource, _types.DataflowGraphResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.DataflowGraphResource]: """Create a DataflowGraphResource. @@ -7060,9 +7096,10 @@ def begin_create_or_update( :type dataflow_profile_name: str :param dataflow_graph_name: Name of Instance dataflowEndpoint resource. Required. :type dataflow_graph_name: str - :param resource: Resource create parameters. Is one of the following types: - DataflowGraphResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.DataflowGraphResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a DataflowGraphResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.DataflowGraphResource or + ~azure.mgmt.iotoperations.types.DataflowGraphResource or IO[bytes] :return: An instance of LROPoller that returns DataflowGraphResource. The DataflowGraphResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.DataflowGraphResource] @@ -7134,7 +7171,7 @@ def get_long_running_output(pipeline_response): "dataflow_graph_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _delete_initial( self, @@ -7217,7 +7254,7 @@ def _delete_initial( "dataflow_graph_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_delete( self, @@ -7301,7 +7338,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_dataflow_profile( self, resource_group_name: str, instance_name: str, dataflow_profile_name: str, **kwargs: Any @@ -7362,7 +7399,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -7435,7 +7475,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def get( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -7525,14 +7565,14 @@ def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _create_or_update_initial( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: Union[_models.RegistryEndpointResource, JSON, IO[bytes]], + resource: Union[_models.RegistryEndpointResource, _types.RegistryEndpointResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -7644,7 +7684,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: JSON, + resource: _types.RegistryEndpointResource, *, content_type: str = "application/json", **kwargs: Any @@ -7659,7 +7699,7 @@ def begin_create_or_update( :param registry_endpoint_name: Name of RegistryEndpoint resource. Required. :type registry_endpoint_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.RegistryEndpointResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -7716,14 +7756,14 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_create_or_update( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, - resource: Union[_models.RegistryEndpointResource, JSON, IO[bytes]], + resource: Union[_models.RegistryEndpointResource, _types.RegistryEndpointResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.RegistryEndpointResource]: """Create a RegistryEndpointResource. @@ -7735,9 +7775,10 @@ def begin_create_or_update( :type instance_name: str :param registry_endpoint_name: Name of RegistryEndpoint resource. Required. :type registry_endpoint_name: str - :param resource: Resource create parameters. Is one of the following types: - RegistryEndpointResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.RegistryEndpointResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a RegistryEndpointResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.RegistryEndpointResource or + ~azure.mgmt.iotoperations.types.RegistryEndpointResource or IO[bytes] :return: An instance of LROPoller that returns RegistryEndpointResource. The RegistryEndpointResource is compatible with MutableMapping :rtype: @@ -7808,7 +7849,7 @@ def get_long_running_output(pipeline_response): "registry_endpoint_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _delete_initial( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -7884,7 +7925,7 @@ def _delete_initial( "registry_endpoint_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_delete( self, resource_group_name: str, instance_name: str, registry_endpoint_name: str, **kwargs: Any @@ -7953,7 +7994,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2025-07-01-preview": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -8011,7 +8052,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -8084,7 +8128,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def get( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -8174,14 +8218,14 @@ def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _create_or_update_initial( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: Union[_models.AkriConnectorTemplateResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorTemplateResource, _types.AkriConnectorTemplateResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -8293,7 +8337,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: JSON, + resource: _types.AkriConnectorTemplateResource, *, content_type: str = "application/json", **kwargs: Any @@ -8308,7 +8352,7 @@ def begin_create_or_update( :param akri_connector_template_name: Name of AkriConnectorTemplate resource. Required. :type akri_connector_template_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriConnectorTemplateResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8365,14 +8409,14 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_create_or_update( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, - resource: Union[_models.AkriConnectorTemplateResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorTemplateResource, _types.AkriConnectorTemplateResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.AkriConnectorTemplateResource]: """Create a AkriConnectorTemplateResource. @@ -8384,10 +8428,10 @@ def begin_create_or_update( :type instance_name: str :param akri_connector_template_name: Name of AkriConnectorTemplate resource. Required. :type akri_connector_template_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriConnectorTemplateResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateResource or JSON or - IO[bytes] + :param resource: Resource create parameters. Is either a AkriConnectorTemplateResource type or + a IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorTemplateResource or + ~azure.mgmt.iotoperations.types.AkriConnectorTemplateResource or IO[bytes] :return: An instance of LROPoller that returns AkriConnectorTemplateResource. The AkriConnectorTemplateResource is compatible with MutableMapping :rtype: @@ -8458,7 +8502,7 @@ def get_long_running_output(pipeline_response): "akri_connector_template_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _delete_initial( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -8534,7 +8578,7 @@ def _delete_initial( "akri_connector_template_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_delete( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -8603,7 +8647,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2025-07-01-preview": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -8662,7 +8706,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -8736,7 +8783,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def get( self, @@ -8834,7 +8881,7 @@ def get( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _create_or_update_initial( self, @@ -8842,7 +8889,7 @@ def _create_or_update_initial( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: Union[_models.AkriConnectorResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorResource, _types.AkriConnectorResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -8958,7 +9005,7 @@ def begin_create_or_update( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: JSON, + resource: _types.AkriConnectorResource, *, content_type: str = "application/json", **kwargs: Any @@ -8975,7 +9022,7 @@ def begin_create_or_update( :param connector_name: Name of AkriConnector resource. Required. :type connector_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriConnectorResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -9034,7 +9081,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_create_or_update( self, @@ -9042,7 +9089,7 @@ def begin_create_or_update( instance_name: str, akri_connector_template_name: str, connector_name: str, - resource: Union[_models.AkriConnectorResource, JSON, IO[bytes]], + resource: Union[_models.AkriConnectorResource, _types.AkriConnectorResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.AkriConnectorResource]: """Create a AkriConnectorResource. @@ -9056,9 +9103,10 @@ def begin_create_or_update( :type akri_connector_template_name: str :param connector_name: Name of AkriConnector resource. Required. :type connector_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriConnectorResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a AkriConnectorResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriConnectorResource or + ~azure.mgmt.iotoperations.types.AkriConnectorResource or IO[bytes] :return: An instance of LROPoller that returns AkriConnectorResource. The AkriConnectorResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.AkriConnectorResource] @@ -9130,7 +9178,7 @@ def get_long_running_output(pipeline_response): "connector_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def _delete_initial( self, @@ -9213,7 +9261,7 @@ def _delete_initial( "connector_name", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def begin_delete( self, @@ -9297,7 +9345,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01"], + api_versions_list=["2025-07-01-preview", "2025-10-01", "2026-03-01", "2026-07-01"], ) def list_by_template( self, resource_group_name: str, instance_name: str, akri_connector_template_name: str, **kwargs: Any @@ -9358,7 +9406,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -9431,7 +9482,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def get( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -9520,14 +9571,14 @@ def get( "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def _create_or_update_initial( self, resource_group_name: str, instance_name: str, akri_service_name: str, - resource: Union[_models.AkriServiceResource, JSON, IO[bytes]], + resource: Union[_models.AkriServiceResource, _types.AkriServiceResource, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -9638,7 +9689,7 @@ def begin_create_or_update( resource_group_name: str, instance_name: str, akri_service_name: str, - resource: JSON, + resource: _types.AkriServiceResource, *, content_type: str = "application/json", **kwargs: Any @@ -9653,7 +9704,7 @@ def begin_create_or_update( :param akri_service_name: Name of AkriService resource. Required. :type akri_service_name: str :param resource: Resource create parameters. Required. - :type resource: JSON + :type resource: ~azure.mgmt.iotoperations.types.AkriServiceResource :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -9708,14 +9759,14 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def begin_create_or_update( self, resource_group_name: str, instance_name: str, akri_service_name: str, - resource: Union[_models.AkriServiceResource, JSON, IO[bytes]], + resource: Union[_models.AkriServiceResource, _types.AkriServiceResource, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.AkriServiceResource]: """Create a AkriServiceResource. @@ -9727,9 +9778,10 @@ def begin_create_or_update( :type instance_name: str :param akri_service_name: Name of AkriService resource. Required. :type akri_service_name: str - :param resource: Resource create parameters. Is one of the following types: - AkriServiceResource, JSON, IO[bytes] Required. - :type resource: ~azure.mgmt.iotoperations.models.AkriServiceResource or JSON or IO[bytes] + :param resource: Resource create parameters. Is either a AkriServiceResource type or a + IO[bytes] type. Required. + :type resource: ~azure.mgmt.iotoperations.models.AkriServiceResource or + ~azure.mgmt.iotoperations.types.AkriServiceResource or IO[bytes] :return: An instance of LROPoller that returns AkriServiceResource. The AkriServiceResource is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.iotoperations.models.AkriServiceResource] @@ -9799,7 +9851,7 @@ def get_long_running_output(pipeline_response): "akri_service_name", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def _delete_initial( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -9875,7 +9927,7 @@ def _delete_initial( "akri_service_name", ] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def begin_delete( self, resource_group_name: str, instance_name: str, akri_service_name: str, **kwargs: Any @@ -9944,7 +9996,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-03-01": ["api_version", "subscription_id", "resource_group_name", "instance_name", "accept"] }, - api_versions_list=["2026-03-01"], + api_versions_list=["2026-03-01", "2026-07-01"], ) def list_by_instance_resource( self, resource_group_name: str, instance_name: str, **kwargs: Any @@ -10002,7 +10054,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/types.py b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/types.py new file mode 100644 index 000000000000..a69aac0dcb3c --- /dev/null +++ b/sdk/iotoperations/azure-mgmt-iotoperations/azure/mgmt/iotoperations/types.py @@ -0,0 +1,4218 @@ +# pylint: disable=line-too-long,useless-suppression,too-many-lines +# 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) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Literal, TYPE_CHECKING, Union +from typing_extensions import Required, TypedDict + +from .models._enums import ( + AkriConnectorTemplateAllocationPolicy, + AkriConnectorTemplateManagedConfigurationType, + AkriConnectorTemplateRuntimeConfigurationType, + AkriConnectorsMqttAuthenticationMethod, + AkriConnectorsRegistrySettingsType, + AkriConnectorsTagDigestType, + BrokerPersistencePolicyMode, + DataflowGraphDestinationHeaderActionType, + DataflowGraphNodeType, + DataflowHeaderActionType, + DataflowOpenTelemetryAuthenticationMethod, + RegistryEndpointAuthenticationMethod, + RegistryEndpointTrustedSigningKeyType, +) + +if TYPE_CHECKING: + from .models import ( + AkriConnectorsImagePullPolicy, + AkriConnectorsMqttProtocolType, + BrokerAuthenticationMethod, + BrokerAuthenticatorValidationMethods, + BrokerMemoryProfile, + BrokerProtocolType, + BrokerResourceDefinitionMethods, + BrokerStateStoreKeyType, + CertManagerIssuerKind, + CloudEventAttributeType, + CreatedByType, + DataExplorerAuthMethod, + DataLakeStorageAuthMethod, + DataflowEndpointAuthenticationSaslType, + DataflowEndpointFabricPathType, + DataflowEndpointHostType, + DataflowEndpointKafkaAcks, + DataflowEndpointKafkaCompression, + DataflowEndpointKafkaPartitionStrategy, + DataflowGraphConnectionSchemaSerializationFormat, + DataflowMappingType, + EndpointType, + ExtendedLocationType, + FabricOneLakeAuthMethod, + FilterType, + HighPriorityMessagesBackpressureHandling, + InstanceFeatureMode, + KafkaAuthMethod, + ManagedServiceIdentityType, + MqttAuthMethod, + MqttRetainType, + OperationType, + OperationalMode, + OperatorValues, + PrivateKeyAlgorithm, + PrivateKeyRotationPolicy, + ProvisioningState, + ResourceHealthState, + ServiceType, + SourceSerializationFormat, + StateStoreResourceDefinitionMethods, + StateStoreResourceKeyTypes, + SubscriberMessageDropStrategy, + TlsCertMethodMode, + TransformationSerializationFormat, + ) + + +class AdvancedSettings(TypedDict, total=False): + """Broker Advanced Settings. + + :ivar clients: Configurations related to All Clients. + :vartype clients: "ClientConfig" + :ivar encrypt_internal_traffic: The setting to enable or disable encryption of internal + Traffic. Known values are: "Enabled" and "Disabled". + :vartype encrypt_internal_traffic: Union[str, "OperationalMode"] + :ivar internal_certs: Certificate rotation and private key configuration. + :vartype internal_certs: "CertManagerCertOptions" + """ + + clients: "ClientConfig" + """Configurations related to All Clients.""" + encryptInternalTraffic: Union[str, "OperationalMode"] + """The setting to enable or disable encryption of internal Traffic. Known values are: \"Enabled\" + and \"Disabled\".""" + internalCerts: "CertManagerCertOptions" + """Certificate rotation and private key configuration.""" + + +class AkriConnectorAllocatedDevice(TypedDict, total=False): + """AkriConnector allocated device. + + :ivar device_inbound_endpoint_name: The name of the inbound endpoint for the device. Required. + :vartype device_inbound_endpoint_name: str + :ivar device_name: The name of the device. Required. + :vartype device_name: str + """ + + deviceInboundEndpointName: Required[str] + """The name of the inbound endpoint for the device. Required.""" + deviceName: Required[str] + """The name of the device. Required.""" + + +class AkriConnectorProperties(TypedDict, total=False): + """AkriConnector properties. + + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar allocated_devices: The allocated devices for the connector. + :vartype allocated_devices: list["AkriConnectorAllocatedDevice"] + :ivar status: The status for the connector. + :vartype status: "AkriConnectorStatus" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + allocatedDevices: list["AkriConnectorAllocatedDevice"] + """The allocated devices for the connector.""" + status: "AkriConnectorStatus" + """The status for the connector.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class Resource(TypedDict, total=False): + """Resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + """ + + id: str + """Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.""" + name: str + """The name of the resource.""" + type: str + """The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or + \"Microsoft.Storage/storageAccounts\".""" + systemData: "SystemData" + """Azure Resource Manager metadata containing createdBy and modifiedBy information.""" + + +class ProxyResource(Resource): + """Proxy Resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + """ + + +class AkriConnectorResource(ProxyResource): + """AkriConnector resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "AkriConnectorProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "AkriConnectorProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class AkriConnectorsContainerRegistry(TypedDict, total=False): + """AkriConnectorsContainerRegistry properties. + + :ivar registry_settings_type: The registry settings type. Required. A Container Registry + reference. + :vartype registry_settings_type: Literal[AkriConnectorsRegistrySettingsType.CONTAINER_REGISTRY] + :ivar container_registry_settings: The registry settings for the container registry. Required. + :vartype container_registry_settings: "AkriConnectorsContainerRegistrySettings" + """ + + registrySettingsType: Required[Literal[AkriConnectorsRegistrySettingsType.CONTAINER_REGISTRY]] + """The registry settings type. Required. A Container Registry reference.""" + containerRegistrySettings: Required["AkriConnectorsContainerRegistrySettings"] + """The registry settings for the container registry. Required.""" + + +class AkriConnectorsContainerRegistrySettings(TypedDict, total=False): + """AkriConnectorsContainerRegistry properties. + + :ivar registry: The container registry to use for the artifact. Required. + :vartype registry: str + :ivar image_pull_secrets: Optional list of references to secrets in the same namespace to use + for pulling the connector image. + :vartype image_pull_secrets: list["AkriConnectorsImagePullSecret"] + """ + + registry: Required[str] + """The container registry to use for the artifact. Required.""" + imagePullSecrets: list["AkriConnectorsImagePullSecret"] + """Optional list of references to secrets in the same namespace to use for pulling the connector + image.""" + + +class AkriConnectorsDiagnosticsLogs(TypedDict, total=False): + """AkriConnectorsDiagnostic Log properties. + + :ivar level: The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'. + :vartype level: str + """ + + level: str + """The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.""" + + +class AkriConnectorsDigest(TypedDict, total=False): + """AkriConnectorsDigest properties. + + :ivar tag_digest_type: The tag or digest type. Required. Indicates that a digest should be + specified. + :vartype tag_digest_type: Literal[AkriConnectorsTagDigestType.DIGEST] + :ivar digest: The digest of the image. Required. + :vartype digest: str + """ + + tagDigestType: Required[Literal[AkriConnectorsTagDigestType.DIGEST]] + """The tag or digest type. Required. Indicates that a digest should be specified.""" + digest: Required[str] + """The digest of the image. Required.""" + + +class AkriConnectorsImagePullSecret(TypedDict, total=False): + """AkriConnectorsImagePullSecret properties. + + :ivar secret_ref: The name of the image pull secret. Required. + :vartype secret_ref: str + """ + + secretRef: Required[str] + """The name of the image pull secret. Required.""" + + +class AkriConnectorsMqttConnectionConfiguration(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorsMqttConnectionConfiguration properties. + + :ivar authentication: Authentication properties. + :vartype authentication: "AkriConnectorsMqttAuthentication" + :ivar host: Host of the Broker in the form of :. + :vartype host: str + :ivar protocol: The protocol to use for the connection. Currently only ``mqtt`` is supported. + "Mqtt" + :vartype protocol: Union[str, "AkriConnectorsMqttProtocolType"] + :ivar keep_alive_seconds: KeepAlive for connection in seconds. + :vartype keep_alive_seconds: int + :ivar max_inflight_messages: The max number of messages to keep in flight. For subscribe, this + is the receive maximum. For publish, this is the maximum number of messages to send before + waiting for an ack. + :vartype max_inflight_messages: int + :ivar session_expiry_seconds: Session expiry in seconds. + :vartype session_expiry_seconds: int + :ivar tls: TLS configuration. + :vartype tls: "TlsProperties" + """ + + authentication: "AkriConnectorsMqttAuthentication" + """Authentication properties.""" + host: str + """Host of the Broker in the form of :.""" + protocol: Union[str, "AkriConnectorsMqttProtocolType"] + """The protocol to use for the connection. Currently only ``mqtt`` is supported. \"Mqtt\"""" + keepAliveSeconds: int + """KeepAlive for connection in seconds.""" + maxInflightMessages: int + """The max number of messages to keep in flight. For subscribe, this is the receive maximum. For + publish, this is the maximum number of messages to send before waiting for an ack.""" + sessionExpirySeconds: int + """Session expiry in seconds.""" + tls: "TlsProperties" + """TLS configuration.""" + + +class AkriConnectorsRegistryEndpointRef(TypedDict, total=False): + """AkriConnectorsRegistryEndpointRef properties. + + :ivar registry_settings_type: The registry endpoint reference. Required. A Registry Endpoint + reference. + :vartype registry_settings_type: + Literal[AkriConnectorsRegistrySettingsType.REGISTRY_ENDPOINT_REF] + :ivar registry_endpoint_ref: The name of the registry endpoint. Required. + :vartype registry_endpoint_ref: str + """ + + registrySettingsType: Required[Literal[AkriConnectorsRegistrySettingsType.REGISTRY_ENDPOINT_REF]] + """The registry endpoint reference. Required. A Registry Endpoint reference.""" + registryEndpointRef: Required[str] + """The name of the registry endpoint. Required.""" + + +class AkriConnectorsSecret(TypedDict, total=False): + """AkriConnectorsSecret properties. + + :ivar secret_key: The key in the secret to be mounted. Required. + :vartype secret_key: str + :ivar secret_alias: The application-defined alias for the secret. Required. + :vartype secret_alias: str + :ivar secret_ref: The name of the secret to be mounted. Required. + :vartype secret_ref: str + """ + + secretKey: Required[str] + """The key in the secret to be mounted. Required.""" + secretAlias: Required[str] + """The application-defined alias for the secret. Required.""" + secretRef: Required[str] + """The name of the secret to be mounted. Required.""" + + +class AkriConnectorsServiceAccountAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorsServiceAccountAuthentication properties. + + :ivar method: The authentication method for the MQTT connection. Required. Service Account + Token authentication. + :vartype method: Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + :ivar service_account_token_settings: The service account token for the MQTT connection. + Required. + :vartype service_account_token_settings: "AkriConnectorsServiceAccountTokenSettings" + """ + + method: Required[Literal[AkriConnectorsMqttAuthenticationMethod.SERVICE_ACCOUNT_TOKEN]] + """The authentication method for the MQTT connection. Required. Service Account Token + authentication.""" + serviceAccountTokenSettings: Required["AkriConnectorsServiceAccountTokenSettings"] + """The service account token for the MQTT connection. Required.""" + + +class AkriConnectorsServiceAccountTokenSettings(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorsServiceAccountTokenSettings properties. + + :ivar audience: The audience for the service account token. Required. + :vartype audience: str + """ + + audience: Required[str] + """The audience for the service account token. Required.""" + + +class AkriConnectorsTag(TypedDict, total=False): + """AkriConnectorsTag properties. + + :ivar tag_digest_type: The tag or digest type. Required. Indicates that a tag should be + specified. + :vartype tag_digest_type: Literal[AkriConnectorsTagDigestType.TAG] + :ivar tag: The tag of the image. Required. + :vartype tag: str + """ + + tagDigestType: Required[Literal[AkriConnectorsTagDigestType.TAG]] + """The tag or digest type. Required. Indicates that a tag should be specified.""" + tag: Required[str] + """The tag of the image. Required.""" + + +class AkriConnectorStatus(TypedDict, total=False): + """AkriConnector status. + + :ivar health_state: The health state of the AkriConnector. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the AkriConnector.""" + + +class AkriConnectorTemplateAioMetadata(TypedDict, total=False): + """AkriConnectorTemplateAioMetadata properties. + + :ivar aio_min_version: The minimum version of AIO required for the connector. + :vartype aio_min_version: str + :ivar aio_max_version: The maximum version of AIO required for the connector. + :vartype aio_max_version: str + """ + + aioMinVersion: str + """The minimum version of AIO required for the connector.""" + aioMaxVersion: str + """The maximum version of AIO required for the connector.""" + + +class AkriConnectorTemplateBucketizedAllocation(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateBucketizedAllocation properties. + + :ivar policy: The allocation policy type. Required. Bucketized allocation policy. + :vartype policy: Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED] + :ivar bucket_size: The bucketized allocation of AEPs for connectors. Required. + :vartype bucket_size: int + """ + + policy: Required[Literal[AkriConnectorTemplateAllocationPolicy.BUCKETIZED]] + """The allocation policy type. Required. Bucketized allocation policy.""" + bucketSize: Required[int] + """The bucketized allocation of AEPs for connectors. Required.""" + + +class AkriConnectorTemplateDeviceInboundEndpointType(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateDeviceInboundEndpointType properties. + + :ivar display_name: The display name of the device inbound endpoint. + :vartype display_name: str + :ivar endpoint_type: The type of the device inbound endpoint. Required. + :vartype endpoint_type: str + :ivar version: The version of the device inbound endpoint. + :vartype version: str + """ + + displayName: str + """The display name of the device inbound endpoint.""" + endpointType: Required[str] + """The type of the device inbound endpoint. Required.""" + version: str + """The version of the device inbound endpoint.""" + + +class AkriConnectorTemplateDiagnostics(TypedDict, total=False): + """AkriConnectorTemplateDiagnostics properties. + + :ivar logs: The log settings for the Connector template. Required. + :vartype logs: "AkriConnectorsDiagnosticsLogs" + """ + + logs: Required["AkriConnectorsDiagnosticsLogs"] + """The log settings for the Connector template. Required.""" + + +class AkriConnectorTemplateExecAction(TypedDict, total=False): + """AkriConnectorTemplateExecAction properties. Describes a command to execute in a container. + + :ivar command: The command to execute inside the container. Exit status of 0 is treated as + healthy, non-zero is unhealthy. Required. + :vartype command: list[str] + """ + + command: Required[list[str]] + """The command to execute inside the container. Exit status of 0 is treated as healthy, non-zero + is unhealthy. Required.""" + + +class AkriConnectorTemplateManagedConfiguration(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateManagedConfiguration properties. + + :ivar runtime_configuration_type: The runtime configuration type for the Connector template. + Required. Managed Configuration Type. + :vartype runtime_configuration_type: + Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION] + :ivar managed_configuration_settings: The managed configuration settings. Required. + :vartype managed_configuration_settings: "AkriConnectorTemplateManagedConfigurationSettings" + """ + + runtimeConfigurationType: Required[Literal[AkriConnectorTemplateRuntimeConfigurationType.MANAGED_CONFIGURATION]] + """The runtime configuration type for the Connector template. Required. Managed Configuration + Type.""" + managedConfigurationSettings: Required["AkriConnectorTemplateManagedConfigurationSettings"] + """The managed configuration settings. Required.""" + + +class AkriConnectorTemplatePersistentVolumeClaim(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplatePersistentVolumeClaim properties. + + :ivar claim_name: The name of the persistent volume claim. Required. + :vartype claim_name: str + :ivar mount_path: The mount path for the persistent volume claim. Required. + :vartype mount_path: str + """ + + claimName: Required[str] + """The name of the persistent volume claim. Required.""" + mountPath: Required[str] + """The mount path for the persistent volume claim. Required.""" + + +class AkriConnectorTemplateProperties(TypedDict, total=False): + """AkriConnectorTemplate properties. + + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar aio_metadata: Metadata about AIO. + :vartype aio_metadata: "AkriConnectorTemplateAioMetadata" + :ivar runtime_configuration: The runtime configuration for the Connector template. Required. + :vartype runtime_configuration: "AkriConnectorTemplateRuntimeConfiguration" + :ivar diagnostics: Diagnostics settings for the Connector template. + :vartype diagnostics: "AkriConnectorTemplateDiagnostics" + :ivar device_inbound_endpoint_types: Device inbound endpoint types. Required. + :vartype device_inbound_endpoint_types: list["AkriConnectorTemplateDeviceInboundEndpointType"] + :ivar mqtt_connection_configuration: Mqtt connection configuration settings. + :vartype mqtt_connection_configuration: "AkriConnectorsMqttConnectionConfiguration" + :ivar connector_metadata_ref: A reference to a connector metadata document reference in a + container registry. + :vartype connector_metadata_ref: str + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + aioMetadata: "AkriConnectorTemplateAioMetadata" + """Metadata about AIO.""" + runtimeConfiguration: Required["AkriConnectorTemplateRuntimeConfiguration"] + """The runtime configuration for the Connector template. Required.""" + diagnostics: "AkriConnectorTemplateDiagnostics" + """Diagnostics settings for the Connector template.""" + deviceInboundEndpointTypes: Required[list["AkriConnectorTemplateDeviceInboundEndpointType"]] + """Device inbound endpoint types. Required.""" + mqttConnectionConfiguration: "AkriConnectorsMqttConnectionConfiguration" + """Mqtt connection configuration settings.""" + connectorMetadataRef: str + """A reference to a connector metadata document reference in a container registry.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class AkriConnectorTemplateReadinessProbe(TypedDict, total=False): + """AkriConnectorTemplateReadinessProbe properties. Defines a readiness probe for the connector + container. + + :ivar exec_property: Exec specifies a command to execute in the container. + :vartype exec_property: "AkriConnectorTemplateExecAction" + :ivar failure_threshold: Minimum consecutive failures for the probe to be considered failed + after having succeeded. + :vartype failure_threshold: int + :ivar initial_delay_seconds: Number of seconds after the container has started before the probe + is initiated. + :vartype initial_delay_seconds: int + :ivar period_seconds: How often (in seconds) to perform the probe. + :vartype period_seconds: int + :ivar success_threshold: Minimum consecutive successes for the probe to be considered + successful after having failed. + :vartype success_threshold: int + :ivar timeout_seconds: Number of seconds after which the probe times out. + :vartype timeout_seconds: int + """ + + exec: "AkriConnectorTemplateExecAction" + """Exec specifies a command to execute in the container.""" + failureThreshold: int + """Minimum consecutive failures for the probe to be considered failed after having succeeded.""" + initialDelaySeconds: int + """Number of seconds after the container has started before the probe is initiated.""" + periodSeconds: int + """How often (in seconds) to perform the probe.""" + successThreshold: int + """Minimum consecutive successes for the probe to be considered successful after having failed.""" + timeoutSeconds: int + """Number of seconds after which the probe times out.""" + + +class AkriConnectorTemplateResource(ProxyResource): + """AkriConnectorTemplate resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "AkriConnectorTemplateProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "AkriConnectorTemplateProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class AkriConnectorTemplateRuntimeImageConfiguration(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateRuntimeImageConfiguration properties. + + :ivar allocation: Allocation settings for the managed configuration. + :vartype allocation: "AkriConnectorTemplateAllocation" + :ivar persistent_volume_claims: The persistent volume claims for the managed configuration. + :vartype persistent_volume_claims: list["AkriConnectorTemplatePersistentVolumeClaim"] + :ivar additional_configuration: Additional configuration for the image of the managed + configuration. + :vartype additional_configuration: dict[str, str] + :ivar persistent_volume_claim_templates: The persistent volume claim templates for the managed + configuration. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json + `_. + :vartype persistent_volume_claim_templates: list[dict[str, Any]] + :ivar secrets: Connector secrets that will be mounted onto all connector instances. + :vartype secrets: list["AkriConnectorsSecret"] + :ivar trust_settings: Trust list for the connector. This is used to specify the certificates + that all connector instances should trust. + :vartype trust_settings: "AkriConnectorTemplateTrustList" + :ivar managed_configuration_type: The managed configuration type for the Connector template. + Required. Image Configuration Type. + :vartype managed_configuration_type: + Literal[AkriConnectorTemplateManagedConfigurationType.IMAGE_CONFIGURATION] + :ivar image_configuration_settings: The image configuration settings. Required. + :vartype image_configuration_settings: "AkriConnectorTemplateRuntimeImageConfigurationSettings" + """ + + allocation: "AkriConnectorTemplateAllocation" + """Allocation settings for the managed configuration.""" + persistentVolumeClaims: list["AkriConnectorTemplatePersistentVolumeClaim"] + """The persistent volume claims for the managed configuration.""" + additionalConfiguration: dict[str, str] + """Additional configuration for the image of the managed configuration.""" + persistentVolumeClaimTemplates: list[dict[str, Any]] + """The persistent volume claim templates for the managed configuration. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json + `_.""" + secrets: list["AkriConnectorsSecret"] + """Connector secrets that will be mounted onto all connector instances.""" + trustSettings: "AkriConnectorTemplateTrustList" + """Trust list for the connector. This is used to specify the certificates that all connector + instances should trust.""" + managedConfigurationType: Required[Literal[AkriConnectorTemplateManagedConfigurationType.IMAGE_CONFIGURATION]] + """The managed configuration type for the Connector template. Required. Image Configuration Type.""" + imageConfigurationSettings: Required["AkriConnectorTemplateRuntimeImageConfigurationSettings"] + """The image configuration settings. Required.""" + + +class AkriConnectorTemplateRuntimeImageConfigurationSettings(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateRuntimeImageConfiguration properties. + + :ivar image_name: The image name without any registry reference, tag or digest. Required. + :vartype image_name: str + :ivar image_pull_policy: The pull policy of the image. Known values are: "Always", + "IfNotPresent", and "Never". + :vartype image_pull_policy: Union[str, "AkriConnectorsImagePullPolicy"] + :ivar readiness_probe: Optional readiness probe for the connector container. When set, the + operator injects this into the pod spec and uses the pod's ``Ready`` condition for health + reporting instead of crash-based detection. + :vartype readiness_probe: "AkriConnectorTemplateReadinessProbe" + :ivar replicas: The number of replicas to be set up. + :vartype replicas: int + :ivar registry_settings: The registry settings for the image. You can omit this field if using + the default docker hub repository or using a local image. + :vartype registry_settings: "AkriConnectorsRegistrySettings" + :ivar tag_digest_settings: Optional image tag or digest. If not specified, the default tag is + ``latest``. + :vartype tag_digest_settings: "AkriConnectorsTagDigestSettings" + """ + + imageName: Required[str] + """The image name without any registry reference, tag or digest. Required.""" + imagePullPolicy: Union[str, "AkriConnectorsImagePullPolicy"] + """The pull policy of the image. Known values are: \"Always\", \"IfNotPresent\", and \"Never\".""" + readinessProbe: "AkriConnectorTemplateReadinessProbe" + """Optional readiness probe for the connector container. When set, the operator injects this into + the pod spec and uses the pod's ``Ready`` condition for health reporting instead of crash-based + detection.""" + replicas: int + """The number of replicas to be set up.""" + registrySettings: "AkriConnectorsRegistrySettings" + """The registry settings for the image. You can omit this field if using the default docker hub + repository or using a local image.""" + tagDigestSettings: "AkriConnectorsTagDigestSettings" + """Optional image tag or digest. If not specified, the default tag is ``latest``.""" + + +class AkriConnectorTemplateRuntimeStatefulSetConfiguration(TypedDict, total=False): # pylint: disable=name-too-long + """AkriConnectorTemplateRuntimeStatefulSetConfiguration properties. + + :ivar allocation: Allocation settings for the managed configuration. + :vartype allocation: "AkriConnectorTemplateAllocation" + :ivar persistent_volume_claims: The persistent volume claims for the managed configuration. + :vartype persistent_volume_claims: list["AkriConnectorTemplatePersistentVolumeClaim"] + :ivar additional_configuration: Additional configuration for the image of the managed + configuration. + :vartype additional_configuration: dict[str, str] + :ivar persistent_volume_claim_templates: The persistent volume claim templates for the managed + configuration. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json + `_. + :vartype persistent_volume_claim_templates: list[dict[str, Any]] + :ivar secrets: Connector secrets that will be mounted onto all connector instances. + :vartype secrets: list["AkriConnectorsSecret"] + :ivar trust_settings: Trust list for the connector. This is used to specify the certificates + that all connector instances should trust. + :vartype trust_settings: "AkriConnectorTemplateTrustList" + :ivar managed_configuration_type: The managed configuration type for the Connector template. + Required. StatefulSet Configuration Type. + :vartype managed_configuration_type: + Literal[AkriConnectorTemplateManagedConfigurationType.STATEFUL_SET_CONFIGURATION] + :ivar stateful_set_configuration_settings: The stateful set configuration settings. This + corresponds to the Kubernetes StatefulSet resource. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json#/components/schemas/io.k8s.api.apps.v1.StatefulSetSpec + `_. + Required. + :vartype stateful_set_configuration_settings: dict[str, Any] + """ + + allocation: "AkriConnectorTemplateAllocation" + """Allocation settings for the managed configuration.""" + persistentVolumeClaims: list["AkriConnectorTemplatePersistentVolumeClaim"] + """The persistent volume claims for the managed configuration.""" + additionalConfiguration: dict[str, str] + """Additional configuration for the image of the managed configuration.""" + persistentVolumeClaimTemplates: list[dict[str, Any]] + """The persistent volume claim templates for the managed configuration. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json + `_.""" + secrets: list["AkriConnectorsSecret"] + """Connector secrets that will be mounted onto all connector instances.""" + trustSettings: "AkriConnectorTemplateTrustList" + """Trust list for the connector. This is used to specify the certificates that all connector + instances should trust.""" + managedConfigurationType: Required[ + Literal[AkriConnectorTemplateManagedConfigurationType.STATEFUL_SET_CONFIGURATION] + ] + """The managed configuration type for the Connector template. Required. StatefulSet Configuration + Type.""" + statefulSetConfigurationSettings: Required[dict[str, Any]] + """The stateful set configuration settings. This corresponds to the Kubernetes StatefulSet + resource. See + `https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json#/components/schemas/io.k8s.api.apps.v1.StatefulSetSpec + `_. + Required.""" + + +class AkriConnectorTemplateTrustList(TypedDict, total=False): + """AkriConnectorTemplateTrustList properties. + + :ivar trust_list_secret_ref: The secret reference for certificates to trust. Required. + :vartype trust_list_secret_ref: str + """ + + trustListSecretRef: Required[str] + """The secret reference for certificates to trust. Required.""" + + +class AkriServiceProperties(TypedDict, total=False): + """AkriService properties. + + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar status: The status for the service. + :vartype status: "AkriServiceStatus" + """ + + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + status: "AkriServiceStatus" + """The status for the service.""" + + +class AkriServiceResource(ProxyResource): + """AkriService resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "AkriServiceProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "AkriServiceProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class AkriServiceStatus(TypedDict, total=False): + """AkriService status. + + :ivar health_state: The health state of the AkriService. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the AkriService.""" + + +class AuthorizationConfig(TypedDict, total=False): + """Broker AuthorizationConfig properties. + + :ivar cache: Enable caching of the authorization rules. Known values are: "Enabled" and + "Disabled". + :vartype cache: Union[str, "OperationalMode"] + :ivar rules: The authorization rules to follow. If no rule is set, but Authorization Resource + is used that would mean DenyAll. + :vartype rules: list["AuthorizationRule"] + """ + + cache: Union[str, "OperationalMode"] + """Enable caching of the authorization rules. Known values are: \"Enabled\" and \"Disabled\".""" + rules: list["AuthorizationRule"] + """The authorization rules to follow. If no rule is set, but Authorization Resource is used that + would mean DenyAll.""" + + +class AuthorizationRule(TypedDict, total=False): + """AuthorizationConfig Rule Properties. + + :ivar broker_resources: Give access to Broker methods and topics. Required. + :vartype broker_resources: list["BrokerResourceRule"] + :ivar principals: Give access to clients based on the following properties. Required. + :vartype principals: "PrincipalDefinition" + :ivar state_store_resources: Give access to state store resources. + :vartype state_store_resources: list["StateStoreResourceRule"] + """ + + brokerResources: Required[list["BrokerResourceRule"]] + """Give access to Broker methods and topics. Required.""" + principals: Required["PrincipalDefinition"] + """Give access to clients based on the following properties. Required.""" + stateStoreResources: list["StateStoreResourceRule"] + """Give access to state store resources.""" + + +class AzureDeviceRegistryNamespaceRef(TypedDict, total=False): + """Azure Device Registry Namespace reference. + + :ivar resource_id: The resource ID of the Azure Device Registry Namespace. Required. + :vartype resource_id: str + """ + + resourceId: Required[str] + """The resource ID of the Azure Device Registry Namespace. Required.""" + + +class BackendChain(TypedDict, total=False): + """Desired properties of the backend instances of the broker. + + :ivar partitions: The desired number of physical backend partitions. Required. + :vartype partitions: int + :ivar redundancy_factor: The desired numbers of backend replicas (pods) in a physical + partition. Required. + :vartype redundancy_factor: int + :ivar workers: Number of logical backend workers per replica (pod). + :vartype workers: int + """ + + partitions: Required[int] + """The desired number of physical backend partitions. Required.""" + redundancyFactor: Required[int] + """The desired numbers of backend replicas (pods) in a physical partition. Required.""" + workers: int + """Number of logical backend workers per replica (pod).""" + + +class BatchingConfiguration(TypedDict, total=False): + """Batching configuration. + + :ivar latency_seconds: Batching latency in seconds. + :vartype latency_seconds: int + :ivar max_messages: Maximum number of messages in a batch. + :vartype max_messages: int + """ + + latencySeconds: int + """Batching latency in seconds.""" + maxMessages: int + """Maximum number of messages in a batch.""" + + +class BrokerAuthenticationProperties(TypedDict, total=False): + """BrokerAuthentication Resource properties. + + :ivar authentication_methods: Defines a set of Broker authentication methods to be used on + ``BrokerListeners``. For each array element one authenticator type supported. Required. + :vartype authentication_methods: list["BrokerAuthenticatorMethods"] + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + authenticationMethods: Required[list["BrokerAuthenticatorMethods"]] + """Defines a set of Broker authentication methods to be used on ``BrokerListeners``. For each + array element one authenticator type supported. Required.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class BrokerAuthenticationResource(ProxyResource): + """Instance broker authentication resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "BrokerAuthenticationProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "BrokerAuthenticationProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class BrokerAuthenticatorCustomAuth(TypedDict, total=False): + """Custom Authentication properties. + + :ivar x509: X509 Custom Auth type details. Required. + :vartype x509: "X509ManualCertificate" + """ + + x509: Required["X509ManualCertificate"] + """X509 Custom Auth type details. Required.""" + + +class BrokerAuthenticatorMethodCustom(TypedDict, total=False): + """Custom method for BrokerAuthentication. + + :ivar auth: Optional authentication needed for authenticating with the custom authentication + server. + :vartype auth: "BrokerAuthenticatorCustomAuth" + :ivar ca_cert_config_map: Optional CA certificate for validating the custom authentication + server's certificate. + :vartype ca_cert_config_map: str + :ivar endpoint: Endpoint of the custom authentication server. Must be an HTTPS endpoint. + Required. + :vartype endpoint: str + :ivar headers: Additional HTTP headers to pass to the custom authentication server. + :vartype headers: dict[str, str] + """ + + auth: "BrokerAuthenticatorCustomAuth" + """Optional authentication needed for authenticating with the custom authentication server.""" + caCertConfigMap: str + """Optional CA certificate for validating the custom authentication server's certificate.""" + endpoint: Required[str] + """Endpoint of the custom authentication server. Must be an HTTPS endpoint. Required.""" + headers: dict[str, str] + """Additional HTTP headers to pass to the custom authentication server.""" + + +class BrokerAuthenticatorMethods(TypedDict, total=False): + """Set of broker authentication policies. Only one method is supported for each entry. + + :ivar method: Custom authentication configuration. Required. Known values are: "Custom", + "ServiceAccountToken", and "X509". + :vartype method: Union[str, "BrokerAuthenticationMethod"] + :ivar custom_settings: Custom authentication configuration. + :vartype custom_settings: "BrokerAuthenticatorMethodCustom" + :ivar service_account_token_settings: ServiceAccountToken authentication configuration. + :vartype service_account_token_settings: "BrokerAuthenticatorMethodSat" + :ivar x509_settings: X.509 authentication configuration. + :vartype x509_settings: "BrokerAuthenticatorMethodX509" + """ + + method: Required[Union[str, "BrokerAuthenticationMethod"]] + """Custom authentication configuration. Required. Known values are: \"Custom\", + \"ServiceAccountToken\", and \"X509\".""" + customSettings: "BrokerAuthenticatorMethodCustom" + """Custom authentication configuration.""" + serviceAccountTokenSettings: "BrokerAuthenticatorMethodSat" + """ServiceAccountToken authentication configuration.""" + x509Settings: "BrokerAuthenticatorMethodX509" + """X.509 authentication configuration.""" + + +class BrokerAuthenticatorMethodSat(TypedDict, total=False): + """Service Account Token for BrokerAuthentication. + + :ivar audiences: List of allowed audience. Required. + :vartype audiences: list[str] + """ + + audiences: Required[list[str]] + """List of allowed audience. Required.""" + + +class BrokerAuthenticatorMethodX509(TypedDict, total=False): + """X509 for BrokerAuthentication. + + :ivar authorization_attributes: X509 authorization attributes properties. + :vartype authorization_attributes: dict[str, "BrokerAuthenticatorMethodX509Attributes"] + :ivar trusted_client_ca_cert: Name of the trusted client ca cert resource. + :vartype trusted_client_ca_cert: str + :ivar additional_validation: X509 authentication attributes properties. Known values are: + "None" and "AzureDeviceRegistry". + :vartype additional_validation: Union[str, "BrokerAuthenticatorValidationMethods"] + """ + + authorizationAttributes: dict[str, "BrokerAuthenticatorMethodX509Attributes"] + """X509 authorization attributes properties.""" + trustedClientCaCert: str + """Name of the trusted client ca cert resource.""" + additionalValidation: Union[str, "BrokerAuthenticatorValidationMethods"] + """X509 authentication attributes properties. Known values are: \"None\" and + \"AzureDeviceRegistry\".""" + + +class BrokerAuthenticatorMethodX509Attributes(TypedDict, total=False): + """BrokerAuthenticatorMethodX509Attributes properties. + + :ivar attributes: Attributes object. Required. + :vartype attributes: dict[str, str] + :ivar subject: Subject of the X509 attribute. Required. + :vartype subject: str + """ + + attributes: Required[dict[str, str]] + """Attributes object. Required.""" + subject: Required[str] + """Subject of the X509 attribute. Required.""" + + +class BrokerAuthorizationProperties(TypedDict, total=False): + """BrokerAuthorization Resource properties. + + :ivar authorization_policies: The list of authorization policies supported by the Authorization + Resource. Required. + :vartype authorization_policies: "AuthorizationConfig" + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + authorizationPolicies: Required["AuthorizationConfig"] + """The list of authorization policies supported by the Authorization Resource. Required.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class BrokerAuthorizationResource(ProxyResource): + """Instance broker authorizations resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "BrokerAuthorizationProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "BrokerAuthorizationProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class BrokerDiagnostics(TypedDict, total=False): + """Broker Diagnostic Setting properties. + + :ivar logs: Diagnostic log settings for the resource. + :vartype logs: "DiagnosticsLogs" + :ivar metrics: The metrics settings for the resource. + :vartype metrics: "Metrics" + :ivar self_check: The self check properties. + :vartype self_check: "SelfCheck" + :ivar traces: The trace properties. + :vartype traces: "Traces" + """ + + logs: "DiagnosticsLogs" + """Diagnostic log settings for the resource.""" + metrics: "Metrics" + """The metrics settings for the resource.""" + selfCheck: "SelfCheck" + """The self check properties.""" + traces: "Traces" + """The trace properties.""" + + +class BrokerListenerProperties(TypedDict, total=False): + """Defines a Broker listener. A listener is a collection of ports on which the broker accepts + connections from clients. + + :ivar service_name: Kubernetes Service name of this listener. + :vartype service_name: str + :ivar ports: Ports on which this listener accepts client connections. Required. + :vartype ports: list["ListenerPort"] + :ivar service_type: Kubernetes Service type of this listener. Known values are: "ClusterIp", + "LoadBalancer", and "NodePort". + :vartype service_type: Union[str, "ServiceType"] + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + serviceName: str + """Kubernetes Service name of this listener.""" + ports: Required[list["ListenerPort"]] + """Ports on which this listener accepts client connections. Required.""" + serviceType: Union[str, "ServiceType"] + """Kubernetes Service type of this listener. Known values are: \"ClusterIp\", \"LoadBalancer\", + and \"NodePort\".""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class BrokerListenerResource(ProxyResource): + """Instance broker resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "BrokerListenerProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "BrokerListenerProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class BrokerPersistence(TypedDict, total=False): + """Disk persistence configuration. + + When persistence is enabled, certain items (non-performance-critical data) selected for + persistence will reside only on disk. Below are the affected items: + + + + * Retained messages will be stored on disk only. + * WILL messages will be stored on disk only. + * DSS key/value pairs will be stored on disk only, except for performance-critical items like + timed locks, which remain in both disk and memory for improved performance. + + Optional. Everything is in-memory if not set. + Note: if configured, all MQTT session states are written to disk. + + :ivar max_size: The max size of the message buffer on disk. If a PVC template is specified + using persistentVolumeClaimSpec Then this size is used as the request and limit sizes of that + template. If a PVC template isn't specified Then local-path provisioner is requested with this + size limit. Required. Required. + :vartype max_size: str + :ivar persistent_volume_claim_spec: Use the specified persistent volume claim template to mount + a persistent volume. Same object as in diskBackedMessageBuffer, but with a limitation that + access modes field must be set to ``ReadWriteOncePod``. + + If unset, a default PVC with default properties will be used. Among other things this PVC will + use the cluster default storage class, which may or may not be using a local path provisioner. + User is opting in to sub-optimal behavior if they leave this unset or set it without the + storage class field, and their cluster default is not a local path class. + :vartype persistent_volume_claim_spec: "VolumeClaimSpec" + :ivar retain: Controls which topic's retained messages should be persisted to disk. + :vartype retain: "BrokerRetainMessagesPolicy" + :ivar state_store: Controls which keys should be persisted to disk for the state store. + :vartype state_store: "BrokerStateStorePolicy" + :ivar subscriber_queue: Controls which subscriber message queues should be persisted to disk. + Important: to facilitate reconnection, session state metadata are ALWAYS written to disk if any + persistence setting is specified, even if this section isn't set. + :vartype subscriber_queue: "BrokerSubscriberQueuePolicy" + :ivar encryption: Controls settings related to encryption of the persistence database. + Optional, defaults to enabling encryption. + :vartype encryption: "BrokerPersistenceEncryption" + """ + + maxSize: Required[str] + """The max size of the message buffer on disk. If a PVC template is specified using + persistentVolumeClaimSpec Then this size is used as the request and limit sizes of that + template. If a PVC template isn't specified Then local-path provisioner is requested with this + size limit. Required. Required.""" + persistentVolumeClaimSpec: "VolumeClaimSpec" + """Use the specified persistent volume claim template to mount a persistent volume. Same object as + in diskBackedMessageBuffer, but with a limitation that access modes field must be set to + ``ReadWriteOncePod``. + + If unset, a default PVC with default properties will be used. Among other things this PVC will + use the cluster default storage class, which may or may not be using a local path provisioner. + User is opting in to sub-optimal behavior if they leave this unset or set it without the + storage class field, and their cluster default is not a local path class.""" + retain: "BrokerRetainMessagesPolicy" + """Controls which topic's retained messages should be persisted to disk.""" + stateStore: "BrokerStateStorePolicy" + """Controls which keys should be persisted to disk for the state store.""" + subscriberQueue: "BrokerSubscriberQueuePolicy" + """Controls which subscriber message queues should be persisted to disk. Important: to facilitate + reconnection, session state metadata are ALWAYS written to disk if any persistence setting is + specified, even if this section isn't set.""" + encryption: "BrokerPersistenceEncryption" + """Controls settings related to encryption of the persistence database. Optional, defaults to + enabling encryption.""" + + +class BrokerPersistenceEncryption(TypedDict, total=False): + """Broker Persistence Encryption properties. + + :ivar mode: Determines if encryption is enabled. Required. Known values are: "Enabled" and + "Disabled". + :vartype mode: Union[str, "OperationalMode"] + """ + + mode: Required[Union[str, "OperationalMode"]] + """Determines if encryption is enabled. Required. Known values are: \"Enabled\" and \"Disabled\".""" + + +class BrokerProperties(TypedDict, total=False): + """Broker Resource properties. + + :ivar advanced: Advanced settings of Broker. + :vartype advanced: "AdvancedSettings" + :ivar cardinality: The cardinality details of the broker. + :vartype cardinality: "Cardinality" + :ivar diagnostics: Spec defines the desired identities of Broker diagnostics settings. + :vartype diagnostics: "BrokerDiagnostics" + :ivar disk_backed_message_buffer: Settings of Disk Backed Message Buffer. + :vartype disk_backed_message_buffer: "DiskBackedMessageBuffer" + :ivar generate_resource_limits: This setting controls whether Kubernetes CPU resource limits + are requested. Increasing the number of replicas or workers proportionally increases the amount + of CPU resources requested. If this setting is enabled and there are insufficient CPU + resources, an error will be emitted. + :vartype generate_resource_limits: "GenerateResourceLimits" + :ivar high_priority_messages_backpressure_handling: Handling of high-priority messages in the + event that regular-priority messages are being backpressured. + + When set to "Accept", the broker continues to accept high-priority messages even while + regular-priority messages are rejected due to backpressure. + + When set to "Reject", backpressure also affects high-priority messages. + + Defaults to "Accept". Known values are: "Accept" and "Reject". + :vartype high_priority_messages_backpressure_handling: Union[str, + "HighPriorityMessagesBackpressureHandling"] + :ivar memory_profile: Memory profile of Broker. Known values are: "Tiny", "Low", "Medium", and + "High". + :vartype memory_profile: Union[str, "BrokerMemoryProfile"] + :ivar persistence: The persistence settings of the Broker. + :vartype persistence: "BrokerPersistence" + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar status: The status for the broker. + :vartype status: "BrokerStatus" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + advanced: "AdvancedSettings" + """Advanced settings of Broker.""" + cardinality: "Cardinality" + """The cardinality details of the broker.""" + diagnostics: "BrokerDiagnostics" + """Spec defines the desired identities of Broker diagnostics settings.""" + diskBackedMessageBuffer: "DiskBackedMessageBuffer" + """Settings of Disk Backed Message Buffer.""" + generateResourceLimits: "GenerateResourceLimits" + """This setting controls whether Kubernetes CPU resource limits are requested. Increasing the + number of replicas or workers proportionally increases the amount of CPU resources requested. + If this setting is enabled and there are insufficient CPU resources, an error will be emitted.""" + highPriorityMessagesBackpressureHandling: Union[str, "HighPriorityMessagesBackpressureHandling"] + """ Handling of high-priority messages in the event that regular-priority messages are being + backpressured. + + When set to \"Accept\", the broker continues to accept high-priority messages even while + regular-priority messages are rejected due to backpressure. + + When set to \"Reject\", backpressure also affects high-priority messages. + + Defaults to \"Accept\". Known values are: \"Accept\" and \"Reject\".""" + memoryProfile: Union[str, "BrokerMemoryProfile"] + """Memory profile of Broker. Known values are: \"Tiny\", \"Low\", \"Medium\", and \"High\".""" + persistence: "BrokerPersistence" + """The persistence settings of the Broker.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + status: "BrokerStatus" + """The status for the broker.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class BrokerResource(ProxyResource): + """Instance broker resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "BrokerProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "BrokerProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class BrokerResourceRule(TypedDict, total=False): + """Broker Resource Rule properties. This defines the objects that represent the actions or topics, + such as - method.Connect, method.Publish, etc. + + :ivar method: Give access for a Broker method (i.e., Connect, Subscribe, or Publish). Required. + Known values are: "Connect", "Publish", and "Subscribe". + :vartype method: Union[str, "BrokerResourceDefinitionMethods"] + :ivar client_ids: A list of client IDs that match the clients. The client IDs are + case-sensitive and must match the client IDs provided by the clients during connection. This + subfield may be set if the method is Connect. + :vartype client_ids: list[str] + :ivar topics: A list of topics or topic patterns that match the topics that the clients can + publish or subscribe to. This subfield is required if the method is Publish or Subscribe. + :vartype topics: list[str] + """ + + method: Required[Union[str, "BrokerResourceDefinitionMethods"]] + """Give access for a Broker method (i.e., Connect, Subscribe, or Publish). Required. Known values + are: \"Connect\", \"Publish\", and \"Subscribe\".""" + clientIds: list[str] + """A list of client IDs that match the clients. The client IDs are case-sensitive and must match + the client IDs provided by the clients during connection. This subfield may be set if the + method is Connect.""" + topics: list[str] + """A list of topics or topic patterns that match the topics that the clients can publish or + subscribe to. This subfield is required if the method is Publish or Subscribe.""" + + +class BrokerRetainMessagesCustomPolicy(TypedDict, total=False): + """Custom Broker Retain Message Policy. + + :ivar mode: The mode of the policy. Required. Indicates that the policy is a custom policy. + :vartype mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + :ivar retain_settings: Settings for the policy. Required. + :vartype retain_settings: "BrokerRetainMessagesSettings" + """ + + mode: Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + """The mode of the policy. Required. Indicates that the policy is a custom policy.""" + retainSettings: Required["BrokerRetainMessagesSettings"] + """Settings for the policy. Required.""" + + +class BrokerRetainMessagesDynamic(TypedDict, total=False): + """Dynamic settings of BrokerRetainMessagesCustomPolicy. + + :ivar mode: Mode of the BrokerRetainMessagesCustomPolicy. Required. Known values are: "Enabled" + and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + """ + + mode: Required[Union[str, "OperationalMode"]] + """Mode of the BrokerRetainMessagesCustomPolicy. Required. Known values are: \"Enabled\" and + \"Disabled\".""" + + +class BrokerRetainMessagesSettings(TypedDict, total=False): + """Broker Retain Messages properties. + + :ivar topics: List of topics under which retained messages would be persisted to disk. + Wildcards # and + supported. + :vartype topics: list[str] + :ivar dynamic: Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user + property. Works in addition to other groups (logical OR). + :vartype dynamic: "BrokerRetainMessagesDynamic" + """ + + topics: list[str] + """List of topics under which retained messages would be persisted to disk. Wildcards # and + + supported.""" + dynamic: "BrokerRetainMessagesDynamic" + """Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user property. Works + in addition to other groups (logical OR).""" + + +class BrokerStateStoreCustomPolicy(TypedDict, total=False): + """Broker State Store Custom Policy. + + :ivar mode: The mode of the policy. Required. Indicates that the policy is a custom policy. + :vartype mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + :ivar state_store_settings: Settings for the policy. Required. + :vartype state_store_settings: "BrokerStateStorePolicySettings" + """ + + mode: Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + """The mode of the policy. Required. Indicates that the policy is a custom policy.""" + stateStoreSettings: Required["BrokerStateStorePolicySettings"] + """Settings for the policy. Required.""" + + +class BrokerStateStoreDynamic(TypedDict, total=False): + """Dynamic settings of BrokerStateStoreCustomPolicy. + + :ivar mode: Mode of the BrokerStateStoreCustomPolicy. Required. Known values are: "Enabled" and + "Disabled". + :vartype mode: Union[str, "OperationalMode"] + """ + + mode: Required[Union[str, "OperationalMode"]] + """Mode of the BrokerStateStoreCustomPolicy. Required. Known values are: \"Enabled\" and + \"Disabled\".""" + + +class BrokerStateStorePolicyResources(TypedDict, total=False): + """Broker State Store Policy Resources properties. + + :ivar key_type: The key to persist to disk. Required. Known values are: "Pattern", "String", + and "Binary". + :vartype key_type: Union[str, "BrokerStateStoreKeyType"] + :ivar keys_property: List of keys to persist to disk, required. Required. + :vartype keys_property: list[str] + """ + + keyType: Required[Union[str, "BrokerStateStoreKeyType"]] + """The key to persist to disk. Required. Known values are: \"Pattern\", \"String\", and + \"Binary\".""" + keys: Required[list[str]] + """List of keys to persist to disk, required. Required.""" + + +class BrokerStateStorePolicySettings(TypedDict, total=False): + """Broker State Store Custom Policy Settings. + + :ivar state_store_resources: List of key and key type to persist to disk. + :vartype state_store_resources: list["BrokerStateStorePolicyResources"] + :ivar dynamic: Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user + property. Works in addition to other groups (logical OR). + :vartype dynamic: "BrokerStateStoreDynamic" + """ + + stateStoreResources: list["BrokerStateStorePolicyResources"] + """List of key and key type to persist to disk.""" + dynamic: "BrokerStateStoreDynamic" + """Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user property. Works + in addition to other groups (logical OR).""" + + +class BrokerStatus(TypedDict, total=False): + """BrokerStatus status. + + :ivar health_state: The health state of the Broker. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the Broker.""" + + +class BrokerSubscriberQueueCustomPolicy(TypedDict, total=False): + """Custom Subscriber Queue Policy Properties. + + :ivar mode: The mode of the policy. Required. Indicates that the policy is a custom policy. + :vartype mode: Literal[BrokerPersistencePolicyMode.CUSTOM] + :ivar subscriber_queue_settings: Custom policy, required if mode is Custom. Subscriber queues + from all groups are persisted to disk (logical OR). Required. + :vartype subscriber_queue_settings: "BrokerSubscriberQueueCustomPolicySettings" + """ + + mode: Required[Literal[BrokerPersistencePolicyMode.CUSTOM]] + """The mode of the policy. Required. Indicates that the policy is a custom policy.""" + subscriberQueueSettings: Required["BrokerSubscriberQueueCustomPolicySettings"] + """Custom policy, required if mode is Custom. Subscriber queues from all groups are persisted to + disk (logical OR). Required.""" + + +class BrokerSubscriberQueueCustomPolicySettings(TypedDict, total=False): # pylint: disable=name-too-long + """Broker Subscriber Queue Custom Policy properties. + + :ivar subscriber_client_ids: List of client IDs of the subscribers, wildcard * supported. + :vartype subscriber_client_ids: list[str] + :ivar dynamic: Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user + property. Works in addition to other groups (logical OR). + :vartype dynamic: "BrokerSubscriberQueueDynamic" + """ + + subscriberClientIds: list[str] + """List of client IDs of the subscribers, wildcard * supported.""" + dynamic: "BrokerSubscriberQueueDynamic" + """Controls if MQTT clients can request for disk persistence via ``MQTTv5`` user property. Works + in addition to other groups (logical OR).""" + + +class BrokerSubscriberQueueDynamic(TypedDict, total=False): + """Dynamic settings of BrokerSubscriberQueueCustomPolicy. + + :ivar mode: Mode of the BrokerSubscriberQueueCustomPolicy. Required. Known values are: + "Enabled" and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + """ + + mode: Required[Union[str, "OperationalMode"]] + """Mode of the BrokerSubscriberQueueCustomPolicy. Required. Known values are: \"Enabled\" and + \"Disabled\".""" + + +class Cardinality(TypedDict, total=False): + """Cardinality properties. + + :ivar backend_chain: The backend broker desired properties. Required. + :vartype backend_chain: "BackendChain" + :ivar frontend: The frontend desired properties. Required. + :vartype frontend: "Frontend" + """ + + backendChain: Required["BackendChain"] + """The backend broker desired properties. Required.""" + frontend: Required["Frontend"] + """The frontend desired properties. Required.""" + + +class CertManagerCertificateSpec(TypedDict, total=False): + """Automatic TLS server certificate management with cert-manager. + + :ivar duration: Lifetime of certificate. Must be specified using a Go time.Duration format + (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. + :vartype duration: str + :ivar secret_name: Secret for storing server certificate. Any existing data will be + overwritten. This is a reference to the secret through an identifying name, not the secret + itself. + :vartype secret_name: str + :ivar renew_before: When to begin renewing certificate. Must be specified using a Go + time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. + :vartype renew_before: str + :ivar issuer_ref: cert-manager issuerRef. Required. + :vartype issuer_ref: "CertManagerIssuerRef" + :ivar private_key: Type of certificate private key. + :vartype private_key: "CertManagerPrivateKey" + :ivar san: Additional Subject Alternative Names (SANs) to include in the certificate. + :vartype san: "SanForCert" + """ + + duration: str + """Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h + for 240 hours and 45m for 45 minutes.""" + secretName: str + """Secret for storing server certificate. Any existing data will be overwritten. This is a + reference to the secret through an identifying name, not the secret itself.""" + renewBefore: str + """When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). + E.g. 240h for 240 hours and 45m for 45 minutes.""" + issuerRef: Required["CertManagerIssuerRef"] + """cert-manager issuerRef. Required.""" + privateKey: "CertManagerPrivateKey" + """Type of certificate private key.""" + san: "SanForCert" + """Additional Subject Alternative Names (SANs) to include in the certificate.""" + + +class CertManagerCertOptions(TypedDict, total=False): + """Cert Manager Cert properties. + + :ivar duration: Lifetime of certificate. Must be specified using a Go time.Duration format + (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. Required. + :vartype duration: str + :ivar renew_before: When to begin renewing certificate. Must be specified using a Go + time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. Required. + :vartype renew_before: str + :ivar private_key: Configuration of certificate private key. Required. + :vartype private_key: "CertManagerPrivateKey" + """ + + duration: Required[str] + """Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h + for 240 hours and 45m for 45 minutes. Required.""" + renewBefore: Required[str] + """When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). + E.g. 240h for 240 hours and 45m for 45 minutes. Required.""" + privateKey: Required["CertManagerPrivateKey"] + """Configuration of certificate private key. Required.""" + + +class CertManagerIssuerRef(TypedDict, total=False): + """Cert-Manager issuerRef properties. + + :ivar group: group of issuer. Required. + :vartype group: str + :ivar kind: kind of issuer (Issuer or ClusterIssuer). Required. Known values are: "Issuer" and + "ClusterIssuer". + :vartype kind: Union[str, "CertManagerIssuerKind"] + :ivar name: name of issuer. Required. + :vartype name: str + """ + + group: Required[str] + """group of issuer. Required.""" + kind: Required[Union[str, "CertManagerIssuerKind"]] + """kind of issuer (Issuer or ClusterIssuer). Required. Known values are: \"Issuer\" and + \"ClusterIssuer\".""" + name: Required[str] + """name of issuer. Required.""" + + +class CertManagerPrivateKey(TypedDict, total=False): + """Cert Manager private key properties. + + :ivar algorithm: algorithm for private key. Required. Known values are: "Ec256", "Ec384", + "Ec521", "Ed25519", "Rsa2048", "Rsa4096", and "Rsa8192". + :vartype algorithm: Union[str, "PrivateKeyAlgorithm"] + :ivar rotation_policy: cert-manager private key rotationPolicy. Required. Known values are: + "Always" and "Never". + :vartype rotation_policy: Union[str, "PrivateKeyRotationPolicy"] + """ + + algorithm: Required[Union[str, "PrivateKeyAlgorithm"]] + """algorithm for private key. Required. Known values are: \"Ec256\", \"Ec384\", \"Ec521\", + \"Ed25519\", \"Rsa2048\", \"Rsa4096\", and \"Rsa8192\".""" + rotationPolicy: Required[Union[str, "PrivateKeyRotationPolicy"]] + """cert-manager private key rotationPolicy. Required. Known values are: \"Always\" and \"Never\".""" + + +class ClientConfig(TypedDict, total=False): + """The settings of Client Config. + + :ivar max_session_expiry_seconds: Upper bound of Session Expiry Interval, in seconds. + :vartype max_session_expiry_seconds: int + :ivar max_message_expiry_seconds: Upper bound of Message Expiry Interval, in seconds. + :vartype max_message_expiry_seconds: int + :ivar max_packet_size_bytes: Max message size for a packet in Bytes. + :vartype max_packet_size_bytes: int + :ivar subscriber_queue_limit: The limit on the number of queued messages for a subscriber. + :vartype subscriber_queue_limit: "SubscriberQueueLimit" + :ivar max_receive_maximum: Upper bound of Receive Maximum that a client can request in the + CONNECT packet. + :vartype max_receive_maximum: int + :ivar max_keep_alive_seconds: Upper bound of a client's Keep Alive, in seconds. + :vartype max_keep_alive_seconds: int + """ + + maxSessionExpirySeconds: int + """Upper bound of Session Expiry Interval, in seconds.""" + maxMessageExpirySeconds: int + """Upper bound of Message Expiry Interval, in seconds.""" + maxPacketSizeBytes: int + """Max message size for a packet in Bytes.""" + subscriberQueueLimit: "SubscriberQueueLimit" + """The limit on the number of queued messages for a subscriber.""" + maxReceiveMaximum: int + """Upper bound of Receive Maximum that a client can request in the CONNECT packet.""" + maxKeepAliveSeconds: int + """Upper bound of a client's Keep Alive, in seconds.""" + + +class DataflowBuiltInTransformationDataset(TypedDict, total=False): + """Dataflow BuiltIn Transformation dataset properties. + + :ivar key: The key of the dataset. Required. + :vartype key: str + :ivar description: A user provided optional description of the dataset. + :vartype description: str + :ivar schema_ref: The reference to the schema that describes the dataset. Allowed: JSON + Schema/draft-7. + :vartype schema_ref: str + :ivar inputs: List of fields for enriching from the Broker State Store. Required. + :vartype inputs: list[str] + :ivar expression: Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 + (Assuming inputs section $1 and $2 are provided). + :vartype expression: str + """ + + key: Required[str] + """The key of the dataset. Required.""" + description: str + """A user provided optional description of the dataset.""" + schemaRef: str + """The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.""" + inputs: Required[list[str]] + """List of fields for enriching from the Broker State Store. Required.""" + expression: str + """Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs + section $1 and $2 are provided).""" + + +class DataflowBuiltInTransformationFilter(TypedDict, total=False): + """Dataflow BuiltIn Transformation filter properties. + + :ivar type: The type of dataflow operation. "Filter" + :vartype type: Union[str, "FilterType"] + :ivar description: A user provided optional description of the filter. + :vartype description: str + :ivar inputs: List of fields for filtering in JSON path expression. Required. + :vartype inputs: list[str] + :ivar expression: Condition to filter data. Can reference input fields with {n} where n is the + index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section + $1 and $2 are provided). Required. + :vartype expression: str + """ + + type: Union[str, "FilterType"] + """The type of dataflow operation. \"Filter\"""" + description: str + """A user provided optional description of the filter.""" + inputs: Required[list[str]] + """List of fields for filtering in JSON path expression. Required.""" + expression: Required[str] + """Condition to filter data. Can reference input fields with {n} where n is the index of the input + field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are + provided). Required.""" + + +class DataflowBuiltInTransformationMap(TypedDict, total=False): + """Dataflow BuiltIn Transformation map properties. + + :ivar type: Type of transformation. Known values are: "NewProperties", "Rename", "Compute", + "PassThrough", and "BuiltInFunction". + :vartype type: Union[str, "DataflowMappingType"] + :ivar description: A user provided optional description of the mapping function. + :vartype description: str + :ivar inputs: List of fields for mapping in JSON path expression. Required. + :vartype inputs: list[str] + :ivar expression: Modify the inputs field(s) to the final output field. Example: $1 * 2.2 + (Assuming inputs section $1 is provided). + :vartype expression: str + :ivar output: Where and how the input fields to be organized in the output record. Required. + :vartype output: str + """ + + type: Union[str, "DataflowMappingType"] + """Type of transformation. Known values are: \"NewProperties\", \"Rename\", \"Compute\", + \"PassThrough\", and \"BuiltInFunction\".""" + description: str + """A user provided optional description of the mapping function.""" + inputs: Required[list[str]] + """List of fields for mapping in JSON path expression. Required.""" + expression: str + """Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs + section $1 is provided).""" + output: Required[str] + """Where and how the input fields to be organized in the output record. Required.""" + + +class DataflowBuiltInTransformationSettings(TypedDict, total=False): + """Dataflow BuiltIn Transformation properties. + + :ivar serialization_format: Serialization format. Optional; defaults to JSON. Allowed value + JSON Schema/draft-7, Parquet. Default: Json. Known values are: "Delta", "Json", and "Parquet". + :vartype serialization_format: Union[str, "TransformationSerializationFormat"] + :ivar schema_ref: Reference to the schema that describes the output of the transformation. + :vartype schema_ref: str + :ivar datasets: Enrich data from Broker State Store. Dataset references a key in Broker State + Store. + :vartype datasets: list["DataflowBuiltInTransformationDataset"] + :ivar filter: Filters input record or datapoints based on condition. + :vartype filter: list["DataflowBuiltInTransformationFilter"] + :ivar map: Maps input to output message. + :vartype map: list["DataflowBuiltInTransformationMap"] + """ + + serializationFormat: Union[str, "TransformationSerializationFormat"] + """Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. + Default: Json. Known values are: \"Delta\", \"Json\", and \"Parquet\".""" + schemaRef: str + """Reference to the schema that describes the output of the transformation.""" + datasets: list["DataflowBuiltInTransformationDataset"] + """Enrich data from Broker State Store. Dataset references a key in Broker State Store.""" + filter: list["DataflowBuiltInTransformationFilter"] + """Filters input record or datapoints based on condition.""" + map: list["DataflowBuiltInTransformationMap"] + """Maps input to output message.""" + + +class DataflowDestinationAddIfNotPresentHeaderAction(TypedDict, total=False): # pylint: disable=name-too-long + """Dataflow Destination Add if not present HeaderAction properties. + + :ivar action_type: The type of header operation to perform. Required. Add if not present type. + :vartype action_type: Literal[DataflowHeaderActionType.ADD_IF_NOT_PRESENT] + :ivar key: The name of the header to add. Required. + :vartype key: str + :ivar value: The value of the header to add. Required. + :vartype value: str + """ + + actionType: Required[Literal[DataflowHeaderActionType.ADD_IF_NOT_PRESENT]] + """The type of header operation to perform. Required. Add if not present type.""" + key: Required[str] + """The name of the header to add. Required.""" + value: Required[str] + """The value of the header to add. Required.""" + + +class DataflowDestinationAddOrReplaceHeaderAction(TypedDict, total=False): # pylint: disable=name-too-long + """Dataflow Destination Add or Replace HeaderAction properties. + + :ivar action_type: The type of header operation to perform. Required. Add or Replace type. + :vartype action_type: Literal[DataflowHeaderActionType.ADD_OR_REPLACE] + :ivar key: The name of the header to add or replace. Required. + :vartype key: str + :ivar value: The value of the header to add or replace. Required. + :vartype value: str + """ + + actionType: Required[Literal[DataflowHeaderActionType.ADD_OR_REPLACE]] + """The type of header operation to perform. Required. Add or Replace type.""" + key: Required[str] + """The name of the header to add or replace. Required.""" + value: Required[str] + """The value of the header to add or replace. Required.""" + + +class DataflowDestinationOperationSettings(TypedDict, total=False): + """Dataflow Destination Operation properties. + + :ivar endpoint_ref: Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX + type. Required. + :vartype endpoint_ref: str + :ivar data_destination: Destination location, can be a topic or table name. Supports dynamic + values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription. + Required. + :vartype data_destination: str + :ivar headers: Headers for the output data. + :vartype headers: list["DataflowDestinationHeaderAction"] + """ + + endpointRef: Required[str] + """Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type. Required.""" + dataDestination: Required[str] + """Destination location, can be a topic or table name. Supports dynamic values with $topic, + $systemProperties, $userProperties, $payload, $context, and $subscription. Required.""" + headers: list["DataflowDestinationHeaderAction"] + """Headers for the output data.""" + + +class DataflowDestinationRemoveHeaderAction(TypedDict, total=False): + """Dataflow Destination Remove HeaderAction properties. + + :ivar action_type: The type of header operation to perform. Required. Remove type. + :vartype action_type: Literal[DataflowHeaderActionType.REMOVE] + :ivar key: The name of the header to remove. Required. + :vartype key: str + """ + + actionType: Required[Literal[DataflowHeaderActionType.REMOVE]] + """The type of header operation to perform. Required. Remove type.""" + key: Required[str] + """The name of the header to remove. Required.""" + + +class DataflowEndpointAuthenticationAccessToken(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowEndpoint Authentication Access Token properties. + + :ivar secret_ref: Token secret name. Required. + :vartype secret_ref: str + """ + + secretRef: Required[str] + """Token secret name. Required.""" + + +class DataflowEndpointAuthenticationAnonymous(TypedDict, total=False): + """DataflowEndpoint Anonymous Authentication properties.""" + + +class DataflowEndpointAuthenticationSasl(TypedDict, total=False): + """DataflowEndpoint Authentication Sasl properties. + + :ivar sasl_type: Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512. + Required. Known values are: "Plain", "ScramSha256", and "ScramSha512". + :vartype sasl_type: Union[str, "DataflowEndpointAuthenticationSaslType"] + :ivar secret_ref: Token secret name. Required. + :vartype secret_ref: str + """ + + saslType: Required[Union[str, "DataflowEndpointAuthenticationSaslType"]] + """Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512. Required. Known + values are: \"Plain\", \"ScramSha256\", and \"ScramSha512\".""" + secretRef: Required[str] + """Token secret name. Required.""" + + +class DataflowEndpointAuthenticationServiceAccountToken(TypedDict, total=False): # pylint: disable=name-too-long + """Service Account Token for BrokerAuthentication. + + :ivar audience: Audience of the service account. Optional, defaults to the broker internal + service account audience. Required. + :vartype audience: str + """ + + audience: Required[str] + """Audience of the service account. Optional, defaults to the broker internal service account + audience. Required.""" + + +class DataflowEndpointAuthenticationSystemAssignedManagedIdentity( + TypedDict, total=False +): # pylint: disable=name-too-long + """DataflowEndpoint Authentication SystemAssignedManagedIdentity properties. + + :ivar audience: Audience of the service to authenticate against. Optional; defaults to the + audience for Service host configuration. + :vartype audience: str + """ + + audience: str + """Audience of the service to authenticate against. Optional; defaults to the audience for Service + host configuration.""" + + +class DataflowEndpointAuthenticationUserAssignedManagedIdentity( + TypedDict, total=False +): # pylint: disable=name-too-long + """DataflowEndpoint Authentication UserAssignedManagedIdentity properties. + + :ivar client_id: Client ID for the user-assigned managed identity. Required. + :vartype client_id: str + :ivar scope: Resource identifier (application ID URI) of the resource, affixed with the + .default suffix. + :vartype scope: str + :ivar tenant_id: Tenant ID. Required. + :vartype tenant_id: str + """ + + clientId: Required[str] + """Client ID for the user-assigned managed identity. Required.""" + scope: str + """Resource identifier (application ID URI) of the resource, affixed with the .default suffix.""" + tenantId: Required[str] + """Tenant ID. Required.""" + + +class DataflowEndpointAuthenticationX509(TypedDict, total=False): + """DataflowEndpoint Authentication X509 properties. + + :ivar secret_ref: Secret reference of the X.509 certificate. Required. + :vartype secret_ref: str + """ + + secretRef: Required[str] + """Secret reference of the X.509 certificate. Required.""" + + +class DataflowEndpointDataExplorer(TypedDict, total=False): + """Azure Data Explorer endpoint properties. + + :ivar authentication: Authentication configuration. NOTE - only authentication property is + allowed per entry. Required. + :vartype authentication: "DataflowEndpointDataExplorerAuthentication" + :ivar database: Database name. Required. + :vartype database: str + :ivar host: Host of the Azure Data Explorer in the form of ..kusto.windows.net + . Required. + :vartype host: str + :ivar batching: Azure Data Explorer endpoint batching configuration. + :vartype batching: "BatchingConfiguration" + """ + + authentication: Required["DataflowEndpointDataExplorerAuthentication"] + """Authentication configuration. NOTE - only authentication property is allowed per entry. + Required.""" + database: Required[str] + """Database name. Required.""" + host: Required[str] + """Host of the Azure Data Explorer in the form of ..kusto.windows.net . Required.""" + batching: "BatchingConfiguration" + """Azure Data Explorer endpoint batching configuration.""" + + +class DataflowEndpointDataExplorerAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed + per entry. + + :ivar method: Mode of Authentication. Required. Known values are: + "SystemAssignedManagedIdentity" and "UserAssignedManagedIdentity". + :vartype method: Union[str, "DataExplorerAuthMethod"] + :ivar system_assigned_managed_identity_settings: System-assigned managed identity + authentication. + :vartype system_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + :ivar user_assigned_managed_identity_settings: User-assigned managed identity authentication. + :vartype user_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """ + + method: Required[Union[str, "DataExplorerAuthMethod"]] + """Mode of Authentication. Required. Known values are: \"SystemAssignedManagedIdentity\" and + \"UserAssignedManagedIdentity\".""" + systemAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + """System-assigned managed identity authentication.""" + userAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """User-assigned managed identity authentication.""" + + +class DataflowEndpointDataLakeStorage(TypedDict, total=False): + """Azure Data Lake endpoint properties. + + :ivar authentication: Authentication configuration. NOTE - only authentication property is + allowed per entry. Required. + :vartype authentication: "DataflowEndpointDataLakeStorageAuthentication" + :ivar host: Host of the Azure Data Lake in the form of .blob.core.windows.net . + Required. + :vartype host: str + :ivar batching: Azure Data Lake endpoint batching configuration. + :vartype batching: "BatchingConfiguration" + """ + + authentication: Required["DataflowEndpointDataLakeStorageAuthentication"] + """Authentication configuration. NOTE - only authentication property is allowed per entry. + Required.""" + host: Required[str] + """Host of the Azure Data Lake in the form of .blob.core.windows.net . Required.""" + batching: "BatchingConfiguration" + """Azure Data Lake endpoint batching configuration.""" + + +class DataflowEndpointDataLakeStorageAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """Azure Data Lake endpoint Authentication properties. NOTE Enum - Only one method is supported + for one entry. + + :ivar method: Mode of Authentication. Required. Known values are: + "SystemAssignedManagedIdentity", "UserAssignedManagedIdentity", and "AccessToken". + :vartype method: Union[str, "DataLakeStorageAuthMethod"] + :ivar access_token_settings: SAS token authentication. + :vartype access_token_settings: "DataflowEndpointAuthenticationAccessToken" + :ivar system_assigned_managed_identity_settings: System-assigned managed identity + authentication. + :vartype system_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + :ivar user_assigned_managed_identity_settings: User-assigned managed identity authentication. + :vartype user_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """ + + method: Required[Union[str, "DataLakeStorageAuthMethod"]] + """Mode of Authentication. Required. Known values are: \"SystemAssignedManagedIdentity\", + \"UserAssignedManagedIdentity\", and \"AccessToken\".""" + accessTokenSettings: "DataflowEndpointAuthenticationAccessToken" + """SAS token authentication.""" + systemAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + """System-assigned managed identity authentication.""" + userAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """User-assigned managed identity authentication.""" + + +class DataflowEndpointFabricOneLake(TypedDict, total=False): + """Microsoft Fabric endpoint properties. + + :ivar authentication: Authentication configuration. NOTE - only one authentication property is + allowed per entry. Required. + :vartype authentication: "DataflowEndpointFabricOneLakeAuthentication" + :ivar names: Names of the workspace and lakehouse. Required. + :vartype names: "DataflowEndpointFabricOneLakeNames" + :ivar one_lake_path_type: Type of location of the data in the workspace. Can be either tables + or files. Required. Known values are: "Files" and "Tables". + :vartype one_lake_path_type: Union[str, "DataflowEndpointFabricPathType"] + :ivar host: Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com. + Required. + :vartype host: str + :ivar batching: Batching configuration. + :vartype batching: "BatchingConfiguration" + """ + + authentication: Required["DataflowEndpointFabricOneLakeAuthentication"] + """Authentication configuration. NOTE - only one authentication property is allowed per entry. + Required.""" + names: Required["DataflowEndpointFabricOneLakeNames"] + """Names of the workspace and lakehouse. Required.""" + oneLakePathType: Required[Union[str, "DataflowEndpointFabricPathType"]] + """Type of location of the data in the workspace. Can be either tables or files. Required. Known + values are: \"Files\" and \"Tables\".""" + host: Required[str] + """Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com. Required.""" + batching: "BatchingConfiguration" + """Batching configuration.""" + + +class DataflowEndpointFabricOneLakeAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """Microsoft Fabric endpoint. Authentication properties. NOTE - Only one method is supported for + one entry. + + :ivar method: Mode of Authentication. Required. Known values are: + "SystemAssignedManagedIdentity" and "UserAssignedManagedIdentity". + :vartype method: Union[str, "FabricOneLakeAuthMethod"] + :ivar system_assigned_managed_identity_settings: System-assigned managed identity + authentication. + :vartype system_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + :ivar user_assigned_managed_identity_settings: User-assigned managed identity authentication. + :vartype user_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """ + + method: Required[Union[str, "FabricOneLakeAuthMethod"]] + """Mode of Authentication. Required. Known values are: \"SystemAssignedManagedIdentity\" and + \"UserAssignedManagedIdentity\".""" + systemAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + """System-assigned managed identity authentication.""" + userAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """User-assigned managed identity authentication.""" + + +class DataflowEndpointFabricOneLakeNames(TypedDict, total=False): + """Microsoft Fabric endpoint Names properties. + + :ivar lakehouse_name: Lakehouse name. Required. + :vartype lakehouse_name: str + :ivar workspace_name: Workspace name. Required. + :vartype workspace_name: str + """ + + lakehouseName: Required[str] + """Lakehouse name. Required.""" + workspaceName: Required[str] + """Workspace name. Required.""" + + +class DataflowEndpointKafka(TypedDict, total=False): + """Kafka endpoint properties. + + :ivar authentication: Authentication configuration. NOTE - only authentication property is + allowed per entry. Required. + :vartype authentication: "DataflowEndpointKafkaAuthentication" + :ivar consumer_group_id: Consumer group ID. + :vartype consumer_group_id: str + :ivar host: Kafka endpoint host. Required. + :vartype host: str + :ivar batching: Batching configuration. + :vartype batching: "DataflowEndpointKafkaBatching" + :ivar copy_mqtt_properties: Copy Broker properties. No effect if the endpoint is used as a + source or if the dataflow doesn't have an Broker source. Known values are: "Enabled" and + "Disabled". + :vartype copy_mqtt_properties: Union[str, "OperationalMode"] + :ivar compression: Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is + used as a source. Known values are: "None", "Gzip", "Snappy", and "Lz4". + :vartype compression: Union[str, "DataflowEndpointKafkaCompression"] + :ivar kafka_acks: Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a + source. Known values are: "Zero", "One", and "All". + :vartype kafka_acks: Union[str, "DataflowEndpointKafkaAcks"] + :ivar partition_strategy: Partition handling strategy. Can be default or static. No effect if + the endpoint is used as a source. Known values are: "Default", "Static", "Topic", and + "Property". + :vartype partition_strategy: Union[str, "DataflowEndpointKafkaPartitionStrategy"] + :ivar tls: TLS configuration. + :vartype tls: "TlsProperties" + :ivar cloud_event_attributes: Cloud event mapping config. Known values are: "Propagate" and + "CreateOrRemap". + :vartype cloud_event_attributes: Union[str, "CloudEventAttributeType"] + """ + + authentication: Required["DataflowEndpointKafkaAuthentication"] + """Authentication configuration. NOTE - only authentication property is allowed per entry. + Required.""" + consumerGroupId: str + """Consumer group ID.""" + host: Required[str] + """Kafka endpoint host. Required.""" + batching: "DataflowEndpointKafkaBatching" + """Batching configuration.""" + copyMqttProperties: Union[str, "OperationalMode"] + """Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow + doesn't have an Broker source. Known values are: \"Enabled\" and \"Disabled\".""" + compression: Union[str, "DataflowEndpointKafkaCompression"] + """Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source. + Known values are: \"None\", \"Gzip\", \"Snappy\", and \"Lz4\".""" + kafkaAcks: Union[str, "DataflowEndpointKafkaAcks"] + """Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source. Known + values are: \"Zero\", \"One\", and \"All\".""" + partitionStrategy: Union[str, "DataflowEndpointKafkaPartitionStrategy"] + """Partition handling strategy. Can be default or static. No effect if the endpoint is used as a + source. Known values are: \"Default\", \"Static\", \"Topic\", and \"Property\".""" + tls: "TlsProperties" + """TLS configuration.""" + cloudEventAttributes: Union[str, "CloudEventAttributeType"] + """Cloud event mapping config. Known values are: \"Propagate\" and \"CreateOrRemap\".""" + + +class DataflowEndpointKafkaAuthentication(TypedDict, total=False): + """Kafka endpoint Authentication properties. NOTE - only authentication property is allowed per + entry. + + :ivar method: Mode of Authentication. Required. Known values are: + "SystemAssignedManagedIdentity", "UserAssignedManagedIdentity", "Sasl", "X509Certificate", and + "Anonymous". + :vartype method: Union[str, "KafkaAuthMethod"] + :ivar system_assigned_managed_identity_settings: System-assigned managed identity + authentication. + :vartype system_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + :ivar user_assigned_managed_identity_settings: User-assigned managed identity authentication. + :vartype user_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + :ivar sasl_settings: SASL authentication. + :vartype sasl_settings: "DataflowEndpointAuthenticationSasl" + :ivar x509_certificate_settings: X.509 certificate authentication. + :vartype x509_certificate_settings: "DataflowEndpointAuthenticationX509" + """ + + method: Required[Union[str, "KafkaAuthMethod"]] + """Mode of Authentication. Required. Known values are: \"SystemAssignedManagedIdentity\", + \"UserAssignedManagedIdentity\", \"Sasl\", \"X509Certificate\", and \"Anonymous\".""" + systemAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + """System-assigned managed identity authentication.""" + userAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """User-assigned managed identity authentication.""" + saslSettings: "DataflowEndpointAuthenticationSasl" + """SASL authentication.""" + x509CertificateSettings: "DataflowEndpointAuthenticationX509" + """X.509 certificate authentication.""" + + +class DataflowEndpointKafkaBatching(TypedDict, total=False): + """Kafka endpoint Batching properties. + + :ivar mode: Mode for batching. Known values are: "Enabled" and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar latency_ms: Batching latency in milliseconds. + :vartype latency_ms: int + :ivar max_bytes: Maximum number of bytes in a batch. + :vartype max_bytes: int + :ivar max_messages: Maximum number of messages in a batch. + :vartype max_messages: int + """ + + mode: Union[str, "OperationalMode"] + """Mode for batching. Known values are: \"Enabled\" and \"Disabled\".""" + latencyMs: int + """Batching latency in milliseconds.""" + maxBytes: int + """Maximum number of bytes in a batch.""" + maxMessages: int + """Maximum number of messages in a batch.""" + + +class DataflowEndpointLocalStorage(TypedDict, total=False): + """Local persistent volume endpoint properties. + + :ivar persistent_volume_claim_ref: Persistent volume claim name. Required. + :vartype persistent_volume_claim_ref: str + """ + + persistentVolumeClaimRef: Required[str] + """Persistent volume claim name. Required.""" + + +class DataflowEndpointMqtt(TypedDict, total=False): + """Broker endpoint properties. + + :ivar authentication: authentication properties. DEFAULT: kubernetes.audience=aio-internal. + NOTE - Enum field only property is allowed. Required. + :vartype authentication: "DataflowEndpointMqttAuthentication" + :ivar client_id_prefix: Client ID prefix. Client ID generated by the dataflow is -TBD. + Optional; no prefix if omitted. + :vartype client_id_prefix: str + :ivar host: Host of the Broker in the form of :. Optional; connects to Broker + if omitted. + :vartype host: str + :ivar protocol: Enable or disable websockets. Known values are: "Mqtt" and "WebSockets". + :vartype protocol: Union[str, "BrokerProtocolType"] + :ivar keep_alive_seconds: Broker KeepAlive for connection in seconds. + :vartype keep_alive_seconds: int + :ivar retain: Whether or not to keep the retain setting. Known values are: "Keep" and "Never". + :vartype retain: Union[str, "MqttRetainType"] + :ivar max_inflight_messages: The max number of messages to keep in flight. For subscribe, this + is the receive maximum. For publish, this is the maximum number of messages to send before + waiting for an ack. + :vartype max_inflight_messages: int + :ivar qos: Qos for Broker connection. + :vartype qos: int + :ivar session_expiry_seconds: Session expiry in seconds. + :vartype session_expiry_seconds: int + :ivar tls: TLS configuration. + :vartype tls: "TlsProperties" + :ivar cloud_event_attributes: Cloud event mapping config. Known values are: "Propagate" and + "CreateOrRemap". + :vartype cloud_event_attributes: Union[str, "CloudEventAttributeType"] + """ + + authentication: Required["DataflowEndpointMqttAuthentication"] + """authentication properties. DEFAULT: kubernetes.audience=aio-internal. NOTE - Enum field only + property is allowed. Required.""" + clientIdPrefix: str + """Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if + omitted.""" + host: str + """Host of the Broker in the form of :. Optional; connects to Broker if omitted.""" + protocol: Union[str, "BrokerProtocolType"] + """Enable or disable websockets. Known values are: \"Mqtt\" and \"WebSockets\".""" + keepAliveSeconds: int + """Broker KeepAlive for connection in seconds.""" + retain: Union[str, "MqttRetainType"] + """Whether or not to keep the retain setting. Known values are: \"Keep\" and \"Never\".""" + maxInflightMessages: int + """The max number of messages to keep in flight. For subscribe, this is the receive maximum. For + publish, this is the maximum number of messages to send before waiting for an ack.""" + qos: int + """Qos for Broker connection.""" + sessionExpirySeconds: int + """Session expiry in seconds.""" + tls: "TlsProperties" + """TLS configuration.""" + cloudEventAttributes: Union[str, "CloudEventAttributeType"] + """Cloud event mapping config. Known values are: \"Propagate\" and \"CreateOrRemap\".""" + + +class DataflowEndpointMqttAuthentication(TypedDict, total=False): + """Mqtt endpoint Authentication properties. NOTE - only authentication property is allowed per + entry. + + :ivar method: Mode of Authentication. Required. Known values are: + "SystemAssignedManagedIdentity", "UserAssignedManagedIdentity", "ServiceAccountToken", + "X509Certificate", and "Anonymous". + :vartype method: Union[str, "MqttAuthMethod"] + :ivar system_assigned_managed_identity_settings: System-assigned managed identity + authentication. + :vartype system_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + :ivar user_assigned_managed_identity_settings: User-assigned managed identity authentication. + :vartype user_assigned_managed_identity_settings: + "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + :ivar service_account_token_settings: Kubernetes service account token authentication. Default + audience if not set is aio-internal. + :vartype service_account_token_settings: "DataflowEndpointAuthenticationServiceAccountToken" + :ivar x509_certificate_settings: X.509 certificate authentication. + :vartype x509_certificate_settings: "DataflowEndpointAuthenticationX509" + """ + + method: Required[Union[str, "MqttAuthMethod"]] + """Mode of Authentication. Required. Known values are: \"SystemAssignedManagedIdentity\", + \"UserAssignedManagedIdentity\", \"ServiceAccountToken\", \"X509Certificate\", and + \"Anonymous\".""" + systemAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationSystemAssignedManagedIdentity" + """System-assigned managed identity authentication.""" + userAssignedManagedIdentitySettings: "DataflowEndpointAuthenticationUserAssignedManagedIdentity" + """User-assigned managed identity authentication.""" + serviceAccountTokenSettings: "DataflowEndpointAuthenticationServiceAccountToken" + """Kubernetes service account token authentication. Default audience if not set is aio-internal.""" + x509CertificateSettings: "DataflowEndpointAuthenticationX509" + """X.509 certificate authentication.""" + + +class DataflowEndpointOpenTelemetry(TypedDict, total=False): + """OpenTelemetry endpoint properties. + + :ivar host: Host of the OpenTelemetry in the form of :. Required. + :vartype host: str + :ivar batching: Batching configuration. + :vartype batching: "BatchingConfiguration" + :ivar tls: TLS configuration. + :vartype tls: "TlsProperties" + :ivar authentication: Authentication properties for OpenTelemetry endpoints. Required. + :vartype authentication: "DataflowOpenTelemetryAuthentication" + """ + + host: Required[str] + """Host of the OpenTelemetry in the form of :. Required.""" + batching: "BatchingConfiguration" + """Batching configuration.""" + tls: "TlsProperties" + """TLS configuration.""" + authentication: Required["DataflowOpenTelemetryAuthentication"] + """Authentication properties for OpenTelemetry endpoints. Required.""" + + +class DataflowEndpointProperties(TypedDict, total=False): + """DataflowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one + Resource. + + :ivar endpoint_type: Endpoint Type. Required. Known values are: "DataExplorer", + "DataLakeStorage", "FabricOneLake", "Kafka", "LocalStorage", "Mqtt", and "OpenTelemetry". + :vartype endpoint_type: Union[str, "EndpointType"] + :ivar host_type: The type of the Kafka host. E.g FabricRT, EventGrid. Known values are: + "FabricRT", "EventGrid", "LocalBroker", "Eventhub", "CustomMqtt", and "CustomKafka". + :vartype host_type: Union[str, "DataflowEndpointHostType"] + :ivar data_explorer_settings: Azure Data Explorer endpoint. + :vartype data_explorer_settings: "DataflowEndpointDataExplorer" + :ivar data_lake_storage_settings: Azure Data Lake endpoint. + :vartype data_lake_storage_settings: "DataflowEndpointDataLakeStorage" + :ivar fabric_one_lake_settings: Microsoft Fabric endpoint. + :vartype fabric_one_lake_settings: "DataflowEndpointFabricOneLake" + :ivar kafka_settings: Kafka endpoint. + :vartype kafka_settings: "DataflowEndpointKafka" + :ivar local_storage_settings: Local persistent volume endpoint. + :vartype local_storage_settings: "DataflowEndpointLocalStorage" + :ivar mqtt_settings: Broker endpoint. + :vartype mqtt_settings: "DataflowEndpointMqtt" + :ivar open_telemetry_settings: OpenTelemetry endpoint. + :vartype open_telemetry_settings: "DataflowEndpointOpenTelemetry" + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + endpointType: Required[Union[str, "EndpointType"]] + """Endpoint Type. Required. Known values are: \"DataExplorer\", \"DataLakeStorage\", + \"FabricOneLake\", \"Kafka\", \"LocalStorage\", \"Mqtt\", and \"OpenTelemetry\".""" + hostType: Union[str, "DataflowEndpointHostType"] + """The type of the Kafka host. E.g FabricRT, EventGrid. Known values are: \"FabricRT\", + \"EventGrid\", \"LocalBroker\", \"Eventhub\", \"CustomMqtt\", and \"CustomKafka\".""" + dataExplorerSettings: "DataflowEndpointDataExplorer" + """Azure Data Explorer endpoint.""" + dataLakeStorageSettings: "DataflowEndpointDataLakeStorage" + """Azure Data Lake endpoint.""" + fabricOneLakeSettings: "DataflowEndpointFabricOneLake" + """Microsoft Fabric endpoint.""" + kafkaSettings: "DataflowEndpointKafka" + """Kafka endpoint.""" + localStorageSettings: "DataflowEndpointLocalStorage" + """Local persistent volume endpoint.""" + mqttSettings: "DataflowEndpointMqtt" + """Broker endpoint.""" + openTelemetrySettings: "DataflowEndpointOpenTelemetry" + """OpenTelemetry endpoint.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class DataflowEndpointResource(ProxyResource): + """Instance dataflowEndpoint resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "DataflowEndpointProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "DataflowEndpointProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class DataflowGraphConnectionInput(TypedDict, total=False): + """DataflowGraph DataflowGraphNode Connection Input. + + :ivar name: Name of the input node. Required. + :vartype name: str + :ivar schema: Schema settings for the input node. + :vartype schema: "DataflowGraphConnectionSchemaSettings" + """ + + name: Required[str] + """Name of the input node. Required.""" + schema: "DataflowGraphConnectionSchemaSettings" + """Schema settings for the input node.""" + + +class DataflowGraphConnectionOutput(TypedDict, total=False): + """DataflowGraph DataflowGraphNode Connection Output. + + :ivar name: Name of the destination node. Required. + :vartype name: str + """ + + name: Required[str] + """Name of the destination node. Required.""" + + +class DataflowGraphConnectionSchemaSettings(TypedDict, total=False): + """DataflowGraph connection node output schema settings. + + :ivar serialization_format: Output serialization format. Known values are: "Delta", "Json", + "Parquet", and "Avro". + :vartype serialization_format: Union[str, "DataflowGraphConnectionSchemaSerializationFormat"] + :ivar schema_ref: Reference to the schema that describes the output of the transformation. + :vartype schema_ref: str + """ + + serializationFormat: Union[str, "DataflowGraphConnectionSchemaSerializationFormat"] + """Output serialization format. Known values are: \"Delta\", \"Json\", \"Parquet\", and \"Avro\".""" + schemaRef: str + """Reference to the schema that describes the output of the transformation.""" + + +class DataflowGraphDestinationAddIfNotPresentHeaderAction(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowGraph Destination Add if not present HeaderAction properties. + + :ivar action_type: Required. Add if not present type. + :vartype action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_IF_NOT_PRESENT] + :ivar key: The name of the header to add. Required. + :vartype key: str + :ivar value: The value of the header to add. Required. + :vartype value: str + """ + + actionType: Required[Literal[DataflowGraphDestinationHeaderActionType.ADD_IF_NOT_PRESENT]] + """Required. Add if not present type.""" + key: Required[str] + """The name of the header to add. Required.""" + value: Required[str] + """The value of the header to add. Required.""" + + +class DataflowGraphDestinationAddOrReplaceHeaderAction(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowGraph Destination Add or Replace HeaderAction properties. + + :ivar action_type: Required. Add or Replace type. + :vartype action_type: Literal[DataflowGraphDestinationHeaderActionType.ADD_OR_REPLACE] + :ivar key: The name of the header to add or replace. Required. + :vartype key: str + :ivar value: The value of the header to add or replace. Required. + :vartype value: str + """ + + actionType: Required[Literal[DataflowGraphDestinationHeaderActionType.ADD_OR_REPLACE]] + """Required. Add or Replace type.""" + key: Required[str] + """The name of the header to add or replace. Required.""" + value: Required[str] + """The value of the header to add or replace. Required.""" + + +class DataflowGraphDestinationNode(TypedDict, total=False): + """DataflowGraph destination node properties. + + :ivar name: Name of the node. Required. + :vartype name: str + :ivar node_type: Type of the destination node. Required. Dataflow destination node. + :vartype node_type: Literal[DataflowGraphNodeType.DESTINATION] + :ivar destination_settings: Destination configuration. Required. + :vartype destination_settings: "DataflowGraphDestinationNodeSettings" + """ + + name: Required[str] + """Name of the node. Required.""" + nodeType: Required[Literal[DataflowGraphNodeType.DESTINATION]] + """Type of the destination node. Required. Dataflow destination node.""" + destinationSettings: Required["DataflowGraphDestinationNodeSettings"] + """Destination configuration. Required.""" + + +class DataflowGraphDestinationNodeSettings(TypedDict, total=False): + """DataflowGraph destination node settings. + + :ivar endpoint_ref: The name of the DataflowEndpoint resource . Required. + :vartype endpoint_ref: str + :ivar data_destination: Data destination at the endpoint. Required. + :vartype data_destination: str + :ivar headers: Headers for the output data. + :vartype headers: list["DataflowGraphDestinationHeaderAction"] + """ + + endpointRef: Required[str] + """The name of the DataflowEndpoint resource . Required.""" + dataDestination: Required[str] + """Data destination at the endpoint. Required.""" + headers: list["DataflowGraphDestinationHeaderAction"] + """Headers for the output data.""" + + +class DataflowGraphDestinationRemoveHeaderAction(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowGraph Destination Remove HeaderAction properties. + + :ivar action_type: Required. Remove type. + :vartype action_type: Literal[DataflowGraphDestinationHeaderActionType.REMOVE] + :ivar key: The name of the header to remove. Required. + :vartype key: str + """ + + actionType: Required[Literal[DataflowGraphDestinationHeaderActionType.REMOVE]] + """Required. Remove type.""" + key: Required[str] + """The name of the header to remove. Required.""" + + +class DataflowGraphGraphNode(TypedDict, total=False): + """DataflowGraph graph node properties. + + :ivar name: Name of the node. Required. + :vartype name: str + :ivar node_type: Type of the graph node. Required. Dataflow graph node. + :vartype node_type: Literal[DataflowGraphNodeType.GRAPH] + :ivar graph_settings: Graph configuration. Required. + :vartype graph_settings: "DataflowGraphNodeGraphSettings" + """ + + name: Required[str] + """Name of the node. Required.""" + nodeType: Required[Literal[DataflowGraphNodeType.GRAPH]] + """Type of the graph node. Required. Dataflow graph node.""" + graphSettings: Required["DataflowGraphNodeGraphSettings"] + """Graph configuration. Required.""" + + +class DataflowGraphGraphNodeConfiguration(TypedDict, total=False): + """DataflowGraph graph node configuration. + + :ivar key: Key of the configuration. Required. + :vartype key: str + :ivar value: Value of the configuration. Required. + :vartype value: str + """ + + key: Required[str] + """Key of the configuration. Required.""" + value: Required[str] + """Value of the configuration. Required.""" + + +DataflowGraphNodeConnection = TypedDict( + "DataflowGraphNodeConnection", + { + "from": Required["DataflowGraphConnectionInput"], + "to": Required["DataflowGraphConnectionOutput"], + }, + total=False, +) +DataflowGraphNodeConnection.__doc__ = """DataflowGraph DataflowGraphNode Connection. + +:ivar from_property: Information about the source node. Required. +:vartype from_property: "DataflowGraphConnectionInput" +:ivar to: Information about the destination node. Required. +:vartype to: "DataflowGraphConnectionOutput" +""" + + +class DataflowGraphNodeGraphSettings(TypedDict, total=False): + """DataflowGraph graph node settings. + + :ivar registry_endpoint_ref: Reference to the registry endpoint for pulling the artifact. + Required. + :vartype registry_endpoint_ref: str + :ivar artifact: The artifact name and version to pull. This should be in the format + ``:``. Required. + :vartype artifact: str + :ivar configuration: Configuration key-value pairs. + :vartype configuration: list["DataflowGraphGraphNodeConfiguration"] + """ + + registryEndpointRef: Required[str] + """Reference to the registry endpoint for pulling the artifact. Required.""" + artifact: Required[str] + """The artifact name and version to pull. This should be in the format + ``:``. Required.""" + configuration: list["DataflowGraphGraphNodeConfiguration"] + """Configuration key-value pairs.""" + + +class DataflowGraphProperties(TypedDict, total=False): + """DataflowGraph properties. + + :ivar mode: The mode of the dataflow graph. Known values are: "Enabled" and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar request_disk_persistence: Disk persistence mode. Known values are: "Enabled" and + "Disabled". + :vartype request_disk_persistence: Union[str, "OperationalMode"] + :ivar nodes: List of nodes in the dataflow graph. Required. + :vartype nodes: list["DataflowGraphNode"] + :ivar node_connections: List of connections between nodes in the dataflow graph. Required. + :vartype node_connections: list["DataflowGraphNodeConnection"] + :ivar provisioning_state: The provisioning state of the dataflow graph. Known values are: + "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar status: The status for the dataflow graph. + :vartype status: "DataflowGraphStatus" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + mode: Union[str, "OperationalMode"] + """The mode of the dataflow graph. Known values are: \"Enabled\" and \"Disabled\".""" + requestDiskPersistence: Union[str, "OperationalMode"] + """Disk persistence mode. Known values are: \"Enabled\" and \"Disabled\".""" + nodes: Required[list["DataflowGraphNode"]] + """List of nodes in the dataflow graph. Required.""" + nodeConnections: Required[list["DataflowGraphNodeConnection"]] + """List of connections between nodes in the dataflow graph. Required.""" + provisioningState: Union[str, "ProvisioningState"] + """The provisioning state of the dataflow graph. Known values are: \"Succeeded\", \"Failed\", + \"Canceled\", \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + status: "DataflowGraphStatus" + """The status for the dataflow graph.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class DataflowGraphResource(ProxyResource): + """Instance dataflowEndpoint resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "DataflowGraphProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "DataflowGraphProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class DataflowGraphSourceNode(TypedDict, total=False): + """DataflowGraph source node properties. + + :ivar name: Name of the node. Required. + :vartype name: str + :ivar node_type: Type of the source node. Required. Dataflow source node. + :vartype node_type: Literal[DataflowGraphNodeType.SOURCE] + :ivar source_settings: Source configuration. Required. + :vartype source_settings: "DataflowGraphSourceSettings" + """ + + name: Required[str] + """Name of the node. Required.""" + nodeType: Required[Literal[DataflowGraphNodeType.SOURCE]] + """Type of the source node. Required. Dataflow source node.""" + sourceSettings: Required["DataflowGraphSourceSettings"] + """Source configuration. Required.""" + + +class DataflowGraphSourceSettings(TypedDict, total=False): + """DataflowGraph source node settings. + + :ivar endpoint_ref: The endpoint reference for the source. Required. + :vartype endpoint_ref: str + :ivar data_sources: List of data sources. Required. + :vartype data_sources: list[str] + :ivar asset_ref: Reference to the resource in Azure Device Registry where the data in the + endpoint originates from. + :vartype asset_ref: str + """ + + endpointRef: Required[str] + """The endpoint reference for the source. Required.""" + dataSources: Required[list[str]] + """List of data sources. Required.""" + assetRef: str + """Reference to the resource in Azure Device Registry where the data in the endpoint originates + from.""" + + +class DataflowGraphStatus(TypedDict, total=False): + """DataflowGraph status. + + :ivar health_state: The health state of the DataflowGraph. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the DataflowGraph.""" + + +class DataflowOpenTelemetryAnonymousAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowOpenTelemetryAnonymousAuthentication properties. + + :ivar method: The authentication method. Required. Connects anonymously. + :vartype method: Literal[DataflowOpenTelemetryAuthenticationMethod.ANONYMOUS] + :ivar anonymous_settings: Settings for the anonymous connection. Required. + :vartype anonymous_settings: "DataflowEndpointAuthenticationAnonymous" + """ + + method: Required[Literal[DataflowOpenTelemetryAuthenticationMethod.ANONYMOUS]] + """The authentication method. Required. Connects anonymously.""" + anonymousSettings: Required["DataflowEndpointAuthenticationAnonymous"] + """Settings for the anonymous connection. Required.""" + + +class DataflowOpenTelemetryServiceAccountAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowOpenTelemetryServiceAccountAuthentication properties. + + :ivar method: The authentication method. Required. Uses serviceaccount token. + :vartype method: Literal[DataflowOpenTelemetryAuthenticationMethod.SERVICE_ACCOUNT_TOKEN] + :ivar service_account_token_settings: Kubernetes service account token authentication. + Required. + :vartype service_account_token_settings: "DataflowEndpointAuthenticationServiceAccountToken" + """ + + method: Required[Literal[DataflowOpenTelemetryAuthenticationMethod.SERVICE_ACCOUNT_TOKEN]] + """The authentication method. Required. Uses serviceaccount token.""" + serviceAccountTokenSettings: Required["DataflowEndpointAuthenticationServiceAccountToken"] + """Kubernetes service account token authentication. Required.""" + + +class DataflowOpenTelemetryX509CertificateAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """DataflowOpenTelemetryX509CertificateAuthentication properties. + + :ivar method: The authentication method. Required. Uses x509 certificate. + :vartype method: Literal[DataflowOpenTelemetryAuthenticationMethod.X509_CERTIFICATE] + :ivar x509_certificate_settings: X.509 certificate authentication settings. Required. + :vartype x509_certificate_settings: "DataflowEndpointAuthenticationX509" + """ + + method: Required[Literal[DataflowOpenTelemetryAuthenticationMethod.X509_CERTIFICATE]] + """The authentication method. Required. Uses x509 certificate.""" + x509CertificateSettings: Required["DataflowEndpointAuthenticationX509"] + """X.509 certificate authentication settings. Required.""" + + +class DataflowOperation(TypedDict, total=False): + """Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry. + + :ivar operation_type: Type of operation. Required. Known values are: "Source", "Destination", + and "BuiltInTransformation". + :vartype operation_type: Union[str, "OperationType"] + :ivar name: Optional user provided name of the transformation. + :vartype name: str + :ivar source_settings: Source configuration. + :vartype source_settings: "DataflowSourceOperationSettings" + :ivar built_in_transformation_settings: Built In Transformation configuration. + :vartype built_in_transformation_settings: "DataflowBuiltInTransformationSettings" + :ivar destination_settings: Destination configuration. + :vartype destination_settings: "DataflowDestinationOperationSettings" + """ + + operationType: Required[Union[str, "OperationType"]] + """Type of operation. Required. Known values are: \"Source\", \"Destination\", and + \"BuiltInTransformation\".""" + name: str + """Optional user provided name of the transformation.""" + sourceSettings: "DataflowSourceOperationSettings" + """Source configuration.""" + builtInTransformationSettings: "DataflowBuiltInTransformationSettings" + """Built In Transformation configuration.""" + destinationSettings: "DataflowDestinationOperationSettings" + """Destination configuration.""" + + +class DataflowProfileProperties(TypedDict, total=False): + """DataflowProfile Resource properties. + + :ivar diagnostics: Spec defines the desired identities of NBC diagnostics settings. + :vartype diagnostics: "ProfileDiagnostics" + :ivar instance_count: To manually scale the dataflow profile, specify the maximum number of + instances you want to run. + :vartype instance_count: int + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar status: The status for the dataflow profile. + :vartype status: "DataflowProfileStatus" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + diagnostics: "ProfileDiagnostics" + """Spec defines the desired identities of NBC diagnostics settings.""" + instanceCount: int + """To manually scale the dataflow profile, specify the maximum number of instances you want to + run.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + status: "DataflowProfileStatus" + """The status for the dataflow profile.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class DataflowProfileResource(ProxyResource): + """Instance dataflowProfile resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "DataflowProfileProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "DataflowProfileProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class DataflowProfileStatus(TypedDict, total=False): + """DataflowProfile status. + + :ivar health_state: The health state of the DataflowProfile. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the DataflowProfile.""" + + +class DataflowProperties(TypedDict, total=False): + """Dataflow Resource properties. + + :ivar mode: Mode for Dataflow. Optional; defaults to Enabled. Known values are: "Enabled" and + "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar request_disk_persistence: Disk persistence mode. Known values are: "Enabled" and + "Disabled". + :vartype request_disk_persistence: Union[str, "OperationalMode"] + :ivar operations: List of operations including source and destination references as well as + transformation. Required. + :vartype operations: list["DataflowOperation"] + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar status: The status for the dataflow. + :vartype status: "DataflowStatus" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + mode: Union[str, "OperationalMode"] + """Mode for Dataflow. Optional; defaults to Enabled. Known values are: \"Enabled\" and + \"Disabled\".""" + requestDiskPersistence: Union[str, "OperationalMode"] + """Disk persistence mode. Known values are: \"Enabled\" and \"Disabled\".""" + operations: Required[list["DataflowOperation"]] + """List of operations including source and destination references as well as transformation. + Required.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + status: "DataflowStatus" + """The status for the dataflow.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class DataflowResource(ProxyResource): + """Instance dataflowProfile dataflow resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "DataflowProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "DataflowProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class DataflowSourceOperationSettings(TypedDict, total=False): + """Dataflow Source Operation properties. + + :ivar endpoint_ref: Reference to the Dataflow Endpoint resource. Can only be of Broker and + Kafka type. Required. + :vartype endpoint_ref: str + :ivar asset_ref: Reference to the resource in Azure Device Registry where the data in the + endpoint originates from. + :vartype asset_ref: str + :ivar serialization_format: Content is a JSON Schema. Allowed: JSON Schema/draft-7. "Json" + :vartype serialization_format: Union[str, "SourceSerializationFormat"] + :ivar schema_ref: Schema CR reference. Data will be deserialized according to the schema, and + dropped if it doesn't match. + :vartype schema_ref: str + :ivar data_sources: List of source locations. Can be Broker or Kafka topics. Supports wildcards + # and +. Required. + :vartype data_sources: list[str] + """ + + endpointRef: Required[str] + """Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type. Required.""" + assetRef: str + """Reference to the resource in Azure Device Registry where the data in the endpoint originates + from.""" + serializationFormat: Union[str, "SourceSerializationFormat"] + """Content is a JSON Schema. Allowed: JSON Schema/draft-7. \"Json\"""" + schemaRef: str + """Schema CR reference. Data will be deserialized according to the schema, and dropped if it + doesn't match.""" + dataSources: Required[list[str]] + """List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +. Required.""" + + +class DataflowStatus(TypedDict, total=False): + """DataflowStatus status. + + :ivar health_state: The health state of the Dataflow. + :vartype health_state: "ResourceHealthStatus" + """ + + healthState: "ResourceHealthStatus" + """The health state of the Dataflow.""" + + +class DiagnosticsLogs(TypedDict, total=False): + """Diagnostic Log properties. + + :ivar level: The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'. + :vartype level: str + """ + + level: str + """The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.""" + + +class DiskBackedMessageBuffer(TypedDict, total=False): + """DiskBackedMessageBuffer properties. + + :ivar max_size: The max size of the message buffer on disk. If a PVC template is specified + using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as + the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor + persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as + its limit. See `https://kubernetes.io/docs/concepts/storage/volumes/#emptydir + `_ for details. Required. + :vartype max_size: str + :ivar ephemeral_volume_claim_spec: Use the specified persistent volume claim template to mount + a "generic ephemeral volume" for the message buffer. See + `https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes + `_ + for details. + :vartype ephemeral_volume_claim_spec: "VolumeClaimSpec" + :ivar persistent_volume_claim_spec: Use the specified persistent volume claim template to mount + a persistent volume for the message buffer. + :vartype persistent_volume_claim_spec: "VolumeClaimSpec" + """ + + maxSize: Required[str] + """The max size of the message buffer on disk. If a PVC template is specified using one of + ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request + and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor + persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as + its limit. See `https://kubernetes.io/docs/concepts/storage/volumes/#emptydir + `_ for details. Required.""" + ephemeralVolumeClaimSpec: "VolumeClaimSpec" + """Use the specified persistent volume claim template to mount a \"generic ephemeral volume\" for + the message buffer. See + `https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes + `_ + for details.""" + persistentVolumeClaimSpec: "VolumeClaimSpec" + """Use the specified persistent volume claim template to mount a persistent volume for the message + buffer.""" + + +class ExtendedLocation(TypedDict, total=False): + """Extended location is an extension of Azure locations. They provide a way to use their Azure ARC + enabled Kubernetes clusters as target locations for deploying Azure services instances. + + :ivar name: The name of the extended location. Required. + :vartype name: str + :ivar type: Type of ExtendedLocation. Required. "CustomLocation" + :vartype type: Union[str, "ExtendedLocationType"] + """ + + name: Required[str] + """The name of the extended location. Required.""" + type: Required[Union[str, "ExtendedLocationType"]] + """Type of ExtendedLocation. Required. \"CustomLocation\"""" + + +class Frontend(TypedDict, total=False): + """The desired properties of the frontend instances of the Broker. + + :ivar replicas: The desired number of frontend instances (pods). Required. + :vartype replicas: int + :ivar workers: Number of logical frontend workers per instance (pod). + :vartype workers: int + """ + + replicas: Required[int] + """The desired number of frontend instances (pods). Required.""" + workers: int + """Number of logical frontend workers per instance (pod).""" + + +class GenerateResourceLimits(TypedDict, total=False): + """GenerateResourceLimits properties. + + :ivar cpu: The toggle to enable/disable cpu resource limits. Known values are: "Enabled" and + "Disabled". + :vartype cpu: Union[str, "OperationalMode"] + """ + + cpu: Union[str, "OperationalMode"] + """The toggle to enable/disable cpu resource limits. Known values are: \"Enabled\" and + \"Disabled\".""" + + +class InstanceFeature(TypedDict, total=False): + """The features of the AIO Instance. + + :ivar mode: The state of the feature. Known values are: "Stable", "Preview", and "Disabled". + :vartype mode: Union[str, "InstanceFeatureMode"] + :ivar settings: The settings of the feature. + :vartype settings: dict[str, Union[str, "OperationalMode"]] + """ + + mode: Union[str, "InstanceFeatureMode"] + """The state of the feature. Known values are: \"Stable\", \"Preview\", and \"Disabled\".""" + settings: dict[str, Union[str, "OperationalMode"]] + """The settings of the feature.""" + + +class InstancePatchModel(TypedDict, total=False): + """The Instance update model. + + :ivar tags: Resource tags. + :vartype tags: dict[str, str] + :ivar identity: The managed service identities assigned to this resource. + :vartype identity: "ManagedServiceIdentity" + """ + + tags: dict[str, str] + """Resource tags.""" + identity: "ManagedServiceIdentity" + """The managed service identities assigned to this resource.""" + + +class InstanceProperties(TypedDict, total=False): + """The properties of the Instance resource. + + :ivar description: Detailed description of the Instance. + :vartype description: str + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar version: The Azure IoT Operations version. + :vartype version: str + :ivar schema_registry_ref: The reference to the Schema Registry for this AIO Instance. + Required. + :vartype schema_registry_ref: "SchemaRegistryRef" + :ivar default_secret_provider_class_ref: The reference to the AIO Secret provider class. + :vartype default_secret_provider_class_ref: "SecretProviderClassRef" + :ivar features: The features of the AIO Instance. + :vartype features: dict[str, "InstanceFeature"] + :ivar adr_namespace_ref: The Azure Device Registry Namespace used by Assets, Discovered Assets + and devices. + :vartype adr_namespace_ref: "AzureDeviceRegistryNamespaceRef" + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + """ + + description: str + """Detailed description of the Instance.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + version: str + """The Azure IoT Operations version.""" + schemaRegistryRef: Required["SchemaRegistryRef"] + """The reference to the Schema Registry for this AIO Instance. Required.""" + defaultSecretProviderClassRef: "SecretProviderClassRef" + """The reference to the AIO Secret provider class.""" + features: dict[str, "InstanceFeature"] + """The features of the AIO Instance.""" + adrNamespaceRef: "AzureDeviceRegistryNamespaceRef" + """The Azure Device Registry Namespace used by Assets, Discovered Assets and devices.""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + + +class TrackedResource(Resource): + """Tracked Resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar tags: Resource tags. + :vartype tags: dict[str, str] + :ivar location: The geo-location where the resource lives. Required. + :vartype location: str + """ + + tags: dict[str, str] + """Resource tags.""" + location: Required[str] + """The geo-location where the resource lives. Required.""" + + +class InstanceResource(TrackedResource): + """A Instance resource is a logical container for a set of child resources. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar tags: Resource tags. + :vartype tags: dict[str, str] + :ivar location: The geo-location where the resource lives. Required. + :vartype location: str + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "InstanceProperties" + :ivar extended_location: Edge location of the resource. Required. + :vartype extended_location: "ExtendedLocation" + :ivar identity: The managed service identities assigned to this resource. + :vartype identity: "ManagedServiceIdentity" + """ + + properties: "InstanceProperties" + """The resource-specific properties for this resource.""" + extendedLocation: Required["ExtendedLocation"] + """Edge location of the resource. Required.""" + identity: "ManagedServiceIdentity" + """The managed service identities assigned to this resource.""" + + +class KubernetesReference(TypedDict, total=False): + """Kubernetes reference. + + :ivar api_group: APIGroup is the group for the resource being referenced. If APIGroup is not + specified, the specified Kind must be in the core API group. For any other third-party types, + APIGroup is required. + :vartype api_group: str + :ivar kind: Kind is the type of resource being referenced. Required. + :vartype kind: str + :ivar name: Name is the name of resource being referenced. Required. + :vartype name: str + :ivar namespace: Namespace is the namespace of the resource being referenced. This field is + required when the resource has a namespace. + :vartype namespace: str + """ + + apiGroup: str + """APIGroup is the group for the resource being referenced. If APIGroup is not specified, the + specified Kind must be in the core API group. For any other third-party types, APIGroup is + required.""" + kind: Required[str] + """Kind is the type of resource being referenced. Required.""" + name: Required[str] + """Name is the name of resource being referenced. Required.""" + namespace: str + """Namespace is the namespace of the resource being referenced. This field is required when the + resource has a namespace.""" + + +class ListenerPort(TypedDict, total=False): + """Defines a TCP port on which a ``BrokerListener`` listens. + + :ivar authentication_ref: Reference to client authentication settings. Omit to disable + authentication. + :vartype authentication_ref: str + :ivar authorization_ref: Reference to client authorization settings. Omit to disable + authorization. + :vartype authorization_ref: str + :ivar node_port: Kubernetes node port. Only relevant when this port is associated with a + ``NodePort`` listener. + :vartype node_port: int + :ivar port: TCP port for accepting client connections. Required. + :vartype port: int + :ivar protocol: Protocol to use for client connections. Known values are: "Mqtt" and + "WebSockets". + :vartype protocol: Union[str, "BrokerProtocolType"] + :ivar tls: TLS server certificate settings for this port. Omit to disable TLS. + :vartype tls: "TlsCertMethod" + """ + + authenticationRef: str + """Reference to client authentication settings. Omit to disable authentication.""" + authorizationRef: str + """Reference to client authorization settings. Omit to disable authorization.""" + nodePort: int + """Kubernetes node port. Only relevant when this port is associated with a ``NodePort`` listener.""" + port: Required[int] + """TCP port for accepting client connections. Required.""" + protocol: Union[str, "BrokerProtocolType"] + """Protocol to use for client connections. Known values are: \"Mqtt\" and \"WebSockets\".""" + tls: "TlsCertMethod" + """TLS server certificate settings for this port. Omit to disable TLS.""" + + +class LocalKubernetesReference(TypedDict, total=False): + """Kubernetes reference. + + :ivar api_group: APIGroup is the group for the resource being referenced. If APIGroup is not + specified, the specified Kind must be in the core API group. For any other third-party types, + APIGroup is required. + :vartype api_group: str + :ivar kind: Kind is the type of resource being referenced. Required. + :vartype kind: str + :ivar name: Name is the name of resource being referenced. Required. + :vartype name: str + """ + + apiGroup: str + """APIGroup is the group for the resource being referenced. If APIGroup is not specified, the + specified Kind must be in the core API group. For any other third-party types, APIGroup is + required.""" + kind: Required[str] + """Kind is the type of resource being referenced. Required.""" + name: Required[str] + """Name is the name of resource being referenced. Required.""" + + +class ManagedServiceIdentity(TypedDict, total=False): + """Managed service identity (system assigned and/or user assigned identities). + + :ivar principal_id: The service principal ID of the system assigned identity. This property + will only be provided for a system assigned identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of the system assigned identity. This property will only be + provided for a system assigned identity. + :vartype tenant_id: str + :ivar type: The type of managed identity assigned to this resource. Required. Known values are: + "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". + :vartype type: Union[str, "ManagedServiceIdentityType"] + :ivar user_assigned_identities: The identities assigned to this resource by the user. + :vartype user_assigned_identities: dict[str, "UserAssignedIdentity"] + """ + + principalId: str + """The service principal ID of the system assigned identity. This property will only be provided + for a system assigned identity.""" + tenantId: str + """The tenant ID of the system assigned identity. This property will only be provided for a system + assigned identity.""" + type: Required[Union[str, "ManagedServiceIdentityType"]] + """The type of managed identity assigned to this resource. Required. Known values are: \"None\", + \"SystemAssigned\", \"UserAssigned\", and \"SystemAssigned,UserAssigned\".""" + userAssignedIdentities: dict[str, "UserAssignedIdentity"] + """The identities assigned to this resource by the user.""" + + +class Metrics(TypedDict, total=False): + """Diagnostic Metrics properties. + + :ivar prometheus_port: The prometheus port to expose the metrics. + :vartype prometheus_port: int + """ + + prometheusPort: int + """The prometheus port to expose the metrics.""" + + +class PrincipalDefinition(TypedDict, total=False): + """PrincipalDefinition properties of Rule. + + :ivar attributes: A list of key-value pairs that match the attributes of the clients. The + attributes are case-sensitive and must match the attributes provided by the clients during + authentication. + :vartype attributes: list[dict[str, str]] + :ivar client_ids: A list of client IDs that match the clients. The client IDs are + case-sensitive and must match the client IDs provided by the clients during connection. + :vartype client_ids: list[str] + :ivar usernames: A list of usernames that match the clients. The usernames are case-sensitive + and must match the usernames provided by the clients during authentication. + :vartype usernames: list[str] + """ + + attributes: list[dict[str, str]] + """A list of key-value pairs that match the attributes of the clients. The attributes are + case-sensitive and must match the attributes provided by the clients during authentication.""" + clientIds: list[str] + """A list of client IDs that match the clients. The client IDs are case-sensitive and must match + the client IDs provided by the clients during connection.""" + usernames: list[str] + """A list of usernames that match the clients. The usernames are case-sensitive and must match the + usernames provided by the clients during authentication.""" + + +class ProfileDiagnostics(TypedDict, total=False): + """DataflowProfile Diagnostics properties. + + :ivar logs: Diagnostic log settings for the resource. + :vartype logs: "DiagnosticsLogs" + :ivar metrics: The metrics settings for the resource. + :vartype metrics: "Metrics" + """ + + logs: "DiagnosticsLogs" + """Diagnostic log settings for the resource.""" + metrics: "Metrics" + """The metrics settings for the resource.""" + + +class RegistryEndpointAnonymousAuthentication(TypedDict, total=False): + """Anonymous authentication. + + :ivar method: The authentication method. Required. Anonymous Option. + :vartype method: Literal[RegistryEndpointAuthenticationMethod.ANONYMOUS] + :ivar anonymous_settings: Anonymous authentication properties. Required. + :vartype anonymous_settings: "RegistryEndpointAnonymousSettings" + """ + + method: Required[Literal[RegistryEndpointAuthenticationMethod.ANONYMOUS]] + """The authentication method. Required. Anonymous Option.""" + anonymousSettings: Required["RegistryEndpointAnonymousSettings"] + """Anonymous authentication properties. Required.""" + + +class RegistryEndpointAnonymousSettings(TypedDict, total=False): + """RegistryEndpoint Anonymous authentication properties.""" + + +class RegistryEndpointArtifactPullSecretAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """Artifact Pull Secret authentication. + + :ivar method: The authentication method. Required. Artifact Pull Secret authentication. + :vartype method: Literal[RegistryEndpointAuthenticationMethod.ARTIFACT_PULL_SECRET] + :ivar artifact_pull_secret_settings: Artifact Pull Secret authentication properties. Required. + :vartype artifact_pull_secret_settings: "RegistryEndpointArtifactPullSecretSettings" + """ + + method: Required[Literal[RegistryEndpointAuthenticationMethod.ARTIFACT_PULL_SECRET]] + """The authentication method. Required. Artifact Pull Secret authentication.""" + artifactPullSecretSettings: Required["RegistryEndpointArtifactPullSecretSettings"] + """Artifact Pull Secret authentication properties. Required.""" + + +class RegistryEndpointArtifactPullSecretSettings(TypedDict, total=False): # pylint: disable=name-too-long + """RegistryEndpoint Artifact Pull Secret authentication properties. + + :ivar secret_ref: The name of the kubernetes secret that contains the artifact pull secret. + Required. + :vartype secret_ref: str + """ + + secretRef: Required[str] + """The name of the kubernetes secret that contains the artifact pull secret. Required.""" + + +class RegistryEndpointProperties(TypedDict, total=False): + """RegistryEndpoint properties. + + :ivar host: The Container Registry endpoint hostname. Required. + :vartype host: str + :ivar authentication: The authentication settings for the Azure Container Registry. Required. + :vartype authentication: "RegistryEndpointAuthentication" + :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". + :vartype provisioning_state: Union[str, "ProvisioningState"] + :ivar health_state: The health state of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype health_state: Union[str, "ResourceHealthState"] + :ivar code_signing_cas: The signing certificate authorities used by artifacts in the registry + endpoint. + :vartype code_signing_cas: list["RegistryEndpointTrustedSigningKey"] + """ + + host: Required[str] + """The Container Registry endpoint hostname. Required.""" + authentication: Required["RegistryEndpointAuthentication"] + """The authentication settings for the Azure Container Registry. Required.""" + provisioningState: Union[str, "ProvisioningState"] + """The status of the last operation. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Provisioning\", \"Updating\", \"Deleting\", and \"Accepted\".""" + healthState: Union[str, "ResourceHealthState"] + """The health state of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + codeSigningCas: list["RegistryEndpointTrustedSigningKey"] + """The signing certificate authorities used by artifacts in the registry endpoint.""" + + +class RegistryEndpointResource(ProxyResource): + """RegistryEndpoint resource. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: "SystemData" + :ivar properties: The resource-specific properties for this resource. + :vartype properties: "RegistryEndpointProperties" + :ivar extended_location: Edge location of the resource. + :vartype extended_location: "ExtendedLocation" + """ + + properties: "RegistryEndpointProperties" + """The resource-specific properties for this resource.""" + extendedLocation: "ExtendedLocation" + """Edge location of the resource.""" + + +class RegistryEndpointSystemAssignedIdentityAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """System assigned identity authentication. + + :ivar method: The authentication method. Required. SystemAssignedManagedIdentity type. + :vartype method: Literal[RegistryEndpointAuthenticationMethod.SYSTEM_ASSIGNED_MANAGED_IDENTITY] + :ivar system_assigned_managed_identity_settings: System assigned managed identity properties. + Required. + :vartype system_assigned_managed_identity_settings: + "RegistryEndpointSystemAssignedManagedIdentitySettings" + """ + + method: Required[Literal[RegistryEndpointAuthenticationMethod.SYSTEM_ASSIGNED_MANAGED_IDENTITY]] + """The authentication method. Required. SystemAssignedManagedIdentity type.""" + systemAssignedManagedIdentitySettings: Required["RegistryEndpointSystemAssignedManagedIdentitySettings"] + """System assigned managed identity properties. Required.""" + + +class RegistryEndpointSystemAssignedManagedIdentitySettings(TypedDict, total=False): # pylint: disable=name-too-long + """System assigned managed identity properties. + + :ivar audience: Audience of the service to authenticate against. Optional; defaults to the + audience for Service host configuration. + :vartype audience: str + """ + + audience: str + """Audience of the service to authenticate against. Optional; defaults to the audience for Service + host configuration.""" + + +class RegistryEndpointTrustedSigningKeyConfigMap(TypedDict, total=False): # pylint: disable=name-too-long + """Settings for RegistryEndpoint trust provided through a configmap. + + :ivar type: The trust type for the registry endpoint. Required. Trust settings stored in a + Kubernetes ConfigMap. + :vartype type: Literal[RegistryEndpointTrustedSigningKeyType.CONFIG_MAP] + :ivar config_map_ref: The name of the configmap. Required. + :vartype config_map_ref: str + """ + + type: Required[Literal[RegistryEndpointTrustedSigningKeyType.CONFIG_MAP]] + """The trust type for the registry endpoint. Required. Trust settings stored in a Kubernetes + ConfigMap.""" + configMapRef: Required[str] + """The name of the configmap. Required.""" + + +class RegistryEndpointTrustedSigningKeySecret(TypedDict, total=False): + """Settings for RegistryEndpoint trust provided through a secret. + + :ivar type: The trust type for the registry endpoint. Required. Trust settings stored in a + Kubernetes Secret. + :vartype type: Literal[RegistryEndpointTrustedSigningKeyType.SECRET] + :ivar secret_ref: The name of the secret. Required. + :vartype secret_ref: str + """ + + type: Required[Literal[RegistryEndpointTrustedSigningKeyType.SECRET]] + """The trust type for the registry endpoint. Required. Trust settings stored in a Kubernetes + Secret.""" + secretRef: Required[str] + """The name of the secret. Required.""" + + +class RegistryEndpointUserAssignedIdentityAuthentication(TypedDict, total=False): # pylint: disable=name-too-long + """User assigned identity authentication. + + :ivar method: The authentication method. Required. UserAssignedManagedIdentity type. + :vartype method: Literal[RegistryEndpointAuthenticationMethod.USER_ASSIGNED_MANAGED_IDENTITY] + :ivar user_assigned_managed_identity_settings: User assigned managed identity properties. + Required. + :vartype user_assigned_managed_identity_settings: + "RegistryEndpointUserAssignedManagedIdentitySettings" + """ + + method: Required[Literal[RegistryEndpointAuthenticationMethod.USER_ASSIGNED_MANAGED_IDENTITY]] + """The authentication method. Required. UserAssignedManagedIdentity type.""" + userAssignedManagedIdentitySettings: Required["RegistryEndpointUserAssignedManagedIdentitySettings"] + """User assigned managed identity properties. Required.""" + + +class RegistryEndpointUserAssignedManagedIdentitySettings(TypedDict, total=False): # pylint: disable=name-too-long + """User assigned managed identity properties. + + :ivar client_id: Client ID for the user-assigned managed identity. Required. + :vartype client_id: str + :ivar scope: Resource identifier (application ID URI) of the resource, affixed with the + .default suffix. + :vartype scope: str + :ivar tenant_id: Tenant ID. Required. + :vartype tenant_id: str + """ + + clientId: Required[str] + """Client ID for the user-assigned managed identity. Required.""" + scope: str + """Resource identifier (application ID URI) of the resource, affixed with the .default suffix.""" + tenantId: Required[str] + """Tenant ID. Required.""" + + +class ResourceHealthStatus(TypedDict, total=False): + """Represents the health state of a resource. + + :ivar status: The high-level health status of the resource. Known values are: "Available", + "Degraded", "Unavailable", and "Unknown". + :vartype status: Union[str, "ResourceHealthState"] + :ivar last_transition_time: The timestamp (RFC3339) when the health status last changed. + :vartype last_transition_time: str + :ivar last_update_time: The timestamp (RFC3339) when the health status was last updated, even + if the status did not change. + :vartype last_update_time: str + :ivar message: A human-readable message describing the last transition. + :vartype message: str + :ivar reason_code: Unique, CamelCase reason code describing the cause of the last health state + transition. + :vartype reason_code: str + """ + + status: Union[str, "ResourceHealthState"] + """The high-level health status of the resource. Known values are: \"Available\", \"Degraded\", + \"Unavailable\", and \"Unknown\".""" + lastTransitionTime: str + """The timestamp (RFC3339) when the health status last changed.""" + lastUpdateTime: str + """The timestamp (RFC3339) when the health status was last updated, even if the status did not + change.""" + message: str + """A human-readable message describing the last transition.""" + reasonCode: str + """Unique, CamelCase reason code describing the cause of the last health state transition.""" + + +class SanForCert(TypedDict, total=False): + """Subject Alternative Names (SANs) for certificate. + + :ivar dns: DNS SANs. Required. + :vartype dns: list[str] + :ivar ip: IP address SANs. Required. + :vartype ip: list[str] + """ + + dns: Required[list[str]] + """DNS SANs. Required.""" + ip: Required[list[str]] + """IP address SANs. Required.""" + + +class SchemaRegistryRef(TypedDict, total=False): + """The reference to the Schema Registry for this AIO Instance. + + :ivar resource_id: The resource ID of the Schema Registry. Required. + :vartype resource_id: str + """ + + resourceId: Required[str] + """The resource ID of the Schema Registry. Required.""" + + +class SecretProviderClassRef(TypedDict, total=False): + """The reference to the AIO Secret provider class. + + :ivar resource_id: The resource ID of the AIO Secret provider class. Required. + :vartype resource_id: str + """ + + resourceId: Required[str] + """The resource ID of the AIO Secret provider class. Required.""" + + +class SelfCheck(TypedDict, total=False): + """Broker Diagnostic Self check properties. + + :ivar mode: The toggle to enable/disable self check. Known values are: "Enabled" and + "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar interval_seconds: The self check interval. + :vartype interval_seconds: int + :ivar timeout_seconds: The timeout for self check. + :vartype timeout_seconds: int + """ + + mode: Union[str, "OperationalMode"] + """The toggle to enable/disable self check. Known values are: \"Enabled\" and \"Disabled\".""" + intervalSeconds: int + """The self check interval.""" + timeoutSeconds: int + """The timeout for self check.""" + + +class SelfTracing(TypedDict, total=False): + """Diagnostic Self tracing properties. + + :ivar mode: The toggle to enable/disable self tracing. Known values are: "Enabled" and + "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar interval_seconds: The self tracing interval. + :vartype interval_seconds: int + """ + + mode: Union[str, "OperationalMode"] + """The toggle to enable/disable self tracing. Known values are: \"Enabled\" and \"Disabled\".""" + intervalSeconds: int + """The self tracing interval.""" + + +class StateStoreResourceRule(TypedDict, total=False): + """State Store Resource Rule properties. + + :ivar key_type: Allowed keyTypes pattern, string, binary. The key type used for matching, for + example pattern tries to match the key to a glob-style pattern and string checks key is equal + to value provided in keys. Required. Known values are: "Pattern", "String", and "Binary". + :vartype key_type: Union[str, "StateStoreResourceKeyTypes"] + :ivar keys_property: Give access to state store keys for the corresponding principals defined. + When key type is pattern set glob-style pattern (e.g., '*', 'clients/*'). Required. + :vartype keys_property: list[str] + :ivar method: Give access for ``Read``, ``Write`` and ``ReadWrite`` access level. Required. + Known values are: "Read", "Write", and "ReadWrite". + :vartype method: Union[str, "StateStoreResourceDefinitionMethods"] + """ + + keyType: Required[Union[str, "StateStoreResourceKeyTypes"]] + """Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern + tries to match the key to a glob-style pattern and string checks key is equal to value provided + in keys. Required. Known values are: \"Pattern\", \"String\", and \"Binary\".""" + keys: Required[list[str]] + """Give access to state store keys for the corresponding principals defined. When key type is + pattern set glob-style pattern (e.g., '*', 'clients/*'). Required.""" + method: Required[Union[str, "StateStoreResourceDefinitionMethods"]] + """Give access for ``Read``, ``Write`` and ``ReadWrite`` access level. Required. Known values are: + \"Read\", \"Write\", and \"ReadWrite\".""" + + +class SubscriberQueueLimit(TypedDict, total=False): + """The settings of Subscriber Queue Limit. + + :ivar length: The maximum length of the queue before messages start getting dropped. + :vartype length: int + :ivar strategy: The strategy to use for dropping messages from the queue. Known values are: + "None" and "DropOldest". + :vartype strategy: Union[str, "SubscriberMessageDropStrategy"] + """ + + length: int + """The maximum length of the queue before messages start getting dropped.""" + strategy: Union[str, "SubscriberMessageDropStrategy"] + """The strategy to use for dropping messages from the queue. Known values are: \"None\" and + \"DropOldest\".""" + + +class SystemData(TypedDict, total=False): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :vartype created_by_type: Union[str, "CreatedByType"] + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: str + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + are: "User", "Application", "ManagedIdentity", and "Key". + :vartype last_modified_by_type: Union[str, "CreatedByType"] + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: str + """ + + createdBy: str + """The identity that created the resource.""" + createdByType: Union[str, "CreatedByType"] + """The type of identity that created the resource. Known values are: \"User\", \"Application\", + \"ManagedIdentity\", and \"Key\".""" + createdAt: str + """The timestamp of resource creation (UTC).""" + lastModifiedBy: str + """The identity that last modified the resource.""" + lastModifiedByType: Union[str, "CreatedByType"] + """The type of identity that last modified the resource. Known values are: \"User\", + \"Application\", \"ManagedIdentity\", and \"Key\".""" + lastModifiedAt: str + """The timestamp of resource last modification (UTC).""" + + +class TlsCertMethod(TypedDict, total=False): + """Collection of different TLS types, NOTE- Enum at a time only one of them needs to be supported. + + :ivar mode: Mode of TLS server certificate management. Required. Known values are: "Automatic" + and "Manual". + :vartype mode: Union[str, "TlsCertMethodMode"] + :ivar cert_manager_certificate_spec: Option 1 - Automatic TLS server certificate management + with cert-manager. + :vartype cert_manager_certificate_spec: "CertManagerCertificateSpec" + :ivar manual: Option 2 - Manual TLS server certificate management through a defined secret. + :vartype manual: "X509ManualCertificate" + """ + + mode: Required[Union[str, "TlsCertMethodMode"]] + """Mode of TLS server certificate management. Required. Known values are: \"Automatic\" and + \"Manual\".""" + certManagerCertificateSpec: "CertManagerCertificateSpec" + """Option 1 - Automatic TLS server certificate management with cert-manager.""" + manual: "X509ManualCertificate" + """Option 2 - Manual TLS server certificate management through a defined secret.""" + + +class TlsProperties(TypedDict, total=False): + """Tls properties. + + :ivar mode: Mode for TLS. Known values are: "Enabled" and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar trusted_ca_certificate_config_map_ref: Trusted CA certificate config map. + :vartype trusted_ca_certificate_config_map_ref: str + """ + + mode: Union[str, "OperationalMode"] + """Mode for TLS. Known values are: \"Enabled\" and \"Disabled\".""" + trustedCaCertificateConfigMapRef: str + """Trusted CA certificate config map.""" + + +class Traces(TypedDict, total=False): + """Broker Diagnostic Trace properties. + + :ivar mode: The toggle to enable/disable traces. Known values are: "Enabled" and "Disabled". + :vartype mode: Union[str, "OperationalMode"] + :ivar cache_size_megabytes: The cache size in megabytes. + :vartype cache_size_megabytes: int + :ivar self_tracing: The self tracing properties. + :vartype self_tracing: "SelfTracing" + :ivar span_channel_capacity: The span channel capacity. + :vartype span_channel_capacity: int + """ + + mode: Union[str, "OperationalMode"] + """The toggle to enable/disable traces. Known values are: \"Enabled\" and \"Disabled\".""" + cacheSizeMegabytes: int + """The cache size in megabytes.""" + selfTracing: "SelfTracing" + """The self tracing properties.""" + spanChannelCapacity: int + """The span channel capacity.""" + + +class UserAssignedIdentity(TypedDict, total=False): + """User assigned identity properties. + + :ivar principal_id: The principal ID of the assigned identity. + :vartype principal_id: str + :ivar client_id: The client ID of the assigned identity. + :vartype client_id: str + """ + + principalId: str + """The principal ID of the assigned identity.""" + clientId: str + """The client ID of the assigned identity.""" + + +class VolumeClaimResourceRequirements(TypedDict, total=False): + """VolumeClaimResourceRequirements properties. + + :ivar limits: Limits describes the maximum amount of compute resources allowed. More info: + `https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + `_. + :vartype limits: dict[str, str] + :ivar requests: Requests describes the minimum amount of compute resources required. If + Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. More info: + `https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + `_. + :vartype requests: dict[str, str] + :ivar claims: Claims lists the names of resources, defined in spec.resourceClaims, that are + used by this container. + + This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. + :vartype claims: list["VolumeClaimResourceRequirementsClaims"] + """ + + limits: dict[str, str] + """Limits describes the maximum amount of compute resources allowed. More info: + `https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + `_.""" + requests: dict[str, str] + """Requests describes the minimum amount of compute resources required. If Requests is omitted for + a container, it defaults to Limits if that is explicitly specified, otherwise to an + implementation-defined value. More info: + `https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + `_.""" + claims: list["VolumeClaimResourceRequirementsClaims"] + """Claims lists the names of resources, defined in spec.resourceClaims, that are used by this + container. + + This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers.""" + + +class VolumeClaimResourceRequirementsClaims(TypedDict, total=False): + """VolumeClaimResourceRequirementsClaims properties. + + :ivar name: Name of the resource. This must match the name of a resource in + spec.resourceClaims. Required. + :vartype name: str + """ + + name: Required[str] + """Name of the resource. This must match the name of a resource in spec.resourceClaims. Required.""" + + +class VolumeClaimSpec(TypedDict, total=False): + """VolumeClaimSpec properties. + + :ivar volume_name: VolumeName is the binding reference to the PersistentVolume backing this + claim. + :vartype volume_name: str + :ivar volume_mode: volumeMode defines what type of volume is required by the claim. Value of + Filesystem is implied when not included in claim spec. This is a beta feature. + :vartype volume_mode: str + :ivar storage_class_name: Name of the StorageClass required by the claim. More info: + `https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + `_. + :vartype storage_class_name: str + :ivar access_modes: AccessModes contains the desired access modes the volume should have. More + info: `https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + `_. + :vartype access_modes: list[str] + :ivar data_source: This field can be used to specify either: * An existing VolumeSnapshot + object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If + the provisioner or an external controller can support the specified data source, it will create + a new volume based on the contents of the specified data source. If the AnyVolumeDataSource + feature gate is enabled, this field will always have the same contents as the DataSourceRef + field. + :vartype data_source: "LocalKubernetesReference" + :ivar data_source_ref: Specifies the object from which to populate the volume with data, if a + non-empty volume is desired. This may be any local object from a non-empty API group (non core + object) or a PersistentVolumeClaim object. When this field is specified, volume binding will + only succeed if the type of the specified object matches some installed volume populator or + dynamic provisioner. This field will replace the functionality of the DataSource field and as + such if both fields are non-empty, they must have the same value. For backwards compatibility, + both fields (DataSource and DataSourceRef) will be set to the same value automatically if one + of them is empty and the other is non-empty. There are two important differences between + DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, + DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While + DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and + generates an error if a disallowed value is specified. (Beta) Using this field requires the + AnyVolumeDataSource feature gate to be enabled. + :vartype data_source_ref: "KubernetesReference" + :ivar resources: Resources represents the minimum resources the volume should have. If + RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource + requirements that are lower than previous value but must still be higher than capacity recorded + in the status field of the claim. More info: + `https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + `_. + :vartype resources: "VolumeClaimResourceRequirements" + :ivar selector: A label query over volumes to consider for binding. + :vartype selector: "VolumeClaimSpecSelector" + """ + + volumeName: str + """VolumeName is the binding reference to the PersistentVolume backing this claim.""" + volumeMode: str + """volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied + when not included in claim spec. This is a beta feature.""" + storageClassName: str + """Name of the StorageClass required by the claim. More info: + `https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + `_.""" + accessModes: list[str] + """AccessModes contains the desired access modes the volume should have. More info: + `https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + `_.""" + dataSource: "LocalKubernetesReference" + """This field can be used to specify either: * An existing VolumeSnapshot object + (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the + provisioner or an external controller can support the specified data source, it will create a + new volume based on the contents of the specified data source. If the AnyVolumeDataSource + feature gate is enabled, this field will always have the same contents as the DataSourceRef + field.""" + dataSourceRef: "KubernetesReference" + """Specifies the object from which to populate the volume with data, if a non-empty volume is + desired. This may be any local object from a non-empty API group (non core object) or a + PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if + the type of the specified object matches some installed volume populator or dynamic + provisioner. This field will replace the functionality of the DataSource field and as such if + both fields are non-empty, they must have the same value. For backwards compatibility, both + fields (DataSource and DataSourceRef) will be set to the same value automatically if one of + them is empty and the other is non-empty. There are two important differences between + DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, + DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While + DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and + generates an error if a disallowed value is specified. (Beta) Using this field requires the + AnyVolumeDataSource feature gate to be enabled.""" + resources: "VolumeClaimResourceRequirements" + """Resources represents the minimum resources the volume should have. If + RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource + requirements that are lower than previous value but must still be higher than capacity recorded + in the status field of the claim. More info: + `https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + `_.""" + selector: "VolumeClaimSpecSelector" + """A label query over volumes to consider for binding.""" + + +class VolumeClaimSpecSelector(TypedDict, total=False): + """VolumeClaimSpecSelector properties. + + :ivar match_expressions: MatchExpressions is a list of label selector requirements. The + requirements are ANDed. + :vartype match_expressions: list["VolumeClaimSpecSelectorMatchExpressions"] + :ivar match_labels: MatchLabels is a map of {key,value} pairs. A single {key,value} in the + matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + :vartype match_labels: dict[str, str] + """ + + matchExpressions: list["VolumeClaimSpecSelectorMatchExpressions"] + """MatchExpressions is a list of label selector requirements. The requirements are ANDed.""" + matchLabels: dict[str, str] + """MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is + equivalent to an element of matchExpressions, whose key field is \"key\", the operator is + \"In\", and the values array contains only \"value\". The requirements are ANDed.""" + + +class VolumeClaimSpecSelectorMatchExpressions(TypedDict, total=False): + """VolumeClaimSpecSelectorMatchExpressions properties. + + :ivar key: key is the label key that the selector applies to. Required. + :vartype key: str + :ivar operator: operator represents a key's relationship to a set of values. Valid operators + are In, NotIn, Exists and DoesNotExist. Required. Known values are: "In", "NotIn", "Exists", + and "DoesNotExist". + :vartype operator: Union[str, "OperatorValues"] + :ivar values_property: values is an array of string values. If the operator is In or NotIn, the + values array must be non-empty. If the operator is Exists or DoesNotExist, the values array + must be empty. This array is replaced during a strategic merge patch. + :vartype values_property: list[str] + """ + + key: Required[str] + """key is the label key that the selector applies to. Required.""" + operator: Required[Union[str, "OperatorValues"]] + """operator represents a key's relationship to a set of values. Valid operators are In, NotIn, + Exists and DoesNotExist. Required. Known values are: \"In\", \"NotIn\", \"Exists\", and + \"DoesNotExist\".""" + values: list[str] + """values is an array of string values. If the operator is In or NotIn, the values array must be + non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This + array is replaced during a strategic merge patch.""" + + +class X509ManualCertificate(TypedDict, total=False): + """X509 Certificate Authentication properties. + + :ivar secret_ref: Kubernetes secret containing an X.509 client certificate. This is a reference + to the secret through an identifying name, not the secret itself. Required. + :vartype secret_ref: str + """ + + secretRef: Required[str] + """Kubernetes secret containing an X.509 client certificate. This is a reference to the secret + through an identifying name, not the secret itself. Required.""" + + +AkriConnectorsRegistrySettings = Union[AkriConnectorsContainerRegistry, AkriConnectorsRegistryEndpointRef] +AkriConnectorsTagDigestSettings = Union[AkriConnectorsDigest, AkriConnectorsTag] +AkriConnectorsMqttAuthentication = Union[AkriConnectorsServiceAccountAuthentication] +AkriConnectorTemplateAllocation = Union[AkriConnectorTemplateBucketizedAllocation] +AkriConnectorTemplateRuntimeConfiguration = Union[AkriConnectorTemplateManagedConfiguration] +AkriConnectorTemplateManagedConfigurationSettings = Union[ + AkriConnectorTemplateRuntimeImageConfiguration, AkriConnectorTemplateRuntimeStatefulSetConfiguration +] +BrokerRetainMessagesPolicy = Union[BrokerRetainMessagesCustomPolicy] +BrokerStateStorePolicy = Union[BrokerStateStoreCustomPolicy] +BrokerSubscriberQueuePolicy = Union[BrokerSubscriberQueueCustomPolicy] +DataflowDestinationHeaderAction = Union[ + DataflowDestinationAddIfNotPresentHeaderAction, + DataflowDestinationAddOrReplaceHeaderAction, + DataflowDestinationRemoveHeaderAction, +] +DataflowGraphDestinationHeaderAction = Union[ + DataflowGraphDestinationAddIfNotPresentHeaderAction, + DataflowGraphDestinationAddOrReplaceHeaderAction, + DataflowGraphDestinationRemoveHeaderAction, +] +DataflowGraphNode = Union[DataflowGraphDestinationNode, DataflowGraphGraphNode, DataflowGraphSourceNode] +DataflowOpenTelemetryAuthentication = Union[ + DataflowOpenTelemetryAnonymousAuthentication, + DataflowOpenTelemetryServiceAccountAuthentication, + DataflowOpenTelemetryX509CertificateAuthentication, +] +RegistryEndpointAuthentication = Union[ + RegistryEndpointAnonymousAuthentication, + RegistryEndpointArtifactPullSecretAuthentication, + RegistryEndpointSystemAssignedIdentityAuthentication, + RegistryEndpointUserAssignedIdentityAuthentication, +] +RegistryEndpointTrustedSigningKey = Union[ + RegistryEndpointTrustedSigningKeyConfigMap, RegistryEndpointTrustedSigningKeySecret +] diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_create_or_update_maximum_set_gen.py index 0066e33bd432..c1b40af1a410 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_create_or_update_maximum_set_gen.py @@ -47,6 +47,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriConnector_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnector_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_delete_maximum_set_gen.py index 36bab79639ab..6ed81618fa3d 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/AkriConnector_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnector_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_get_maximum_set_gen.py index c872d10cf735..c6344f586688 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriConnector_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnector_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_list_by_template_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_list_by_template_maximum_set_gen.py index 6c8f73445e20..5cc04272a3de 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_list_by_template_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_list_by_template_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/AkriConnector_ListByTemplate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnector_ListByTemplate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_create_or_update_maximum_set_gen.py index bde74a7abf47..63f6788127d0 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_create_or_update_maximum_set_gen.py @@ -63,6 +63,14 @@ def main(): "managedConfigurationSettings": { "imageConfigurationSettings": { "imageName": "akri-connectors/rest", + "readinessProbe": { + "exec": {"command": ["cat", "/tmp/ready"]}, + "failureThreshold": 3, + "initialDelaySeconds": 5, + "periodSeconds": 10, + "successThreshold": 1, + "timeoutSeconds": 2, + }, "registrySettings": { "containerRegistrySettings": {"registry": "akribuilds.azurecr.io"}, "registrySettingsType": "ContainerRegistry", @@ -79,6 +87,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriConnectorTemplate_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnectorTemplate_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_delete_maximum_set_gen.py index 36b3e5187f8d..855bdcf57a50 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/AkriConnectorTemplate_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnectorTemplate_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_managed_rest.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_managed_rest.py index 01eed659b654..441e36759f2e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_managed_rest.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_managed_rest.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriConnectorTemplate_Get_Managed_Rest.json +# x-ms-original-file: 2026-07-01/AkriConnectorTemplate_Get_Managed_Rest.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_maximum_set_gen.py index ce32db98f21c..ff48016ea619 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriConnectorTemplate_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnectorTemplate_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_list_by_instance_resource_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_list_by_instance_resource_maximum_set_gen.py index 3d014883dacf..f73b09acd2cb 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_list_by_instance_resource_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_connector_template_list_by_instance_resource_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/AkriConnectorTemplate_ListByInstanceResource_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriConnectorTemplate_ListByInstanceResource_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_create_or_update_maximum_set_gen.py index 622a8a74959f..4772b5f79442 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_create_or_update_maximum_set_gen.py @@ -42,6 +42,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriService_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriService_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_delete_maximum_set_gen.py index 3016b8f458b8..ff36eac2839b 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/AkriService_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriService_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_get_maximum_set_gen.py index 9791506ae6b6..6910477a5acc 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/AkriService_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriService_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_list_by_instance_resource_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_list_by_instance_resource_maximum_set_gen.py index a76349353a34..c70aabf0dbae 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_list_by_instance_resource_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/akri_service_list_by_instance_resource_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/AkriService_ListByInstanceResource_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/AkriService_ListByInstanceResource_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_complex.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_complex.py index 32faa31b0520..70dd879dc639 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_complex.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_complex.py @@ -68,6 +68,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthentication_CreateOrUpdate_Complex.json +# x-ms-original-file: 2026-07-01/BrokerAuthentication_CreateOrUpdate_Complex.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_maximum_set_gen.py index d95c0417c8eb..23ca71345d04 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_create_or_update_maximum_set_gen.py @@ -66,6 +66,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_delete_maximum_set_gen.py index 36910a050018..3917d9bc2d70 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/BrokerAuthentication_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthentication_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_get_maximum_set_gen.py index 7bb5110af73a..4201ac8332ee 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthentication_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthentication_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_list_by_resource_group_maximum_set_gen.py index 42f9f2bb182a..a740f9e310d8 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authentication_list_by_resource_group_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_complex.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_complex.py index 30970f7dc40a..c31ac1f4f068 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_complex.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_complex.py @@ -82,6 +82,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthorization_CreateOrUpdate_Complex.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_CreateOrUpdate_Complex.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_maximum_set_gen.py index b8d1b4aba466..c3fc9dd26e55 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_maximum_set_gen.py @@ -64,6 +64,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_simple.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_simple.py index 3caa6068dc71..ef654aa72242 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_simple.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_create_or_update_simple.py @@ -64,6 +64,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthorization_CreateOrUpdate_Simple.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_CreateOrUpdate_Simple.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_delete_maximum_set_gen.py index a287ed991221..ace49e601b21 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/BrokerAuthorization_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_get_maximum_set_gen.py index d37ce48f5cda..cdcc849d08bd 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerAuthorization_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_list_by_resource_group_maximum_set_gen.py index 176a76e07e84..6b3b1332a039 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_authorization_list_by_resource_group_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_complex.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_complex.py index 9a0bc2726b9b..afcfe29c1dd4 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_complex.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_complex.py @@ -54,6 +54,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Broker_CreateOrUpdate_Complex.json +# x-ms-original-file: 2026-07-01/Broker_CreateOrUpdate_Complex.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_maximum_set_gen.py index 611b7aca83cd..90f1f37adc4c 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_maximum_set_gen.py @@ -116,6 +116,7 @@ def main(): }, }, "generateResourceLimits": {"cpu": "Enabled"}, + "highPriorityMessagesBackpressureHandling": "Accept", "memoryProfile": "Tiny", }, }, @@ -123,6 +124,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Broker_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Broker_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_minimal.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_minimal.py index 06cdf4123251..61c63932ec89 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_minimal.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_minimal.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Broker_CreateOrUpdate_Minimal.json +# x-ms-original-file: 2026-07-01/Broker_CreateOrUpdate_Minimal.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_simple.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_simple.py index cc1f25c69b7f..2b64f263ffd9 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_simple.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_create_or_update_simple.py @@ -53,6 +53,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Broker_CreateOrUpdate_Simple.json +# x-ms-original-file: 2026-07-01/Broker_CreateOrUpdate_Simple.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_delete_maximum_set_gen.py index 28e6c21d8ded..4e8886f91aba 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/Broker_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Broker_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_get_maximum_set_gen.py index 3a7c599dd358..79df447d80f5 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Broker_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Broker_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_list_by_resource_group_maximum_set_gen.py index f0583eae2191..d5839a84d0c3 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_list_by_resource_group_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/Broker_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Broker_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_complex.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_complex.py index a062da4487aa..c66885ceee45 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_complex.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_complex.py @@ -73,6 +73,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerListener_CreateOrUpdate_Complex.json +# x-ms-original-file: 2026-07-01/BrokerListener_CreateOrUpdate_Complex.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_maximum_set_gen.py index be32ce2f6f1f..811471532835 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_maximum_set_gen.py @@ -75,6 +75,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_simple.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_simple.py index 434af800ae9e..aa8a1928b5d9 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_simple.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_create_or_update_simple.py @@ -47,6 +47,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerListener_CreateOrUpdate_Simple.json +# x-ms-original-file: 2026-07-01/BrokerListener_CreateOrUpdate_Simple.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_delete_maximum_set_gen.py index 0f8d5e739833..a37484ccc919 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/BrokerListener_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerListener_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_get_maximum_set_gen.py index 689ad2fe9f54..ea42ec270602 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/BrokerListener_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerListener_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_list_by_resource_group_maximum_set_gen.py index 7f7aedb4496a..f36ce9aa4863 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/broker_listener_list_by_resource_group_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_contextualization.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_contextualization.py index 95acd7e21f15..1a680cd5105e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_contextualization.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_contextualization.py @@ -81,6 +81,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_ComplexContextualization.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_ComplexContextualization.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_event_hub.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_event_hub.py index c27bda34e8e3..92b575b68c33 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_event_hub.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_complex_event_hub.py @@ -99,6 +99,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_ComplexEventHub.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_ComplexEventHub.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_filter_to_topic.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_filter_to_topic.py index 901a5186543f..6cb25c1694bb 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_filter_to_topic.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_filter_to_topic.py @@ -82,6 +82,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_FilterToTopic.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_FilterToTopic.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_maximum_set_gen.py index 7062bb5eeebb..aa3c109fb0de 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_maximum_set_gen.py @@ -97,6 +97,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_event_grid.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_event_grid.py index ede34d03ba9c..d3088b892bc9 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_event_grid.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_event_grid.py @@ -67,6 +67,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_SimpleEventGrid.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_SimpleEventGrid.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_fabric.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_fabric.py index c9d484716398..f72c75874365 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_fabric.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_create_or_update_simple_fabric.py @@ -71,6 +71,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_CreateOrUpdate_SimpleFabric.json +# x-ms-original-file: 2026-07-01/Dataflow_CreateOrUpdate_SimpleFabric.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_delete_maximum_set_gen.py index 86e4b12146ca..74576dcf0570 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/Dataflow_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Dataflow_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adlsv2.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adlsv2.py index 367de85f7322..6575384dff6d 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adlsv2.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adlsv2.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_ADLSv2.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_ADLSv2.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adx.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adx.py index 53b5cfac49c6..459ed6bbd1f6 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adx.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_adx.py @@ -57,6 +57,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_ADX.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_ADX.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_aio.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_aio.py index d5678c8eb706..bf1ec83c35aa 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_aio.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_aio.py @@ -56,6 +56,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_AIO.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_AIO.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_grid.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_grid.py index daf98ca27186..e49dee75a792 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_grid.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_grid.py @@ -56,6 +56,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_EventGrid.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_EventGrid.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_hub.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_hub.py index a10bf8fda06a..d8af19ed8045 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_hub.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_event_hub.py @@ -57,6 +57,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_EventHub.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_EventHub.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_fabric.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_fabric.py index 8b9068139ef7..cd20d6f226f5 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_fabric.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_fabric.py @@ -57,6 +57,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_Fabric.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_Fabric.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_kafka.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_kafka.py index 06234d45fc82..e07b3b187613 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_kafka.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_kafka.py @@ -63,6 +63,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_Kafka.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_Kafka.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_local_storage.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_local_storage.py index d29bc8f56302..cd1ad77e6211 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_local_storage.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_local_storage.py @@ -49,6 +49,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_LocalStorage.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_LocalStorage.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_maximum_set_gen.py index 45ad2975fbee..e30336f7fd0a 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_maximum_set_gen.py @@ -137,6 +137,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_mqtt.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_mqtt.py index 2d75f046f319..c161e77eee0b 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_mqtt.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_create_or_update_mqtt.py @@ -63,6 +63,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_CreateOrUpdate_MQTT.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_CreateOrUpdate_MQTT.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_delete_maximum_set_gen.py index dc04cf34478b..0f3deb775d6e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/DataflowEndpoint_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_get_maximum_set_gen.py index 19851bb2b0e9..3023e781ef7b 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_list_by_resource_group_maximum_set_gen.py index bc4c21015309..8230f33f9b47 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_endpoint_list_by_resource_group_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_get_maximum_set_gen.py index 1f70737b7be1..0ea79b9401c2 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Dataflow_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Dataflow_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_create_or_update_maximum_set_gen.py index 3d826a5099b8..5f427446527c 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_create_or_update_maximum_set_gen.py @@ -102,6 +102,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowGraph_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowGraph_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_delete_maximum_set_gen.py index fe1c70e64183..d099e4782000 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_delete_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/DataflowGraph_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowGraph_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_get_maximum_set_gen.py index 344dbb5687e0..66658a5f89bf 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_get_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowGraph_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowGraph_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_list_by_dataflow_profile_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_list_by_dataflow_profile_maximum_set_gen.py index 5a2d595610ba..348a172b626e 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_list_by_dataflow_profile_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_graph_list_by_dataflow_profile_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/DataflowGraph_ListByDataflowProfile_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowGraph_ListByDataflowProfile_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_list_by_profile_resource_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_list_by_profile_resource_maximum_set_gen.py index 1327bcc36db0..bf64ca0ba512 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_list_by_profile_resource_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_list_by_profile_resource_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/Dataflow_ListByProfileResource_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Dataflow_ListByProfileResource_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_maximum_set_gen.py index 75bb89ca8401..595d9e6366a4 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_maximum_set_gen.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_minimal.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_minimal.py index 44083691183a..b148e347495d 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_minimal.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_minimal.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowProfile_CreateOrUpdate_Minimal.json +# x-ms-original-file: 2026-07-01/DataflowProfile_CreateOrUpdate_Minimal.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_multi.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_multi.py index b142c254475b..4bd21b41ae56 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_multi.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_create_or_update_multi.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowProfile_CreateOrUpdate_Multi.json +# x-ms-original-file: 2026-07-01/DataflowProfile_CreateOrUpdate_Multi.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_delete_maximum_set_gen.py index f2bf011de592..ed18342d07bd 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/DataflowProfile_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowProfile_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_get_maximum_set_gen.py index 212a941da23d..9e402a8da8b6 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/DataflowProfile_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowProfile_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_list_by_resource_group_maximum_set_gen.py index ee5d45fa79fd..f8fe816a4ee5 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/dataflow_profile_list_by_resource_group_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_create_or_update_maximum_set_gen.py index 6af573825279..11f46714f121 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_create_or_update_maximum_set_gen.py @@ -53,6 +53,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Instance_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_delete_maximum_set_gen.py index 773dcfe79946..fa91c740587b 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_delete_maximum_set_gen.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/Instance_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_get_maximum_set_gen.py index 64273c9863c6..b4542c6aaf23 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_get_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Instance_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_resource_group_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_resource_group_maximum_set_gen.py index f1994e5e93c3..0ca2bc13fff9 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_resource_group_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_resource_group_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/Instance_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_subscription_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_subscription_maximum_set_gen.py index 181d772f9ffd..7cf6894cc61a 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_subscription_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_list_by_subscription_maximum_set_gen.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/Instance_ListBySubscription_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_ListBySubscription_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_update_maximum_set_gen.py index 3370a3244819..9de2c0dba016 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/instance_update_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/Instance_Update_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Instance_Update_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/operations_list_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/operations_list_maximum_set_gen.py index 0352ab276e54..9cb0df10b34d 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/operations_list_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/operations_list_maximum_set_gen.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/Operations_List_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/Operations_List_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_create_or_update_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_create_or_update_maximum_set_gen.py index 6d3a0b2741bd..63653b56ccd1 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_create_or_update_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_create_or_update_maximum_set_gen.py @@ -53,6 +53,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/RegistryEndpoint_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/RegistryEndpoint_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_delete_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_delete_maximum_set_gen.py index 1f4db69a066e..51dc0b643893 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_delete_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-03-01/RegistryEndpoint_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/RegistryEndpoint_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_get_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_get_maximum_set_gen.py index 2c741e300b8a..ab2a267f1169 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_get_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-03-01/RegistryEndpoint_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/RegistryEndpoint_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_list_by_instance_resource_maximum_set_gen.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_list_by_instance_resource_maximum_set_gen.py index f9ca182acc12..f4d0632817b8 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_list_by_instance_resource_maximum_set_gen.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_samples/registry_endpoint_list_by_instance_resource_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-03-01/RegistryEndpoint_ListByInstanceResource_MaximumSet_Gen.json +# x-ms-original-file: 2026-07-01/RegistryEndpoint_ListByInstanceResource_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations.py index 7b32ef5d2c59..574755158499 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations.py @@ -112,6 +112,7 @@ def test_broker_begin_create_or_update(self, resource_group): }, "generateResourceLimits": {"cpu": "str"}, "healthState": "str", + "highPriorityMessagesBackpressureHandling": "str", "memoryProfile": "str", "persistence": { "maxSize": "str", diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations_async.py b/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations_async.py index ff9c5f66ff47..17e863caa761 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations_async.py +++ b/sdk/iotoperations/azure-mgmt-iotoperations/generated_tests/test_io_toperations_mgmt_broker_operations_async.py @@ -114,6 +114,7 @@ async def test_broker_begin_create_or_update(self, resource_group): }, "generateResourceLimits": {"cpu": "str"}, "healthState": "str", + "highPriorityMessagesBackpressureHandling": "str", "memoryProfile": "str", "persistence": { "maxSize": "str", diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml b/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml index 884733ca1b94..2a137cff7308 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml +++ b/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml @@ -17,13 +17,13 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] -requires-python = ">=3.9" +requires-python = ">=3.10" keywords = [ "azure", "azure sdk", diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/tsp-location.yaml b/sdk/iotoperations/azure-mgmt-iotoperations/tsp-location.yaml index 09f4738b342c..f39e18fcf29a 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/tsp-location.yaml +++ b/sdk/iotoperations/azure-mgmt-iotoperations/tsp-location.yaml @@ -1,4 +1,4 @@ -directory: specification/iotoperations/IoTOperations.Management -commit: 0238251ff4a7b2404ec0110599b845b15d7fdd7f +directory: specification/iotoperations/resource-manager/Microsoft.IoTOperations/IoTOperations +commit: 47b939221ff0ada50aca8b8d5e35f2e5a827323f repo: Azure/azure-rest-api-specs additionalDirectories: