azure_mgmt_kusto 0.17.2 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/clusters.rb +22 -0
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb +18 -0
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/operations.rb +4 -0
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/clusters.rb +22 -0
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/databases.rb +18 -0
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/operations.rb +4 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto.rb +16 -13
- data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +22 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +127 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +18 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +2 -2
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +1 -1
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +9 -6
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +12 -7
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +12 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +0 -1
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +4 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto.rb +79 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/clusters.rb +1303 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/data_connections.rb +963 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/databases.rb +1149 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster.rb +238 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_update.rb +225 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database.rb +123 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +165 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2019-05-15/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto.rb +92 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/clusters.rb +1557 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/data_connections.rb +983 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/kusto_management_client.rb +149 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster.rb +263 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_update.rb +250 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_format.rb +26 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +165 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity.rb +95 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/read_write_database.rb +135 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2019-09-07/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto.rb +106 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/clusters.rb +1702 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/data_connections.rb +983 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster.rb +275 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_update.rb +262 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +28 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +177 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +28 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity.rb +95 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +28 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2019-11-09/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto.rb +109 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/clusters.rb +2087 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/data_connections.rb +983 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster.rb +301 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_update.rb +288 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +177 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity.rb +95 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto.rb +110 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/clusters.rb +2087 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/data_connections.rb +1033 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/blob_storage_event_type.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster.rb +315 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_update.rb +302 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +184 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +30 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +178 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +30 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity.rb +95 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +177 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +30 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2020-06-14/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/azure_mgmt_kusto.rb +6 -1
- data/lib/profiles/latest/modules/kusto_profile_module.rb +259 -109
- data/lib/version.rb +1 -1
- metadata +384 -5
@@ -0,0 +1,145 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class KustoManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Gets subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client API Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] The preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
38
|
+
attr_accessor :generate_client_request_id
|
39
|
+
|
40
|
+
# @return [Clusters] clusters
|
41
|
+
attr_reader :clusters
|
42
|
+
|
43
|
+
# @return [Databases] databases
|
44
|
+
attr_reader :databases
|
45
|
+
|
46
|
+
# @return [DataConnections] data_connections
|
47
|
+
attr_reader :data_connections
|
48
|
+
|
49
|
+
# @return [Operations] operations
|
50
|
+
attr_reader :operations
|
51
|
+
|
52
|
+
#
|
53
|
+
# Creates initializes a new instance of the KustoManagementClient class.
|
54
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
55
|
+
# @param base_url [String] the base URI of the service.
|
56
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
57
|
+
#
|
58
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
59
|
+
super(credentials, options)
|
60
|
+
@base_url = base_url || 'https://management.azure.com'
|
61
|
+
|
62
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
63
|
+
@credentials = credentials
|
64
|
+
|
65
|
+
@clusters = Clusters.new(self)
|
66
|
+
@databases = Databases.new(self)
|
67
|
+
@data_connections = DataConnections.new(self)
|
68
|
+
@operations = Operations.new(self)
|
69
|
+
@api_version = '2019-05-15'
|
70
|
+
@accept_language = 'en-US'
|
71
|
+
@long_running_operation_retry_timeout = 30
|
72
|
+
@generate_client_request_id = true
|
73
|
+
add_telemetry
|
74
|
+
end
|
75
|
+
|
76
|
+
#
|
77
|
+
# Makes a request and returns the body of the response.
|
78
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
79
|
+
# @param path [String] the path, relative to {base_url}.
|
80
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
81
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
82
|
+
# Example:
|
83
|
+
#
|
84
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
85
|
+
# path = "/path"
|
86
|
+
# options = {
|
87
|
+
# body: request_content,
|
88
|
+
# query_params: {'api-version' => '2016-02-01'}
|
89
|
+
# }
|
90
|
+
# result = @client.make_request(:put, path, options)
|
91
|
+
#
|
92
|
+
def make_request(method, path, options = {})
|
93
|
+
result = make_request_with_http_info(method, path, options)
|
94
|
+
result.body unless result.nil?
|
95
|
+
end
|
96
|
+
|
97
|
+
#
|
98
|
+
# Makes a request and returns the operation response.
|
99
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
100
|
+
# @param path [String] the path, relative to {base_url}.
|
101
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
102
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
103
|
+
#
|
104
|
+
def make_request_with_http_info(method, path, options = {})
|
105
|
+
result = make_request_async(method, path, options).value!
|
106
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
107
|
+
result
|
108
|
+
end
|
109
|
+
|
110
|
+
#
|
111
|
+
# Makes a request asynchronously.
|
112
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
113
|
+
# @param path [String] the path, relative to {base_url}.
|
114
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
115
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
116
|
+
#
|
117
|
+
def make_request_async(method, path, options = {})
|
118
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
119
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
120
|
+
|
121
|
+
request_url = options[:base_url] || @base_url
|
122
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
123
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
124
|
+
end
|
125
|
+
|
126
|
+
request_headers = @request_headers
|
127
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
128
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
129
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
130
|
+
|
131
|
+
super(request_url, method, path, options)
|
132
|
+
end
|
133
|
+
|
134
|
+
|
135
|
+
private
|
136
|
+
#
|
137
|
+
# Adds telemetry information.
|
138
|
+
#
|
139
|
+
def add_telemetry
|
140
|
+
sdk_information = 'azure_mgmt_kusto'
|
141
|
+
sdk_information = "#{sdk_information}/0.19.3"
|
142
|
+
add_user_agent_information(sdk_information)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure capacity definition.
|
10
|
+
#
|
11
|
+
class AzureCapacity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AzureScaleType] Scale type. Possible values include:
|
16
|
+
# 'automatic', 'manual', 'none'
|
17
|
+
attr_accessor :scale_type
|
18
|
+
|
19
|
+
# @return [Integer] Minimum allowed capacity.
|
20
|
+
attr_accessor :minimum
|
21
|
+
|
22
|
+
# @return [Integer] Maximum allowed capacity.
|
23
|
+
attr_accessor :maximum
|
24
|
+
|
25
|
+
# @return [Integer] The default capacity that would be used.
|
26
|
+
attr_accessor :default
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for AzureCapacity class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'AzureCapacity',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'AzureCapacity',
|
41
|
+
model_properties: {
|
42
|
+
scale_type: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'scaleType',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
minimum: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'minimum',
|
54
|
+
type: {
|
55
|
+
name: 'Number'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
maximum: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'maximum',
|
62
|
+
type: {
|
63
|
+
name: 'Number'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
default: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: 'default',
|
70
|
+
type: {
|
71
|
+
name: 'Number'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a Azure Resource Manager resource with
|
10
|
+
# an etag.
|
11
|
+
#
|
12
|
+
class AzureEntityResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource Etag.
|
17
|
+
attr_accessor :etag
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AzureEntityResource class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'AzureEntityResource',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AzureEntityResource',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'type',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
etag: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'etag',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure resource SKU definition.
|
10
|
+
#
|
11
|
+
class AzureResourceSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Namespace and Type.
|
16
|
+
attr_accessor :resource_type
|
17
|
+
|
18
|
+
# @return [AzureSku] The SKU details.
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [AzureCapacity] The number of instances of the cluster.
|
22
|
+
attr_accessor :capacity
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for AzureResourceSku class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'AzureResourceSku',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'AzureResourceSku',
|
37
|
+
model_properties: {
|
38
|
+
resource_type: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'resourceType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
sku: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'sku',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'AzureSku'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
capacity: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'capacity',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'AzureCapacity'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AzureScaleType
|
10
|
+
#
|
11
|
+
module AzureScaleType
|
12
|
+
Automatic = "automatic"
|
13
|
+
Manual = "manual"
|
14
|
+
None = "none"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Kusto::Mgmt::V2019_05_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure SKU definition.
|
10
|
+
#
|
11
|
+
class AzureSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AzureSkuName] SKU name. Possible values include:
|
16
|
+
# 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS',
|
17
|
+
# 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS',
|
18
|
+
# 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s',
|
19
|
+
# 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_L4s', 'Dev(No
|
20
|
+
# SLA)_Standard_D11_v2'
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [Integer] The number of instances of the cluster.
|
24
|
+
attr_accessor :capacity
|
25
|
+
|
26
|
+
# @return [AzureSkuTier] SKU tier. Possible values include: 'Basic',
|
27
|
+
# 'Standard'
|
28
|
+
attr_accessor :tier
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for AzureSku class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'AzureSku',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'AzureSku',
|
43
|
+
model_properties: {
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
capacity: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'capacity',
|
56
|
+
type: {
|
57
|
+
name: 'Number'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
tier: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: true,
|
63
|
+
serialized_name: 'tier',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|