azure_cognitiveservices_luisauthoring 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/features.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/pattern.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/train.rb +0 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring.rb +46 -44
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/apps.rb +237 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +48 -20
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/examples.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/features.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +1 -1
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/model.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/child_entity_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model_v2.rb +97 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/json_child.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/json_model_feature_information.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/luis_app_v2.rb +329 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_feature_information.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/ndepth_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/pattern.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/permissions.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/settings.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/train.rb +0 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/versions.rb +340 -0
- data/lib/azure_cognitiveservices_luisauthoring.rb +7 -7
- data/lib/module_definition.rb +7 -7
- data/lib/profiles/latest/luisauthoring_latest_profile_client.rb +38 -38
- data/lib/profiles/latest/luisauthoring_module_definition.rb +8 -8
- data/lib/profiles/latest/modules/luisauthoring_profile_module.rb +517 -509
- data/lib/version.rb +7 -7
- metadata +5 -3
@@ -2270,5 +2270,242 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
2270
2270
|
promise.execute
|
2271
2271
|
end
|
2272
2272
|
|
2273
|
+
#
|
2274
|
+
# Imports an application to LUIS, the application's structure is included in
|
2275
|
+
# the request body.
|
2276
|
+
#
|
2277
|
+
# @param luis_app_v2 [LuisAppV2] A LUIS application structure.
|
2278
|
+
# @param app_name [String] The application name to create. If not specified,
|
2279
|
+
# the application name will be read from the imported object. If the
|
2280
|
+
# application name already exists, an error is returned.
|
2281
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2282
|
+
# will be added to the HTTP request.
|
2283
|
+
#
|
2284
|
+
# @return [Uuid] operation results.
|
2285
|
+
#
|
2286
|
+
def import_v2app(luis_app_v2, app_name:nil, custom_headers:nil)
|
2287
|
+
response = import_v2app_async(luis_app_v2, app_name:app_name, custom_headers:custom_headers).value!
|
2288
|
+
response.body unless response.nil?
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
#
|
2292
|
+
# Imports an application to LUIS, the application's structure is included in
|
2293
|
+
# the request body.
|
2294
|
+
#
|
2295
|
+
# @param luis_app_v2 [LuisAppV2] A LUIS application structure.
|
2296
|
+
# @param app_name [String] The application name to create. If not specified,
|
2297
|
+
# the application name will be read from the imported object. If the
|
2298
|
+
# application name already exists, an error is returned.
|
2299
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2300
|
+
# will be added to the HTTP request.
|
2301
|
+
#
|
2302
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2303
|
+
#
|
2304
|
+
def import_v2app_with_http_info(luis_app_v2, app_name:nil, custom_headers:nil)
|
2305
|
+
import_v2app_async(luis_app_v2, app_name:app_name, custom_headers:custom_headers).value!
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
#
|
2309
|
+
# Imports an application to LUIS, the application's structure is included in
|
2310
|
+
# the request body.
|
2311
|
+
#
|
2312
|
+
# @param luis_app_v2 [LuisAppV2] A LUIS application structure.
|
2313
|
+
# @param app_name [String] The application name to create. If not specified,
|
2314
|
+
# the application name will be read from the imported object. If the
|
2315
|
+
# application name already exists, an error is returned.
|
2316
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2317
|
+
# to the HTTP request.
|
2318
|
+
#
|
2319
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2320
|
+
#
|
2321
|
+
def import_v2app_async(luis_app_v2, app_name:nil, custom_headers:nil)
|
2322
|
+
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
2323
|
+
fail ArgumentError, 'luis_app_v2 is nil' if luis_app_v2.nil?
|
2324
|
+
|
2325
|
+
|
2326
|
+
request_headers = {}
|
2327
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2328
|
+
|
2329
|
+
# Set Headers
|
2330
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2331
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2332
|
+
|
2333
|
+
# Serialize Request
|
2334
|
+
request_mapper = Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::LuisAppV2.mapper()
|
2335
|
+
request_content = @client.serialize(request_mapper, luis_app_v2)
|
2336
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2337
|
+
|
2338
|
+
path_template = 'apps/import'
|
2339
|
+
|
2340
|
+
request_url = @base_url || @client.base_url
|
2341
|
+
request_url = request_url.gsub('{Endpoint}', @client.endpoint)
|
2342
|
+
|
2343
|
+
options = {
|
2344
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2345
|
+
query_params: {'appName' => app_name},
|
2346
|
+
body: request_content,
|
2347
|
+
headers: request_headers.merge(custom_headers || {}),
|
2348
|
+
base_url: request_url
|
2349
|
+
}
|
2350
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2351
|
+
|
2352
|
+
promise = promise.then do |result|
|
2353
|
+
http_response = result.response
|
2354
|
+
status_code = http_response.status
|
2355
|
+
response_content = http_response.body
|
2356
|
+
unless status_code == 201
|
2357
|
+
error_model = JSON.load(response_content)
|
2358
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2362
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2363
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2364
|
+
# Deserialize Response
|
2365
|
+
if status_code == 201
|
2366
|
+
begin
|
2367
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2368
|
+
result_mapper = {
|
2369
|
+
client_side_validation: true,
|
2370
|
+
required: false,
|
2371
|
+
serialized_name: 'parsed_response',
|
2372
|
+
type: {
|
2373
|
+
name: 'String'
|
2374
|
+
}
|
2375
|
+
}
|
2376
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2377
|
+
rescue Exception => e
|
2378
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2379
|
+
end
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
result
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
promise.execute
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
#
|
2389
|
+
# Imports an application to LUIS, the application's structure is included in
|
2390
|
+
# the request body.
|
2391
|
+
#
|
2392
|
+
# @param luis_app_lu [String] A LUIS application structure.
|
2393
|
+
# @param app_name [String] The application name to create. If not specified,
|
2394
|
+
# the application name will be read from the imported object. If the
|
2395
|
+
# application name already exists, an error is returned.
|
2396
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2397
|
+
# will be added to the HTTP request.
|
2398
|
+
#
|
2399
|
+
# @return [Uuid] operation results.
|
2400
|
+
#
|
2401
|
+
def import_lu_format(luis_app_lu, app_name:nil, custom_headers:nil)
|
2402
|
+
response = import_lu_format_async(luis_app_lu, app_name:app_name, custom_headers:custom_headers).value!
|
2403
|
+
response.body unless response.nil?
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
#
|
2407
|
+
# Imports an application to LUIS, the application's structure is included in
|
2408
|
+
# the request body.
|
2409
|
+
#
|
2410
|
+
# @param luis_app_lu [String] A LUIS application structure.
|
2411
|
+
# @param app_name [String] The application name to create. If not specified,
|
2412
|
+
# the application name will be read from the imported object. If the
|
2413
|
+
# application name already exists, an error is returned.
|
2414
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2415
|
+
# will be added to the HTTP request.
|
2416
|
+
#
|
2417
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2418
|
+
#
|
2419
|
+
def import_lu_format_with_http_info(luis_app_lu, app_name:nil, custom_headers:nil)
|
2420
|
+
import_lu_format_async(luis_app_lu, app_name:app_name, custom_headers:custom_headers).value!
|
2421
|
+
end
|
2422
|
+
|
2423
|
+
#
|
2424
|
+
# Imports an application to LUIS, the application's structure is included in
|
2425
|
+
# the request body.
|
2426
|
+
#
|
2427
|
+
# @param luis_app_lu [String] A LUIS application structure.
|
2428
|
+
# @param app_name [String] The application name to create. If not specified,
|
2429
|
+
# the application name will be read from the imported object. If the
|
2430
|
+
# application name already exists, an error is returned.
|
2431
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2432
|
+
# to the HTTP request.
|
2433
|
+
#
|
2434
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2435
|
+
#
|
2436
|
+
def import_lu_format_async(luis_app_lu, app_name:nil, custom_headers:nil)
|
2437
|
+
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
2438
|
+
fail ArgumentError, 'luis_app_lu is nil' if luis_app_lu.nil?
|
2439
|
+
|
2440
|
+
|
2441
|
+
request_headers = {}
|
2442
|
+
request_headers['Content-Type'] = 'text/plain'
|
2443
|
+
|
2444
|
+
# Set Headers
|
2445
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2446
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2447
|
+
|
2448
|
+
# Serialize Request
|
2449
|
+
request_mapper = {
|
2450
|
+
client_side_validation: true,
|
2451
|
+
required: true,
|
2452
|
+
serialized_name: 'luisAppLu',
|
2453
|
+
type: {
|
2454
|
+
name: 'String'
|
2455
|
+
}
|
2456
|
+
}
|
2457
|
+
request_content = @client.serialize(request_mapper, luis_app_lu)
|
2458
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2459
|
+
|
2460
|
+
path_template = 'apps/import'
|
2461
|
+
|
2462
|
+
request_url = @base_url || @client.base_url
|
2463
|
+
request_url = request_url.gsub('{Endpoint}', @client.endpoint)
|
2464
|
+
|
2465
|
+
options = {
|
2466
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2467
|
+
query_params: {'appName' => app_name},
|
2468
|
+
body: request_content,
|
2469
|
+
headers: request_headers.merge(custom_headers || {}),
|
2470
|
+
base_url: request_url
|
2471
|
+
}
|
2472
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2473
|
+
|
2474
|
+
promise = promise.then do |result|
|
2475
|
+
http_response = result.response
|
2476
|
+
status_code = http_response.status
|
2477
|
+
response_content = http_response.body
|
2478
|
+
unless status_code == 201
|
2479
|
+
error_model = JSON.load(response_content)
|
2480
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2484
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2485
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2486
|
+
# Deserialize Response
|
2487
|
+
if status_code == 201
|
2488
|
+
begin
|
2489
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2490
|
+
result_mapper = {
|
2491
|
+
client_side_validation: true,
|
2492
|
+
required: false,
|
2493
|
+
serialized_name: 'parsed_response',
|
2494
|
+
type: {
|
2495
|
+
name: 'String'
|
2496
|
+
}
|
2497
|
+
}
|
2498
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2499
|
+
rescue Exception => e
|
2500
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2501
|
+
end
|
2502
|
+
end
|
2503
|
+
|
2504
|
+
result
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
promise.execute
|
2508
|
+
end
|
2509
|
+
|
2273
2510
|
end
|
2274
2511
|
end
|
@@ -27,6 +27,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
27
27
|
# Assigns an Azure account to the application.
|
28
28
|
#
|
29
29
|
# @param app_id The application ID.
|
30
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
31
|
+
# user's ARM token used to validate azure accounts information.
|
30
32
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
31
33
|
# information object.
|
32
34
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -34,8 +36,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
34
36
|
#
|
35
37
|
# @return [OperationStatus] operation results.
|
36
38
|
#
|
37
|
-
def assign_to_app(app_id, azure_account_info_object:nil, custom_headers:nil)
|
38
|
-
response = assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
39
|
+
def assign_to_app(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
40
|
+
response = assign_to_app_async(app_id, arm_token:arm_token, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
39
41
|
response.body unless response.nil?
|
40
42
|
end
|
41
43
|
|
@@ -45,6 +47,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
45
47
|
# Assigns an Azure account to the application.
|
46
48
|
#
|
47
49
|
# @param app_id The application ID.
|
50
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
51
|
+
# user's ARM token used to validate azure accounts information.
|
48
52
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
49
53
|
# information object.
|
50
54
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -52,8 +56,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
52
56
|
#
|
53
57
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
58
|
#
|
55
|
-
def assign_to_app_with_http_info(app_id, azure_account_info_object:nil, custom_headers:nil)
|
56
|
-
assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
59
|
+
def assign_to_app_with_http_info(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
60
|
+
assign_to_app_async(app_id, arm_token:arm_token, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
57
61
|
end
|
58
62
|
|
59
63
|
#
|
@@ -62,6 +66,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
62
66
|
# Assigns an Azure account to the application.
|
63
67
|
#
|
64
68
|
# @param app_id The application ID.
|
69
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
70
|
+
# user's ARM token used to validate azure accounts information.
|
65
71
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
66
72
|
# information object.
|
67
73
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -69,7 +75,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
69
75
|
#
|
70
76
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
77
|
#
|
72
|
-
def assign_to_app_async(app_id, azure_account_info_object:nil, custom_headers:nil)
|
78
|
+
def assign_to_app_async(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
73
79
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
74
80
|
fail ArgumentError, 'app_id is nil' if app_id.nil?
|
75
81
|
|
@@ -79,6 +85,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
79
85
|
|
80
86
|
# Set Headers
|
81
87
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
88
|
+
request_headers['ArmToken'] = arm_token unless arm_token.nil?
|
82
89
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
83
90
|
|
84
91
|
# Serialize Request
|
@@ -136,13 +143,15 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
136
143
|
# his ARM token.
|
137
144
|
#
|
138
145
|
# @param app_id The application ID.
|
146
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
147
|
+
# user's ARM token used to validate azure accounts information.
|
139
148
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
140
149
|
# will be added to the HTTP request.
|
141
150
|
#
|
142
151
|
# @return [Array] operation results.
|
143
152
|
#
|
144
|
-
def get_assigned(app_id, custom_headers:nil)
|
145
|
-
response = get_assigned_async(app_id, custom_headers:custom_headers).value!
|
153
|
+
def get_assigned(app_id, arm_token:nil, custom_headers:nil)
|
154
|
+
response = get_assigned_async(app_id, arm_token:arm_token, custom_headers:custom_headers).value!
|
146
155
|
response.body unless response.nil?
|
147
156
|
end
|
148
157
|
|
@@ -153,13 +162,15 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
153
162
|
# his ARM token.
|
154
163
|
#
|
155
164
|
# @param app_id The application ID.
|
165
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
166
|
+
# user's ARM token used to validate azure accounts information.
|
156
167
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
157
168
|
# will be added to the HTTP request.
|
158
169
|
#
|
159
170
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
160
171
|
#
|
161
|
-
def get_assigned_with_http_info(app_id, custom_headers:nil)
|
162
|
-
get_assigned_async(app_id, custom_headers:custom_headers).value!
|
172
|
+
def get_assigned_with_http_info(app_id, arm_token:nil, custom_headers:nil)
|
173
|
+
get_assigned_async(app_id, arm_token:arm_token, custom_headers:custom_headers).value!
|
163
174
|
end
|
164
175
|
|
165
176
|
#
|
@@ -169,12 +180,14 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
169
180
|
# his ARM token.
|
170
181
|
#
|
171
182
|
# @param app_id The application ID.
|
183
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
184
|
+
# user's ARM token used to validate azure accounts information.
|
172
185
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
173
186
|
# to the HTTP request.
|
174
187
|
#
|
175
188
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
176
189
|
#
|
177
|
-
def get_assigned_async(app_id, custom_headers:nil)
|
190
|
+
def get_assigned_async(app_id, arm_token:nil, custom_headers:nil)
|
178
191
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
179
192
|
fail ArgumentError, 'app_id is nil' if app_id.nil?
|
180
193
|
|
@@ -184,6 +197,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
184
197
|
|
185
198
|
# Set Headers
|
186
199
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
200
|
+
request_headers['ArmToken'] = arm_token unless arm_token.nil?
|
187
201
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
188
202
|
path_template = 'apps/{appId}/azureaccounts'
|
189
203
|
|
@@ -249,6 +263,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
249
263
|
# Removes assigned Azure account from the application.
|
250
264
|
#
|
251
265
|
# @param app_id The application ID.
|
266
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
267
|
+
# user's ARM token used to validate azure accounts information.
|
252
268
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
253
269
|
# information object.
|
254
270
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -256,8 +272,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
256
272
|
#
|
257
273
|
# @return [OperationStatus] operation results.
|
258
274
|
#
|
259
|
-
def remove_from_app(app_id, azure_account_info_object:nil, custom_headers:nil)
|
260
|
-
response = remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
275
|
+
def remove_from_app(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
276
|
+
response = remove_from_app_async(app_id, arm_token:arm_token, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
261
277
|
response.body unless response.nil?
|
262
278
|
end
|
263
279
|
|
@@ -267,6 +283,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
267
283
|
# Removes assigned Azure account from the application.
|
268
284
|
#
|
269
285
|
# @param app_id The application ID.
|
286
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
287
|
+
# user's ARM token used to validate azure accounts information.
|
270
288
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
271
289
|
# information object.
|
272
290
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -274,8 +292,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
274
292
|
#
|
275
293
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
276
294
|
#
|
277
|
-
def remove_from_app_with_http_info(app_id, azure_account_info_object:nil, custom_headers:nil)
|
278
|
-
remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
295
|
+
def remove_from_app_with_http_info(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
296
|
+
remove_from_app_async(app_id, arm_token:arm_token, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
|
279
297
|
end
|
280
298
|
|
281
299
|
#
|
@@ -284,6 +302,8 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
284
302
|
# Removes assigned Azure account from the application.
|
285
303
|
#
|
286
304
|
# @param app_id The application ID.
|
305
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
306
|
+
# user's ARM token used to validate azure accounts information.
|
287
307
|
# @param azure_account_info_object [AzureAccountInfoObject] The Azure account
|
288
308
|
# information object.
|
289
309
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -291,7 +311,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
291
311
|
#
|
292
312
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
293
313
|
#
|
294
|
-
def remove_from_app_async(app_id, azure_account_info_object:nil, custom_headers:nil)
|
314
|
+
def remove_from_app_async(app_id, arm_token:nil, azure_account_info_object:nil, custom_headers:nil)
|
295
315
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
296
316
|
fail ArgumentError, 'app_id is nil' if app_id.nil?
|
297
317
|
|
@@ -301,6 +321,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
301
321
|
|
302
322
|
# Set Headers
|
303
323
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
324
|
+
request_headers['ArmToken'] = arm_token unless arm_token.nil?
|
304
325
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
305
326
|
|
306
327
|
# Serialize Request
|
@@ -356,13 +377,15 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
356
377
|
#
|
357
378
|
# Gets the LUIS Azure accounts for the user using his ARM token.
|
358
379
|
#
|
380
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
381
|
+
# user's ARM token used to validate azure accounts information.
|
359
382
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
360
383
|
# will be added to the HTTP request.
|
361
384
|
#
|
362
385
|
# @return [Array] operation results.
|
363
386
|
#
|
364
|
-
def list_user_luisaccounts(custom_headers:nil)
|
365
|
-
response = list_user_luisaccounts_async(custom_headers:custom_headers).value!
|
387
|
+
def list_user_luisaccounts(arm_token:nil, custom_headers:nil)
|
388
|
+
response = list_user_luisaccounts_async(arm_token:arm_token, custom_headers:custom_headers).value!
|
366
389
|
response.body unless response.nil?
|
367
390
|
end
|
368
391
|
|
@@ -371,13 +394,15 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
371
394
|
#
|
372
395
|
# Gets the LUIS Azure accounts for the user using his ARM token.
|
373
396
|
#
|
397
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
398
|
+
# user's ARM token used to validate azure accounts information.
|
374
399
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
375
400
|
# will be added to the HTTP request.
|
376
401
|
#
|
377
402
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
378
403
|
#
|
379
|
-
def list_user_luisaccounts_with_http_info(custom_headers:nil)
|
380
|
-
list_user_luisaccounts_async(custom_headers:custom_headers).value!
|
404
|
+
def list_user_luisaccounts_with_http_info(arm_token:nil, custom_headers:nil)
|
405
|
+
list_user_luisaccounts_async(arm_token:arm_token, custom_headers:custom_headers).value!
|
381
406
|
end
|
382
407
|
|
383
408
|
#
|
@@ -385,12 +410,14 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
385
410
|
#
|
386
411
|
# Gets the LUIS Azure accounts for the user using his ARM token.
|
387
412
|
#
|
413
|
+
# @param arm_token [String] The custom arm token header to use; containing the
|
414
|
+
# user's ARM token used to validate azure accounts information.
|
388
415
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
389
416
|
# to the HTTP request.
|
390
417
|
#
|
391
418
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
392
419
|
#
|
393
|
-
def list_user_luisaccounts_async(custom_headers:nil)
|
420
|
+
def list_user_luisaccounts_async(arm_token:nil, custom_headers:nil)
|
394
421
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
395
422
|
|
396
423
|
|
@@ -399,6 +426,7 @@ module Azure::CognitiveServices::LuisAuthoring::V3_0_preview
|
|
399
426
|
|
400
427
|
# Set Headers
|
401
428
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
429
|
+
request_headers['ArmToken'] = arm_token unless arm_token.nil?
|
402
430
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
403
431
|
path_template = 'azureaccounts'
|
404
432
|
|