azure_mgmt_kusto 0.18.0 → 0.20.0
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/kusto_management_client.rb +1 -1
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- 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/2020-09-18/generated/azure_mgmt_kusto.rb +111 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/clusters.rb +2087 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/data_connections.rb +1033 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku.rb +78 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku_name.rb +36 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/blob_storage_event_type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster.rb +327 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_update.rb +314 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/engine_type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +198 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +192 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity.rb +97 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity_type.rb +18 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +191 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/key_vault_properties.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/azure_mgmt_kusto.rb +7 -2
- data/lib/profiles/latest/modules/kusto_profile_module.rb +248 -126
- data/lib/version.rb +1 -1
- metadata +413 -5
@@ -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::V2020_02_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 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::V2020_02_15::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::V2020_02_15::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::V2020_02_15::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::V2020_02_15::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::V2020_02_15::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::V2020_02_15::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::V2020_02_15::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
|