# encoding: utf-8 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. require 'azure_mgmt_stream_analytics' module Azure::Profiles::Latest module StreamAnalytics module Mgmt Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations StreamingJobs = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamingJobs Inputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Inputs Outputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Outputs Transformations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Transformations Functions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Functions Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties FunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionProperties ServiceBusDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusDataSourceProperties OutputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputListResult FunctionInput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionInput StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult InputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding AzureMachineLearningWebServiceFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end class StreamAnalyticsManagementClass attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @client_0 = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamAnalyticsManagementClient.new(configurable.credentials, base_url, options) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations @functions = @client_0.functions @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/StreamAnalytics/Mgmt" client.add_user_agent_information(profile_information) end def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end class ModelClasses def azure_machine_learning_web_service_input_column Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn end def operation_display Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay end def azure_machine_learning_web_service_inputs Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs end def operation_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult end def reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end def serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization end def function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding end def diagnostics Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end def function_output Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end def sku Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition end def output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource end def input_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties end def function_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionProperties end def service_bus_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusDataSourceProperties end def output_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputListResult end def function_input Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionInput end def start_streaming_job_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters end def blob_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties end def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end def sub_resource Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource end def operation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation end def storage_account Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end def stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource end def streaming_job_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult end def input_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult end def azure_machine_learning_web_service_output_column Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn end def oauth_based_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties end def resource_test_status Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus end def error_response Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse end def subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end def resource Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource end def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end def input Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input end def transformation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end def output Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def function Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function end def streaming_job Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob end def java_script_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding end def scalar_function_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties end def avro_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end def csv_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end def azure_data_lake_store_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource end def power_bioutput_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource end def event_hub_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end def service_bus_topic_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource end def service_bus_queue_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource end def document_db_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end def azure_sql_database_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource end def event_hub_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource end def azure_table_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end def blob_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource end def blob_reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource end def reference_input_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end def io_thub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end def event_hub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource end def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end def stream_input_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters end def java_script_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters end def subscription_quota Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end def sku_name Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end def output_start_mode Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode end def events_out_of_order_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end def output_error_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end def encoding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding end def udf_type Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end end end end end end