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,9 @@
|
|
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 end
|
7
|
+
module Azure::Kusto end
|
8
|
+
module Azure::Kusto::Mgmt end
|
9
|
+
module Azure::Kusto::Mgmt::V2019_05_15 end
|
@@ -0,0 +1,221 @@
|
|
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
|
+
# The Azure Kusto management API provides a RESTful set of web services that
|
9
|
+
# interact with Azure Kusto services to manage your clusters and databases.
|
10
|
+
# The API enables you to create, update, and delete clusters and databases.
|
11
|
+
#
|
12
|
+
class Operations
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
#
|
16
|
+
# Creates and initializes a new instance of the Operations class.
|
17
|
+
# @param client service class for accessing basic functionality.
|
18
|
+
#
|
19
|
+
def initialize(client)
|
20
|
+
@client = client
|
21
|
+
end
|
22
|
+
|
23
|
+
# @return [KustoManagementClient] reference to the KustoManagementClient
|
24
|
+
attr_reader :client
|
25
|
+
|
26
|
+
#
|
27
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
28
|
+
#
|
29
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
|
+
# will be added to the HTTP request.
|
31
|
+
#
|
32
|
+
# @return [Array<Operation>] operation results.
|
33
|
+
#
|
34
|
+
def list(custom_headers:nil)
|
35
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
36
|
+
first_page.get_all_items
|
37
|
+
end
|
38
|
+
|
39
|
+
#
|
40
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
41
|
+
#
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
|
+
# will be added to the HTTP request.
|
44
|
+
#
|
45
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
46
|
+
#
|
47
|
+
def list_with_http_info(custom_headers:nil)
|
48
|
+
list_async(custom_headers:custom_headers).value!
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
53
|
+
#
|
54
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
55
|
+
# to the HTTP request.
|
56
|
+
#
|
57
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
58
|
+
#
|
59
|
+
def list_async(custom_headers:nil)
|
60
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
61
|
+
|
62
|
+
|
63
|
+
request_headers = {}
|
64
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
65
|
+
|
66
|
+
# Set Headers
|
67
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
68
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
69
|
+
path_template = 'providers/Microsoft.Kusto/operations'
|
70
|
+
|
71
|
+
request_url = @base_url || @client.base_url
|
72
|
+
|
73
|
+
options = {
|
74
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
75
|
+
query_params: {'api-version' => @client.api_version},
|
76
|
+
headers: request_headers.merge(custom_headers || {}),
|
77
|
+
base_url: request_url
|
78
|
+
}
|
79
|
+
promise = @client.make_request_async(:get, path_template, options)
|
80
|
+
|
81
|
+
promise = promise.then do |result|
|
82
|
+
http_response = result.response
|
83
|
+
status_code = http_response.status
|
84
|
+
response_content = http_response.body
|
85
|
+
unless status_code == 200
|
86
|
+
error_model = JSON.load(response_content)
|
87
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
88
|
+
end
|
89
|
+
|
90
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
91
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
92
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
93
|
+
# Deserialize Response
|
94
|
+
if status_code == 200
|
95
|
+
begin
|
96
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
97
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult.mapper()
|
98
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
99
|
+
rescue Exception => e
|
100
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
result
|
105
|
+
end
|
106
|
+
|
107
|
+
promise.execute
|
108
|
+
end
|
109
|
+
|
110
|
+
#
|
111
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
112
|
+
#
|
113
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
114
|
+
# to List operation.
|
115
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
116
|
+
# will be added to the HTTP request.
|
117
|
+
#
|
118
|
+
# @return [OperationListResult] operation results.
|
119
|
+
#
|
120
|
+
def list_next(next_page_link, custom_headers:nil)
|
121
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
122
|
+
response.body unless response.nil?
|
123
|
+
end
|
124
|
+
|
125
|
+
#
|
126
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
127
|
+
#
|
128
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
129
|
+
# to List operation.
|
130
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
131
|
+
# will be added to the HTTP request.
|
132
|
+
#
|
133
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
134
|
+
#
|
135
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
136
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
137
|
+
end
|
138
|
+
|
139
|
+
#
|
140
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
141
|
+
#
|
142
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
143
|
+
# to List operation.
|
144
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
145
|
+
# to the HTTP request.
|
146
|
+
#
|
147
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
148
|
+
#
|
149
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
150
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
151
|
+
|
152
|
+
|
153
|
+
request_headers = {}
|
154
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
155
|
+
|
156
|
+
# Set Headers
|
157
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
158
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
159
|
+
path_template = '{nextLink}'
|
160
|
+
|
161
|
+
request_url = @base_url || @client.base_url
|
162
|
+
|
163
|
+
options = {
|
164
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
165
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
166
|
+
headers: request_headers.merge(custom_headers || {}),
|
167
|
+
base_url: request_url
|
168
|
+
}
|
169
|
+
promise = @client.make_request_async(:get, path_template, options)
|
170
|
+
|
171
|
+
promise = promise.then do |result|
|
172
|
+
http_response = result.response
|
173
|
+
status_code = http_response.status
|
174
|
+
response_content = http_response.body
|
175
|
+
unless status_code == 200
|
176
|
+
error_model = JSON.load(response_content)
|
177
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
178
|
+
end
|
179
|
+
|
180
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
181
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
182
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
|
+
# Deserialize Response
|
184
|
+
if status_code == 200
|
185
|
+
begin
|
186
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
187
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult.mapper()
|
188
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
189
|
+
rescue Exception => e
|
190
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
result
|
195
|
+
end
|
196
|
+
|
197
|
+
promise.execute
|
198
|
+
end
|
199
|
+
|
200
|
+
#
|
201
|
+
# Lists available operations for the Microsoft.Kusto provider.
|
202
|
+
#
|
203
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
204
|
+
# will be added to the HTTP request.
|
205
|
+
#
|
206
|
+
# @return [OperationListResult] which provide lazy access to pages of the
|
207
|
+
# response.
|
208
|
+
#
|
209
|
+
def list_as_lazy(custom_headers:nil)
|
210
|
+
response = list_async(custom_headers:custom_headers).value!
|
211
|
+
unless response.nil?
|
212
|
+
page = response.body
|
213
|
+
page.next_method = Proc.new do |next_page_link|
|
214
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
215
|
+
end
|
216
|
+
page
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
end
|
@@ -0,0 +1,92 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2019-09-07/generated/azure_mgmt_kusto/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Kusto::Mgmt::V2019_09_07
|
23
|
+
autoload :Clusters, '2019-09-07/generated/azure_mgmt_kusto/clusters.rb'
|
24
|
+
autoload :Databases, '2019-09-07/generated/azure_mgmt_kusto/databases.rb'
|
25
|
+
autoload :AttachedDatabaseConfigurations, '2019-09-07/generated/azure_mgmt_kusto/attached_database_configurations.rb'
|
26
|
+
autoload :DataConnections, '2019-09-07/generated/azure_mgmt_kusto/data_connections.rb'
|
27
|
+
autoload :Operations, '2019-09-07/generated/azure_mgmt_kusto/operations.rb'
|
28
|
+
autoload :KustoManagementClient, '2019-09-07/generated/azure_mgmt_kusto/kusto_management_client.rb'
|
29
|
+
|
30
|
+
module Models
|
31
|
+
autoload :FollowerDatabaseDefinition, '2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb'
|
32
|
+
autoload :TrustedExternalTenant, '2019-09-07/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb'
|
33
|
+
autoload :FollowerDatabaseListResult, '2019-09-07/generated/azure_mgmt_kusto/models/follower_database_list_result.rb'
|
34
|
+
autoload :VirtualNetworkConfiguration, '2019-09-07/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb'
|
35
|
+
autoload :DatabasePrincipalListResult, '2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_result.rb'
|
36
|
+
autoload :AzureSku, '2019-09-07/generated/azure_mgmt_kusto/models/azure_sku.rb'
|
37
|
+
autoload :OptimizedAutoscale, '2019-09-07/generated/azure_mgmt_kusto/models/optimized_autoscale.rb'
|
38
|
+
autoload :AzureResourceSku, '2019-09-07/generated/azure_mgmt_kusto/models/azure_resource_sku.rb'
|
39
|
+
autoload :KeyVaultProperties, '2019-09-07/generated/azure_mgmt_kusto/models/key_vault_properties.rb'
|
40
|
+
autoload :SkuDescription, '2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb'
|
41
|
+
autoload :SkuLocationInfoItem, '2019-09-07/generated/azure_mgmt_kusto/models/sku_location_info_item.rb'
|
42
|
+
autoload :SkuDescriptionList, '2019-09-07/generated/azure_mgmt_kusto/models/sku_description_list.rb'
|
43
|
+
autoload :IdentityUserAssignedIdentitiesValue, '2019-09-07/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb'
|
44
|
+
autoload :CheckNameResult, '2019-09-07/generated/azure_mgmt_kusto/models/check_name_result.rb'
|
45
|
+
autoload :DatabaseStatistics, '2019-09-07/generated/azure_mgmt_kusto/models/database_statistics.rb'
|
46
|
+
autoload :Identity, '2019-09-07/generated/azure_mgmt_kusto/models/identity.rb'
|
47
|
+
autoload :OperationDisplay, '2019-09-07/generated/azure_mgmt_kusto/models/operation_display.rb'
|
48
|
+
autoload :ListResourceSkusResult, '2019-09-07/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb'
|
49
|
+
autoload :DataConnectionValidationResult, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb'
|
50
|
+
autoload :ClusterCheckNameRequest, '2019-09-07/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb'
|
51
|
+
autoload :DatabasePrincipalListRequest, '2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_request.rb'
|
52
|
+
autoload :ClusterListResult, '2019-09-07/generated/azure_mgmt_kusto/models/cluster_list_result.rb'
|
53
|
+
autoload :DataConnectionValidation, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation.rb'
|
54
|
+
autoload :AzureCapacity, '2019-09-07/generated/azure_mgmt_kusto/models/azure_capacity.rb'
|
55
|
+
autoload :Resource, '2019-09-07/generated/azure_mgmt_kusto/models/resource.rb'
|
56
|
+
autoload :AttachedDatabaseConfigurationListResult, '2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb'
|
57
|
+
autoload :OperationListResult, '2019-09-07/generated/azure_mgmt_kusto/models/operation_list_result.rb'
|
58
|
+
autoload :DatabasePrincipal, '2019-09-07/generated/azure_mgmt_kusto/models/database_principal.rb'
|
59
|
+
autoload :Operation, '2019-09-07/generated/azure_mgmt_kusto/models/operation.rb'
|
60
|
+
autoload :DataConnectionCheckNameRequest, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb'
|
61
|
+
autoload :DataConnectionValidationListResult, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb'
|
62
|
+
autoload :DatabaseListResult, '2019-09-07/generated/azure_mgmt_kusto/models/database_list_result.rb'
|
63
|
+
autoload :DataConnectionListResult, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection_list_result.rb'
|
64
|
+
autoload :CheckNameRequest, '2019-09-07/generated/azure_mgmt_kusto/models/check_name_request.rb'
|
65
|
+
autoload :Cluster, '2019-09-07/generated/azure_mgmt_kusto/models/cluster.rb'
|
66
|
+
autoload :ClusterUpdate, '2019-09-07/generated/azure_mgmt_kusto/models/cluster_update.rb'
|
67
|
+
autoload :ReadWriteDatabase, '2019-09-07/generated/azure_mgmt_kusto/models/read_write_database.rb'
|
68
|
+
autoload :ReadOnlyFollowingDatabase, '2019-09-07/generated/azure_mgmt_kusto/models/read_only_following_database.rb'
|
69
|
+
autoload :ProxyResource, '2019-09-07/generated/azure_mgmt_kusto/models/proxy_resource.rb'
|
70
|
+
autoload :AttachedDatabaseConfiguration, '2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration.rb'
|
71
|
+
autoload :Database, '2019-09-07/generated/azure_mgmt_kusto/models/database.rb'
|
72
|
+
autoload :DataConnection, '2019-09-07/generated/azure_mgmt_kusto/models/data_connection.rb'
|
73
|
+
autoload :EventHubDataConnection, '2019-09-07/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb'
|
74
|
+
autoload :IotHubDataConnection, '2019-09-07/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb'
|
75
|
+
autoload :EventGridDataConnection, '2019-09-07/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb'
|
76
|
+
autoload :TrackedResource, '2019-09-07/generated/azure_mgmt_kusto/models/tracked_resource.rb'
|
77
|
+
autoload :AzureEntityResource, '2019-09-07/generated/azure_mgmt_kusto/models/azure_entity_resource.rb'
|
78
|
+
autoload :State, '2019-09-07/generated/azure_mgmt_kusto/models/state.rb'
|
79
|
+
autoload :ProvisioningState, '2019-09-07/generated/azure_mgmt_kusto/models/provisioning_state.rb'
|
80
|
+
autoload :AzureSkuName, '2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_name.rb'
|
81
|
+
autoload :AzureSkuTier, '2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_tier.rb'
|
82
|
+
autoload :AzureScaleType, '2019-09-07/generated/azure_mgmt_kusto/models/azure_scale_type.rb'
|
83
|
+
autoload :DefaultPrincipalsModificationKind, '2019-09-07/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb'
|
84
|
+
autoload :PrincipalsModificationKind, '2019-09-07/generated/azure_mgmt_kusto/models/principals_modification_kind.rb'
|
85
|
+
autoload :DataFormat, '2019-09-07/generated/azure_mgmt_kusto/models/data_format.rb'
|
86
|
+
autoload :IdentityType, '2019-09-07/generated/azure_mgmt_kusto/models/identity_type.rb'
|
87
|
+
autoload :DatabasePrincipalRole, '2019-09-07/generated/azure_mgmt_kusto/models/database_principal_role.rb'
|
88
|
+
autoload :DatabasePrincipalType, '2019-09-07/generated/azure_mgmt_kusto/models/database_principal_type.rb'
|
89
|
+
autoload :Type, '2019-09-07/generated/azure_mgmt_kusto/models/type.rb'
|
90
|
+
autoload :Reason, '2019-09-07/generated/azure_mgmt_kusto/models/reason.rb'
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,558 @@
|
|
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_09_07
|
7
|
+
#
|
8
|
+
# The Azure Kusto management API provides a RESTful set of web services that
|
9
|
+
# interact with Azure Kusto services to manage your clusters and databases.
|
10
|
+
# The API enables you to create, update, and delete clusters and databases.
|
11
|
+
#
|
12
|
+
class AttachedDatabaseConfigurations
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
#
|
16
|
+
# Creates and initializes a new instance of the AttachedDatabaseConfigurations class.
|
17
|
+
# @param client service class for accessing basic functionality.
|
18
|
+
#
|
19
|
+
def initialize(client)
|
20
|
+
@client = client
|
21
|
+
end
|
22
|
+
|
23
|
+
# @return [KustoManagementClient] reference to the KustoManagementClient
|
24
|
+
attr_reader :client
|
25
|
+
|
26
|
+
#
|
27
|
+
# Returns the list of attached database configurations of the given Kusto
|
28
|
+
# cluster.
|
29
|
+
#
|
30
|
+
# @param resource_group_name [String] The name of the resource group containing
|
31
|
+
# the Kusto cluster.
|
32
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [AttachedDatabaseConfigurationListResult] operation results.
|
37
|
+
#
|
38
|
+
def list_by_cluster(resource_group_name, cluster_name, custom_headers:nil)
|
39
|
+
response = list_by_cluster_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
|
40
|
+
response.body unless response.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Returns the list of attached database configurations of the given Kusto
|
45
|
+
# cluster.
|
46
|
+
#
|
47
|
+
# @param resource_group_name [String] The name of the resource group containing
|
48
|
+
# the Kusto cluster.
|
49
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
50
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
|
+
# will be added to the HTTP request.
|
52
|
+
#
|
53
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
|
+
#
|
55
|
+
def list_by_cluster_with_http_info(resource_group_name, cluster_name, custom_headers:nil)
|
56
|
+
list_by_cluster_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Returns the list of attached database configurations of the given Kusto
|
61
|
+
# cluster.
|
62
|
+
#
|
63
|
+
# @param resource_group_name [String] The name of the resource group containing
|
64
|
+
# the Kusto cluster.
|
65
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
66
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
67
|
+
# to the HTTP request.
|
68
|
+
#
|
69
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
70
|
+
#
|
71
|
+
def list_by_cluster_async(resource_group_name, cluster_name, custom_headers:nil)
|
72
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
|
+
fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
|
74
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
75
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
76
|
+
|
77
|
+
|
78
|
+
request_headers = {}
|
79
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
|
+
|
81
|
+
# Set Headers
|
82
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
83
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
84
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations'
|
85
|
+
|
86
|
+
request_url = @base_url || @client.base_url
|
87
|
+
|
88
|
+
options = {
|
89
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
90
|
+
path_params: {'resourceGroupName' => resource_group_name,'clusterName' => cluster_name,'subscriptionId' => @client.subscription_id},
|
91
|
+
query_params: {'api-version' => @client.api_version},
|
92
|
+
headers: request_headers.merge(custom_headers || {}),
|
93
|
+
base_url: request_url
|
94
|
+
}
|
95
|
+
promise = @client.make_request_async(:get, path_template, options)
|
96
|
+
|
97
|
+
promise = promise.then do |result|
|
98
|
+
http_response = result.response
|
99
|
+
status_code = http_response.status
|
100
|
+
response_content = http_response.body
|
101
|
+
unless status_code == 200
|
102
|
+
error_model = JSON.load(response_content)
|
103
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
104
|
+
end
|
105
|
+
|
106
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
107
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
108
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
109
|
+
# Deserialize Response
|
110
|
+
if status_code == 200
|
111
|
+
begin
|
112
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
113
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfigurationListResult.mapper()
|
114
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
115
|
+
rescue Exception => e
|
116
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
result
|
121
|
+
end
|
122
|
+
|
123
|
+
promise.execute
|
124
|
+
end
|
125
|
+
|
126
|
+
#
|
127
|
+
# Returns an attached database configuration.
|
128
|
+
#
|
129
|
+
# @param resource_group_name [String] The name of the resource group containing
|
130
|
+
# the Kusto cluster.
|
131
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
132
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
133
|
+
# database configuration.
|
134
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
135
|
+
# will be added to the HTTP request.
|
136
|
+
#
|
137
|
+
# @return [AttachedDatabaseConfiguration] operation results.
|
138
|
+
#
|
139
|
+
def get(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
140
|
+
response = get_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers).value!
|
141
|
+
response.body unless response.nil?
|
142
|
+
end
|
143
|
+
|
144
|
+
#
|
145
|
+
# Returns an attached database configuration.
|
146
|
+
#
|
147
|
+
# @param resource_group_name [String] The name of the resource group containing
|
148
|
+
# the Kusto cluster.
|
149
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
150
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
151
|
+
# database configuration.
|
152
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
153
|
+
# will be added to the HTTP request.
|
154
|
+
#
|
155
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
156
|
+
#
|
157
|
+
def get_with_http_info(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
158
|
+
get_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers).value!
|
159
|
+
end
|
160
|
+
|
161
|
+
#
|
162
|
+
# Returns an attached database configuration.
|
163
|
+
#
|
164
|
+
# @param resource_group_name [String] The name of the resource group containing
|
165
|
+
# the Kusto cluster.
|
166
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
167
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
168
|
+
# database configuration.
|
169
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
170
|
+
# to the HTTP request.
|
171
|
+
#
|
172
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
173
|
+
#
|
174
|
+
def get_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
175
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
176
|
+
fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
|
177
|
+
fail ArgumentError, 'attached_database_configuration_name is nil' if attached_database_configuration_name.nil?
|
178
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
179
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
180
|
+
|
181
|
+
|
182
|
+
request_headers = {}
|
183
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
184
|
+
|
185
|
+
# Set Headers
|
186
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
187
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
188
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}'
|
189
|
+
|
190
|
+
request_url = @base_url || @client.base_url
|
191
|
+
|
192
|
+
options = {
|
193
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
194
|
+
path_params: {'resourceGroupName' => resource_group_name,'clusterName' => cluster_name,'attachedDatabaseConfigurationName' => attached_database_configuration_name,'subscriptionId' => @client.subscription_id},
|
195
|
+
query_params: {'api-version' => @client.api_version},
|
196
|
+
headers: request_headers.merge(custom_headers || {}),
|
197
|
+
base_url: request_url
|
198
|
+
}
|
199
|
+
promise = @client.make_request_async(:get, path_template, options)
|
200
|
+
|
201
|
+
promise = promise.then do |result|
|
202
|
+
http_response = result.response
|
203
|
+
status_code = http_response.status
|
204
|
+
response_content = http_response.body
|
205
|
+
unless status_code == 200
|
206
|
+
error_model = JSON.load(response_content)
|
207
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
208
|
+
end
|
209
|
+
|
210
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
211
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
212
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
213
|
+
# Deserialize Response
|
214
|
+
if status_code == 200
|
215
|
+
begin
|
216
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
217
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
218
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
219
|
+
rescue Exception => e
|
220
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
result
|
225
|
+
end
|
226
|
+
|
227
|
+
promise.execute
|
228
|
+
end
|
229
|
+
|
230
|
+
#
|
231
|
+
# Creates or updates an attached database configuration.
|
232
|
+
#
|
233
|
+
# @param resource_group_name [String] The name of the resource group containing
|
234
|
+
# the Kusto cluster.
|
235
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
236
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
237
|
+
# database configuration.
|
238
|
+
# @param parameters [AttachedDatabaseConfiguration] The database parameters
|
239
|
+
# supplied to the CreateOrUpdate operation.
|
240
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
241
|
+
# will be added to the HTTP request.
|
242
|
+
#
|
243
|
+
# @return [AttachedDatabaseConfiguration] operation results.
|
244
|
+
#
|
245
|
+
def create_or_update(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:nil)
|
246
|
+
response = create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:custom_headers).value!
|
247
|
+
response.body unless response.nil?
|
248
|
+
end
|
249
|
+
|
250
|
+
#
|
251
|
+
# @param resource_group_name [String] The name of the resource group containing
|
252
|
+
# the Kusto cluster.
|
253
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
254
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
255
|
+
# database configuration.
|
256
|
+
# @param parameters [AttachedDatabaseConfiguration] The database parameters
|
257
|
+
# supplied to the CreateOrUpdate operation.
|
258
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
259
|
+
# will be added to the HTTP request.
|
260
|
+
#
|
261
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
262
|
+
# response.
|
263
|
+
#
|
264
|
+
def create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:nil)
|
265
|
+
# Send request
|
266
|
+
promise = begin_create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:custom_headers)
|
267
|
+
|
268
|
+
promise = promise.then do |response|
|
269
|
+
# Defining deserialization method.
|
270
|
+
deserialize_method = lambda do |parsed_response|
|
271
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
272
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
273
|
+
end
|
274
|
+
|
275
|
+
# Waiting for response.
|
276
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
277
|
+
end
|
278
|
+
|
279
|
+
promise
|
280
|
+
end
|
281
|
+
|
282
|
+
#
|
283
|
+
# Deletes the attached database configuration with the given name.
|
284
|
+
#
|
285
|
+
# @param resource_group_name [String] The name of the resource group containing
|
286
|
+
# the Kusto cluster.
|
287
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
288
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
289
|
+
# database configuration.
|
290
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
291
|
+
# will be added to the HTTP request.
|
292
|
+
#
|
293
|
+
def delete(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
294
|
+
response = delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers).value!
|
295
|
+
nil
|
296
|
+
end
|
297
|
+
|
298
|
+
#
|
299
|
+
# @param resource_group_name [String] The name of the resource group containing
|
300
|
+
# the Kusto cluster.
|
301
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
302
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
303
|
+
# database configuration.
|
304
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
305
|
+
# will be added to the HTTP request.
|
306
|
+
#
|
307
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
308
|
+
# response.
|
309
|
+
#
|
310
|
+
def delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
311
|
+
# Send request
|
312
|
+
promise = begin_delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers)
|
313
|
+
|
314
|
+
promise = promise.then do |response|
|
315
|
+
# Defining deserialization method.
|
316
|
+
deserialize_method = lambda do |parsed_response|
|
317
|
+
end
|
318
|
+
|
319
|
+
# Waiting for response.
|
320
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
321
|
+
end
|
322
|
+
|
323
|
+
promise
|
324
|
+
end
|
325
|
+
|
326
|
+
#
|
327
|
+
# Creates or updates an attached database configuration.
|
328
|
+
#
|
329
|
+
# @param resource_group_name [String] The name of the resource group containing
|
330
|
+
# the Kusto cluster.
|
331
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
332
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
333
|
+
# database configuration.
|
334
|
+
# @param parameters [AttachedDatabaseConfiguration] The database parameters
|
335
|
+
# supplied to the CreateOrUpdate operation.
|
336
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
337
|
+
# will be added to the HTTP request.
|
338
|
+
#
|
339
|
+
# @return [AttachedDatabaseConfiguration] operation results.
|
340
|
+
#
|
341
|
+
def begin_create_or_update(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:nil)
|
342
|
+
response = begin_create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:custom_headers).value!
|
343
|
+
response.body unless response.nil?
|
344
|
+
end
|
345
|
+
|
346
|
+
#
|
347
|
+
# Creates or updates an attached database configuration.
|
348
|
+
#
|
349
|
+
# @param resource_group_name [String] The name of the resource group containing
|
350
|
+
# the Kusto cluster.
|
351
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
352
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
353
|
+
# database configuration.
|
354
|
+
# @param parameters [AttachedDatabaseConfiguration] The database parameters
|
355
|
+
# supplied to the CreateOrUpdate operation.
|
356
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
357
|
+
# will be added to the HTTP request.
|
358
|
+
#
|
359
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
360
|
+
#
|
361
|
+
def begin_create_or_update_with_http_info(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:nil)
|
362
|
+
begin_create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:custom_headers).value!
|
363
|
+
end
|
364
|
+
|
365
|
+
#
|
366
|
+
# Creates or updates an attached database configuration.
|
367
|
+
#
|
368
|
+
# @param resource_group_name [String] The name of the resource group containing
|
369
|
+
# the Kusto cluster.
|
370
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
371
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
372
|
+
# database configuration.
|
373
|
+
# @param parameters [AttachedDatabaseConfiguration] The database parameters
|
374
|
+
# supplied to the CreateOrUpdate operation.
|
375
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
376
|
+
# to the HTTP request.
|
377
|
+
#
|
378
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
379
|
+
#
|
380
|
+
def begin_create_or_update_async(resource_group_name, cluster_name, attached_database_configuration_name, parameters, custom_headers:nil)
|
381
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
382
|
+
fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
|
383
|
+
fail ArgumentError, 'attached_database_configuration_name is nil' if attached_database_configuration_name.nil?
|
384
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
385
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
386
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
387
|
+
|
388
|
+
|
389
|
+
request_headers = {}
|
390
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
391
|
+
|
392
|
+
# Set Headers
|
393
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
394
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
395
|
+
|
396
|
+
# Serialize Request
|
397
|
+
request_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
398
|
+
request_content = @client.serialize(request_mapper, parameters)
|
399
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
400
|
+
|
401
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}'
|
402
|
+
|
403
|
+
request_url = @base_url || @client.base_url
|
404
|
+
|
405
|
+
options = {
|
406
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
407
|
+
path_params: {'resourceGroupName' => resource_group_name,'clusterName' => cluster_name,'attachedDatabaseConfigurationName' => attached_database_configuration_name,'subscriptionId' => @client.subscription_id},
|
408
|
+
query_params: {'api-version' => @client.api_version},
|
409
|
+
body: request_content,
|
410
|
+
headers: request_headers.merge(custom_headers || {}),
|
411
|
+
base_url: request_url
|
412
|
+
}
|
413
|
+
promise = @client.make_request_async(:put, path_template, options)
|
414
|
+
|
415
|
+
promise = promise.then do |result|
|
416
|
+
http_response = result.response
|
417
|
+
status_code = http_response.status
|
418
|
+
response_content = http_response.body
|
419
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
420
|
+
error_model = JSON.load(response_content)
|
421
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
422
|
+
end
|
423
|
+
|
424
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
425
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
426
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
427
|
+
# Deserialize Response
|
428
|
+
if status_code == 200
|
429
|
+
begin
|
430
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
431
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
432
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
433
|
+
rescue Exception => e
|
434
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
435
|
+
end
|
436
|
+
end
|
437
|
+
# Deserialize Response
|
438
|
+
if status_code == 201
|
439
|
+
begin
|
440
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
441
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
442
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
443
|
+
rescue Exception => e
|
444
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
# Deserialize Response
|
448
|
+
if status_code == 202
|
449
|
+
begin
|
450
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
451
|
+
result_mapper = Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration.mapper()
|
452
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
453
|
+
rescue Exception => e
|
454
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
result
|
459
|
+
end
|
460
|
+
|
461
|
+
promise.execute
|
462
|
+
end
|
463
|
+
|
464
|
+
#
|
465
|
+
# Deletes the attached database configuration with the given name.
|
466
|
+
#
|
467
|
+
# @param resource_group_name [String] The name of the resource group containing
|
468
|
+
# the Kusto cluster.
|
469
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
470
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
471
|
+
# database configuration.
|
472
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
473
|
+
# will be added to the HTTP request.
|
474
|
+
#
|
475
|
+
#
|
476
|
+
def begin_delete(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
477
|
+
response = begin_delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers).value!
|
478
|
+
nil
|
479
|
+
end
|
480
|
+
|
481
|
+
#
|
482
|
+
# Deletes the attached database configuration with the given name.
|
483
|
+
#
|
484
|
+
# @param resource_group_name [String] The name of the resource group containing
|
485
|
+
# the Kusto cluster.
|
486
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
487
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
488
|
+
# database configuration.
|
489
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
490
|
+
# will be added to the HTTP request.
|
491
|
+
#
|
492
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
493
|
+
#
|
494
|
+
def begin_delete_with_http_info(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
495
|
+
begin_delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:custom_headers).value!
|
496
|
+
end
|
497
|
+
|
498
|
+
#
|
499
|
+
# Deletes the attached database configuration with the given name.
|
500
|
+
#
|
501
|
+
# @param resource_group_name [String] The name of the resource group containing
|
502
|
+
# the Kusto cluster.
|
503
|
+
# @param cluster_name [String] The name of the Kusto cluster.
|
504
|
+
# @param attached_database_configuration_name [String] The name of the attached
|
505
|
+
# database configuration.
|
506
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
507
|
+
# to the HTTP request.
|
508
|
+
#
|
509
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
510
|
+
#
|
511
|
+
def begin_delete_async(resource_group_name, cluster_name, attached_database_configuration_name, custom_headers:nil)
|
512
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
513
|
+
fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
|
514
|
+
fail ArgumentError, 'attached_database_configuration_name is nil' if attached_database_configuration_name.nil?
|
515
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
516
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
517
|
+
|
518
|
+
|
519
|
+
request_headers = {}
|
520
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
521
|
+
|
522
|
+
# Set Headers
|
523
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
524
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
525
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}'
|
526
|
+
|
527
|
+
request_url = @base_url || @client.base_url
|
528
|
+
|
529
|
+
options = {
|
530
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
531
|
+
path_params: {'resourceGroupName' => resource_group_name,'clusterName' => cluster_name,'attachedDatabaseConfigurationName' => attached_database_configuration_name,'subscriptionId' => @client.subscription_id},
|
532
|
+
query_params: {'api-version' => @client.api_version},
|
533
|
+
headers: request_headers.merge(custom_headers || {}),
|
534
|
+
base_url: request_url
|
535
|
+
}
|
536
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
537
|
+
|
538
|
+
promise = promise.then do |result|
|
539
|
+
http_response = result.response
|
540
|
+
status_code = http_response.status
|
541
|
+
response_content = http_response.body
|
542
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
543
|
+
error_model = JSON.load(response_content)
|
544
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
545
|
+
end
|
546
|
+
|
547
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
548
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
549
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
550
|
+
|
551
|
+
result
|
552
|
+
end
|
553
|
+
|
554
|
+
promise.execute
|
555
|
+
end
|
556
|
+
|
557
|
+
end
|
558
|
+
end
|