From f901d60bc72aaa4ef8a6c78507f958fc05268ed8 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 10 Dec 2018 17:06:25 -0800 Subject: [PATCH] Generated from 0bc892729baf0d049695c873e9afe139211c259d (#2044) Add areaOfInterest and detectObject * Replace the current swagger with an auto-generated one. * Add example files for areaOfInterest and detectObject. * Fix example validation errors for analyze and describe. * A few fixes for generating java sdk --- .../modules/apimanagement_profile_module.rb | 142 +- .../modules/automation_profile_module.rb | 102 +- .../latest/modules/batch_profile_module.rb | 88 +- .../latest/modules/billing_profile_module.rb | 6 +- .../lib/latest/modules/cdn_profile_module.rb | 110 +- .../cognitiveservices_profile_module.rb | 26 +- .../latest/modules/compute_profile_module.rb | 64 +- .../modules/computervision_profile_module.rb | 190 +- .../modules/consumption_profile_module.rb | 48 +- .../containerinstance_profile_module.rb | 32 +- .../containerregistry_profile_module.rb | 78 +- .../containerservice_profile_module.rb | 22 +- .../contentmoderator_profile_module.rb | 232 +- .../customerinsights_profile_module.rb | 8 +- .../modules/customsearch_profile_module.rb | 64 +- .../datalakeanalytics_profile_module.rb | 14 +- .../modules/datalakestore_profile_module.rb | 14 +- .../modules/devspaces_profile_module.rb | 14 +- .../modules/devtestlabs_profile_module.rb | 50 +- .../lib/latest/modules/dns_profile_module.rb | 8 +- .../modules/entitysearch_profile_module.rb | 16 +- .../modules/eventgrid_profile_module.rb | 6 +- .../latest/modules/eventhub_profile_module.rb | 6 +- .../lib/latest/modules/face_profile_module.rb | 158 +- .../latest/modules/features_profile_module.rb | 8 +- .../modules/graphrbac_profile_module.rb | 8 +- .../modules/imagesearch_profile_module.rb | 132 +- .../modules/iotcentral_profile_module.rb | 6 +- .../latest/modules/iothub_profile_module.rb | 14 +- .../latest/modules/keyvault_profile_module.rb | 26 +- .../latest/modules/links_profile_module.rb | 14 +- .../latest/modules/locks_profile_module.rb | 8 +- .../latest/modules/logic_profile_module.rb | 56 +- .../modules/machinelearning_profile_module.rb | 8 +- .../managedapplications_profile_module.rb | 8 +- .../managedserviceidentity_profile_module.rb | 8 +- .../marketplaceordering_profile_module.rb | 14 +- .../modules/mediaservices_profile_module.rb | 120 +- .../latest/modules/monitor_profile_module.rb | 42 +- .../latest/modules/network_profile_module.rb | 210 +- .../modules/newssearch_profile_module.rb | 56 +- .../notificationhubs_profile_module.rb | 6 +- .../operationalinsights_profile_module.rb | 26 +- .../latest/modules/policy_profile_module.rb | 14 +- .../modules/policyinsights_profile_module.rb | 42 +- .../modules/powerbiembedded_profile_module.rb | 40 +- .../recoveryservices_profile_module.rb | 14 +- .../recoveryservicesbackup_profile_module.rb | 50 +- ...veryservicessiterecovery_profile_module.rb | 88 +- .../latest/modules/redis_profile_module.rb | 18 +- .../latest/modules/relay_profile_module.rb | 58 +- .../modules/resources_profile_module.rb | 30 +- .../resourcesmanagement_profile_module.rb | 60 +- .../modules/scheduler_profile_module.rb | 30 +- .../latest/modules/search_profile_module.rb | 14 +- .../latest/modules/security_profile_module.rb | 14 +- .../modules/servicebus_profile_module.rb | 66 +- .../modules/servicefabric_profile_module.rb | 56 +- .../latest/modules/signalr_profile_module.rb | 28 +- .../modules/spellcheck_profile_module.rb | 54 +- .../lib/latest/modules/sql_profile_module.rb | 58 +- .../latest/modules/storage_profile_module.rb | 64 +- .../storsimple8000series_profile_module.rb | 44 +- .../modules/streamanalytics_profile_module.rb | 108 +- .../modules/textanalytics_profile_module.rb | 46 +- .../modules/videosearch_profile_module.rb | 40 +- .../lib/latest/modules/web_profile_module.rb | 234 +- .../modules/websearch_profile_module.rb | 168 +- .../modules/compute_profile_module.rb | 8 +- .../v2017_03_09/modules/dns_profile_module.rb | 14 +- .../modules/features_profile_module.rb | 8 +- .../modules/keyvault_profile_module.rb | 40 +- .../modules/links_profile_module.rb | 14 +- .../modules/network_profile_module.rb | 38 +- .../modules/resources_profile_module.rb | 26 +- .../modules/storage_profile_module.rb | 42 +- .../modules/compute_profile_module.rb | 8 +- .../v2018_03_01/modules/dns_profile_module.rb | 14 +- .../modules/keyvault_profile_module.rb | 40 +- .../modules/locks_profile_module.rb | 8 +- .../modules/network_profile_module.rb | 312 +-- .../modules/resources_profile_module.rb | 42 +- .../modules/storage_profile_module.rb | 42 +- .../azure_cognitiveservices_computervision.rb | 56 +- .../computer_vision_client.rb | 2076 +++++++++++------ .../models/adult_info.rb | 11 +- .../models/area_of_interest_result.rb | 68 + .../models/bounding_rect.rb | 78 + .../models/category.rb | 6 +- .../models/category_detail.rb | 5 - .../models/celebrities_model.rb | 9 +- .../models/celebrity_results.rb | 10 +- .../models/color_info.rb | 7 - .../models/computer_vision_error.rb | 16 +- .../models/detect_result.rb | 74 + .../models/detected_object.rb | 81 + .../models/domain_model_results.rb | 6 +- .../models/face_description.rb | 7 +- .../models/face_rectangle.rb | 17 +- .../models/image_analysis.rb | 46 +- .../models/image_caption.rb | 7 +- .../models/image_description.rb | 7 - .../models/image_description_details.rb | 5 - .../models/image_metadata.rb | 12 +- .../models/image_tag.rb | 12 +- .../models/image_type.rb | 11 +- .../models/image_url.rb | 4 +- .../models/landmark_results.rb | 10 +- .../models/landmarks_model.rb | 8 +- .../models/line.rb | 6 - .../models/list_models_result.rb | 3 - .../models/model_description.rb | 8 +- .../models/object_hierarchy.rb | 69 + .../models/ocr_line.rb | 4 - .../models/ocr_region.rb | 6 +- .../models/ocr_result.rb | 12 +- .../models/ocr_word.rb | 3 - .../models/recognition_result.rb | 3 - .../models/tag_result.rb | 5 - .../models/text_operation_result.rb | 3 - .../models/visual_feature_types.rb | 1 + .../models/word.rb | 4 - .../version.rb | 8 + .../modules/computervision_profile_module.rb | 182 +- 124 files changed, 4117 insertions(+), 3211 deletions(-) create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detect_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detected_object.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index ddbf58e578..a3952bafaa 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -39,12 +39,12 @@ module Mgmt SignInSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignUpSettings DelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::DelegationSettings - Product = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Product Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy - ProductApi = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductApi + Product = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Product + ProductGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductGroup ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductSubscriptions + ProductApi = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductApi ProductPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductPolicy - ProductGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductGroup Property = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Property QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByCounterKeys QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByPeriodKeys @@ -116,9 +116,9 @@ module Models TagDescriptionCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionCollection ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails ProductEntityBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters - OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties - TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters + TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties + TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection ProductCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay AuthorizationServerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerCollection @@ -152,49 +152,49 @@ module Models IdentityProviderList = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderList RequestContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestContract IdentityProviderUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters - ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection - TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation + HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract LoggerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection - IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection - HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection RequestReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract RecipientsContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties - LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract X509CertificateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName OperationResultContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract - TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + ReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract RecipientUserCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection ReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection - NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection + ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract RecipientEmailCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection BackendCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection - BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + OperationEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract ApiVersionSetUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters ApiUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract - ReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract + QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract NetworkStatusContractByLocation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation NetworkStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract - ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + SaveConfigurationParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter UserCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters IssueAttachmentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection - OperationEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract + QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection OpenidConnectProviderUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract OpenIdConnectProviderCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection - QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + ApiEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract DeployConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters - BackendProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties - SaveConfigurationParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter QuotaCounterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract - TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties - QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection - TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract IssueCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection - ApiEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract + TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract + TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties + BackendProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties QuotaCounterValueContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties RegistrationDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegistrationDelegationSettingsProperties SubscriptionsDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionsDelegationSettingsProperties @@ -281,7 +281,7 @@ module Models end class ApiManagementManagementClass - attr_reader :group, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :policy, :product_api, :product_subscriptions, :product_policy, :product_group, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :certificate, :configurable, :base_url, :options, :model_classes + attr_reader :group, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :policy, :product, :product_group, :product_subscriptions, :product_api, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :certificate, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -323,12 +323,12 @@ def initialize(configurable, base_url=nil, options=nil) @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings @delegation_settings = @client_0.delegation_settings - @product = @client_0.product @policy = @client_0.policy - @product_api = @client_0.product_api + @product = @client_0.product + @product_group = @client_0.product_group @product_subscriptions = @client_0.product_subscriptions + @product_api = @client_0.product_api @product_policy = @client_0.product_policy - @product_group = @client_0.product_group @property = @client_0.property @quota_by_counter_keys = @client_0.quota_by_counter_keys @quota_by_period_keys = @client_0.quota_by_period_keys @@ -516,14 +516,14 @@ def api_version_set_contract_details def product_entity_base_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters end - def operation_tag_resource_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + def api_management_service_update_hostname_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters end def tag_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties end - def api_management_service_update_hostname_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters + def tag_resource_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection end def product_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection @@ -624,26 +624,35 @@ def request_contract def identity_provider_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters end - def api_version_set_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + def operation_tag_resource_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + end + def identity_provider_base_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters end def issue_comment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection end - def tag_resource_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection - end def operation Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation end + def http_message_diagnostic + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + end + def api_version_set_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + end + def logger_update_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + end def logger_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection end def request_report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection end - def identity_provider_base_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + def tenant_configuration_sync_state_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract end def generate_sso_url_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult @@ -651,8 +660,8 @@ def generate_sso_url_result def diagnostic_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection end - def http_message_diagnostic - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + def notification_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection end def request_report_record_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract @@ -660,8 +669,8 @@ def request_report_record_contract def recipients_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties end - def logger_update_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + def backend_proxy_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract end def x509_certificate_name Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName @@ -669,8 +678,8 @@ def x509_certificate_name def operation_result_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract end - def tenant_configuration_sync_state_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + def report_record_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract end def recipient_user_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection @@ -678,8 +687,8 @@ def recipient_user_collection def report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection end - def notification_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection + def connectivity_status_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract end def recipient_email_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection @@ -687,8 +696,8 @@ def recipient_email_collection def backend_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection end - def backend_proxy_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + def operation_entity_base_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract end def api_version_set_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters @@ -696,8 +705,8 @@ def api_version_set_update_parameters def api_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract end - def report_record_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract + def quota_counter_value_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract end def network_status_contract_by_location Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation @@ -705,8 +714,8 @@ def network_status_contract_by_location def network_status_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract end - def connectivity_status_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + def save_configuration_parameter + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter end def user_create_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters @@ -714,8 +723,8 @@ def user_create_parameters def issue_attachment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection end - def operation_entity_base_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract + def quota_counter_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection end def openid_connect_provider_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract @@ -723,35 +732,26 @@ def openid_connect_provider_update_contract def open_id_connect_provider_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection end - def quota_counter_value_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + def api_entity_base_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract end def deploy_configuration_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters end - def backend_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties - end - def save_configuration_parameter - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter - end def quota_counter_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract end - def terms_of_service_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties - end - def quota_counter_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection + def issue_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection end def tag_resource_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract end - def issue_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection + def terms_of_service_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties end - def api_entity_base_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract + def backend_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties end def quota_counter_value_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index 1696580ac6..8aff49bf7d 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module Automation module Mgmt + CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations ConnectionTypeOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionTypeOperations CredentialOperations = Azure::Automation::Mgmt::V2015_10_31::CredentialOperations @@ -38,7 +39,6 @@ module Mgmt AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations Keys = Azure::Automation::Mgmt::V2015_10_31::Keys - CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations module Models Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job @@ -142,37 +142,37 @@ module Models RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount - Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook - SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions + JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState - Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection - JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType - JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState + JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName GroupTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::GroupTypeEnum - DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState - ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState - ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay + RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse @@ -182,7 +182,7 @@ module Models end class AutomationManagementClass - attr_reader :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :usages, :automation_account_operations, :statistics_operations, :keys, :certificate_operations, :configurable, :base_url, :options, :model_classes + attr_reader :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :usages, :automation_account_operations, :statistics_operations, :keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -192,6 +192,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @certificate_operations = @client_0.certificate_operations @connection_operations = @client_0.connection_operations @connection_type_operations = @client_0.connection_type_operations @credential_operations = @client_0.credential_operations @@ -223,7 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @automation_account_operations = @client_0.automation_account_operations @statistics_operations = @client_0.statistics_operations @keys = @client_0.keys - @certificate_operations = @client_0.certificate_operations @model_classes = ModelClasses.new end @@ -545,8 +545,8 @@ def runbook_create_or_update_draft_properties def credential Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection end def certificate_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters @@ -554,8 +554,8 @@ def certificate_create_or_update_parameters def dsc_node Azure::Automation::Mgmt::V2015_10_31::Models::DscNode end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration @@ -563,8 +563,8 @@ def dsc_configuration def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end - def schedule - Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel @@ -572,44 +572,44 @@ def module_model def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end - def sku_name_enum - Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum - end def certificate Azure::Automation::Mgmt::V2015_10_31::Models::Certificate end + def variable + Azure::Automation::Mgmt::V2015_10_31::Models::Variable + end def webhook Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end + def sku_name_enum + Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + end + def schedule + Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + end + def automation_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + end def automation_key_permissions Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions end + def job_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState + end def automation_account_state Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState end - def variable - Azure::Automation::Mgmt::V2015_10_31::Models::Variable - end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection - end - def job_status - Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - end - def automation_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName - end def content_source_type Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType end - def job_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState + def dsc_configuration_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState end - def dsc_configuration_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + def job_status + Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus end def agent_registration_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName @@ -617,11 +617,11 @@ def agent_registration_key_name def group_type_enum Azure::Automation::Mgmt::V2015_10_31::Models::GroupTypeEnum end - def dsc_configuration_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState + def module_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState end - def runbook_type_enum - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end def runbook_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState @@ -629,15 +629,15 @@ def runbook_state def runbook_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState end - def module_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState + def schedule_day + Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay + end + def runbook_type_enum + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end - def schedule_day - Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - end def usage Azure::Automation::Mgmt::V2015_10_31::Models::Usage end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 903356eb48..49ca2fc344 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -9,13 +9,14 @@ module Batch module Mgmt Location = Azure::Batch::Mgmt::V2017_09_01::Location Operations = Azure::Batch::Mgmt::V2017_09_01::Operations + CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations - CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations module Models + CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration @@ -51,23 +52,23 @@ module Models PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType - PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState - StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat - InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption - CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType - InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState - AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility - ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay @@ -86,19 +87,18 @@ module Models BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters - AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError - AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters end class BatchManagementClass - attr_reader :location, :operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :certificate_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :operations, :certificate_operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -110,11 +110,11 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @location = @client_0.location @operations = @client_0.operations + @certificate_operations = @client_0.certificate_operations @batch_account_operations = @client_0.batch_account_operations @application_package_operations = @client_0.application_package_operations @application_operations = @client_0.application_operations @pool_operations = @client_0.pool_operations - @certificate_operations = @client_0.certificate_operations @model_classes = ModelClasses.new end @@ -133,6 +133,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + end def task_scheduling_policy Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy end @@ -238,17 +241,17 @@ def pool_allocation_mode def account_key_type Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end - def pool_provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState - end def certificate Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end + def certificate_create_or_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + end def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end - def storage_account_type - Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + def pool_provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end def allocation_state Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState @@ -256,14 +259,14 @@ def allocation_state def certificate_format Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat end - def inbound_endpoint_protocol - Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + def storage_account_type + Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType end def compute_node_deallocation_option Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption end - def certificate_create_or_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + def inter_node_communication_state + Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState end def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType @@ -274,11 +277,11 @@ def network_security_group_rule_access def compute_node_fill_type Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType end - def inter_node_communication_state - Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState + def elevation_level + Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel end - def auto_user_scope - Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + def inbound_endpoint_protocol + Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol end def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation @@ -286,8 +289,8 @@ def certificate_store_location def certificate_visibility Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end - def elevation_level - Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + def auto_user_scope + Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason @@ -343,33 +346,30 @@ def batch_account_regenerate_key_parameters def activate_application_package_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters end - def auto_scale_run_error - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - end def proxy_resource Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource end - def list_applications_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult - end def application_package Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage end - def network_security_group_rule - Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + def auto_scale_run_error + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + end + def list_applications_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + end + def auto_scale_run + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun end def batch_location_quota Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota end + def network_security_group_rule + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + end def delete_certificate_error Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError end - def auto_scale_run - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - end - def check_name_availability_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/billing_profile_module.rb b/azure_sdk/lib/latest/modules/billing_profile_module.rb index 91abf658cd..a9b798eeee 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module Billing module Mgmt + Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices - Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations module Models ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails @@ -29,7 +29,7 @@ module Models end class BillingManagementClass - attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :enrollment_accounts, :billing_periods, :invoices, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -39,10 +39,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @enrollment_accounts = @client_0.enrollment_accounts @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index ccb1bcc48e..40d53f49c8 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module CDN module Mgmt + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Origins = Azure::CDN::Mgmt::V2017_10_12::Origins CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations module Models + CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput UrlPathConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters @@ -33,32 +34,32 @@ module Models DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction - ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput - IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin + PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType - EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode + EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState - CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState - GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState - CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult - PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin @@ -68,17 +69,16 @@ module Models DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule - SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters - CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult - ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end class CDNManagementClass - attr_reader :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -88,13 +88,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @endpoints = @client_0.endpoints @profiles = @client_0.profiles @origins = @client_0.origins @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations @edge_nodes = @client_0.edge_nodes - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -113,6 +113,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + end def delivery_rule_condition Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition end @@ -164,17 +167,17 @@ def delivery_rule_url_file_extension_condition def delivery_rule_cache_expiration_action Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction end - def validate_custom_domain_input - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + def origin + Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def ip_address_group - Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + def purge_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + def validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end - def origin - Azure::CDN::Mgmt::V2017_10_12::Models::Origin + def edge_node + Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState @@ -182,8 +185,8 @@ def profile_resource_state def optimization_type Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType end - def edge_node - Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode + def endpoint_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState end def query_string_caching_behavior Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior @@ -191,24 +194,24 @@ def query_string_caching_behavior def tracked_resource Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource end - def endpoint_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState + def origin_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState end - def custom_domain_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource end def geo_filter_actions Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions end - def origin_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState + def custom_https_provisioning_substate + Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + end + def custom_domain_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState end def custom_https_provisioning_state Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState end - def custom_https_provisioning_substate - Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate - end def custom_domain Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain end @@ -218,12 +221,12 @@ def resource def operation_display Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def operation + Azure::CDN::Mgmt::V2017_10_12::Models::Operation + end def sku_name Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end @@ -236,12 +239,12 @@ def origin_list_result def profile_list_result Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult end - def purge_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters - end def sku Azure::CDN::Mgmt::V2017_10_12::Models::Sku end + def sso_uri + Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + end def load_parameters Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters end @@ -269,26 +272,23 @@ def profile_update_parameters def delivery_rule Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule end - def sso_uri - Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - end - def custom_domain_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters - end def endpoint_update_parameters Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters end - def custom_domain_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + def custom_domain_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters end def edgenode_result Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult end - def validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + def validate_custom_domain_input + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput end - def check_name_availability_input - Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + def ip_address_group + Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + end + def custom_domain_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end end end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index b1b5038e19..244abd4cfc 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt + Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability - Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations module Models SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier @@ -29,10 +29,10 @@ module Models CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity RegenerateKeyParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters - Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku + OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter - OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult + Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList @@ -43,13 +43,13 @@ module Models UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName - UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus + UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType end class CognitiveServicesManagementClass - attr_reader :resource_skus, :accounts, :check_sku_availability, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_skus, :accounts, :check_sku_availability, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,10 +59,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @resource_skus = @client_0.resource_skus @accounts = @client_0.accounts @check_sku_availability = @client_0.check_sku_availability - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -129,8 +129,8 @@ def operation_entity def regenerate_key_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters end - def sku - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku + def operation_entity_list_result + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult end def cognitive_services_account_enumerate_skus_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult @@ -138,8 +138,8 @@ def cognitive_services_account_enumerate_skus_result def check_sku_availability_parameter Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter end - def operation_entity_list_result - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult + def sku + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end def check_sku_availability_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult @@ -171,15 +171,15 @@ def cognitive_services_resource_and_sku def key_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end - def unit_type - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType - end def error Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error end def quota_usage_status Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus end + def unit_type + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType + end end end end diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index 93f561162e..2314d80603 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -30,6 +30,7 @@ module Mgmt GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions module Models + ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions @@ -40,7 +41,6 @@ module Models ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts - ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue @@ -112,7 +112,7 @@ module Models KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk - SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault @@ -217,7 +217,7 @@ module Models VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile @@ -226,31 +226,31 @@ module Models VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument - DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage - ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes - PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames - RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes - UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode + RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption AccessLevel = Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion - VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState @@ -335,6 +335,9 @@ def method_missing(method, *args) end class ModelClasses + def resource_sku_location_info + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo + end def resource_sku_capabilities Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end @@ -365,9 +368,6 @@ def resource_sku_capacity def resource_sku_costs Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end - def resource_sku_location_info - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - end def operation_status_response Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end @@ -581,8 +581,8 @@ def sku def virtual_hard_disk Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk end - def ssh_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + def network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference @@ -896,8 +896,8 @@ def gallery_image_version_publishing_profile def virtual_machine_scale_set_update_public_ipaddress_configuration Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end - def network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + def gallery_data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage end def gallery_image_version Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion @@ -923,8 +923,8 @@ def virtual_machine_size_types def run_command_document Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def disk_create_option_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + def ssh_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration end def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings @@ -938,14 +938,14 @@ def gallery def gallery_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage end - def protocol_types - Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + def disk_create_option_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes end def gallery_osdisk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage end - def gallery_data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + def pass_names + Azure::Compute::Mgmt::V2018_06_01::Models::PassNames end def component_names Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames @@ -962,8 +962,8 @@ def resource_identity_type def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes end - def pass_names - Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + def upgrade_mode + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode end def operating_system_state_types Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes @@ -971,8 +971,8 @@ def operating_system_state_types def setting_names Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames end - def rolling_upgrade_action_type - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + def protocol_types + Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes end def caching_types Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes @@ -980,12 +980,15 @@ def caching_types def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType end def rolling_upgrade_status_code Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode end + def rolling_upgrade_action_type + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + end def disk_create_option Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption end @@ -995,9 +998,6 @@ def access_level def ipversion Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - end def diff_disk_options Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions end diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index 2a7e5a2600..4ff0f0cf7f 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,44 +8,48 @@ module Azure::Profiles::Latest module ComputerVision module Models - FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription - ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata - Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line - ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis - TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details + DetectResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult + FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle + ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel + ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo OcrWord = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord - CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag OcrLine = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine - CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails OcrRegion = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion - AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + BoundingRect = Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect OcrResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult - ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType - ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + DetectedObject = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject + TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult + ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis + AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult + CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl + AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError ImageCaption = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption - ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult - Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word - DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults - FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle - CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults - Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults - ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag + ObjectHierarchy = Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy + CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults ImageDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription + Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word + ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType + Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line + ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata RecognitionResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult - TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult - ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo - ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError - LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel - ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails - TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription + TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender - ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages + VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode - Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details end class ComputerVisionDataClass @@ -77,120 +81,132 @@ def method_missing(method, *args) end class ModelClasses - def face_description - Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription + def details + Azure::CognitiveServices::ComputerVision::V2_0::Models::Details end - def image_metadata - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata + def detect_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult end - def line - Azure::CognitiveServices::ComputerVision::V2_0::Models::Line + def face_rectangle + Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle end - def image_analysis - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis + def model_description + Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription end - def text_operation_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + def landmarks_model + Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel + end + def list_models_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + end + def category + Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + end + def domain_model_results + Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + end + def color_info + Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo end def ocr_word Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord end - def celebrities_model - Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + def image_tag + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag end def ocr_line Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine end - def category_detail - Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail + def image_description_details + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails end def ocr_region Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion end - def adult_info - Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + def bounding_rect + Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect end def ocr_result Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult end - def image_type - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType + def detected_object + Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject end - def model_description - Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + def tag_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult end - def image_caption - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption + def image_analysis + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis end - def list_models_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + def area_of_interest_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult end - def word - Azure::CognitiveServices::ComputerVision::V2_0::Models::Word + def celebrities_model + Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel end - def domain_model_results - Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + def image_url + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl end - def face_rectangle - Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle + def adult_info + Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo end - def celebrity_results - Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults + def computer_vision_error + Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError end - def category - Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + def image_caption + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption end def landmark_results Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults end - def image_tag - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag + def object_hierarchy + Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy + end + def celebrity_results + Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults end def image_description Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription end - def recognition_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult + def word + Azure::CognitiveServices::ComputerVision::V2_0::Models::Word end - def tag_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult + def image_type + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType end - def color_info - Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo + def line + Azure::CognitiveServices::ComputerVision::V2_0::Models::Line end - def computer_vision_error - Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError + def image_metadata + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata end - def landmarks_model - Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel + def recognition_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult end - def image_url - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl + def face_description + Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription end - def image_description_details - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails + def text_operation_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult end - def text_operation_status_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + def category_detail + Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail end def gender Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender end - def computer_vision_error_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - end - def visual_feature_types - Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + def text_operation_status_codes + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes end def ocr_languages Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages end + def visual_feature_types + Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + end def text_recognition_mode Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode end - def details - Azure::CognitiveServices::ComputerVision::V2_0::Models::Details - end end end end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index 486307ead2..e949d37505 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module Consumption module Mgmt + Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts @@ -18,7 +19,6 @@ module Mgmt ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_06_30::ReservationsDetails ReservationRecommendations = Azure::Consumption::Mgmt::V2018_06_30::ReservationRecommendations - Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets module Models MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails @@ -36,16 +36,16 @@ module Models QueryOptions = Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions PriceSheetProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult + ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem - ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult - ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult ForecastsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult UsageDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance + ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes ReservationSummary = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary - ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult Budget = Azure::Consumption::Mgmt::V2018_06_30::Models::Budget CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult @@ -55,13 +55,13 @@ module Models ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails TimeGrainType = Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain - TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound - ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType - OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain + OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay + ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag @@ -70,7 +70,7 @@ module Models end class ConsumptionManagementClass - attr_reader :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :configurable, :base_url, :options, :model_classes + attr_reader :budgets, :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,6 +80,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @budgets = @client_0.budgets @price_sheet = @client_0.price_sheet @cost_tags = @client_0.cost_tags @forecasts = @client_0.forecasts @@ -91,7 +92,6 @@ def initialize(configurable, base_url=nil, options=nil) @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @reservation_recommendations = @client_0.reservation_recommendations - @budgets = @client_0.budgets @model_classes = ModelClasses.new end @@ -155,18 +155,15 @@ def price_sheet_properties def reservation_recommendations_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult end + def reservation_summaries_list_result + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult + end def forecast_properties_confidence_levels_item Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem end - def resource_attributes - Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes - end def reservation_details_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult end - def reservation_summaries_list_result - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult - end def forecasts_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult end @@ -179,11 +176,14 @@ def marketplace def balance Azure::Consumption::Mgmt::V2018_06_30::Models::Balance end + def resource_attributes + Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes + end def reservation_summary Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary end - def reservation_detail - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + def tags_result + Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult end def budget Azure::Consumption::Mgmt::V2018_06_30::Models::Budget @@ -212,8 +212,8 @@ def time_grain_type def grain Azure::Consumption::Mgmt::V2018_06_30::Models::Grain end - def tags_result - Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + def charge_type + Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType end def resource Azure::Consumption::Mgmt::V2018_06_30::Models::Resource @@ -221,18 +221,18 @@ def resource def bound Azure::Consumption::Mgmt::V2018_06_30::Models::Bound end - def charge_type - Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType + def datagrain + Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain end def operator_type Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType end - def datagrain - Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain - end def operation_display Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay end + def reservation_detail + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + end def operation Azure::Consumption::Mgmt::V2018_06_30::Models::Operation end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index f8ff75d715..e9551b067d 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -8,15 +8,16 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations + ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage ContainerOperations = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerOperations ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroups - ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage module Models Port = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port IpAddress = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::IpAddress EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::EnvironmentVariable ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView + Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequirements @@ -25,13 +26,12 @@ module Models Container = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential - ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay - Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult + Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult + ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState Volume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume ContainerProbe = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPropertiesInstanceView @@ -56,7 +56,7 @@ module Models end class ContainerInstanceManagementClass - attr_reader :operations, :container_operations, :container_groups, :container_group_usage, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :container_group_usage, :container_operations, :container_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,9 +67,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations + @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations @container_groups = @client_0.container_groups - @container_group_usage = @client_0.container_group_usage @model_classes = ModelClasses.new end @@ -100,6 +100,9 @@ def environment_variable def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView end + def event + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + end def resource_requests Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests end @@ -124,26 +127,23 @@ def git_repo_volume def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential end - def container_state - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState - end def operation_display Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay end - def event - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits end def operation Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits + def container_group_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult end def operation_list_result Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult end - def container_group_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + def container_state + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState end def volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 2226b78471..72b50cb8ca 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt + Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks - Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations module Models + RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters @@ -24,27 +25,27 @@ module Models EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry - EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event - RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType - WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook @@ -63,12 +64,11 @@ module Models OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end class ContainerRegistryManagementClass - attr_reader :registries, :replications, :webhooks, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :registries, :replications, :webhooks, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,10 +78,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @registries = @client_0.registries @replications = @client_0.replications @webhooks = @client_0.webhooks - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -100,6 +100,9 @@ def method_missing(method, *args) end class ModelClasses + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end @@ -133,9 +136,6 @@ def registry_list_result def registry_usage Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end @@ -145,23 +145,26 @@ def operation_service_specification_definition def registry_list_credentials_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end + def event_content + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + end + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def quarantine_policy - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy - end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end - def registry - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry + def quarantine_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end - def event_content - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult @@ -169,23 +172,23 @@ def webhook_list_result def replication Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def import_mode - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end - def password_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + def registry + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end def provisioning_state Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def password_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end - def registry_usage_unit - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + def webhook_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus end def policy_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus @@ -193,8 +196,8 @@ def policy_status def trust_policy_type Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType end - def webhook_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end def webhook_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction @@ -250,9 +253,6 @@ def replication_update_parameters def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 5cc055f7e6..2c8f74f0a2 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module ContainerService module Mgmt - ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations + ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters ContainerServices = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServices module Models @@ -23,8 +23,8 @@ module Models ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile - OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile @@ -45,13 +45,13 @@ module Models ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile NetworkPlugin = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin NetworkPolicy = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy + OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult OrchestratorProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile - OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile end class ContainerServiceManagementClass - attr_reader :managed_clusters, :operations, :container_services, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :managed_clusters, :container_services, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,8 +67,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @managed_clusters = @client_1.managed_clusters @operations = @client_1.operations + @managed_clusters = @client_1.managed_clusters @client_2 = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServiceClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -131,12 +131,12 @@ def container_service_ssh_configuration def container_service_service_principal_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile end - def operation_list_result - Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult - end def container_service_linux_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile end + def operation_list_result + Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + end def container_service_vmdiagnostics Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics end @@ -197,15 +197,15 @@ def network_plugin def network_policy Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy end + def orchestrator_version_profile + Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + end def orchestrator_version_profile_list_result Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult end def orchestrator_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end - def orchestrator_version_profile - Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile - end end end end diff --git a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb index 41e9d5ac28..757d73593e 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,68 +15,68 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 + CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem + CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames + Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds - ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList - Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification + ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData - Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email - TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging + Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA - Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms + Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review - Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate + Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId - Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame - APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata - CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem - PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 - CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem - BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces - ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage + VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem - CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem - VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone - OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR - CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem - ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 - Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList - AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage end class ContentModeratorDataClass @@ -115,12 +115,51 @@ def method_missing(method, *args) end class ModelClasses + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end + def classification_category1 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 + end + def create_review_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + end + def video_frame_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem + end + def create_review_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + end + def phone + Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + end + def ocr + Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR + end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def azure_region_base_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + end + def content + Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + end + def term_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + end def face Azure::CognitiveServices::ContentModerator::V1_0::Models::Face end def error Azure::CognitiveServices::ContentModerator::V1_0::Models::Error end + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + end + def address + Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + end def refresh_index Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex end @@ -130,39 +169,36 @@ def image_additional_info_item def frames Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames end + def image + Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + end def image_ids Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds end - def classification_category2 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag end def terms_in_list Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList end - def classification - Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification + def classification_category2 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 end def terms_data Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData end - def email - Azure::CognitiveServices::ContentModerator::V1_0::Models::Email - end - def terms_paging - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging + def classification + Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification end def ipa Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA end - def terms - Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms + def email + Azure::CognitiveServices::ContentModerator::V1_0::Models::Email end def review Azure::CognitiveServices::ContentModerator::V1_0::Models::Review end - def address - Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - end def detected_terms Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms end @@ -175,92 +211,86 @@ def candidate def evaluate Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate end + def terms + Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms + end def job_id Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId end - def image - Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + def terms_paging + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging end def image_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - end - def transcript_moderation_body_item_terms_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem - end def match_response Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def frame - Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame - end - def apierror - Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError - end def term_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata end - def create_video_reviews_body_item_video_frames_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + def apierror + Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError end def refresh_index_advanced_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem end - def transcript_moderation_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem + def transcript_moderation_body_item_terms_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem end - def pii - Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + def frame + Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame end - def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem + def transcript_moderation_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem end def classification_category3 Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 end - def create_video_reviews_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem end def ssn Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN end + def create_video_reviews_body_item_video_frames_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + end + def pii + Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + end def create_video_reviews_body_item_video_frames_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem end - def body_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + def found_faces + Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end def create_video_reviews_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end - def found_faces - Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + def match + Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + end + def create_video_reviews_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end def image_list Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end - def match - Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + def body_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata end def key_value_pair Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair end - def video_frame_body_item_reviewer_result_tags_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem - end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end def status Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end - def detected_language - Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage + def video_frame_body_item_reviewer_result_tags_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem end def screen Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen @@ -268,38 +298,8 @@ def screen def video_frame_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem end - def create_review_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem - end - def video_frame_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - end - def phone - Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone - end - def ocr - Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR - end - def create_review_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem - end - def classification_category1 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 - end - def content - Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - end - def term_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList - end - def azure_region_base_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl - end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + def detected_language + Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage end end end diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 10d2b61abb..fcd9b15aeb 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -124,8 +124,8 @@ module Models LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType @@ -472,12 +472,12 @@ def instance_operation_type def cardinality_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes end - def role_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - end def status Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status end + def role_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + end def profile_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 676237e086..48e59040a4 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,13 +9,6 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models - CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork - ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode - SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch - TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat - ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse - Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query @@ -25,9 +18,16 @@ module Models SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch + ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end class CustomSearchDataClass @@ -60,27 +60,6 @@ def method_missing(method, *args) end class ModelClasses - def creative_work - Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork - end - def error_code - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode - end - def safe_search - Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch - end - def text_format - Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat - end - def error_response - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse - end - def response - Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - end def response_base Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase end @@ -108,15 +87,36 @@ def search_results_answer def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end + def creative_work + Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + end + def error_response + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + end + def response + Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + end + def safe_search + Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch + end + def error_sub_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + end + def text_format + Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat + end + def error + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + end end end end diff --git a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb index 0ce4e95697..037d042fee 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts - ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies module Models + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation @@ -63,11 +64,10 @@ module Models TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters end class DataLakeAnalyticsManagementClass - attr_reader :firewall_rules, :locations, :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :configurable, :base_url, :options, :model_classes + attr_reader :compute_policies, :firewall_rules, :locations, :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,13 +77,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @compute_policies = @client_0.compute_policies @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @operations = @client_0.operations @accounts = @client_0.accounts @storage_accounts = @client_0.storage_accounts @data_lake_store_accounts = @client_0.data_lake_store_accounts - @compute_policies = @client_0.compute_policies @model_classes = ModelClasses.new end @@ -102,6 +102,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end def subscription_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end @@ -243,9 +246,6 @@ def data_lake_analytics_account_status def operation_origin Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index 0db64e864c..b6ee064f5c 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,14 +7,15 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt + Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations VirtualNetworkRules = Azure::DataLakeStore::Mgmt::V2016_11_01::VirtualNetworkRules TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts - Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations module Models + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity CreateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateVirtualNetworkRuleWithAccountParameters @@ -61,11 +62,10 @@ module Models FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters end class DataLakeStoreManagementClass - attr_reader :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @virtual_network_rules = @client_0.virtual_network_rules @trusted_id_providers = @client_0.trusted_id_providers @accounts = @client_0.accounts - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -99,6 +99,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end def subscription_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState end @@ -237,9 +240,6 @@ def tier_type def operation_origin Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb index 324fc3abc2..afba20fc66 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module DevSpaces module Mgmt - Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations + Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers module Models + ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition ResourceProviderOperationList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList @@ -27,11 +28,10 @@ module Models TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters - ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay end class DevSpacesManagementClass - attr_reader :controllers, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :controllers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,8 +41,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @controllers = @client_0.controllers @operations = @client_0.operations + @controllers = @client_0.controllers @model_classes = ModelClasses.new end @@ -61,6 +61,9 @@ def method_missing(method, *args) end class ModelClasses + def resource_provider_operation_display + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay + end def orchestrator_specific_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails end @@ -109,9 +112,6 @@ def controller_connection_details_list def controller_update_parameters Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters end - def resource_provider_operation_display - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index 44bc416a6b..0e485a72a9 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -9,29 +9,30 @@ module DevTestLabs module Mgmt VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations + ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates Artifacts = Azure::DevTestLabs::Mgmt::V2016_05_15::Artifacts Costs = Azure::DevTestLabs::Mgmt::V2016_05_15::Costs CustomImages = Azure::DevTestLabs::Mgmt::V2016_05_15::CustomImages Formulas = Azure::DevTestLabs::Mgmt::V2016_05_15::Formulas - GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages - ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations - PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels - ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners - Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets + GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages + Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules - Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules - Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies module Models + GenerateArmTemplateRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest ComputeVmInstanceViewStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus GenerateUploadUriParameter = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter ComputeVmProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties @@ -152,8 +153,8 @@ module Models PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port @@ -187,11 +188,10 @@ module Models GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment ParameterInfo = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ParameterInfo ComputeDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeDataDisk - GenerateArmTemplateRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest end class DevTestLabsManagementClass - attr_reader :virtual_machines, :disks, :operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :provider_operations, :policy_sets, :notification_channels, :service_runners, :environments, :secrets, :virtual_machine_schedules, :schedules, :users, :virtual_networks, :policies, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machines, :disks, :provider_operations, :labs, :global_schedules, :operations, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :policy_sets, :gallery_images, :users, :schedules, :secrets, :virtual_machine_schedules, :environments, :service_runners, :virtual_networks, :policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -203,25 +203,25 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @virtual_machines = @client_0.virtual_machines @disks = @client_0.disks - @operations = @client_0.operations + @provider_operations = @client_0.provider_operations @labs = @client_0.labs @global_schedules = @client_0.global_schedules + @operations = @client_0.operations @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @artifacts = @client_0.artifacts @costs = @client_0.costs @custom_images = @client_0.custom_images @formulas = @client_0.formulas - @gallery_images = @client_0.gallery_images - @provider_operations = @client_0.provider_operations - @policy_sets = @client_0.policy_sets @notification_channels = @client_0.notification_channels - @service_runners = @client_0.service_runners - @environments = @client_0.environments + @policy_sets = @client_0.policy_sets + @gallery_images = @client_0.gallery_images + @users = @client_0.users + @schedules = @client_0.schedules @secrets = @client_0.secrets @virtual_machine_schedules = @client_0.virtual_machine_schedules - @schedules = @client_0.schedules - @users = @client_0.users + @environments = @client_0.environments + @service_runners = @client_0.service_runners @virtual_networks = @client_0.virtual_networks @policies = @client_0.policies @@ -242,6 +242,9 @@ def method_missing(method, *args) end class ModelClasses + def generate_arm_template_request + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest + end def compute_vm_instance_view_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus end @@ -602,12 +605,12 @@ def policy_status def http_status_code Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def event Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end def policy Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy end @@ -707,9 +710,6 @@ def parameter_info def compute_data_disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeDataDisk end - def generate_arm_template_request - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest - end end end end diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index c46b8b1058..9112329e1d 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2018_03_01_preview::Zones module Models + CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource @@ -33,7 +34,6 @@ module Models AzureEntityResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate - CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord end class DnsManagementClass @@ -67,6 +67,9 @@ def method_missing(method, *args) end class ModelClasses + def caa_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + end def zone_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end @@ -133,9 +136,6 @@ def record_type def zone_update Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate end - def caa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord - end end end end diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 236ba7464b..02d42a06a1 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -22,6 +22,7 @@ module Models ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject @@ -32,8 +33,8 @@ module Models Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject - Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure + LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License @@ -52,7 +53,6 @@ module Models EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse end @@ -126,6 +126,9 @@ def error_sub_code def safe_search Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + end def contractual_rules_contractual_rule Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule end @@ -156,12 +159,12 @@ def contractual_rules_attribution def media_object Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - end def civic_structure Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure end + def local_business + Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness + end def tourist_attraction Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction end @@ -216,9 +219,6 @@ def answer_type def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def local_business - Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness - end def entity_type Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType end diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index ada63bfa52..a7810bfcc2 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -187,12 +187,12 @@ def job_state end end module Mgmt + Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations Domains = Azure::EventGrid::Mgmt::V2018_09_15_preview::Domains DomainTopics = Azure::EventGrid::Mgmt::V2018_09_15_preview::DomainTopics EventSubscriptions = Azure::EventGrid::Mgmt::V2018_09_15_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_09_15_preview::Topics TopicTypes = Azure::EventGrid::Mgmt::V2018_09_15_preview::TopicTypes - Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicSharedAccessKeys @@ -256,7 +256,7 @@ module Models end class EventGridManagementClass - attr_reader :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -266,12 +266,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @domains = @client_0.domains @domain_topics = @client_0.domain_topics @event_subscriptions = @client_0.event_subscriptions @topics = @client_0.topics @topic_types = @client_0.topic_types - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 617801ec88..26e2d3813e 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module EventHub module Mgmt + Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration - Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations module Models SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName @@ -36,7 +36,7 @@ module Models end class EventHubManagementClass - attr_reader :clusters, :namespaces, :configuration, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :clusters, :namespaces, :configuration, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -46,10 +46,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @clusters = @client_0.clusters @namespaces = @client_0.namespaces @configuration = @client_0.configuration - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/face_profile_module.rb b/azure_sdk/lib/latest/modules/face_profile_module.rb index 04e2a7245f..27b975efee 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -12,14 +12,32 @@ module Face PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations module Models - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender + Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise + Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair + NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract + DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur + TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + Person = Azure::CognitiveServices::Face::V1_0::Models::Person + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType + HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel + NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType + Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType Error = Azure::CognitiveServices::Face::V1_0::Models::Error + FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks @@ -34,30 +52,12 @@ module Models VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest - FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace - FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate - Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion - Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair - NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus - Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur - PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup - FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList - HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType - Person = Azure::CognitiveServices::Face::V1_0::Models::Person - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType - ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel - NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel end class FaceDataClass @@ -93,30 +93,84 @@ def method_missing(method, *args) end class ModelClasses - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender + def noise + Azure::CognitiveServices::Face::V1_0::Models::Noise + end + def hair + Azure::CognitiveServices::Face::V1_0::Models::Hair + end + def name_and_user_data_contract + Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract + end + def detected_face + Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + end + def update_person_face_request + Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + end + def blur + Azure::CognitiveServices::Face::V1_0::Models::Blur + end + def training_status + Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + end + def face_list + Azure::CognitiveServices::Face::V1_0::Models::FaceList + end + def person_group + Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + end + def person + Azure::CognitiveServices::Face::V1_0::Models::Person + end + def glasses_type + Azure::CognitiveServices::Face::V1_0::Models::GlassesType + end + def hair_color_type + Azure::CognitiveServices::Face::V1_0::Models::HairColorType end def accessory_type Azure::CognitiveServices::Face::V1_0::Models::AccessoryType end + def blur_level + Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + end + def exposure_level + Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel + end + def noise_level + Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel + end def find_similar_match_mode Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode end + def facial_hair + Azure::CognitiveServices::Face::V1_0::Models::FacialHair + end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end + def emotion + Azure::CognitiveServices::Face::V1_0::Models::Emotion + end def face_attribute_type Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end def error Azure::CognitiveServices::Face::V1_0::Models::Error end + def face_rectangle + Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle + end def apierror Azure::CognitiveServices::Face::V1_0::Models::APIError end def find_similar_request Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest end + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + end def similar_face Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end @@ -159,78 +213,24 @@ def exposure def verify_face_to_face_request Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest end - def face_rectangle - Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle - end def face_attributes Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes end + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender + end def persisted_face Azure::CognitiveServices::Face::V1_0::Models::PersistedFace end - def facial_hair - Azure::CognitiveServices::Face::V1_0::Models::FacialHair - end def verify_result Azure::CognitiveServices::Face::V1_0::Models::VerifyResult end def coordinate Azure::CognitiveServices::Face::V1_0::Models::Coordinate end - def emotion - Azure::CognitiveServices::Face::V1_0::Models::Emotion - end def occlusion Azure::CognitiveServices::Face::V1_0::Models::Occlusion end - def noise - Azure::CognitiveServices::Face::V1_0::Models::Noise - end - def hair - Azure::CognitiveServices::Face::V1_0::Models::Hair - end - def name_and_user_data_contract - Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - end - def update_person_face_request - Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - end - def detected_face - Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - end - def training_status - Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus - end - def blur - Azure::CognitiveServices::Face::V1_0::Models::Blur - end - def person_group - Azure::CognitiveServices::Face::V1_0::Models::PersonGroup - end - def face_list - Azure::CognitiveServices::Face::V1_0::Models::FaceList - end - def hair_color_type - Azure::CognitiveServices::Face::V1_0::Models::HairColorType - end - def person - Azure::CognitiveServices::Face::V1_0::Models::Person - end - def glasses_type - Azure::CognitiveServices::Face::V1_0::Models::GlassesType - end - def exposure_level - Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel - end - def noise_level - Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - end - def blur_level - Azure::CognitiveServices::Face::V1_0::Models::BlurLevel - end end end end diff --git a/azure_sdk/lib/latest/modules/features_profile_module.rb b/azure_sdk/lib/latest/modules/features_profile_module.rb index d1a8453c22..189d52eff9 100644 --- a/azure_sdk/lib/latest/modules/features_profile_module.rb +++ b/azure_sdk/lib/latest/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models + OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay end class FeaturesManagementClass @@ -48,6 +48,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end @@ -63,9 +66,6 @@ def feature_operations_list_result def feature_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb index 3bde91c947..244a98bc9c 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -14,6 +14,7 @@ module GraphRbac Users = Azure::GraphRbac::V1_6::Users module Models + DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult UserBase = Azure::GraphRbac::V1_6::Models::UserBase AADObject = Azure::GraphRbac::V1_6::Models::AADObject RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess @@ -55,7 +56,6 @@ module Models PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile - DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult end class GraphRbacDataClass @@ -93,6 +93,9 @@ def method_missing(method, *args) end class ModelClasses + def directory_object_list_result + Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult + end def user_base Azure::GraphRbac::V1_6::Models::UserBase end @@ -216,9 +219,6 @@ def service_principal_list_result def password_profile Azure::GraphRbac::V1_6::Models::PasswordProfile end - def directory_object_list_result - Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - end end end end diff --git a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb index 8672db9989..ed8d82bd09 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,6 +9,18 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models + Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency + ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability + ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect + ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor + Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent + ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense + ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType + Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person + ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query @@ -21,13 +33,13 @@ module Models ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue - Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule @@ -41,32 +53,20 @@ module Models ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile + ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle - RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity + ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage - Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency - ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect - ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse - ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor - Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness - ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType - ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end class ImageSearchDataClass @@ -99,6 +99,42 @@ def method_missing(method, *args) end class ModelClasses + def currency + Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency + end + def item_availability + Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability + end + def image_aspect + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect + end + def image_color + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor + end + def freshness + Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + end + def image_content + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent + end + def image_license + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense + end + def image_size + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + end + def image_crop_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType + end + def person + Azure::CognitiveServices::ImageSearch::V1_0::Models::Person + end + def image_insight_module + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + end + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + end def response Azure::CognitiveServices::ImageSearch::V1_0::Models::Response end @@ -135,9 +171,15 @@ def error_sub_code def safe_search Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch end + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + end def image_object Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject end + def images + Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + end def organization Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization end @@ -147,15 +189,9 @@ def intangible def media_object Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def structured_value Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue end - def images - Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - end def related_searches_module Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule end @@ -195,6 +231,9 @@ def image_insights_image_caption def trending_images_tile Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile end + def error_response + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + end def images_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule end @@ -207,17 +246,14 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def image_gallery - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery - end def recipe Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe end def normalized_rectangle Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle end - def recognized_entity - Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity + def image_gallery + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery end def recognized_entity_region Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion @@ -234,44 +270,8 @@ def rating def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end - def currency - Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency - end - def item_availability - Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - end - def image_aspect - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect - end - def error_response - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse - end - def image_color - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor - end - def freshness - Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness - end - def image_content - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - end - def image_license - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - end - def image_size - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize - end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - end - def person - Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - end - def image_crop_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType - end - def image_insight_module - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + def recognized_entity + Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end end end diff --git a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb index ffbd3c76b3..33e4c73cdd 100644 --- a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module IotCentral module Mgmt - Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations + Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps module Models ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails @@ -27,7 +27,7 @@ module Models end class IotCentralManagementClass - attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :apps, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,8 +37,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @apps = @client_0.apps @operations = @client_0.operations + @apps = @client_0.apps @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index a9344afa6d..ea7d097a67 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module IotHub module Mgmt + Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates - Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations module Models + OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult @@ -89,11 +90,10 @@ module Models RoutingMessage = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput - OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties end class IotHubManagementClass - attr_reader :iot_hub_resource, :resource_provider_common, :certificates, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -103,10 +103,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @iot_hub_resource = @client_0.iot_hub_resource @resource_provider_common = @client_0.resource_provider_common @certificates = @client_0.certificates - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -125,6 +125,9 @@ def method_missing(method, *args) end class ModelClasses + def operations_monitoring_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties + end def matched_route Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute end @@ -353,9 +356,6 @@ def storage_endpoint_properties def test_all_routes_input Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput end - def operations_monitoring_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties - end end end end diff --git a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb index f2230895ba..df3770b7fb 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,6 +9,7 @@ module Azure::Profiles::Latest module KeyVault module Models + BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle @@ -106,7 +107,6 @@ module Models BackupCertificateResult = Azure::KeyVault::V7_0::Models::BackupCertificateResult DeletedSasDefinitionListResult = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters - BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult end class KeyVaultDataClass @@ -138,6 +138,9 @@ def method_missing(method, *args) end class ModelClasses + def backup_storage_result + Azure::KeyVault::V7_0::Models::BackupStorageResult + end def certificate_restore_parameters Azure::KeyVault::V7_0::Models::CertificateRestoreParameters end @@ -429,14 +432,11 @@ def deleted_sas_definition_list_result def storage_restore_parameters Azure::KeyVault::V7_0::Models::StorageRestoreParameters end - def backup_storage_result - Azure::KeyVault::V7_0::Models::BackupStorageResult - end end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations + Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions @@ -466,11 +466,11 @@ module Models Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation StoragePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions @@ -478,7 +478,7 @@ module Models end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -488,8 +488,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -589,8 +589,8 @@ def storage_permissions def virtual_network_rule Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode @@ -601,8 +601,8 @@ def certificate_permissions def sku Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind end def iprule Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index 32c6c0c1ee..b4436dca48 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module Links module Mgmt - ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks Operations = Azure::Links::Mgmt::V2016_09_01::Operations + ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult @@ -18,11 +19,10 @@ module Models ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter - OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end class LinksManagementClass - attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_links = @client_0.resource_links @operations = @client_0.operations + @resource_links = @client_0.resource_links @model_classes = ModelClasses.new end @@ -52,6 +52,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay + end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end @@ -73,9 +76,6 @@ def resource_link def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end - def operation_display - Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/locks_profile_module.rb b/azure_sdk/lib/latest/modules/locks_profile_module.rb index be6d441742..175a6c7b5d 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end class LocksManagementClass @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay + end def management_lock_owner Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end @@ -69,9 +72,6 @@ def management_lock_object def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end - def operation_display - Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index c3c587afbc..25ddbad93c 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -74,7 +74,7 @@ module Models CallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl X12AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::X12AgreementContent IntegrationAccountSchemaListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaListResult - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + EdifactValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema EdifactFramingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactFramingSettings IntegrationAccountMapListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapListResult @@ -102,24 +102,24 @@ module Models WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash AssemblyCollection = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyCollection ErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo - GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent IntegrationAccountAgreementListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult - GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters + GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter - IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter + GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault - IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter + IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection - Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression + IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings - IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult + Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings - IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces - EdifactValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings + IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult BatchConfigurationCollection = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties @@ -388,8 +388,8 @@ def x12_agreement_content def integration_account_schema_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaListResult end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + def edifact_validation_settings + Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings end def integration_account_map_properties_parameters_schema Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema @@ -472,59 +472,59 @@ def workflow_run_list_result def agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent end + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + end def assembly_collection Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyCollection end def error_info Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo end - def generate_upgraded_definition_parameters - Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters - end def edifact_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent end def integration_account_agreement_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult end - def get_callback_url_parameters - Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters + def generate_upgraded_definition_parameters + Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters end def integration_account_agreement_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter end - def integration_account_schema_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter + def get_callback_url_parameters + Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end - def integration_account_map_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter + def integration_account_schema_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter end def workflow_run_action_repetition_definition_collection Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection end - def expression - Azure::Logic::Mgmt::V2016_06_01::Models::Expression + def integration_account_map_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end - def integration_account_certificate_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult + def expression + Azure::Logic::Mgmt::V2016_06_01::Models::Expression end def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end - def integration_account_session_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + def integration_account_certificate_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult end def expression_traces Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces end - def edifact_validation_settings - Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings + def integration_account_session_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end def integration_account_session_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 56c1c9f092..7705bc8c96 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models + ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType @@ -50,7 +51,6 @@ module Models WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel - ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType end class MachineLearningManagementClass @@ -84,6 +84,9 @@ def method_missing(method, *args) end class ModelClasses + def column_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + end def async_operation_status Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus end @@ -201,9 +204,6 @@ def web_service_properties_for_graph def diagnostics_level Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel end - def column_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - end end end end diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index f064436d24..732279fe8b 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions module Models + ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType GenericResource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource @@ -28,7 +29,6 @@ module Models Identity = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable - ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition end class ManagedApplicationsManagementClass @@ -62,6 +62,9 @@ def method_missing(method, *args) end class ModelClasses + def application_definition + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition + end def application_lock_level Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel end @@ -113,9 +116,6 @@ def application_artifact def application_patchable Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable end - def application_definition - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition - end end end end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 3319d8a4c0..42fda4f4e5 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities module Models + OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end class ManagedServiceIdentityManagementClass @@ -50,6 +50,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay + end def user_assigned_identities Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities end @@ -65,9 +68,6 @@ def operation_list_result def identity Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity end - def operation_display - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb index fe077cb068..4981006725 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -7,21 +7,21 @@ module Azure::Profiles::Latest module MarketplaceOrdering module Mgmt - MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations + MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements module Models + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms - OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay end class MarketplaceOrderingManagementClass - attr_reader :marketplace_agreements, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :marketplace_agreements, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -31,8 +31,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @marketplace_agreements = @client_0.marketplace_agreements @operations = @client_0.operations + @marketplace_agreements = @client_0.marketplace_agreements @model_classes = ModelClasses.new end @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay + end def operation Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end @@ -69,9 +72,6 @@ def error_response_error def agreement_terms Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end - def operation_display - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index f60dfef4a6..74da846ef9 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -23,6 +23,7 @@ module Mgmt StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_07_01::StreamingEndpoints module Models + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput Job = Azure::MediaServices::Mgmt::V2018_07_01::Models::Job OperationDisplay = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay Operation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation @@ -91,7 +92,7 @@ module Models ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey - AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse OutputFile = Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile JobErrorDetail = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail LiveEventListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult @@ -177,46 +178,45 @@ module Models AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption - ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType AacAudioProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType LiveEvent = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity StretchMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation - DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format - ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType - EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode - H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType H264VideoProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode + H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType - MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType - EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset - InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType OnErrorType = Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset + AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey - ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse - JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory + JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode + InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType JobRetry = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority - JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode - StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType + TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol TrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType - TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation - LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType EncryptionScheme = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme - LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState - StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState - LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag + LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState + StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState Location = Azure::MediaServices::Mgmt::V2018_07_01::Models::Location StorageAccountType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType StorageAccount = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount JobState = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput end class MediaServicesManagementClass @@ -262,6 +262,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput + end def job Azure::MediaServices::Mgmt::V2018_07_01::Models::Job end @@ -466,8 +469,8 @@ def streaming_endpoint_access_control def content_key_policy_restriction_token_key Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey end - def akamai_access_control - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + def list_paths_response + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse end def output_file Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile @@ -724,15 +727,15 @@ def image def content_key_policy_play_ready_unknown_output_passing_option Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption end - def content_key_policy_play_ready_license_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType - end def content_key_policy_fair_play_rental_and_lease_key_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType end def aac_audio_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile end + def content_key_policy_restriction_token_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType + end def live_event Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent end @@ -745,47 +748,47 @@ def stretch_mode def rotation Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation end - def deinterlace_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode - end def format Azure::MediaServices::Mgmt::V2018_07_01::Models::Format end - def content_key_policy_restriction_token_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType + def metric_aggregation_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType end - def entropy_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode + def h264_video_profile + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + end + def deinterlace_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode end def h264_complexity Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity end - def h264_video_profile - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + def content_key_policy_play_ready_license_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType end def content_key_policy_play_ready_content_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType end - def metric_aggregation_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType + def on_error_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType end def encoder_named_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset end - def insights_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType + def akamai_access_control + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl end - def on_error_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + def entropy_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode end def akamai_signature_header_authentication_key Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey end - def list_paths_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse + def job_error_code + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode end - def job_error_category - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory + def insights_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType end def job_retry Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry @@ -793,11 +796,11 @@ def job_retry def priority Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority end - def job_error_code - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode + def track_property_compare_operation + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation end - def streaming_locator_content_key_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType + def job_error_category + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory end def streaming_policy_streaming_protocol Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol @@ -805,11 +808,11 @@ def streaming_policy_streaming_protocol def track_property_type Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType end - def track_property_compare_operation - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + def live_output_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState end - def live_event_input_protocol - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + def streaming_locator_content_key_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType end def live_event_encoding_type Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType @@ -817,17 +820,17 @@ def live_event_encoding_type def encryption_scheme Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme end - def live_output_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + def stream_options_flag + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag end - def streaming_endpoint_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState + def live_event_input_protocol + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol end def live_event_resource_state Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState end - def stream_options_flag - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag + def streaming_endpoint_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState end def location Azure::MediaServices::Mgmt::V2018_07_01::Models::Location @@ -841,9 +844,6 @@ def storage_account def job_state Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput - end end end end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index 89efeee24e..fbc759c0c6 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -7,11 +7,11 @@ module Azure::Profiles::Latest module Monitor module Mgmt + Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs - Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles @@ -21,12 +21,13 @@ module Mgmt MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics + MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts - MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules module Models + ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule @@ -54,7 +55,6 @@ module Models EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification - ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource @@ -87,10 +87,10 @@ module Models CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource - LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings - DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings + LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection + DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline @@ -136,6 +136,7 @@ module Models ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState @@ -152,12 +153,11 @@ module Models ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity - Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source end class MonitorManagementClass - attr_reader :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :operations, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :action_groups, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts_status, :action_groups, :metric_alerts, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -167,11 +167,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @activity_logs = @client_0.activity_logs @autoscale_settings = @client_0.autoscale_settings @event_categories = @client_0.event_categories @tenant_activity_logs = @client_0.tenant_activity_logs - @operations = @client_0.operations @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -217,9 +217,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_6.subscription_id = configurable.subscription_id end add_telemetry(@client_6) + @metric_alerts_status = @client_6.metric_alerts_status @action_groups = @client_6.action_groups @metric_alerts = @client_6.metric_alerts - @metric_alerts_status = @client_6.metric_alerts_status @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options) if(@client_7.respond_to?(:subscription_id)) @@ -259,6 +259,9 @@ def method_missing(method, *args) end class ModelClasses + def scale_capacity + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity + end def autoscale_notification Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification end @@ -340,9 +343,6 @@ def email_notification def webhook_notification Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification end - def scale_capacity - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity - end def rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition end @@ -439,18 +439,18 @@ def retention_policy def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end - def log_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings - end - def diagnostic_settings_category_resource_collection - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection - end def metric_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end + def log_settings + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings + end def diagnostic_settings_resource_collection Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection end + def diagnostic_settings_category_resource_collection + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection + end def diagnostic_settings_category_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end @@ -586,6 +586,9 @@ def action_group_list def action_group_resource Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource end + def schedule + Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule + end def action Azure::Monitor::Mgmt::V2018_04_16::Models::Action end @@ -634,9 +637,6 @@ def metric_trigger_type def alert_severity Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity end - def schedule - Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule - end def source Azure::Monitor::Mgmt::V2018_04_16::Models::Source end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index d2163cef43..f133bae7dc 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -245,13 +245,13 @@ module Models GatewayRouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerProbeListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + Error = Azure::Network::Mgmt::V2018_08_01::Models::Error ErrorDetails = Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult - Error = Azure::Network::Mgmt::V2018_08_01::Models::Error - GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult BgpSettings = Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupAssociation @@ -380,67 +380,67 @@ module Models ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAuthenticationCertificate Resource = Azure::Network::Mgmt::V2018_08_01::Models::Resource ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult + EndpointServiceResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization RouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering - Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy - EndpointServiceResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway FrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2018_08_01::Models::Probe RouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter - ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway + Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider - InboundNatPool = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool + GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute NetworkWatcher = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher ExpressRouteCircuit = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization BgpServiceCommunity = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunity + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule LoadBalancer = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayIPConfiguration NetworkProfile = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate VirtualNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGateway - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + VirtualNetwork = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork + InboundNatPool = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity VirtualNetworkPeering = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol - PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection ApplicationGatewayTier = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName - VirtualNetwork = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite VpnClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity IPVersion = Azure::Network::Mgmt::V2018_08_01::Models::IPVersion ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState Access = Azure::Network::Mgmt::V2018_08_01::Models::Access ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily - ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier LoadDistribution = Azure::Network::Mgmt::V2018_08_01::Models::LoadDistribution ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_08_01::Models::ServiceProviderProvisioningState @@ -460,26 +460,26 @@ module Models ConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStatus Origin = Azure::Network::Mgmt::V2018_08_01::Models::Origin IssueType = Azure::Network::Mgmt::V2018_08_01::Models::IssueType - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol + ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState EvaluationState = Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState - VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType - ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState - BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType + VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol - VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType - IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IpsecEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption - IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity + IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption - PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity DhGroup = Azure::Network::Mgmt::V2018_08_01::Models::DhGroup + PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType + BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture - AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod Container = Azure::Network::Mgmt::V2018_08_01::Models::Container end @@ -1094,8 +1094,8 @@ def load_balancer_probe_list_result def bgp_peer_status_list_result Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + def error + Azure::Network::Mgmt::V2018_08_01::Models::Error end def error_details Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails @@ -1109,11 +1109,11 @@ def application_gateway_backend_health def azure_async_operation_result Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult end - def error - Azure::Network::Mgmt::V2018_08_01::Models::Error + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy end - def gateway_route - Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult @@ -1499,26 +1499,26 @@ def resource def application_gateway_ssl_certificate Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort end + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener + end def application_gateway_path_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule end def application_gateway_probe Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener - end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration + end + def application_gateway_url_path_map + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap end def application_gateway_firewall_rule_group Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup @@ -1526,17 +1526,17 @@ def application_gateway_firewall_rule_group def application_gateway_firewall_rule_set Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions end def route_filter_rule_list_result Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration + def endpoint_service_result + Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions + def express_route_circuit_authorization + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization end def route_filter_rule Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule @@ -1544,14 +1544,14 @@ def route_filter_rule def express_route_circuit_peering Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering end - def availability - Azure::Network::Mgmt::V2018_08_01::Models::Availability + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration end def application_gateway_ssl_predefined_policy Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_service_result - Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + def application_gateway + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway end def frontend_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration @@ -1565,14 +1565,14 @@ def probe def route_filter Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter end - def application_gateway - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway + def availability + Azure::Network::Mgmt::V2018_08_01::Models::Availability end def express_route_service_provider Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider end - def inbound_nat_pool - Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool + def gateway_route + Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute end def network_watcher Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher @@ -1580,12 +1580,12 @@ def network_watcher def express_route_circuit Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization - end def bgp_service_community Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunity end + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule + end def load_balancer Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer end @@ -1604,11 +1604,11 @@ def virtual_network_gateway def local_network_gateway Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGateway end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule + def virtual_network + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + def inbound_nat_pool + Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity @@ -1622,8 +1622,8 @@ def application_gateway_backend_health_server_health def application_gateway_protocol Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol end - def patch_route_filter - Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection end def application_gateway_tier Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier @@ -1631,17 +1631,17 @@ def application_gateway_tier def application_gateway_sku_name Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName end - def virtual_network - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork - end def application_gateway_ssl_policy_name Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName end + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate end - def application_gateway_request_routing_rule_type - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + def patch_route_filter + Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity @@ -1652,8 +1652,8 @@ def ipversion def application_gateway_redirect_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState end def application_gateway_ssl_protocol Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol @@ -1661,17 +1661,17 @@ def application_gateway_ssl_protocol def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode end - def authorization_use_status - Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus + def application_gateway_request_routing_rule_type + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState end def access Azure::Network::Mgmt::V2018_08_01::Models::Access @@ -1679,8 +1679,8 @@ def access def express_route_circuit_sku_family Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState + def authorization_use_status + Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus end def express_route_circuit_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier @@ -1739,26 +1739,26 @@ def origin def issue_type Azure::Network::Mgmt::V2018_08_01::Models::IssueType end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState - end def protocol Azure::Network::Mgmt::V2018_08_01::Models::Protocol end + def connection_state + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + end def evaluation_state Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState end def virtual_network_gateway_type Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType end - def connection_state - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + def vpn_type + Azure::Network::Mgmt::V2018_08_01::Models::VpnType end - def bgp_peer_state - Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier @@ -1766,26 +1766,26 @@ def virtual_network_gateway_sku_tier def vpn_client_protocol Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol end - def vpn_type - Azure::Network::Mgmt::V2018_08_01::Models::VpnType + def ipsec_encryption + Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption end def ipsec_integrity Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity end - def ipsec_encryption - Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption + def ike_encryption + Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption end def ike_integrity Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity end - def ike_encryption - Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption + def dh_group + Azure::Network::Mgmt::V2018_08_01::Models::DhGroup end def pfs_group Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup end - def dh_group - Azure::Network::Mgmt::V2018_08_01::Models::DhGroup + def authentication_method + Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus @@ -1793,12 +1793,12 @@ def virtual_network_gateway_connection_status def virtual_network_gateway_connection_type Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType end + def bgp_peer_state + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + end def processor_architecture Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture end - def authentication_method - Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod - end def container Azure::Network::Mgmt::V2018_08_01::Models::Container end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 19587dd60b..4eed015b99 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,29 +9,29 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode + ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat - ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end @@ -65,6 +65,21 @@ def method_missing(method, *args) end class ModelClasses + def freshness + Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end + def organization + Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + end + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + end + def response + Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + end def news_article Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end @@ -80,18 +95,15 @@ def response_base def article Azure::CognitiveServices::NewsSearch::V1_0::Models::Article end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def query Azure::CognitiveServices::NewsSearch::V1_0::Models::Query end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end def trending_topics Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end - def response - Azure::CognitiveServices::NewsSearch::V1_0::Models::Response - end def search_results_answer Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end @@ -110,6 +122,9 @@ def creative_work def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode end + def error_response + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + end def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end @@ -119,21 +134,6 @@ def safe_search def text_format Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end - def error_response - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - end - def freshness - Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end - def organization - Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index 0bfe81d29b..1ff2ca0012 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs - Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations module Models Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource @@ -49,7 +49,7 @@ module Models end class NotificationHubsManagementClass - attr_reader :namespaces, :notification_hubs, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,9 +59,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 186c2b1556..920a96c918 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,10 +9,10 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches + Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces - Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag @@ -25,6 +25,7 @@ module Models SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort @@ -34,11 +35,10 @@ module Models WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata - SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult - StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum @@ -66,7 +66,7 @@ module Models end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :operations, :linked_services, :data_sources, :workspaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -84,10 +84,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @linked_services = @client_1.linked_services @data_sources = @client_1.data_sources @workspaces = @client_1.workspaces - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -138,6 +138,9 @@ def storage_insight_status def saved_search Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch end + def saved_searches_list_result + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult + end def search_results_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse end @@ -165,21 +168,18 @@ def workspace_purge_response def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata end - def saved_searches_list_result - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult + def workspace_purge_status_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse end def storage_insight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end - def workspace_purge_status_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse + def search_sort_enum + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum end def storage_insight_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end - def search_sort_enum - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 54cc040e24..6477839b2e 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -7,11 +7,12 @@ module Azure::Profiles::Latest module Policy module Mgmt - PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments + PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions module Models + PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult @@ -22,11 +23,10 @@ module Models PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode - PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference end class PolicyManagementClass - attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_assignments, :policy_definitions, :policy_set_definitions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -36,8 +36,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_definitions = @client_0.policy_definitions @policy_assignments = @client_0.policy_assignments + @policy_definitions = @client_0.policy_definitions @policy_set_definitions = @client_0.policy_set_definitions @model_classes = ModelClasses.new @@ -57,6 +57,9 @@ def method_missing(method, *args) end class ModelClasses + def policy_definition_reference + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference + end def policy_set_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition end @@ -87,9 +90,6 @@ def policy_type def policy_mode Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode end - def policy_definition_reference - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference - end end end end diff --git a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb index 23452bdecb..98519f159c 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module PolicyInsights module Mgmt - PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents + PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations module Models @@ -17,21 +17,21 @@ module Models PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults Summary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions end class PolicyInsightsManagementClass - attr_reader :policy_states, :policy_events, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,8 +41,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_states = @client_0.policy_states @policy_events = @client_0.policy_events + @policy_states = @client_0.policy_states @operations = @client_0.operations @model_classes = ModelClasses.new @@ -77,8 +77,8 @@ def summary def query_failure Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + def summarize_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults end def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults @@ -86,30 +86,30 @@ def policy_states_query_results def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end def policy_state Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState end - def operations_list_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - end def operation Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation end - def summarize_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults - end - def summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - end def query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end - def query_options - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + def operations_list_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults end def policy_states_resource Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end + def summary_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + end + def query_options + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + end end end end diff --git a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb index 7bb3158594..fd481c892b 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module PowerBiEmbedded module Mgmt - Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections + Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces module Models + WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display @@ -18,22 +19,21 @@ module Models AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList - MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail + AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys - WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection end class PowerBiEmbeddedManagementClass - attr_reader :workspaces, :workspace_collections, :configurable, :base_url, :options, :model_classes + attr_reader :workspace_collections, :workspaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @workspaces = @client_0.workspaces @workspace_collections = @client_0.workspace_collections + @workspaces = @client_0.workspaces @model_classes = ModelClasses.new end @@ -63,6 +63,9 @@ def method_missing(method, *args) end class ModelClasses + def workspace_collection + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection + end def workspace_collection_access_key Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey end @@ -84,27 +87,24 @@ def workspace def check_name_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end - def operation_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + def workspace_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList end def check_name_response Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse end - def workspace_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + def workspace_collection_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList end def migrate_workspace_collection_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest end - def workspace_collection_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + def error_detail + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail end def access_key_name Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName end - def error_detail - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - end def check_name_reason Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end @@ -114,12 +114,12 @@ def operation def error Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end + def operation_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + end def workspace_collection_access_keys Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys end - def workspace_collection - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb index 758ee53eab..afae13f825 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations - Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults + ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities - ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages - Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults module Models ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi @@ -53,7 +53,7 @@ module Models end class RecoveryServicesManagementClass - attr_reader :vault_extended_info_operations, :vaults, :usages, :vault_certificates, :registered_identities, :replication_usages, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vault_extended_info_operations, :replication_usages, :usages, :vault_certificates, :registered_identities, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -63,13 +63,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @vault_extended_info_operations = @client_0.vault_extended_info_operations - @vaults = @client_0.vaults + @replication_usages = @client_0.replication_usages @usages = @client_0.usages @vault_certificates = @client_0.vault_certificates @registered_identities = @client_0.registered_identities - @replication_usages = @client_0.replication_usages - @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index eb9d154da5..5764330e50 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -8,6 +8,7 @@ module Azure::Profiles::Latest module RecoveryServicesBackup module Mgmt Operations = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Operations + BackupOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationStatuses ProtectionPolicies = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicies ProtectionPolicyOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationResults ProtectionPolicyOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationStatuses @@ -32,7 +33,6 @@ module Mgmt JobCancellations = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::JobCancellations JobOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::JobOperationResults BackupOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationResults - BackupOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationStatuses ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport @@ -46,12 +46,12 @@ module Mgmt Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs module Models + ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryResponse = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse - ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo @@ -150,9 +150,9 @@ module Models OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList - ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource + ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource @@ -187,22 +187,22 @@ module Models AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo @@ -325,7 +325,7 @@ module Models end class RecoveryServicesBackupManagementClass - attr_reader :operations, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -342,6 +342,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @backup_operation_statuses = @client_1.backup_operation_statuses @protection_policies = @client_1.protection_policies @protection_policy_operation_results = @client_1.protection_policy_operation_results @protection_policy_operation_statuses = @client_1.protection_policy_operation_statuses @@ -366,7 +367,6 @@ def initialize(configurable, base_url=nil, options=nil) @job_cancellations = @client_1.job_cancellations @job_operation_results = @client_1.job_operation_results @backup_operation_results = @client_1.backup_operation_results - @backup_operation_statuses = @client_1.backup_operation_statuses @client_2 = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -406,6 +406,9 @@ def method_missing(method, *args) end class ModelClasses + def client_discovery_for_log_specification + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification + end def client_discovery_value_for_single_api Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end @@ -421,9 +424,6 @@ def client_discovery_for_properties def client_discovery_response Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse end - def client_discovery_for_log_specification - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification - end def storage_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end @@ -718,14 +718,14 @@ def protectable_container_resource def backup_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest end - def protection_container_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList + def protectable_container_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end def protection_container_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource end - def protectable_container_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + def protection_container_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end def recovery_point_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource @@ -829,8 +829,8 @@ def daily_retention_schedule def azure_workload_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo end - def validate_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end def daily_retention_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat @@ -847,8 +847,8 @@ def azure_iaa_svmjob_task_details def azure_storage_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def validate_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest end def azure_vmresource_feature_support_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse @@ -865,8 +865,8 @@ def pre_validate_enable_backup_request def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject end def backup_status_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest @@ -874,8 +874,8 @@ def backup_status_request def backup_management_usage Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList end def bmsbackup_summaries_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index 206b2ed5a4..d127aa75e4 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -234,8 +234,8 @@ module Models A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ASwitchProtectionInput A2AUpdateContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateContainerMappingInput A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput - Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment + Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricCreationInput AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails @@ -258,15 +258,15 @@ module Models HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails - HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails @@ -328,30 +328,30 @@ module Models VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmNetworkMappingSettings VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmDetails VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput - VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails - VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails AgentAutoUpdateStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus - VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy - MultiVmGroupCreateOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption RecoveryPointSyncType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType + MultiVmGroupCreateOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections - VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails - DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel - RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType - AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput PresenceStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory - ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation @@ -1038,12 +1038,12 @@ def a2_aupdate_container_mapping_input def a2_aupdate_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert - end def role_assignment Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment end + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert + end def automation_runbook_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails end @@ -1110,12 +1110,12 @@ def hyper_vreplica_azure_failover_provider_input def hyper_vreplica_azure_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event - end def hyper_vreplica_azure_update_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + end def hyper_vreplica_base_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails end @@ -1134,8 +1134,8 @@ def hyper_vreplica_blue_policy_input def hyper_vreplica_blue_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event end def hyper_vreplica_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput @@ -1320,8 +1320,8 @@ def vmm_details def vmm_to_vmm_update_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput end - def vmm_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails end def vmware_cbt_policy_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput @@ -1332,8 +1332,8 @@ def vmm_to_vmm_create_network_mapping_input def vmware_cbt_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails end def vmware_v2_fabric_specific_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails @@ -1347,50 +1347,50 @@ def agent_auto_update_status def set_multi_vm_sync_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails - end def policy Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy end - def multi_vm_group_create_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption - end def recovery_point_sync_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType end + def multi_vm_group_create_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption + end def network Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network end + def recovery_plan_group_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + end + def vmm_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + end def possible_operations_directions Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections end - def vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails - end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation end def failover_deployment_model Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel end - def recovery_plan_group_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + def disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason end - def agent_version_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput end def presence_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + def agent_version_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus end def health_error_category Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus end def a2_arp_recovery_point_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index e018a92abe..e245e1aaa3 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,13 +7,14 @@ module Azure::Profiles::Latest module Redis module Mgmt - FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules Operations = Azure::Redis::Mgmt::V2018_03_01::Operations + FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules + LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer Redis = Azure::Redis::Mgmt::V2018_03_01::Redis PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules - LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer module Models + CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay @@ -51,11 +52,10 @@ module Models TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole - CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters end class RedisManagementClass - attr_reader :firewall_rules, :operations, :redis, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :firewall_rules, :linked_server, :redis, :patch_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -65,11 +65,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @firewall_rules = @client_0.firewall_rules @operations = @client_0.operations + @firewall_rules = @client_0.firewall_rules + @linked_server = @client_0.linked_server @redis = @client_0.redis @patch_schedules = @client_0.patch_schedules - @linked_server = @client_0.linked_server @model_classes = ModelClasses.new end @@ -88,6 +88,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters + end def resource Azure::Redis::Mgmt::V2018_03_01::Models::Resource end @@ -199,9 +202,6 @@ def proxy_resource def replication_role Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole end - def check_name_availability_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 1241bb2f11..78eb337073 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,32 +7,32 @@ module Azure::Profiles::Latest module Relay module Mgmt + Operations = Azure::Relay::Mgmt::V2017_04_01::Operations Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays - Operations = Azure::Relay::Mgmt::V2017_04_01::Operations module Models Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay - ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype - RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier @@ -43,7 +43,7 @@ module Models end class RelayManagementClass - attr_reader :namespaces, :hybrid_connections, :wcfrelays, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,10 +53,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -81,6 +81,9 @@ def resource def key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end + def relay_namespace_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + end def operation_display Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay end @@ -93,26 +96,23 @@ def hybrid_connection_list_result def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end - def authorization_rule_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - end - def relay_namespace_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + def access_keys + Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys end def regenerate_access_key_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def access_keys - Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + def operation_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + end + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation end def wcf_relay Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + def relay_update_parameters + Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end def authorization_rule Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule @@ -120,11 +120,11 @@ def authorization_rule def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def relay_update_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + def authorization_rule_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end def relay_namespace Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace @@ -132,8 +132,8 @@ def relay_namespace def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end def access_rights Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index 08076d0916..c1c4bffc7b 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module Resources module Mgmt + Operations = Azure::Resources::Mgmt::V2018_05_01::Operations Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments Providers = Azure::Resources::Mgmt::V2018_05_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_05_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2018_05_01::Resources - Operations = Azure::Resources::Mgmt::V2018_05_01::Operations + DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter @@ -30,12 +30,12 @@ module Models Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency - ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest - DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest + Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult + DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter TagDetails = Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue @@ -73,7 +73,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,13 +83,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources - @operations = @client_0.operations + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -150,17 +150,14 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended - end - def deployment_properties_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + def dependency + Azure::Resources::Mgmt::V2018_05_01::Models::Dependency end def tag_count Azure::Resources::Mgmt::V2018_05_01::Models::TagCount @@ -168,6 +165,9 @@ def tag_count def provider_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult end + def deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + end def resource_group_filter Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 580e5c80af..242eb63a73 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module ResourcesManagement module Mgmt + ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities - ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations module Models @@ -17,33 +17,33 @@ module Models Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults + OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo - OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult - ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult + EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem - ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails + PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo - CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest - ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo - PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest - EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason + CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end class ResourcesManagementManagementClass - attr_reader :management_group_subscriptions, :entities, :management_groups, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :entities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,9 +53,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions @entities = @client_0.entities - @management_groups = @client_0.management_groups @operations = @client_0.operations @model_classes = ModelClasses.new @@ -87,8 +87,8 @@ def operation def operation_list_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult end - def operation_results - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults + def operation_display_properties + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties end def entity_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo @@ -96,14 +96,14 @@ def entity_parent_group_info def entity_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo end - def operation_display_properties - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties - end def tenant_backfill_status_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult end - def management_group_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult + def entity_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + end + def operation_results + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults end def check_name_availability_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult @@ -111,8 +111,8 @@ def check_name_availability_result def entity_hierarchy_item Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem end - def management_group_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails + def patch_management_group_request + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest end def management_group Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup @@ -132,24 +132,24 @@ def create_management_group_request def management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo end - def create_parent_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + def management_group_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult end def check_name_availability_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest end - def management_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo - end - def patch_management_group_request - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest - end - def entity_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + def management_group_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails end def reason Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason end + def create_parent_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + end + def management_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo + end def status Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index df5100af69..b9a11b7bc9 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence @@ -30,21 +31,21 @@ module Models JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence - JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage + JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication + OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency @@ -54,7 +55,6 @@ module Models JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult end class SchedulerManagementClass @@ -88,6 +88,9 @@ def method_missing(method, *args) end class ModelClasses + def job_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + end def retry_policy Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy end @@ -145,9 +148,6 @@ def job_history_filter def job_max_recurrence Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence end - def job_error_action - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction - end def job_state_filter Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter end @@ -157,6 +157,9 @@ def job_recurrence_schedule_monthly_occurrence def service_bus_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage end + def job_error_action + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction + end def job_collection_list_result Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult end @@ -172,23 +175,23 @@ def service_bus_topic_message def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end + def oauth_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + end def sku_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition end def job_collection_state Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - end def retry_type Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def oauth_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus @@ -217,9 +220,6 @@ def sku def job_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end end end end diff --git a/azure_sdk/lib/latest/modules/search_profile_module.rb b/azure_sdk/lib/latest/modules/search_profile_module.rb index f188a22c66..e0e2b2d130 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module Search module Mgmt + Operations = Azure::Search::Mgmt::V2015_08_19::Operations Services = Azure::Search::Mgmt::V2015_08_19::Services AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys - Operations = Azure::Search::Mgmt::V2015_08_19::Operations module Models + CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource @@ -30,11 +31,10 @@ module Models AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity - CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput end class SearchManagementClass - attr_reader :services, :admin_keys, :query_keys, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :services, :admin_keys, :query_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -44,10 +44,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @services = @client_0.services @admin_keys = @client_0.admin_keys @query_keys = @client_0.query_keys - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -66,6 +66,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput + end def check_name_availability_output Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput end @@ -117,9 +120,6 @@ def search_service_status def identity Azure::Search::Mgmt::V2015_08_19::Models::Identity end - def check_name_availability_input - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - end end end end diff --git a/azure_sdk/lib/latest/modules/security_profile_module.rb b/azure_sdk/lib/latest/modules/security_profile_module.rb index ebb0774a5f..b1bc802508 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -7,13 +7,14 @@ module Azure::Profiles::Latest module Security module Mgmt + WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings SecurityContacts = Azure::Security::Mgmt::V2017_08_01_preview::SecurityContacts - WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings module Models + AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource @@ -29,11 +30,10 @@ module Models AutoProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting Compliance = Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance AlertNotifications = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications - AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins end class SecurityManagementClass - attr_reader :auto_provisioning_settings, :compliances, :pricings, :security_contacts, :workspace_settings, :configurable, :base_url, :options, :model_classes + attr_reader :workspace_settings, :auto_provisioning_settings, :compliances, :pricings, :security_contacts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,11 +43,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @workspace_settings = @client_0.workspace_settings @auto_provisioning_settings = @client_0.auto_provisioning_settings @compliances = @client_0.compliances @pricings = @client_0.pricings @security_contacts = @client_0.security_contacts - @workspace_settings = @client_0.workspace_settings @model_classes = ModelClasses.new end @@ -66,6 +66,9 @@ def method_missing(method, *args) end class ModelClasses + def alerts_to_admins + Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins + end def pricing_tier Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier end @@ -111,9 +114,6 @@ def compliance def alert_notifications Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications end - def alerts_to_admins - Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins - end end end end diff --git a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb index c80e6f4be0..de1010e33f 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -32,37 +32,37 @@ module Models PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku - CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule - RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue - SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult + Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType @@ -150,32 +150,32 @@ def arm_disaster_recovery_list_result def sbsubscription_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult end + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + end def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end def check_name_availability Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability end + def premium_messaging_regions_properties + Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + end def message_count_details Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - end - def sbnamespace_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult - end def access_keys Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys end - def capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + def sbnamespace_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult end def operation_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult end - def premium_messaging_regions_properties - Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end def event_hub_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult @@ -186,8 +186,8 @@ def authorization_rule_properties def check_name_availability_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + def correlation_filter + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter @@ -195,8 +195,8 @@ def sql_filter def sbsku Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end - def correlation_filter - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + def capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription end def regenerate_access_key_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters @@ -210,12 +210,12 @@ def sbnamespace_update_parameters def sbauthorization_rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule end - def rule_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - end def action Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end def sbsubscription Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription end @@ -225,11 +225,11 @@ def rule def sbqueue Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue end - def sbtopic - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic + def rule_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + def eventhub + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub end def arm_disaster_recovery Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery @@ -240,8 +240,8 @@ def sql_rule_action def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def eventhub - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + def sbtopic + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 7c8027648b..ba9135df47 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -11,9 +11,9 @@ module Mgmt Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters ClusterVersions = Azure::ServiceFabric::Mgmt::V2018_02_01::ClusterVersions - Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations module Models ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase @@ -26,26 +26,27 @@ module Models PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList - ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList ApplicationUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy VersionResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResourceList ServiceResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceList NamedPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NamedPartitionSchemeDescription UniformInt64RangePartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::UniformInt64RangePartitionSchemeDescription SingletonPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription - ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource VersionResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource - ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource ApplicationResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate - ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource ServiceResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource + ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate ServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties StatelessServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceProperties StatelessServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties - ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate - StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties + ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster @@ -76,11 +77,10 @@ module Models ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails - SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription end class ServiceFabricManagementClass - attr_reader :application_type, :service, :version, :application, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :application_type, :service, :version, :application, :operations, :clusters, :cluster_versions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -100,9 +100,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @clusters = @client_1.clusters @cluster_versions = @client_1.cluster_versions - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -153,9 +153,6 @@ def rolling_upgrade_monitoring_policy def application_type_resource_list Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList end - def application_resource_list - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList - end def application_upgrade_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy end @@ -174,24 +171,27 @@ def uniform_int64_range_partition_scheme_description def singleton_partition_scheme_description Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription end - def application_type_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource - end def version_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource end - def application_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + def application_type_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource end def application_resource_update Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate end - def service_properties - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + def application_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource end def service_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource end + def application_resource_list + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + end + def service_resource_update + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate + end def service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties end @@ -201,18 +201,21 @@ def stateless_service_properties def stateless_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties end - def service_resource_update - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate + def stateful_service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties + end + def service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties end def stateful_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties end - def stateful_service_properties - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties - end def proxy_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource end + def settings_parameter_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription + end def application_health_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy end @@ -303,9 +306,6 @@ def cluster_upgrade_delta_health_policy def cluster_version_details Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails end - def settings_parameter_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription - end end end end diff --git a/azure_sdk/lib/latest/modules/signalr_profile_module.rb b/azure_sdk/lib/latest/modules/signalr_profile_module.rb index 90526ca4d4..2b1aab3c41 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module Signalr module Mgmt + Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations Usages = Azure::Signalr::Mgmt::V2018_03_01_preview::Usages SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR - Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations module Models Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource @@ -29,18 +29,18 @@ module Models SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability - SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters SignalRUsageName = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName - SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource end class SignalrManagementClass - attr_reader :usages, :signal_r, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usages, :signal_r, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -50,9 +50,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @usages = @client_0.usages @signal_r = @client_0.signal_r - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -122,30 +122,30 @@ def signal_rkeys def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + end def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end - def signal_rusage - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage - end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters end def signal_rusage_name Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName end - def signal_rresource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + def signal_rusage + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage end def signal_rcreate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - end def signal_rsku_tier Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + end end end end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index 2461820597..3092a59452 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,20 +8,20 @@ module Azure::Profiles::Latest module SpellCheck module Models + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode - Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode - ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType - Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end class SpellCheckDataClass @@ -53,12 +53,30 @@ def method_missing(method, *args) end class ModelClasses + def response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end + def identifiable + Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + end def spelling_token_suggestion Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion end def spelling_flagged_token Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken end + def spell_check + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + end + def response + Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + end + def error_response + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse + end def error_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType end @@ -68,32 +86,14 @@ def error_code def error_sub_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode end - def mode - Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode - end - def error_response - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - end - def spell_check - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end - def response - Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end - def identifiable - Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - end def error Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end - def answer - Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + def mode + Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end end end diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 74704f3337..9453d0fc50 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -36,6 +36,7 @@ module Mgmt DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors @@ -51,7 +52,7 @@ module Mgmt SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers - SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages + JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases @@ -59,9 +60,9 @@ module Mgmt BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels - ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies @@ -69,13 +70,12 @@ module Mgmt DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials - DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions - JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups ElasticPoolOperations = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPoolOperations DatabaseVulnerabilityAssessmentScans = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseVulnerabilityAssessmentScans InstanceFailoverGroups = Azure::SQL::Mgmt::V2017_10_01_preview::InstanceFailoverGroups @@ -88,6 +88,7 @@ module Mgmt Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities module Models + TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy @@ -167,17 +168,17 @@ module Models OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult - QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult @@ -200,7 +201,7 @@ module Models ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType @@ -279,7 +280,7 @@ module Models ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate @@ -348,7 +349,6 @@ module Models BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName @@ -419,7 +419,7 @@ module Models end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :recommended_elastic_pools, :server_azure_adadministrators, :service_objectives, :server_communication_links, :elastic_pool_database_activities, :elastic_pool_activities, :transparent_data_encryptions, :service_tier_advisors, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :firewall_rules, :server_advisors, :database_advisors, :servers, :operations, :virtual_network_rules, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :job_versions, :long_term_retention_backups, :managed_databases, :job_steps, :backup_long_term_retention_policies, :server_automatic_tuning_operations, :sensitivity_labels, :server_security_alert_policies, :jobs, :server_dns_aliases, :restore_points, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :job_agents, :job_credentials, :data_warehouse_user_activities_operations, :job_executions, :job_step_executions, :job_target_executions, :job_target_groups, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :elastic_pools, :database_operations, :capabilities, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :recommended_elastic_pools, :server_azure_adadministrators, :service_objectives, :server_communication_links, :elastic_pool_database_activities, :elastic_pool_activities, :transparent_data_encryptions, :service_tier_advisors, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :subscription_usages, :firewall_rules, :server_advisors, :database_advisors, :servers, :operations, :virtual_network_rules, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :job_steps, :backup_long_term_retention_policies, :server_automatic_tuning_operations, :sensitivity_labels, :data_warehouse_user_activities_operations, :server_dns_aliases, :server_security_alert_policies, :restore_points, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :jobs, :job_agents, :job_credentials, :job_executions, :job_step_executions, :job_target_executions, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :elastic_pools, :database_operations, :capabilities, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,6 +464,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @subscription_usages = @client_1.subscription_usages @firewall_rules = @client_1.firewall_rules @server_advisors = @client_1.server_advisors @database_advisors = @client_1.database_advisors @@ -479,13 +480,13 @@ def initialize(configurable, base_url=nil, options=nil) @sync_agents = @client_1.sync_agents @sync_groups = @client_1.sync_groups @sync_members = @client_1.sync_members - @subscription_usages = @client_1.subscription_usages @client_2 = Azure::SQL::Mgmt::V2017_03_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @job_target_groups = @client_2.job_target_groups @job_versions = @client_2.job_versions @long_term_retention_backups = @client_2.long_term_retention_backups @managed_databases = @client_2.managed_databases @@ -493,9 +494,9 @@ def initialize(configurable, base_url=nil, options=nil) @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @sensitivity_labels = @client_2.sensitivity_labels - @server_security_alert_policies = @client_2.server_security_alert_policies - @jobs = @client_2.jobs + @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @restore_points = @client_2.restore_points @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @@ -503,13 +504,12 @@ def initialize(configurable, base_url=nil, options=nil) @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines @database_vulnerability_assessments = @client_2.database_vulnerability_assessments + @jobs = @client_2.jobs @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials - @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @job_executions = @client_2.job_executions @job_step_executions = @client_2.job_step_executions @job_target_executions = @client_2.job_target_executions - @job_target_groups = @client_2.job_target_groups @client_3 = Azure::SQL::Mgmt::V2017_10_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @@ -550,6 +550,9 @@ def method_missing(method, *args) end class ModelClasses + def transparent_data_encryption_activity + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + end def elastic_pool_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity end @@ -787,12 +790,12 @@ def metric_definition_list_result def metric_availability Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end - def backup_long_term_retention_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult - end def query_metric Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric end + def backup_long_term_retention_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + end def service_tier_advisor_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult end @@ -802,9 +805,6 @@ def query_interval def recoverable_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult end - def query_statistic - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic - end def metric Azure::SQL::Mgmt::V2014_04_01::Models::Metric end @@ -820,6 +820,9 @@ def elastic_pool_dtu_capability def advisor_list_result Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult end + def query_statistic + Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic + end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end @@ -886,8 +889,8 @@ def service_objective def elastic_pool_database_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity end - def transparent_data_encryption_activity - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + def sync_agent_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end def advisor_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus @@ -1123,8 +1126,8 @@ def failover_group_replication_role def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def sync_agent_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end def job_schedule Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule @@ -1330,9 +1333,6 @@ def automatic_tuning_option_mode_desired def automatic_tuning_option_mode_actual Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - end def capability_status Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index 807fbcd787..1da1ce6e82 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module Storage module Mgmt + Operations = Azure::Storage::Mgmt::V2018_07_01::Operations StorageAccounts = Azure::Storage::Mgmt::V2018_07_01::StorageAccounts Skus = Azure::Storage::Mgmt::V2018_07_01::Skus Usages = Azure::Storage::Mgmt::V2018_07_01::Usages BlobContainers = Azure::Storage::Mgmt::V2018_07_01::BlobContainers - Operations = Azure::Storage::Mgmt::V2018_07_01::Operations module Models ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies + LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey @@ -33,13 +34,13 @@ module Models SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier Kind = Azure::Storage::Mgmt::V2018_07_01::Models::Kind VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule - AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason - AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission State = Azure::Storage::Mgmt::V2018_07_01::Models::State + AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier UsageUnit = Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters @@ -68,20 +69,20 @@ module Models ListContainerItem = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem BlobContainer = Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage - Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action ReasonCode = Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy - Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action + DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource - SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol - LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess - DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState TrackedResource = Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState @@ -90,11 +91,10 @@ module Models AzureEntityResource = Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource ProxyResource = Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType - LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus end class StorageManagementClass - attr_reader :storage_accounts, :skus, :usages, :blob_containers, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :storage_accounts, :skus, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -110,11 +110,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @storage_accounts = @client_1.storage_accounts @skus = @client_1.skus @usages = @client_1.usages @blob_containers = @client_1.blob_containers - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -141,6 +141,9 @@ def management_policies_rules_set_parameter def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end + def lease_duration + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + end def provisioning_state Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState end @@ -192,26 +195,26 @@ def kind def virtual_network_rule Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule end - def access_tier - Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier - end def reason Azure::Storage::Mgmt::V2018_07_01::Models::Reason end - def account_status - Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + def key_permission + Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission end def state Azure::Storage::Mgmt::V2018_07_01::Models::State end + def access_tier + Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier + end def usage_unit Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit end def usage_name Azure::Storage::Mgmt::V2018_07_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + def account_status + Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus end def storage_account_create_parameters Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters @@ -297,8 +300,8 @@ def blob_container def usage Azure::Storage::Mgmt::V2018_07_01::Models::Usage end - def bypass - Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + def action + Azure::Storage::Mgmt::V2018_07_01::Models::Action end def reason_code Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode @@ -309,8 +312,8 @@ def sku_name def immutability_policy Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy end - def action - Azure::Storage::Mgmt::V2018_07_01::Models::Action + def default_action + Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction end def signed_resource_types Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes @@ -318,8 +321,8 @@ def signed_resource_types def key_source Azure::Storage::Mgmt::V2018_07_01::Models::KeySource end - def signed_resource - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + def bypass + Azure::Storage::Mgmt::V2018_07_01::Models::Bypass end def sku Azure::Storage::Mgmt::V2018_07_01::Models::Sku @@ -330,14 +333,14 @@ def services def http_protocol Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol end - def lease_duration - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + def signed_resource + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource end def public_access Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess end - def default_action - Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + def lease_status + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus end def lease_state Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState @@ -363,9 +366,6 @@ def proxy_resource def immutability_policy_update_type Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType end - def lease_status - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus - end end end end diff --git a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb index eecd531c34..dd9b323a8f 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -25,6 +25,7 @@ module Mgmt Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs module Models + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType @@ -131,16 +132,16 @@ module Models NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters SecuritySettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch ManagerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList - DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay - DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings + MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList @@ -183,7 +184,6 @@ module Models VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm end class StorSimple8000SeriesManagementClass @@ -231,6 +231,9 @@ def method_missing(method, *args) end class ModelClasses + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + end def day_of_week Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek end @@ -549,36 +552,36 @@ def security_settings_patch def manager_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def device_rollover_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails - end def time Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end - def manager_patch - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + def device_rollover_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + end + def dimension_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end def metric_availablity Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity end + def manager_patch + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay end - def dimension_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - end - def metric_data - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + def backup_policy_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end def chap_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings end + def metric_data + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + end def secondary_dnssettings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end - def backup_policy_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - end def device_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList end @@ -705,9 +708,6 @@ def scheduled_backup_status def alert_email_notification_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - end end end end diff --git a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb index 35b204876f..29566430ae 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module StreamAnalytics module Mgmt - Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions + Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations StreamingJobs = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamingJobs Inputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Inputs Outputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Outputs Transformations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Transformations Functions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Functions - Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations + Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn @@ -45,53 +45,53 @@ module Models FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob - Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding AzureMachineLearningWebServiceFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation - AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization - EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties - JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource - PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource - DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource - AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource - AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource + EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource - StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties - EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters - IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel - JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy - OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType + Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse end class StreamAnalyticsManagementClass - attr_reader :subscriptions, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -101,13 +101,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions + @operations = @client_0.operations @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations @functions = @client_0.functions - @operations = @client_0.operations + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -213,8 +213,8 @@ def function def streaming_job Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob end - def output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + def java_script_function_binding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding @@ -234,17 +234,17 @@ def json_serialization def transformation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end - def azure_data_lake_store_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + def output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def csv_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end - def event_hub_data_source_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + def azure_data_lake_store_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource end - def java_script_function_binding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + def power_bioutput_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource end def resource Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource @@ -252,20 +252,20 @@ def resource def service_bus_topic_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource end - def power_bioutput_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource + def service_bus_queue_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource end - def document_db_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource + def event_hub_data_source_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end def azure_sql_database_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource end - def service_bus_queue_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource + def event_hub_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource end - def azure_table_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource + def document_db_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end def blob_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource @@ -273,8 +273,8 @@ def blob_output_data_source def operation_display Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay end - def reference_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + def azure_table_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end def operation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation @@ -294,11 +294,11 @@ def event_hub_stream_input_data_source def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end - def stream_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + def reference_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end - def event_hub_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + def io_thub_stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end def java_script_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters @@ -306,36 +306,36 @@ def java_script_function_retrieve_default_definition_parameters def subscription_quota Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end - def output_start_mode - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters end - def io_thub_stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + def output_error_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end - def json_output_serialization_format - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + def output_start_mode + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode end def events_out_of_order_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end - def output_error_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy - end def sku_name Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end - def encoding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + def json_output_serialization_format + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end def udf_type Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end + def encoding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + end def sku Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index 9ac630b8a9..4bb632fcf0 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,24 +8,24 @@ module Azure::Profiles::Latest module TextAnalytics module Models - DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput - LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult - ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput MatchRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MatchRecord ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord EntityRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem - Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input - EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError + EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput + LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem end class TextAnalyticsDataClass @@ -57,15 +57,6 @@ def method_missing(method, *args) end class ModelClasses - def detected_language - Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - end - def multi_language_input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput - end - def language_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - end def key_phrase_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem end @@ -81,9 +72,6 @@ def sentiment_batch_result_item def sentiment_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult end - def error_response - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse - end def batch_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput end @@ -99,18 +87,30 @@ def entity_record def entities_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem end - def input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + def internal_error + Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError end def entities_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult end - def internal_error - Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - end def multi_language_batch_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end + def input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + end + def detected_language + Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + end + def multi_language_input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput + end + def language_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem + end end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 5c7475d6be..0444871a46 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,6 +9,10 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule @@ -21,7 +25,6 @@ module Models VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule - Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject @@ -33,13 +36,10 @@ module Models Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end @@ -73,6 +73,18 @@ def method_missing(method, *args) end class ModelClasses + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + end + def response + Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + end def trending_videos_category Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory end @@ -109,9 +121,6 @@ def video_resolution def video_insight_module Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule end - def response - Azure::CognitiveServices::VideoSearch::V1_0::Models::Response - end def response_base Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase end @@ -145,6 +154,9 @@ def creative_work def error_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode end + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + end def error_sub_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode end @@ -154,18 +166,6 @@ def safe_search def text_format Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - end - def media_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index 049e6299fe..d2edcd71e7 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -23,6 +23,7 @@ module Mgmt ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2018_02_01::ResourceHealthMetadataOperations module Models + Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments DataSource = Azure::Web::Mgmt::V2018_02_01::Models::DataSource SiteMachineKey = Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey ResponseMetaData = Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData @@ -57,7 +58,7 @@ module Models NameValuePair = Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair StackMinorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion AutoHealTriggers = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers - DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder @@ -66,13 +67,13 @@ module Models CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest - Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments + DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute VnetInfo = Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo VnetGateway = Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway User = Azure::Web::Mgmt::V2018_02_01::Models::User HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection - VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource @@ -80,32 +81,32 @@ module Models CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition - DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest Site = Azure::Web::Mgmt::V2018_02_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan - ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition + TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain PushSettings = Azure::Web::Mgmt::V2018_02_01::Models::PushSettings DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis - DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier + DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse DetectorDefinition = Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition RecommendationRule = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule - VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters + DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource - GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion - DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory + PremierAddOnOffer = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer Recommendation = Azure::Web::Mgmt::V2018_02_01::Models::Recommendation DomainOwnershipIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource - TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain - AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource - PremierAddOnOffer = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer + BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest SourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SourceControl - PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess + VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation - BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource SlotDifference = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference StorageMigrationOptions = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions StorageMigrationResponse = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse @@ -116,14 +117,14 @@ module Models WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob ManagedServiceIdentityType = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification - DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification - SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess SiteLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig SitePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource SitePhpErrorLogFlag = Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag SiteSourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl - SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType IpFilterTag = Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag AzureStorageType = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType AzureStorageState = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState @@ -132,30 +133,30 @@ module Models TriggeredJobHistory = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType ResourceHealthMetadata = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata - AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource ConnectionStringType = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType PremierAddOnPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode SiteExtensionInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo - SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork + SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType KeyVaultSecretStatus = Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus - CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate + AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType HostNameType = Azure::Web::Mgmt::V2018_02_01::Models::HostNameType ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType - ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode + DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus DnsType = Azure::Web::Mgmt::V2018_02_01::Models::DnsType DomainType = Azure::Web::Mgmt::V2018_02_01::Models::DomainType SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState HostType = Azure::Web::Mgmt::V2018_02_01::Models::HostType - UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState - NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState StatusOptions = Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions HostingEnvironmentStatus = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource - ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions + SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork WorkerSizeOptions = Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions CertificateOrderStatus = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState @@ -163,10 +164,10 @@ module Models AzureResourceType = Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState - DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions InAvailabilityReasonType = Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode - IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType + ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics AddressResponse = Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse @@ -184,24 +185,26 @@ module Models WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource AppServicePlanPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource HybridConnectionLimits = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits - MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel Channels = Azure::Web::Mgmt::V2018_02_01::Models::Channels - AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes - ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType TriggeredWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus LogLevel = Azure::Web::Mgmt::V2018_02_01::Models::LogLevel SnapshotRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest SolutionType = Azure::Web::Mgmt::V2018_02_01::Models::SolutionType FrequencyUnit = Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit - ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus WebJobType = Azure::Web::Mgmt::V2018_02_01::Models::WebJobType PublishingProfileFormat = Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat DnsVerificationTestResult = Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes MSDeployLogEntryType = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider @@ -209,9 +212,7 @@ module Models SkuName = Azure::Web::Mgmt::V2018_02_01::Models::SkuName BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType - BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType AccessControlEntryAction = Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction - PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage @@ -285,9 +286,9 @@ module Models AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection SnapshotRecoverySource = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest - ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent @@ -358,7 +359,6 @@ module Models DeletedWebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability AbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod - ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName end class WebManagementClass @@ -404,6 +404,9 @@ def method_missing(method, *args) end class ModelClasses + def experiments + Azure::Web::Mgmt::V2018_02_01::Models::Experiments + end def data_source Azure::Web::Mgmt::V2018_02_01::Models::DataSource end @@ -506,8 +509,8 @@ def stack_minor_version def auto_heal_triggers Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers end - def diagnostic_metric_set - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + def resource_metric_name + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName end def detector_abnormal_time_period Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod @@ -533,11 +536,11 @@ def diagnostic_metric_sample def reissue_certificate_order_request Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest end - def renew_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + def diagnostic_metric_set + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet end - def experiments - Azure::Web::Mgmt::V2018_02_01::Models::Experiments + def vnet_route + Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute end def vnet_info Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo @@ -551,8 +554,8 @@ def user def hybrid_connection Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end - def vnet_route - Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + def resource_metric_definition + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition end def app_service_certificate_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource @@ -575,8 +578,8 @@ def certificate_order_action def analysis_definition Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition end - def detector_response - Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse + def renew_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest end def site Azure::Web::Mgmt::V2018_02_01::Models::Site @@ -584,8 +587,8 @@ def site def app_service_plan Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan end - def resource_metric_definition - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition + def top_level_domain + Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain end def push_settings Azure::Web::Mgmt::V2018_02_01::Models::PushSettings @@ -596,29 +599,29 @@ def deleted_site def diagnostic_analysis Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end - def diagnostic_category - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory - end def identifier Azure::Web::Mgmt::V2018_02_01::Models::Identifier end + def diagnostic_detector_response + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + end def detector_definition Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition end def recommendation_rule Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule end - def vnet_parameters - Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters + def detector_response + Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse end def certificate_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource end - def geo_region - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + def diagnostic_category + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory end - def diagnostic_detector_response - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + def premier_add_on_offer + Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer end def recommendation Azure::Web::Mgmt::V2018_02_01::Models::Recommendation @@ -629,20 +632,20 @@ def domain_ownership_identifier def domain_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource end - def top_level_domain - Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain + def billing_meter + Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter end - def azure_storage_property_dictionary_resource - Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource + def geo_region + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion end - def premier_add_on_offer - Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer + def deleted_app_restore_request + Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest end def source_control Azure::Web::Mgmt::V2018_02_01::Models::SourceControl end - def private_access - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess + def vnet_parameters + Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters end def vnet_validation_test_failure Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure @@ -650,8 +653,8 @@ def vnet_validation_test_failure def operation Azure::Web::Mgmt::V2018_02_01::Models::Operation end - def billing_meter - Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + def slot_config_names_resource + Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource end def slot_difference Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference @@ -683,14 +686,14 @@ def managed_service_identity_type def log_specification Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification end - def deleted_app_restore_request - Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo end def service_specification Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification end - def site_instance - Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + def private_access + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess end def site_logs_config Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig @@ -704,8 +707,8 @@ def site_php_error_log_flag def site_source_control Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl end - def slot_config_names_resource - Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + def certificate_order_action_type + Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType end def ip_filter_tag Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag @@ -731,8 +734,8 @@ def route_type def resource_health_metadata Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata end - def auto_heal_action_type - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + def azure_storage_property_dictionary_resource + Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource end def connection_string_type Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType @@ -740,14 +743,14 @@ def connection_string_type def premier_add_on_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + def managed_pipeline_mode + Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode end def site_extension_info Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo end - def swift_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork + def site_instance + Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance end def certificate_product_type Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType @@ -755,23 +758,23 @@ def certificate_product_type def key_vault_secret_status Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus end - def certificate_order_action_type - Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - end - def site_availability_state - Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + def usage_state + Azure::Web::Mgmt::V2018_02_01::Models::UsageState end def certificate Azure::Web::Mgmt::V2018_02_01::Models::Certificate end + def auto_heal_action_type + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + end def host_name_type Azure::Web::Mgmt::V2018_02_01::Models::HostNameType end def scm_type Azure::Web::Mgmt::V2018_02_01::Models::ScmType end - def managed_pipeline_mode - Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode + def domain_status + Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus end def dns_type Azure::Web::Mgmt::V2018_02_01::Models::DnsType @@ -785,11 +788,11 @@ def ssl_state def host_type Azure::Web::Mgmt::V2018_02_01::Models::HostType end - def usage_state - Azure::Web::Mgmt::V2018_02_01::Models::UsageState + def resource_scope_type + Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType end - def notification_level - Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + def site_availability_state + Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState end def status_options Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions @@ -800,8 +803,8 @@ def hosting_environment_status def site_config_resource Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource end - def compute_mode_options - Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions + def swift_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork end def worker_size_options Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions @@ -824,8 +827,8 @@ def custom_host_name_dns_record_type def ftps_state Azure::Web::Mgmt::V2018_02_01::Models::FtpsState end - def domain_status - Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + def app_service_plan_restrictions + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions end def in_availability_reason_type Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType @@ -833,8 +836,8 @@ def in_availability_reason_type def internal_load_balancing_mode Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode end - def issue_type - Azure::Web::Mgmt::V2018_02_01::Models::IssueType + def compute_mode_options + Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions end def app_service_environment_collection Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection @@ -887,14 +890,14 @@ def app_service_plan_patch_resource def hybrid_connection_limits Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits end - def msdeploy_provisioning_state - Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + def notification_level + Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel end def channels Azure::Web::Mgmt::V2018_02_01::Models::Channels end - def app_service_plan_restrictions - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + def public_certificate_location + Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation end def unauthenticated_client_action Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction @@ -902,8 +905,8 @@ def unauthenticated_client_action def check_name_resource_types Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes end - def validate_resource_types - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + def issue_type + Azure::Web::Mgmt::V2018_02_01::Models::IssueType end def site_extension_type Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType @@ -923,8 +926,8 @@ def solution_type def frequency_unit Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit end - def resource_scope_type - Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + def backup_restore_operation_type + Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType end def continuous_web_job_status Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus @@ -938,9 +941,15 @@ def publishing_profile_format def dns_verification_test_result Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult end + def validate_resource_types + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + end def msdeploy_log_entry_type Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType end + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + end def my_sql_migration_type Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType end @@ -962,15 +971,9 @@ def backup_item_status def database_type Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType end - def backup_restore_operation_type - Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType - end def access_control_entry_action Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction end - def public_certificate_location - Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation - end def dimension Azure::Web::Mgmt::V2018_02_01::Models::Dimension end @@ -1190,15 +1193,15 @@ def snapshot_recovery_source def site_seal_request Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest end - def managed_service_identity - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity - end def app_service_certificate Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate end def azure_storage_info_value Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue end + def managed_service_identity + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + end def domain_availablility_check_result Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult end @@ -1409,9 +1412,6 @@ def resource_name_availability def abnormal_time_period Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod end - def resource_metric_name - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName - end end end end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index b3900e0b76..fb40c32c29 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,47 +9,47 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web module Models - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle News = Azure::CognitiveServices::WebSearch::V1_0::Models::News - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem - RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping + RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork - TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer - WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query - WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch - TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat - ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end class WebSearchDataClass @@ -82,12 +82,39 @@ def method_missing(method, *args) end class ModelClasses - def structured_value - Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + end + def freshness + Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + end + def places + Azure::CognitiveServices::WebSearch::V1_0::Models::Places end def images Azure::CognitiveServices::WebSearch::V1_0::Models::Images end + def intangible + Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + end + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response + end + def structured_value + Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + end def videos Azure::CognitiveServices::WebSearch::V1_0::Models::Videos end @@ -100,65 +127,62 @@ def news_article def news Azure::CognitiveServices::WebSearch::V1_0::Models::News end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end def response_base Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end def query_context Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext end - def video_object - Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem end - def ranking_ranking_group - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup - end def ranking_ranking_response Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end - def search_response - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse + def web_web_grouping + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + def ranking_ranking_group + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end - def identifiable - Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + def time_zone_time_zone_information + Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + def video_object + Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def thing - Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + end + def web_page + Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end def creative_work Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def time_zone_time_zone_information - Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + def search_response + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end - def search_results_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + def thing + Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def web_page - Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage + def identifiable + Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable end - def web_web_grouping - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + def related_searches_related_search_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions @@ -169,42 +193,18 @@ def web_web_answer def article Azure::CognitiveServices::WebSearch::V1_0::Models::Article end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - end - def related_searches_related_search_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch - end - def text_format - Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat - end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + def search_results_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end def error_response Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def freshness - Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness - end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - end - def places - Azure::CognitiveServices::WebSearch::V1_0::Models::Places - end - def intangible - Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - end - def media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::WebSearch::V1_0::Models::Error end + def text_format + Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index b9f1f65840..6c7c83cd37 100644 --- a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb @@ -18,6 +18,7 @@ module Mgmt VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs module Models + NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView @@ -118,7 +119,6 @@ module Models SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile - NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end class ComputeManagementClass @@ -159,6 +159,9 @@ def method_missing(method, *args) end class ModelClasses + def network_profile + Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile + end def diagnostics_profile Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end @@ -459,9 +462,6 @@ def vault_certificate def osprofile Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile end - def network_profile - Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb index 9699702a9b..1a8f74bacb 100644 --- a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb @@ -19,10 +19,10 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult - ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord @@ -90,18 +90,18 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + def zone_delete_result + Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end def record_set Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult end - def zone_delete_result - Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult - end def txt_record Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord end diff --git a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb index 1fd5c1063d..45dc82f0df 100644 --- a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models + OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay end class FeaturesManagementClass @@ -48,6 +48,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end @@ -63,9 +66,6 @@ def feature_operations_list_result def feature_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb index 060cc39542..963b151852 100644 --- a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb @@ -65,8 +65,8 @@ module Models BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult - SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties Error = Azure::KeyVault::V2016_10_01::Models::Error + SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes @@ -295,12 +295,12 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def secret_properties - Azure::KeyVault::V2016_10_01::Models::SecretProperties - end def error Azure::KeyVault::V2016_10_01::Models::Error end + def secret_properties + Azure::KeyVault::V2016_10_01::Models::SecretProperties + end def pending_certificate_signing_request_result Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult end @@ -391,8 +391,8 @@ def json_web_key_signature_algorithm end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations + Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions @@ -412,24 +412,24 @@ module Models VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -439,8 +439,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -510,8 +510,8 @@ def check_name_availability_result def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties @@ -519,8 +519,8 @@ def deleted_vault_properties def service_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification end - def access_policy_entry - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,18 +540,18 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb index a8d8957bb6..c854930966 100644 --- a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::V2017_03_09 module Links module Mgmt - ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks Operations = Azure::Links::Mgmt::V2016_09_01::Operations + ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult @@ -18,11 +19,10 @@ module Models ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter - OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end class LinksManagementClass - attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_links = @client_0.resource_links @operations = @client_0.operations + @resource_links = @client_0.resource_links @model_classes = ModelClasses.new end @@ -52,6 +52,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay + end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end @@ -73,9 +76,6 @@ def resource_link def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end - def operation_display - Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb index 44b879f9e8..1dd59375c2 100644 --- a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb @@ -68,35 +68,35 @@ module Models ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool ExpressRouteCircuit = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering OutboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration VirtualNetwork = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule VpnClientRootCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate VpnClientRevokedCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate - LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol - FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol RouteNextHopType = Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus @@ -317,8 +317,8 @@ def application_gateway_backend_http_settings def application_gateway_backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool end - def express_route_service_provider - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + def frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration end def load_balancing_rule Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule @@ -332,8 +332,8 @@ def inbound_nat_pool def express_route_circuit Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit end - def application_gateway_path_rule - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + def express_route_service_provider + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider end def express_route_circuit_peering Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering @@ -353,8 +353,8 @@ def network_interface_ipconfiguration def virtual_network Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + def application_gateway_path_rule + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule end def vpn_client_root_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate @@ -362,8 +362,8 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def load_balancer - Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway @@ -377,8 +377,8 @@ def virtual_network_gateway_connection def application_gateway_http_listener Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener end - def application_gateway_protocol - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + def load_balancer + Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer end def application_gateway_probe Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe @@ -398,12 +398,12 @@ def security_rule_direction def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration - end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType end + def application_gateway_protocol + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + end def route_next_hop_type Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType end diff --git a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb index 734edd59a4..97f6ea3e16 100644 --- a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb @@ -11,8 +11,8 @@ module Mgmt Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2016_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2016_02_01::Resources + DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter @@ -24,10 +24,11 @@ module Models ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails ResourceGroup = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup AliasType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasType + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount @@ -37,7 +38,7 @@ module Models TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails DeploymentProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage @@ -47,7 +48,6 @@ module Models DeploymentOperation = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult DeploymentOperationsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult @@ -64,7 +64,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,8 +78,8 @@ def initialize(configurable, base_url=nil, options=nil) @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -125,6 +125,9 @@ def resource_group def alias_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasType end + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + end def provider Azure::Resources::Mgmt::V2016_02_01::Models::Provider end @@ -134,8 +137,8 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest @@ -164,8 +167,8 @@ def deployment_properties def tags_list_result Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult end - def deployment_properties_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + def alias_path_type + Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource @@ -194,9 +197,6 @@ def deployment_export_result def deployment_operations_list_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult end - def alias_path_type - Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType - end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties end diff --git a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb index 3d44440141..7c9e8c0bb7 100644 --- a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2017_03_09 module Storage module Mgmt - UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts + UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,7 +21,7 @@ module Models StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices @@ -29,20 +29,20 @@ module Models StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName - StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end class StorageManagementClass - attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @usage_operations = @client_0.usage_operations @storage_accounts = @client_0.storage_accounts + @usage_operations = @client_0.usage_operations @model_classes = ModelClasses.new end @@ -102,8 +102,8 @@ def encryption_service def storage_account_list_keys_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end def endpoints Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints @@ -126,14 +126,14 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind @@ -141,11 +141,11 @@ def kind def account_status Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end def sku Azure::Storage::Mgmt::V2016_01_01::Models::Sku @@ -153,8 +153,8 @@ def sku def usage_name Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb index 4726bc6af2..3c5710c0c4 100644 --- a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb @@ -25,6 +25,7 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineRunCommands module Models + NetworkProfile = Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndSecretReference DiagnosticsProfile = Azure::Compute::Mgmt::V2017_03_30::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2017_03_30::Models::SourceVault @@ -193,7 +194,6 @@ module Models VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetPublicIPAddressConfiguration OSProfile = Azure::Compute::Mgmt::V2017_03_30::Models::OSProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - NetworkProfile = Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile end class ComputeManagementClass @@ -241,6 +241,9 @@ def method_missing(method, *args) end class ModelClasses + def network_profile + Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile + end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndSecretReference end @@ -745,9 +748,6 @@ def osprofile def virtual_machine_scale_set_update_public_ipaddress_configuration Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end - def network_profile - Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb index 5702f19cdb..f1aacc7d8c 100644 --- a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb @@ -19,10 +19,10 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult - ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord @@ -90,18 +90,18 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + def zone_delete_result + Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end def record_set Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult end - def zone_delete_result - Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult - end def txt_record Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord end diff --git a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb index bf21241f68..249acff709 100644 --- a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb @@ -65,8 +65,8 @@ module Models BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult - SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties Error = Azure::KeyVault::V2016_10_01::Models::Error + SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes @@ -295,12 +295,12 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def secret_properties - Azure::KeyVault::V2016_10_01::Models::SecretProperties - end def error Azure::KeyVault::V2016_10_01::Models::Error end + def secret_properties + Azure::KeyVault::V2016_10_01::Models::SecretProperties + end def pending_certificate_signing_request_result Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult end @@ -391,8 +391,8 @@ def json_web_key_signature_algorithm end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations + Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions @@ -412,24 +412,24 @@ module Models VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -439,8 +439,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -510,8 +510,8 @@ def check_name_availability_result def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties @@ -519,8 +519,8 @@ def deleted_vault_properties def service_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification end - def access_policy_entry - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,18 +540,18 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb index c7e24cfc18..970e0b4e60 100644 --- a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end class LocksManagementClass @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay + end def management_lock_owner Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end @@ -69,9 +72,6 @@ def management_lock_object def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end - def operation_display - Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb index 487aafb222..04d6ff4f05 100644 --- a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb @@ -88,10 +88,10 @@ module Models InboundNatRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult ConnectionResetSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey - LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult Error = Azure::Network::Mgmt::V2017_10_01::Models::Error + LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult IpsecPolicy = Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy - LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult LoadBalancerProbeListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult @@ -119,22 +119,20 @@ module Models ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult SecurityRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult AddressSpace = Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace + NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters - NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult DnsNameAvailabilityResult = Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult - EndpointServicesListResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult Dimension = Azure::Network::Mgmt::V2017_10_01::Models::Dimension + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult + LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult AuthorizationListResult = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult + Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology Usage = Azure::Network::Mgmt::V2017_10_01::Models::Usage VerificationIPFlowParameters = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters - Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology - MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult VerificationIPFlowResult = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult + MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig NextHopParameters = Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters ExpressRouteCircuitSku = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku @@ -142,18 +140,20 @@ module Models RouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteListResult SecurityGroupViewParameters = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult - NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + EndpointServicesListResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult - SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult - SecurityRuleAssociations = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations + SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult RouteFilterRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult PacketCaptureStorageLocation = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation PacketCaptureFilter = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult - PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + PacketCapture = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult PacketCaptureListResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult @@ -230,53 +230,53 @@ module Models Resource = Azure::Network::Mgmt::V2017_10_01::Models::Resource ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate + PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort - PacketCapture = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration + SecurityRuleAssociations = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered - SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway - EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider - RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit - Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe - FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule - LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer - InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule - PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter - NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher + Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe + InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule - VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork - BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity + LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration + PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection - VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion - ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName @@ -309,28 +309,28 @@ module Models PcError = Azure::Network::Mgmt::V2017_10_01::Models::PcError Origin = Azure::Network::Mgmt::V2017_10_01::Models::Origin IssueType = Azure::Network::Mgmt::V2017_10_01::Models::IssueType - Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol + ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState EvaluationState = Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState VirtualNetworkPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState ConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus - ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + VpnType = Azure::Network::Mgmt::V2017_10_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier VirtualNetworkGatewayType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType - VpnType = Azure::Network::Mgmt::V2017_10_01::Models::VpnType + BgpPeerState = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2017_10_01::Models::ProcessorArchitecture AuthenticationMethod = Azure::Network::Mgmt::V2017_10_01::Models::AuthenticationMethod VpnClientProtocol = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol - BgpPeerState = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType IpsecEncryption = Azure::Network::Mgmt::V2017_10_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IpsecIntegrity VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionStatus - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType - DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity PfsGroup = Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup IkeEncryption = Azure::Network::Mgmt::V2017_10_01::Models::IkeEncryption - IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup end class NetworkManagementClass @@ -533,17 +533,17 @@ def load_balancer_backend_address_pool_list_result def connection_reset_shared_key Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey end - def load_balancer_frontend_ipconfiguration_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult - end def error Azure::Network::Mgmt::V2017_10_01::Models::Error end + def load_balancer_frontend_ipconfiguration_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult + end def ipsec_policy Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy end - def load_balancer_load_balancing_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult end def load_balancer_probe_list_result Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult @@ -626,54 +626,48 @@ def network_security_group_list_result def security_rule_list_result Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult - end def address_space Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace end + def network_watcher_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult + end def application_gateway_available_waf_rule_sets_result Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult end def topology_parameters Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters end - def network_watcher_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult - end def dns_name_availability_result Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult end + def dimension + Azure::Network::Mgmt::V2017_10_01::Models::Dimension + end def application_security_group_list_result Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult end - def endpoint_services_list_result - Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult - end - def dimension - Azure::Network::Mgmt::V2017_10_01::Models::Dimension + def load_balancer_load_balancing_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult end def authorization_list_result Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult end + def topology + Azure::Network::Mgmt::V2017_10_01::Models::Topology + end def usage Azure::Network::Mgmt::V2017_10_01::Models::Usage end def verification_ipflow_parameters Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters end - def topology - Azure::Network::Mgmt::V2017_10_01::Models::Topology + def verification_ipflow_result + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult end def metric_specification Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult - end - def verification_ipflow_result - Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult - end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end @@ -695,20 +689,26 @@ def security_group_view_parameters def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult end - def network_interface_association - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + def endpoint_services_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult end - def subnet_association - Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + def network_interface_association + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation end def express_route_circuits_routes_table_summary_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end - def security_rule_associations - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations + def subnet_association + Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + end + def bgp_service_community_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + end + def security_group_network_interface + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface end def express_route_service_provider_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult @@ -728,8 +728,8 @@ def packet_capture_filter def virtual_network_gateway_list_connections_result Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult end - def packet_capture_parameters - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + def packet_capture + Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture end def virtual_network_gateway_connection_list_result Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListResult @@ -959,128 +959,128 @@ def application_gateway_ssl_certificate def application_gateway_authentication_certificate Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort + def packet_capture_parameters + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters end - def packet_capture - Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration end - def application_gateway_path_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + def application_gateway_frontend_port + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort end def application_gateway_http_listener Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration + def security_rule_associations + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations end def express_route_service_provider_bandwidths_offered Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered end - def security_group_network_interface - Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration + def application_gateway_path_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule end def application_gateway_probe Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe end - def application_gateway_request_routing_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule + def application_gateway + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration end def application_gateway_url_path_map Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap end - def application_gateway - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_service_result - Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet end def application_gateway_available_ssl_options Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy + def route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule end - def express_route_circuit_peering - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + def endpoint_service_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult end def express_route_circuit_authorization Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization end - def route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule + def express_route_circuit + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit end - def express_route_service_provider - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + def express_route_circuit_peering + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering end def route_filter Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter end - def express_route_circuit - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit + def load_balancing_rule + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2017_10_01::Models::Probe + def express_route_service_provider + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider end def frontend_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration end - def load_balancing_rule - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + def outbound_nat_rule + Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule end - def load_balancer - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + def probe + Azure::Network::Mgmt::V2017_10_01::Models::Probe end def inbound_nat_pool Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + def patch_route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule end - def patch_route_filter - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + def load_balancer + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer end def network_watcher Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher end - def patch_route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + def virtual_network_peering + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering end - def virtual_network - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + def patch_route_filter + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter end def bgp_service_community Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity end - def virtual_network_peering - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + def vpn_client_root_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + def virtual_network + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork end def virtual_network_gateway_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration end - def vpn_client_root_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + def local_network_gateway + Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate end def virtual_network_gateway Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + def application_gateway_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol end - def application_gateway_cookie_based_affinity - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity @@ -1088,8 +1088,8 @@ def virtual_network_gateway_connection_list_entity def ipversion Azure::Network::Mgmt::V2017_10_01::Models::IPVersion end - def application_gateway_tier - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + def application_gateway_cookie_based_affinity + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity end def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth @@ -1097,8 +1097,8 @@ def application_gateway_backend_health_server_health def application_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName end - def application_gateway_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + def application_gateway_tier + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier end def application_gateway_ssl_protocol Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol @@ -1196,12 +1196,12 @@ def origin def issue_type Azure::Network::Mgmt::V2017_10_01::Models::IssueType end - def severity - Azure::Network::Mgmt::V2017_10_01::Models::Severity - end def protocol Azure::Network::Mgmt::V2017_10_01::Models::Protocol end + def connection_state + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + end def evaluation_state Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState end @@ -1211,8 +1211,8 @@ def virtual_network_peering_state def connection_status Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus end - def connection_state - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + def vpn_type + Azure::Network::Mgmt::V2017_10_01::Models::VpnType end def virtual_network_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName @@ -1223,8 +1223,8 @@ def virtual_network_gateway_sku_tier def virtual_network_gateway_type Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType end - def vpn_type - Azure::Network::Mgmt::V2017_10_01::Models::VpnType + def bgp_peer_state + Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState end def processor_architecture Azure::Network::Mgmt::V2017_10_01::Models::ProcessorArchitecture @@ -1235,8 +1235,8 @@ def authentication_method def vpn_client_protocol Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol end - def bgp_peer_state - Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType end def ipsec_encryption Azure::Network::Mgmt::V2017_10_01::Models::IpsecEncryption @@ -1247,11 +1247,11 @@ def ipsec_integrity def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionStatus end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType + def ike_integrity + Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity end - def dh_group - Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + def severity + Azure::Network::Mgmt::V2017_10_01::Models::Severity end def pfs_group Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup @@ -1259,8 +1259,8 @@ def pfs_group def ike_encryption Azure::Network::Mgmt::V2017_10_01::Models::IkeEncryption end - def ike_integrity - Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + def dh_group + Azure::Network::Mgmt::V2017_10_01::Models::DhGroup end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb index 43f922734a..2471cd9131 100644 --- a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb @@ -11,8 +11,8 @@ module Mgmt Providers = Azure::Resources::Mgmt::V2018_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2018_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2018_02_01::Resources + DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter @@ -28,15 +28,15 @@ module Models ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupPatchable Provider = Azure::Resources::Mgmt::V2018_02_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult - ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest + ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo DeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended - Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency TagCount = Azure::Resources::Mgmt::V2018_02_01::Models::TagCount + ProviderListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult TagValue = Azure::Resources::Mgmt::V2018_02_01::Models::TagValue ResourceGroupFilter = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter - ProviderListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult TagDetails = Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails DeploymentProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::TagsListResult @@ -48,13 +48,13 @@ module Models DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationProperties DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtendedFilter DeploymentOperation = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation - DeploymentExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting DeploymentListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult + DeploymentExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult ProviderResourceType = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType - DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource DeploymentMode = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode @@ -68,7 +68,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -82,8 +82,8 @@ def initialize(configurable, base_url=nil, options=nil) @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -141,8 +141,8 @@ def provider def resource_group_list_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult end - def resources_move_info - Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + def dependency + Azure::Resources::Mgmt::V2018_02_01::Models::Dependency end def deployment_properties_extended Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended @@ -150,24 +150,24 @@ def deployment_properties_extended def export_template_request Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest end + def resources_move_info + Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + end def deployment_extended Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended end - def dependency - Azure::Resources::Mgmt::V2018_02_01::Models::Dependency - end def tag_count Azure::Resources::Mgmt::V2018_02_01::Models::TagCount end + def provider_list_result + Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult + end def tag_value Azure::Resources::Mgmt::V2018_02_01::Models::TagValue end def resource_group_filter Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter end - def provider_list_result - Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult - end def tag_details Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails end @@ -201,8 +201,8 @@ def deployment_extended_filter def deployment_operation Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation end - def deployment_export_result - Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + def deployment_operations_list_result + Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult end def on_error_deployment_extended Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended @@ -216,12 +216,12 @@ def debug_setting def deployment_list_result Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult end + def deployment_export_result + Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + end def provider_resource_type Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType end - def deployment_operations_list_result - Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult - end def resource_group_export_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult end diff --git a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb index e15b392d59..c445ca6425 100644 --- a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2018_03_01 module Storage module Mgmt - UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts + UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,7 +21,7 @@ module Models StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices @@ -29,20 +29,20 @@ module Models StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName - StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end class StorageManagementClass - attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @usage_operations = @client_0.usage_operations @storage_accounts = @client_0.storage_accounts + @usage_operations = @client_0.usage_operations @model_classes = ModelClasses.new end @@ -102,8 +102,8 @@ def encryption_service def storage_account_list_keys_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end def endpoints Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints @@ -126,14 +126,14 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind @@ -141,11 +141,11 @@ def kind def account_status Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end def sku Azure::Storage::Mgmt::V2016_01_01::Models::Sku @@ -153,8 +153,8 @@ def sku def usage_name Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end end end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb index 013d9f3a29..669383c8ad 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb @@ -23,42 +23,46 @@ module Azure::CognitiveServices::ComputerVision::V2_0 autoload :ComputerVisionClient, '2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb' module Models - autoload :FaceDescription, '2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb' - autoload :ImageMetadata, '2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' - autoload :Line, '2.0/generated/azure_cognitiveservices_computervision/models/line.rb' - autoload :ImageAnalysis, '2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb' - autoload :TextOperationResult, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' + autoload :DetectResult, '2.0/generated/azure_cognitiveservices_computervision/models/detect_result.rb' + autoload :FaceRectangle, '2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' + autoload :ModelDescription, '2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb' + autoload :LandmarksModel, '2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb' + autoload :ListModelsResult, '2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb' + autoload :Category, '2.0/generated/azure_cognitiveservices_computervision/models/category.rb' + autoload :DomainModelResults, '2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb' + autoload :ColorInfo, '2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' autoload :OcrWord, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb' - autoload :CelebritiesModel, '2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' + autoload :ImageTag, '2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' autoload :OcrLine, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb' - autoload :CategoryDetail, '2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' + autoload :ImageDescriptionDetails, '2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' autoload :OcrRegion, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb' - autoload :AdultInfo, '2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' + autoload :BoundingRect, '2.0/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb' autoload :OcrResult, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb' - autoload :ImageType, '2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' - autoload :ModelDescription, '2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb' + autoload :DetectedObject, '2.0/generated/azure_cognitiveservices_computervision/models/detected_object.rb' + autoload :TagResult, '2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb' + autoload :ImageAnalysis, '2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb' + autoload :AreaOfInterestResult, '2.0/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb' + autoload :CelebritiesModel, '2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' + autoload :ImageUrl, '2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb' + autoload :AdultInfo, '2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' + autoload :ComputerVisionError, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb' autoload :ImageCaption, '2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb' - autoload :ListModelsResult, '2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb' - autoload :Word, '2.0/generated/azure_cognitiveservices_computervision/models/word.rb' - autoload :DomainModelResults, '2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb' - autoload :FaceRectangle, '2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' - autoload :CelebrityResults, '2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb' - autoload :Category, '2.0/generated/azure_cognitiveservices_computervision/models/category.rb' autoload :LandmarkResults, '2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb' - autoload :ImageTag, '2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' + autoload :ObjectHierarchy, '2.0/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb' + autoload :CelebrityResults, '2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb' autoload :ImageDescription, '2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb' + autoload :Word, '2.0/generated/azure_cognitiveservices_computervision/models/word.rb' + autoload :ImageType, '2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' + autoload :Line, '2.0/generated/azure_cognitiveservices_computervision/models/line.rb' + autoload :ImageMetadata, '2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' autoload :RecognitionResult, '2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb' - autoload :TagResult, '2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb' - autoload :ColorInfo, '2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' - autoload :ComputerVisionError, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb' - autoload :LandmarksModel, '2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb' - autoload :ImageUrl, '2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb' - autoload :ImageDescriptionDetails, '2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' - autoload :TextOperationStatusCodes, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb' + autoload :FaceDescription, '2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb' + autoload :TextOperationResult, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' + autoload :CategoryDetail, '2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' autoload :Gender, '2.0/generated/azure_cognitiveservices_computervision/models/gender.rb' - autoload :ComputerVisionErrorCodes, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb' - autoload :VisualFeatureTypes, '2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb' + autoload :TextOperationStatusCodes, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb' autoload :OcrLanguages, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb' + autoload :VisualFeatureTypes, '2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb' autoload :TextRecognitionMode, '2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb' autoload :Details, '2.0/generated/azure_cognitiveservices_computervision/models/details.rb' end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb index d49452de12..17d1423f13 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb @@ -17,23 +17,22 @@ class ComputerVisionClient < MsRestAzure::AzureServiceClient # @return Credentials needed for the client to connect to Azure. attr_reader :credentials1 - # @return [String] Supported Cognitive Services endpoints + # @return [String] Supported Cognitive Services endpoints. attr_accessor :endpoint # @return Subscription credentials which uniquely identify client # subscription. attr_accessor :credentials - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @@ -100,9 +99,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -112,123 +108,35 @@ def make_request_async(method, path, options = {}) super(request_url, method, path, options) end - # - # This operation returns the list of domain-specific models that are supported - # by the Computer Vision API. Currently, the API only supports one - # domain-specific model: a celebrity recognizer. A successful response will be - # returned in JSON. If the request failed, the response will contain an error - # code and a message to help understand what went wrong. - # - # @param custom_headers [Hash{String => String}] A hash of custom headers that - # will be added to the HTTP request. - # - # @return [ListModelsResult] operation results. - # - def list_models(custom_headers:nil) - response = list_models_async(custom_headers:custom_headers).value! - response.body unless response.nil? - end - - # - # This operation returns the list of domain-specific models that are supported - # by the Computer Vision API. Currently, the API only supports one - # domain-specific model: a celebrity recognizer. A successful response will be - # returned in JSON. If the request failed, the response will contain an error - # code and a message to help understand what went wrong. - # - # @param custom_headers [Hash{String => String}] A hash of custom headers that - # will be added to the HTTP request. - # - # @return [MsRestAzure::AzureOperationResponse] HTTP response information. - # - def list_models_with_http_info(custom_headers:nil) - list_models_async(custom_headers:custom_headers).value! - end - - # - # This operation returns the list of domain-specific models that are supported - # by the Computer Vision API. Currently, the API only supports one - # domain-specific model: a celebrity recognizer. A successful response will be - # returned in JSON. If the request failed, the response will contain an error - # code and a message to help understand what went wrong. - # - # @param [Hash{String => String}] A hash of custom headers that will be added - # to the HTTP request. - # - # @return [Concurrent::Promise] Promise object which holds the HTTP response. - # - def list_models_async(custom_headers:nil) - fail ArgumentError, 'endpoint is nil' if endpoint.nil? - - - request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' - - # Set Headers - request_headers['x-ms-client-request-id'] = SecureRandom.uuid - request_headers['accept-language'] = accept_language unless accept_language.nil? - path_template = 'models' - - request_url = @base_url || self.base_url - request_url = request_url.gsub('{Endpoint}', endpoint) - - options = { - middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - headers: request_headers.merge(custom_headers || {}), - base_url: request_url - } - promise = self.make_request_async(:get, path_template, options) - - promise = promise.then do |result| - http_response = result.response - status_code = http_response.status - response_content = http_response.body - unless status_code == 200 - error_model = JSON.load(response_content) - fail MsRest::HttpOperationError.new(result.request, http_response, error_model) - end - - result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? - # Deserialize Response - if status_code == 200 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult.mapper() - result.body = self.deserialize(result_mapper, parsed_response) - rescue Exception => e - fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) - end - end - - result - end - - promise.execute - end - # # This operation extracts a rich set of visual features based on the image - # content. Two input methods are supported -- (1) Uploading an image or (2) - # specifying an image URL. Within your request, there is an optional parameter - # to allow you to choose which features to return. By default, image - # categories are returned in the response. - # - # @param url [String] Publicly reachable URL of an image + # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. # @param details [Array
] A string indicating which domain-specific # details to return. Multiple values should be comma-separated. Valid visual - # feature types include:Celebrities - identifies celebrities if detected in the - # image. + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -239,34 +147,40 @@ def list_models_async(custom_headers:nil) # # @return [ImageAnalysis] operation results. # - def analyze_image(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) - response = analyze_image_async(url, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_async(url, visual_features, details, language, custom_headers).value! response.body unless response.nil? end # # This operation extracts a rich set of visual features based on the image - # content. Two input methods are supported -- (1) Uploading an image or (2) - # specifying an image URL. Within your request, there is an optional parameter - # to allow you to choose which features to return. By default, image - # categories are returned in the response. - # - # @param url [String] Publicly reachable URL of an image + # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. # @param details [Array
] A string indicating which domain-specific # details to return. Multiple values should be comma-separated. Valid visual - # feature types include:Celebrities - identifies celebrities if detected in the - # image. + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -277,33 +191,39 @@ def analyze_image(url, visual_features:nil, details:nil, language:nil, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_with_http_info(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) - analyze_image_async(url, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_with_http_info(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_async(url, visual_features, details, language, custom_headers).value! end # # This operation extracts a rich set of visual features based on the image - # content. Two input methods are supported -- (1) Uploading an image or (2) - # specifying an image URL. Within your request, there is an optional parameter - # to allow you to choose which features to return. By default, image - # categories are returned in the response. - # - # @param url [String] Publicly reachable URL of an image + # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. # @param details [Array
] A string indicating which domain-specific # details to return. Multiple values should be comma-separated. Valid visual - # feature types include:Celebrities - identifies celebrities if detected in the - # image. + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -314,7 +234,7 @@ def analyze_image_with_http_info(url, visual_features:nil, details:nil, language # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_async(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) + def analyze_image_async(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -324,12 +244,13 @@ def analyze_image_async(url, visual_features:nil, details:nil, language:nil, cus end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -377,82 +298,91 @@ def analyze_image_async(url, visual_features:nil, details:nil, language:nil, cus end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. - # @param url [String] Publicly reachable URL of an image - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [ImageDescription] operation results. # - def generate_thumbnail(width, height, url, smart_cropping:false, custom_headers:nil) - response = generate_thumbnail_async(width, height, url, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def describe_image(url, max_candidates = 1, language = nil, custom_headers = nil) + response = describe_image_async(url, max_candidates, language, custom_headers).value! response.body unless response.nil? end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. - # @param url [String] Publicly reachable URL of an image - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_thumbnail_with_http_info(width, height, url, smart_cropping:false, custom_headers:nil) - generate_thumbnail_async(width, height, url, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def describe_image_with_http_info(url, max_candidates = 1, language = nil, custom_headers = nil) + describe_image_async(url, max_candidates, language, custom_headers).value! end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. - # @param url [String] Publicly reachable URL of an image - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_headers:nil) + def describe_image_async(url, max_candidates = 1, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'width is nil' if width.nil? - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !width.nil? && width > 1023 - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMinimum': '1'" if !width.nil? && width < 1 - fail ArgumentError, 'height is nil' if height.nil? - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !height.nil? && height > 1023 - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMinimum': '1'" if !height.nil? && height < 1 fail ArgumentError, 'url is nil' if url.nil? image_url = ImageUrl.new @@ -461,25 +391,26 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'generateThumbnail' + path_template = 'describe' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, + query_params: {'maxCandidates' => max_candidates,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -492,7 +423,7 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -500,14 +431,7 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = { - client_side_validation: true, - required: false, - serialized_name: 'parsed_response', - type: { - name: 'Stream' - } - } + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -521,86 +445,58 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). - # @param url [String] Publicly reachable URL of an image - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OcrResult] operation results. + # @return [DetectResult] operation results. # - def recognize_printed_text(detect_orientation, url, language:nil, custom_headers:nil) - response = recognize_printed_text_async(detect_orientation, url, language:language, custom_headers:custom_headers).value! + def detect_objects(url, custom_headers = nil) + response = detect_objects_async(url, custom_headers).value! response.body unless response.nil? end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). - # @param url [String] Publicly reachable URL of an image - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_printed_text_with_http_info(detect_orientation, url, language:nil, custom_headers:nil) - recognize_printed_text_async(detect_orientation, url, language:language, custom_headers:custom_headers).value! + def detect_objects_with_http_info(url, custom_headers = nil) + detect_objects_async(url, custom_headers).value! end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). - # @param url [String] Publicly reachable URL of an image - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param url [String] Publicly reachable URL of an image. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_printed_text_async(detect_orientation, url, language:nil, custom_headers:nil) + def detect_objects_async(url, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? fail ArgumentError, 'url is nil' if url.nil? image_url = ImageUrl.new @@ -609,25 +505,25 @@ def recognize_printed_text_async(detect_orientation, url, language:nil, custom_h end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'ocr' + path_template = 'detect' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'detectOrientation' => detect_orientation,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -648,7 +544,7 @@ def recognize_printed_text_async(detect_orientation, url, language:nil, custom_h if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -662,117 +558,73 @@ def recognize_printed_text_async(detect_orientation, url, language:nil, custom_h end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. - # - # @param url [String] Publicly reachable URL of an image - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API supports following + # domain-specific models: celebrity recognizer, landmark recognizer. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [ImageDescription] operation results. + # @return [ListModelsResult] operation results. # - def describe_image(url, max_candidates:'1', language:nil, custom_headers:nil) - response = describe_image_async(url, max_candidates:max_candidates, language:language, custom_headers:custom_headers).value! + def list_models(custom_headers = nil) + response = list_models_async(custom_headers).value! response.body unless response.nil? end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. - # - # @param url [String] Publicly reachable URL of an image - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API supports following + # domain-specific models: celebrity recognizer, landmark recognizer. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def describe_image_with_http_info(url, max_candidates:'1', language:nil, custom_headers:nil) - describe_image_async(url, max_candidates:max_candidates, language:language, custom_headers:custom_headers).value! + def list_models_with_http_info(custom_headers = nil) + list_models_async(custom_headers).value! end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. - # - # @param url [String] Publicly reachable URL of an image - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API supports following + # domain-specific models: celebrity recognizer, landmark recognizer. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def describe_image_async(url, max_candidates:'1', language:nil, custom_headers:nil) + def list_models_async(custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'url is nil' if url.nil? - image_url = ImageUrl.new - unless url.nil? - image_url.url = url - end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? - - # Serialize Request - request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() - request_content = self.serialize(request_mapper, image_url) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - - path_template = 'describe' + path_template = 'models' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'maxCandidates' => max_candidates,'language' => language}, - body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url } - promise = self.make_request_async(:post, path_template, options) + promise = self.make_request_async(:get, path_template, options) promise = promise.then do |result| http_response = result.response @@ -788,7 +640,7 @@ def describe_image_async(url, max_candidates:'1', language:nil, custom_headers:n if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -802,15 +654,19 @@ def describe_image_async(url, max_candidates:'1', language:nil, custom_headers:n end # - # This operation generates a list of words, or tags, that are relevant to the - # content of the supplied image. The Computer Vision API can return tags based - # on objects, living beings, scenery or actions found in images. Unlike - # categories, tags are not organized according to a hierarchical classification - # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. # - # @param url [String] Publicly reachable URL of an image + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -819,23 +675,27 @@ def describe_image_async(url, max_candidates:'1', language:nil, custom_headers:n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [TagResult] operation results. + # @return [DomainModelResults] operation results. # - def tag_image(url, language:nil, custom_headers:nil) - response = tag_image_async(url, language:language, custom_headers:custom_headers).value! + def analyze_image_by_domain(model, url, language = nil, custom_headers = nil) + response = analyze_image_by_domain_async(model, url, language, custom_headers).value! response.body unless response.nil? end # - # This operation generates a list of words, or tags, that are relevant to the - # content of the supplied image. The Computer Vision API can return tags based - # on objects, living beings, scenery or actions found in images. Unlike - # categories, tags are not organized according to a hierarchical classification - # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. # - # @param url [String] Publicly reachable URL of an image + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -846,8 +706,301 @@ def tag_image(url, language:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def tag_image_with_http_info(url, language:nil, custom_headers:nil) - tag_image_async(url, language:language, custom_headers:custom_headers).value! + def analyze_image_by_domain_with_http_info(model, url, language = nil, custom_headers = nil) + analyze_image_by_domain_async(model, url, language, custom_headers).value! + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def analyze_image_by_domain_async(model, url, language = nil, custom_headers = nil) + fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'model is nil' if model.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'models/{model}/analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{Endpoint}', endpoint) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'model' => model}, + query_params: {'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OcrResult] operation results. + # + def recognize_printed_text(detect_orientation, url, language = nil, custom_headers = nil) + response = recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! + response.body unless response.nil? + end + + # + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def recognize_printed_text_with_http_info(detect_orientation, url, language = nil, custom_headers = nil) + recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! + end + + # + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def recognize_printed_text_async(detect_orientation, url, language = nil, custom_headers = nil) + fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'ocr' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{Endpoint}', endpoint) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'detectOrientation' => detect_orientation,'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TagResult] operation results. + # + def tag_image(url, language = nil, custom_headers = nil) + response = tag_image_async(url, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param url [String] Publicly reachable URL of an image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def tag_image_with_http_info(url, language = nil, custom_headers = nil) + tag_image_async(url, language, custom_headers).value! end # @@ -856,10 +1009,15 @@ def tag_image_with_http_info(url, language:nil, custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param url [String] Publicly reachable URL of an image + # @param url [String] Publicly reachable URL of an image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -870,7 +1028,7 @@ def tag_image_with_http_info(url, language:nil, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def tag_image_async(url, language:nil, custom_headers:nil) + def tag_image_async(url, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -880,12 +1038,13 @@ def tag_image_async(url, language:nil, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -933,83 +1092,219 @@ def tag_image_async(url, language:nil, custom_headers:nil) end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. - # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. # - # @param model [String] The domain-specific content to recognize. - # @param url [String] Publicly reachable URL of an image - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # @return [NOT_IMPLEMENTED] operation results. + # + def generate_thumbnail(width, height, url, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def generate_thumbnail_with_http_info(width, height, url, smart_cropping = false, custom_headers = nil) + generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def generate_thumbnail_async(width, height, url, smart_cropping = false, custom_headers = nil) + fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'width is nil' if width.nil? + fail ArgumentError, 'height is nil' if height.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'generateThumbnail' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{Endpoint}', endpoint) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'Stream' + } + } + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [DomainModelResults] operation results. + # @return [AreaOfInterestResult] operation results. # - def analyze_image_by_domain(model, url, language:nil, custom_headers:nil) - response = analyze_image_by_domain_async(model, url, language:language, custom_headers:custom_headers).value! + def get_area_of_interest(url, custom_headers = nil) + response = get_area_of_interest_async(url, custom_headers).value! response.body unless response.nil? end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. - # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. - # - # @param model [String] The domain-specific content to recognize. - # @param url [String] Publicly reachable URL of an image - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_by_domain_with_http_info(model, url, language:nil, custom_headers:nil) - analyze_image_by_domain_async(model, url, language:language, custom_headers:custom_headers).value! + def get_area_of_interest_with_http_info(url, custom_headers = nil) + get_area_of_interest_async(url, custom_headers).value! end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. - # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. - # - # @param model [String] The domain-specific content to recognize. - # @param url [String] Publicly reachable URL of an image - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param url [String] Publicly reachable URL of an image. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_by_domain_async(model, url, language:nil, custom_headers:nil) + def get_area_of_interest_async(url, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'model is nil' if model.nil? fail ArgumentError, 'url is nil' if url.nil? image_url = ImageUrl.new @@ -1018,26 +1313,25 @@ def analyze_image_by_domain_async(model, url, language:nil, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'models/{model}/analyze' + path_template = 'areaOfInterest' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'model' => model}, - query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1058,7 +1352,7 @@ def analyze_image_by_domain_async(model, url, language:nil, custom_headers:nil) if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1079,13 +1373,13 @@ def analyze_image_by_domain_async(model, url, language:nil, custom_headers:nil) # # @param mode [TextRecognitionMode] Type of text to recognize. Possible values # include: 'Handwritten', 'Printed' - # @param url [String] Publicly reachable URL of an image + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def recognize_text(url, mode, custom_headers:nil) - response = recognize_text_async(url, mode, custom_headers:custom_headers).value! + def recognize_text(url, mode, custom_headers = nil) + response = recognize_text_async(url, mode, custom_headers).value! nil end @@ -1097,14 +1391,14 @@ def recognize_text(url, mode, custom_headers:nil) # # @param mode [TextRecognitionMode] Type of text to recognize. Possible values # include: 'Handwritten', 'Printed' - # @param url [String] Publicly reachable URL of an image + # @param url [String] Publicly reachable URL of an image. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_text_with_http_info(url, mode, custom_headers:nil) - recognize_text_async(url, mode, custom_headers:custom_headers).value! + def recognize_text_with_http_info(url, mode, custom_headers = nil) + recognize_text_async(url, mode, custom_headers).value! end # @@ -1115,13 +1409,13 @@ def recognize_text_with_http_info(url, mode, custom_headers:nil) # # @param mode [TextRecognitionMode] Type of text to recognize. Possible values # include: 'Handwritten', 'Printed' - # @param url [String] Publicly reachable URL of an image + # @param url [String] Publicly reachable URL of an image. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_text_async(url, mode, custom_headers:nil) + def recognize_text_async(url, mode, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'mode is nil' if mode.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -1132,12 +1426,13 @@ def recognize_text_async(url, mode, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -1186,8 +1481,8 @@ def recognize_text_async(url, mode, custom_headers:nil) # # @return [TextOperationResult] operation results. # - def get_text_operation_result(operation_id, custom_headers:nil) - response = get_text_operation_result_async(operation_id, custom_headers:custom_headers).value! + def get_text_operation_result(operation_id, custom_headers = nil) + response = get_text_operation_result_async(operation_id, custom_headers).value! response.body unless response.nil? end @@ -1203,8 +1498,8 @@ def get_text_operation_result(operation_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_text_operation_result_with_http_info(operation_id, custom_headers:nil) - get_text_operation_result_async(operation_id, custom_headers:custom_headers).value! + def get_text_operation_result_with_http_info(operation_id, custom_headers = nil) + get_text_operation_result_async(operation_id, custom_headers).value! end # @@ -1219,13 +1514,12 @@ def get_text_operation_result_with_http_info(operation_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_text_operation_result_async(operation_id, custom_headers:nil) + def get_text_operation_result_async(operation_id, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'operation_id is nil' if operation_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1273,23 +1567,32 @@ def get_text_operation_result_async(operation_id, custom_headers:nil) # # This operation extracts a rich set of visual features based on the image # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # # @param image An image stream. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. - # @param details [Enum] A string indicating which domain-specific details to - # return. Multiple values should be comma-separated. Valid visual feature types - # include:Celebrities - identifies celebrities if detected in the image. - # Possible values include: 'Celebrities', 'Landmarks' + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1300,31 +1603,40 @@ def get_text_operation_result_async(operation_id, custom_headers:nil) # # @return [ImageAnalysis] operation results. # - def analyze_image_in_stream(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) - response = analyze_image_in_stream_async(image, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_in_stream(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! response.body unless response.nil? end # # This operation extracts a rich set of visual features based on the image # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # # @param image An image stream. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. - # @param details [Enum] A string indicating which domain-specific details to - # return. Multiple values should be comma-separated. Valid visual feature types - # include:Celebrities - identifies celebrities if detected in the image. - # Possible values include: 'Celebrities', 'Landmarks' + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1335,30 +1647,39 @@ def analyze_image_in_stream(image, visual_features:nil, details:nil, language:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_in_stream_with_http_info(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) - analyze_image_in_stream_async(image, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_in_stream_with_http_info(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! end # # This operation extracts a rich set of visual features based on the image # content. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. Within your request, there is an optional parameter to allow + # you to choose which features to return. By default, image categories are + # returned in the response. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # # @param image An image stream. # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. - # Valid visual feature types include:Categories - categorizes image content + # Valid visual feature types include: Categories - categorizes image content # according to a taxonomy defined in documentation. Tags - tags the image with # a detailed list of words related to the image content. Description - # describes the image content with a complete English sentence. Faces - detects # if faces are present. If present, generate coordinates, gender and age. # ImageType - detects if image is clipart or a line drawing. Color - determines - # the accent color, dominant color, and whether an image is black&white.Adult - - # detects if the image is pornographic in nature (depicts nudity or a sex act). - # Sexually suggestive content is also detected. - # @param details [Enum] A string indicating which domain-specific details to - # return. Multiple values should be comma-separated. Valid visual feature types - # include:Celebrities - identifies celebrities if detected in the image. - # Possible values include: 'Celebrities', 'Landmarks' + # the accent color, dominant color, and whether an image is black&white. Adult + # - detects if the image is pornographic in nature (depicts nudity or a sex + # act). Sexually suggestive content is also detected. Objects - detects + # various objects within an image, including the approximate location. The + # Objects argument is only available in English. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include: Celebrities - identifies celebrities if detected in + # the image, Landmarks - identifies notable landmarks in the image. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1369,21 +1690,291 @@ def analyze_image_in_stream_with_http_info(image, visual_features:nil, details:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_in_stream_async(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) + def analyze_image_in_stream_async(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{Endpoint}', endpoint) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'visualFeatures' => visual_features.nil? ? nil : visual_features.join(','),'details' => details.nil? ? nil : details.join(','),'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param image An image stream. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AreaOfInterestResult] operation results. + # + def get_area_of_interest_in_stream(image, custom_headers = nil) + response = get_area_of_interest_in_stream_async(image, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param image An image stream. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_area_of_interest_in_stream_with_http_info(image, custom_headers = nil) + get_area_of_interest_in_stream_async(image, custom_headers).value! + end + + # + # This operation returns a bounding box around the most important area of the + # image. + # A successful response will be returned in JSON. If the request failed, the + # response contains an error code and a message to help determine what went + # wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # NotSupportedImage, FailedToProcess, Timeout, or InternalServerError. + # + # @param image An image stream. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_area_of_interest_in_stream_async(image, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'areaOfInterest' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{Endpoint}', endpoint) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param image An image stream. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ImageDescription] operation results. + # + def describe_image_in_stream(image, max_candidates = 1, language = nil, custom_headers = nil) + response = describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param image An image stream. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def describe_image_in_stream_with_http_info(image, max_candidates = 1, language = nil, custom_headers = nil) + describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # + # @param image An image stream. + # @param max_candidates [Integer] Maximum number of candidate descriptions to + # be returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def describe_image_in_stream_async(image, max_candidates = 1, language = nil, custom_headers = nil) + fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1391,15 +1982,16 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'analyze' + path_template = 'describe' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'visualFeatures' => visual_features.nil? ? nil : visual_features.join(','),'details' => details,'language' => language}, + query_params: {'maxCandidates' => max_candidates,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1420,7 +2012,7 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1434,95 +2026,71 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param image An image stream. - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [DetectResult] operation results. # - def generate_thumbnail_in_stream(width, height, image, smart_cropping:false, custom_headers:nil) - response = generate_thumbnail_in_stream_async(width, height, image, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def detect_objects_in_stream(image, custom_headers = nil) + response = detect_objects_in_stream_async(image, custom_headers).value! response.body unless response.nil? end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param image An image stream. - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_cropping:false, custom_headers:nil) - generate_thumbnail_in_stream_async(width, height, image, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def detect_objects_in_stream_with_http_info(image, custom_headers = nil) + detect_objects_in_stream_async(image, custom_headers).value! end # - # This operation generates a thumbnail image with the user-specified width and - # height. By default, the service analyzes the image, identifies the region of - # interest (ROI), and generates smart cropping coordinates based on the ROI. - # Smart cropping helps when you specify an aspect ratio that differs from that - # of the input image. A successful response contains the thumbnail image - # binary. If the request failed, the response contains an error code and a - # message to help determine what went wrong. - # - # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. - # Recommended minimum of 50. - # @param height [Integer] Height of the thumbnail. It must be between 1 and - # 1024. Recommended minimum of 50. + # Performs object detection on the specified image. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. + # # @param image An image stream. - # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:false, custom_headers:nil) + def detect_objects_in_stream_async(image, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'width is nil' if width.nil? - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !width.nil? && width > 1023 - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMinimum': '1'" if !width.nil? && width < 1 - fail ArgumentError, 'height is nil' if height.nil? - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !height.nil? && height > 1023 - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMinimum': '1'" if !height.nil? && height < 1 fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1530,15 +2098,15 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'generateThumbnail' + path_template = 'detect' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1551,7 +2119,7 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -1559,14 +2127,7 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = { - client_side_validation: true, - required: false, - serialized_name: 'parsed_response', - type: { - name: 'Stream' - } - } + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1580,99 +2141,106 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. - # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. # @param image An image stream. - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OcrResult] operation results. + # @return [NOT_IMPLEMENTED] operation results. # - def recognize_printed_text_in_stream(detect_orientation, image, language:nil, custom_headers:nil) - response = recognize_printed_text_in_stream_async(detect_orientation, image, language:language, custom_headers:custom_headers).value! + def generate_thumbnail_in_stream(width, height, image, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! response.body unless response.nil? end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. - # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. # @param image An image stream. - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, language:nil, custom_headers:nil) - recognize_printed_text_in_stream_async(detect_orientation, image, language:language, custom_headers:custom_headers).value! + def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_cropping = false, custom_headers = nil) + generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! end # - # Optical Character Recognition (OCR) detects printed text in an image and - # extracts the recognized characters into a machine-usable character stream. - # Upon success, the OCR results will be returned. Upon failure, the error code - # together with an error message will be returned. The error code can be one of - # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, - # NotSupportedLanguage, or InternalServerError. - # - # @param detect_orientation [Boolean] Whether detect the text orientation in - # the image. With detectOrientation=true the OCR service tries to detect the - # image orientation and correct it before further processing (e.g. if it's - # upside-down). + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. + # A successful response contains the thumbnail image binary. If the request + # failed, the response contains an error code and a message to help determine + # what went wrong. + # Upon failure, the error code and an error message are returned. The error + # code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, + # InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or + # InternalServerError. + # + # @param width [Integer] Width of the thumbnail, in pixels. It must be between + # 1 and 1024. Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail, in pixels. It must be + # between 1 and 1024. Recommended minimum of 50. # @param image An image stream. - # @param language [OcrLanguages] The BCP-47 language code of the text to be - # detected in the image. The default value is 'unk'. Possible values include: - # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', - # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', - # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_printed_text_in_stream_async(detect_orientation, image, language:nil, custom_headers:nil) + def generate_thumbnail_in_stream_async(width, height, image, smart_cropping = false, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? + fail ArgumentError, 'width is nil' if width.nil? + fail ArgumentError, 'height is nil' if height.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1680,15 +2248,16 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'ocr' + path_template = 'generateThumbnail' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'language' => language,'detectOrientation' => detect_orientation}, + query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1701,7 +2270,7 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -1709,7 +2278,13 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'Stream' + } + } result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1723,18 +2298,19 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. # + # @param model [String] The domain-specific content to recognize. # @param image An image stream. - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1743,26 +2319,27 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [ImageDescription] operation results. + # @return [DomainModelResults] operation results. # - def describe_image_in_stream(image, max_candidates:'1', language:nil, custom_headers:nil) - response = describe_image_in_stream_async(image, max_candidates:max_candidates, language:language, custom_headers:custom_headers).value! + def analyze_image_by_domain_in_stream(model, image, language = nil, custom_headers = nil) + response = analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! response.body unless response.nil? end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. # + # @param model [String] The domain-specific content to recognize. # @param image An image stream. - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1773,23 +2350,24 @@ def describe_image_in_stream(image, max_candidates:'1', language:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def describe_image_in_stream_with_http_info(image, max_candidates:'1', language:nil, custom_headers:nil) - describe_image_in_stream_async(image, max_candidates:max_candidates, language:language, custom_headers:custom_headers).value! + def analyze_image_by_domain_in_stream_with_http_info(model, image, language = nil, custom_headers = nil) + analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! end # - # This operation generates a description of an image in human readable language - # with complete sentences. The description is based on a collection of content - # tags, which are also returned by the operation. More than one description can - # be generated for each image. Descriptions are ordered by their confidence - # score. All descriptions are in English. Two input methods are supported -- - # (1) Uploading an image or (2) specifying an image URL.A successful response - # will be returned in JSON. If the request failed, the response will contain - # an error code and a message to help understand what went wrong. + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API provides following domain-specific models: celebrities, + # landmarks. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. + # A successful response will be returned in JSON. + # If the request failed, the response will contain an error code and a message + # to help understand what went wrong. # + # @param model [String] The domain-specific content to recognize. # @param image An image stream. - # @param max_candidates [String] Maximum number of candidate descriptions to be - # returned. The default is 1. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported # languages:en - English, Default. es - Spanish, ja - Japanese, pt - @@ -1800,21 +2378,22 @@ def describe_image_in_stream_with_http_info(image, max_candidates:'1', language: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def describe_image_in_stream_async(image, max_candidates:'1', language:nil, custom_headers:nil) + def analyze_image_by_domain_in_stream_async(model, image, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'model is nil' if model.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1822,15 +2401,17 @@ def describe_image_in_stream_async(image, max_candidates:'1', language:nil, cust } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'describe' + path_template = 'models/{model}/analyze' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'maxCandidates' => max_candidates,'language' => language}, + path_params: {'model' => model}, + query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1851,7 +2432,7 @@ def describe_image_in_stream_async(image, max_candidates:'1', language:nil, cust if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1865,89 +2446,102 @@ def describe_image_in_stream_async(image, max_candidates:'1', language:nil, cust end # - # This operation generates a list of words, or tags, that are relevant to the - # content of the supplied image. The Computer Vision API can return tags based - # on objects, living beings, scenery or actions found in images. Unlike - # categories, tags are not organized according to a hierarchical classification - # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). # @param image An image stream. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [TagResult] operation results. + # @return [OcrResult] operation results. # - def tag_image_in_stream(image, language:nil, custom_headers:nil) - response = tag_image_in_stream_async(image, language:language, custom_headers:custom_headers).value! + def recognize_printed_text_in_stream(detect_orientation, image, language = nil, custom_headers = nil) + response = recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! response.body unless response.nil? end # - # This operation generates a list of words, or tags, that are relevant to the - # content of the supplied image. The Computer Vision API can return tags based - # on objects, living beings, scenery or actions found in images. Unlike - # categories, tags are not organized according to a hierarchical classification - # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). # @param image An image stream. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def tag_image_in_stream_with_http_info(image, language:nil, custom_headers:nil) - tag_image_in_stream_async(image, language:language, custom_headers:custom_headers).value! + def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, language = nil, custom_headers = nil) + recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! end # - # This operation generates a list of words, or tags, that are relevant to the - # content of the supplied image. The Computer Vision API can return tags based - # on objects, living beings, scenery or actions found in images. Unlike - # categories, tags are not organized according to a hierarchical classification - # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag 'cello' may be accompanied - # by the hint 'musical instrument'. All tags are in English. + # Optical Character Recognition (OCR) detects text in an image and extracts the + # recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. + # Upon failure, the error code together with an error message will be returned. + # The error code can be one of InvalidImageUrl, InvalidImageFormat, + # InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or + # InternalServerError. # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). # @param image An image stream. - # @param language [Enum] The desired language for output generation. If this - # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default. es - Spanish, ja - Japanese, pt - - # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', - # 'ja', 'pt', 'zh' + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def tag_image_in_stream_async(image, language:nil, custom_headers:nil) + def recognize_printed_text_in_stream_async(detect_orientation, image, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? + fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1955,15 +2549,16 @@ def tag_image_in_stream_async(image, language:nil, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'tag' + path_template = 'ocr' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'language' => language}, + query_params: {'detectOrientation' => detect_orientation,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1984,7 +2579,7 @@ def tag_image_in_stream_async(image, language:nil, custom_headers:nil) if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -1998,16 +2593,19 @@ def tag_image_in_stream_async(image, language:nil, custom_headers:nil) end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param model [String] The domain-specific content to recognize. # @param image An image stream. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported @@ -2017,24 +2615,27 @@ def tag_image_in_stream_async(image, language:nil, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [DomainModelResults] operation results. + # @return [TagResult] operation results. # - def analyze_image_by_domain_in_stream(model, image, language:nil, custom_headers:nil) - response = analyze_image_by_domain_in_stream_async(model, image, language:language, custom_headers:custom_headers).value! + def tag_image_in_stream(image, language = nil, custom_headers = nil) + response = tag_image_in_stream_async(image, language, custom_headers).value! response.body unless response.nil? end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param model [String] The domain-specific content to recognize. # @param image An image stream. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported @@ -2046,21 +2647,24 @@ def analyze_image_by_domain_in_stream(model, image, language:nil, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_by_domain_in_stream_with_http_info(model, image, language:nil, custom_headers:nil) - analyze_image_by_domain_in_stream_async(model, image, language:language, custom_headers:custom_headers).value! + def tag_image_in_stream_with_http_info(image, language = nil, custom_headers = nil) + tag_image_in_stream_async(image, language, custom_headers).value! end # - # This operation recognizes content within an image by applying a - # domain-specific model. The list of domain-specific models that are supported - # by the Computer Vision API can be retrieved using the /models GET request. - # Currently, the API only provides a single domain-specific model: celebrities. + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag "cello" may be accompanied + # by the hint "musical instrument". All tags are in English. # Two input methods are supported -- (1) Uploading an image or (2) specifying - # an image URL. A successful response will be returned in JSON. If the request - # failed, the response will contain an error code and a message to help - # understand what went wrong. + # an image URL. + # A successful response will be returned in JSON. If the request failed, the + # response will contain an error code and a message to help understand what + # went wrong. # - # @param model [String] The domain-specific content to recognize. # @param image An image stream. # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported @@ -2072,22 +2676,21 @@ def analyze_image_by_domain_in_stream_with_http_info(model, image, language:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_by_domain_in_stream_async(model, image, language:nil, custom_headers:nil) + def tag_image_in_stream_async(image, language = nil, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? - fail ArgumentError, 'model is nil' if model.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -2095,15 +2698,15 @@ def analyze_image_by_domain_in_stream_async(model, image, language:nil, custom_h } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'models/{model}/analyze' + path_template = 'tag' request_url = @base_url || self.base_url request_url = request_url.gsub('{Endpoint}', endpoint) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'model' => model}, query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -2125,7 +2728,7 @@ def analyze_image_by_domain_in_stream_async(model, image, language:nil, custom_h if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult.mapper() result.body = self.deserialize(result_mapper, parsed_response) rescue Exception => e fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) @@ -2151,8 +2754,8 @@ def analyze_image_by_domain_in_stream_async(model, image, language:nil, custom_h # will be added to the HTTP request. # # - def recognize_text_in_stream(image, mode, custom_headers:nil) - response = recognize_text_in_stream_async(image, mode, custom_headers:custom_headers).value! + def recognize_text_in_stream(image, mode, custom_headers = nil) + response = recognize_text_in_stream_async(image, mode, custom_headers).value! nil end @@ -2170,8 +2773,8 @@ def recognize_text_in_stream(image, mode, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_text_in_stream_with_http_info(image, mode, custom_headers:nil) - recognize_text_in_stream_async(image, mode, custom_headers:custom_headers).value! + def recognize_text_in_stream_with_http_info(image, mode, custom_headers = nil) + recognize_text_in_stream_async(image, mode, custom_headers).value! end # @@ -2188,22 +2791,22 @@ def recognize_text_in_stream_with_http_info(image, mode, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_text_in_stream_async(image, mode, custom_headers:nil) + def recognize_text_in_stream_async(image, mode, custom_headers = nil) fail ArgumentError, 'endpoint is nil' if endpoint.nil? fail ArgumentError, 'image is nil' if image.nil? fail ArgumentError, 'mode is nil' if mode.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -2211,6 +2814,7 @@ def recognize_text_in_stream_async(image, mode, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'recognizeText' @@ -2250,7 +2854,9 @@ def recognize_text_in_stream_async(image, mode, custom_headers:nil) # def add_telemetry sdk_information = 'azure_cognitiveservices_computervision' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::CognitiveServices::ComputerVision::V2_0::VERSION + sdk_information = "#{sdk_information}/#{Azure::CognitiveServices::ComputerVision::V2_0::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb index 3f3901f1cf..41f825344f 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb @@ -17,11 +17,11 @@ class AdultInfo # adult-oriented content. attr_accessor :is_adult_content - # @return [Boolean] A value indicating if the image is race. + # @return [Boolean] A value indicating if the image is racy. attr_accessor :is_racy_content - # @return [Float] Score from 0 to 1 that indicates how much of adult - # content is within the image. + # @return [Float] Score from 0 to 1 that indicates how much the content + # is considered adult-oriented within the image. attr_accessor :adult_score # @return [Float] Score from 0 to 1 that indicates how suggestive is the @@ -35,7 +35,6 @@ class AdultInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdultInfo', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'AdultInfo', model_properties: { is_adult_content: { - client_side_validation: true, required: false, serialized_name: 'isAdultContent', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, is_racy_content: { - client_side_validation: true, required: false, serialized_name: 'isRacyContent', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, adult_score: { - client_side_validation: true, required: false, serialized_name: 'adultScore', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, racy_score: { - client_side_validation: true, required: false, serialized_name: 'racyScore', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb new file mode 100644 index 0000000000..2c7591a223 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Result of AreaOfInterest operation. + # + class AreaOfInterestResult + + include MsRestAzure + + # @return [BoundingRect] A bounding box for an area of interest inside an + # image. + attr_accessor :area_of_interest + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for AreaOfInterestResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AreaOfInterestResult', + type: { + name: 'Composite', + class_name: 'AreaOfInterestResult', + model_properties: { + area_of_interest: { + required: false, + read_only: true, + serialized_name: 'areaOfInterest', + type: { + name: 'Composite', + class_name: 'BoundingRect' + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb new file mode 100644 index 0000000000..1d4f10b93c --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb @@ -0,0 +1,78 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A bounding box for an area inside an image. + # + class BoundingRect + + include MsRestAzure + + # @return [Integer] X-coordinate of the top left point of the area, in + # pixels. + attr_accessor :x + + # @return [Integer] Y-coordinate of the top left point of the area, in + # pixels. + attr_accessor :y + + # @return [Integer] Width measured from the top-left point of the area, + # in pixels. + attr_accessor :w + + # @return [Integer] Height measured from the top-left point of the area, + # in pixels. + attr_accessor :h + + + # + # Mapper for BoundingRect class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BoundingRect', + type: { + name: 'Composite', + class_name: 'BoundingRect', + model_properties: { + x: { + required: false, + serialized_name: 'x', + type: { + name: 'Number' + } + }, + y: { + required: false, + serialized_name: 'y', + type: { + name: 'Number' + } + }, + w: { + required: false, + serialized_name: 'w', + type: { + name: 'Number' + } + }, + h: { + required: false, + serialized_name: 'h', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb index fe7482bcc9..c972bc3d2f 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb @@ -18,7 +18,7 @@ class Category # @return [Float] Scoring of the category. attr_accessor :score - # @return [CategoryDetail] + # @return [CategoryDetail] Details of the identified category. attr_accessor :detail @@ -28,7 +28,6 @@ class Category # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Category', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Category', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb index 6b8ccd0879..8822492c71 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb @@ -27,7 +27,6 @@ class CategoryDetail # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CategoryDetail', type: { @@ -35,13 +34,11 @@ def self.mapper() class_name: 'CategoryDetail', model_properties: { celebrities: { - client_side_validation: true, required: false, serialized_name: 'celebrities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CelebritiesModelElementType', type: { @@ -52,13 +49,11 @@ def self.mapper() } }, landmarks: { - client_side_validation: true, required: false, serialized_name: 'landmarks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LandmarksModelElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb index 00b1ada23e..393e49a78e 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb @@ -15,10 +15,11 @@ class CelebritiesModel # @return [String] Name of the celebrity. attr_accessor :name - # @return [Float] Level of confidence ranging from 0 to 1. + # @return [Float] Confidence level for the celebrity recognition as a + # value ranging from 0 to 1. attr_accessor :confidence - # @return [FaceRectangle] + # @return [FaceRectangle] Location of the identified face in the image. attr_accessor :face_rectangle @@ -28,7 +29,6 @@ class CelebritiesModel # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CelebritiesModel', type: { @@ -36,7 +36,6 @@ def self.mapper() class_name: 'CelebritiesModel', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +43,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, face_rectangle: { - client_side_validation: true, required: false, serialized_name: 'faceRectangle', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb index e224bafb26..d22cb816cf 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb @@ -6,13 +6,14 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # List of celebrities recognized in the image. + # Result of domain-specific classifications for the domain of celebrities. # class CelebrityResults include MsRestAzure - # @return [Array] + # @return [Array] List of celebrities recognized in the + # image. attr_accessor :celebrities # @return [String] Id of the REST API request. @@ -28,7 +29,6 @@ class CelebrityResults # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CelebrityResults', type: { @@ -36,13 +36,11 @@ def self.mapper() class_name: 'CelebrityResults', model_properties: { celebrities: { - client_side_validation: true, required: false, serialized_name: 'celebrities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CelebritiesModelElementType', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb index d72f0f2355..5b26d249c0 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb @@ -34,7 +34,6 @@ class ColorInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ColorInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ColorInfo', model_properties: { dominant_color_foreground: { - client_side_validation: true, required: false, serialized_name: 'dominantColorForeground', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, dominant_color_background: { - client_side_validation: true, required: false, serialized_name: 'dominantColorBackground', type: { @@ -58,13 +55,11 @@ def self.mapper() } }, dominant_colors: { - client_side_validation: true, required: false, serialized_name: 'dominantColors', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, accent_color: { - client_side_validation: true, required: false, serialized_name: 'accentColor', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, is_bwimg: { - client_side_validation: true, required: false, serialized_name: 'isBWImg', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb index 919d8f73a7..3cccf20e75 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb @@ -6,18 +6,13 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # Model object. - # + # Details about the API request error. # class ComputerVisionError include MsRestAzure - # @return [ComputerVisionErrorCodes] The error code. Possible values - # include: 'InvalidImageUrl', 'InvalidImageFormat', 'InvalidImageSize', - # 'NotSupportedVisualFeature', 'NotSupportedImage', 'InvalidDetails', - # 'NotSupportedLanguage', 'BadArgument', 'FailedToProcess', 'Timeout', - # 'InternalServerError', 'Unspecified', 'StorageException' + # @return The error code. attr_accessor :code # @return [String] A message explaining the error reported by the @@ -34,7 +29,6 @@ class ComputerVisionError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputerVisionError', type: { @@ -42,16 +36,13 @@ def self.mapper() class_name: 'ComputerVisionError', model_properties: { code: { - client_side_validation: true, required: true, serialized_name: 'code', type: { - name: 'Enum', - module: 'ComputerVisionErrorCodes' + name: 'Object' } }, message: { - client_side_validation: true, required: true, serialized_name: 'message', type: { @@ -59,7 +50,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detect_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detect_result.rb new file mode 100644 index 0000000000..164e55e81a --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detect_result.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Result of a DetectImage call. + # + class DetectResult + + include MsRestAzure + + # @return [Array] An array of detected objects. + attr_accessor :objects + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for DetectResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DetectResult', + type: { + name: 'Composite', + class_name: 'DetectResult', + model_properties: { + objects: { + required: false, + read_only: true, + serialized_name: 'objects', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DetectedObjectElementType', + type: { + name: 'Composite', + class_name: 'DetectedObject' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detected_object.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detected_object.rb new file mode 100644 index 0000000000..0511f6ef61 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/detected_object.rb @@ -0,0 +1,81 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object detected in an image. + # + class DetectedObject + + include MsRestAzure + + # @return [BoundingRect] Approximate location of the detected object. + attr_accessor :rectangle + + # @return [String] Label for the object. + attr_accessor :object + + # @return [Float] Confidence score of having observed the object in the + # image, as a value ranging from 0 to 1. + attr_accessor :confidence + + # @return [ObjectHierarchy] The parent object, from a taxonomy + # perspective. + # The parent object is a more generic form of this object. For example, + # a 'bulldog' would have a parent of 'dog'. + attr_accessor :parent + + + # + # Mapper for DetectedObject class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DetectedObject', + type: { + name: 'Composite', + class_name: 'DetectedObject', + model_properties: { + rectangle: { + required: false, + read_only: true, + serialized_name: 'rectangle', + type: { + name: 'Composite', + class_name: 'BoundingRect' + } + }, + object: { + required: false, + serialized_name: 'object', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + }, + parent: { + required: false, + serialized_name: 'parent', + type: { + name: 'Composite', + class_name: 'ObjectHierarchy' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb index f061bec2d5..fa2170376a 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb @@ -13,7 +13,7 @@ class DomainModelResults include MsRestAzure - # @return Model-specific response + # @return Model-specific response. attr_accessor :result # @return [String] Id of the REST API request. @@ -29,7 +29,6 @@ class DomainModelResults # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainModelResults', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'DomainModelResults', model_properties: { result: { - client_side_validation: true, required: false, serialized_name: 'result', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb index 93ceb7eecb..c5eb6a0333 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb @@ -19,7 +19,8 @@ class FaceDescription # 'Male', 'Female' attr_accessor :gender - # @return [FaceRectangle] + # @return [FaceRectangle] Rectangle in the image containing the + # identified face. attr_accessor :face_rectangle @@ -29,7 +30,6 @@ class FaceDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FaceDescription', type: { @@ -37,7 +37,6 @@ def self.mapper() class_name: 'FaceDescription', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -45,7 +44,6 @@ def self.mapper() } }, gender: { - client_side_validation: true, required: false, serialized_name: 'gender', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, face_rectangle: { - client_side_validation: true, required: false, serialized_name: 'faceRectangle', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb index 294e7ac2c2..dbc3c02acf 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb @@ -12,16 +12,20 @@ class FaceRectangle include MsRestAzure - # @return [Integer] X-coordinate of the top left point of the face. + # @return [Integer] X-coordinate of the top left point of the face, in + # pixels. attr_accessor :left - # @return [Integer] Y-coordinate of the top left point of the face. + # @return [Integer] Y-coordinate of the top left point of the face, in + # pixels. attr_accessor :top - # @return [Integer] Width measured from the top-left point of the face. + # @return [Integer] Width measured from the top-left point of the face, + # in pixels. attr_accessor :width - # @return [Integer] Height measured from the top-left point of the face. + # @return [Integer] Height measured from the top-left point of the face, + # in pixels. attr_accessor :height @@ -31,7 +35,6 @@ class FaceRectangle # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FaceRectangle', type: { @@ -39,7 +42,6 @@ def self.mapper() class_name: 'FaceRectangle', model_properties: { left: { - client_side_validation: true, required: false, serialized_name: 'left', type: { @@ -47,7 +49,6 @@ def self.mapper() } }, top: { - client_side_validation: true, required: false, serialized_name: 'top', type: { @@ -55,7 +56,6 @@ def self.mapper() } }, width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -63,7 +63,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb index 6caa9032d7..48ca1e7a90 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb @@ -15,26 +15,34 @@ class ImageAnalysis # @return [Array] An array indicating identified categories. attr_accessor :categories - # @return [AdultInfo] + # @return [AdultInfo] An object describing whether the image contains + # adult-oriented content and/or is racy. attr_accessor :adult - # @return [ColorInfo] + # @return [ColorInfo] An object providing additional metadata describing + # color attributes. attr_accessor :color - # @return [ImageType] + # @return [ImageType] An object providing possible image types and + # matching confidence levels. attr_accessor :image_type # @return [Array] A list of tags with confidence level. attr_accessor :tags - # @return [ImageDescriptionDetails] + # @return [ImageDescriptionDetails] A collection of content tags, along + # with a list of captions sorted by confidence level, and image metadata. attr_accessor :description # @return [Array] An array of possible faces within the # image. attr_accessor :faces - # @return [String] Id of the request for tracking purposes. + # @return [Array] Array of objects describing what was + # detected in the image. + attr_accessor :objects + + # @return [String] Id of the REST API request. attr_accessor :request_id # @return [ImageMetadata] @@ -47,7 +55,6 @@ class ImageAnalysis # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageAnalysis', type: { @@ -55,13 +62,11 @@ def self.mapper() class_name: 'ImageAnalysis', model_properties: { categories: { - client_side_validation: true, required: false, serialized_name: 'categories', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CategoryElementType', type: { @@ -72,7 +77,6 @@ def self.mapper() } }, adult: { - client_side_validation: true, required: false, serialized_name: 'adult', type: { @@ -81,7 +85,6 @@ def self.mapper() } }, color: { - client_side_validation: true, required: false, serialized_name: 'color', type: { @@ -90,7 +93,6 @@ def self.mapper() } }, image_type: { - client_side_validation: true, required: false, serialized_name: 'imageType', type: { @@ -99,13 +101,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageTagElementType', type: { @@ -116,7 +116,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -125,13 +124,11 @@ def self.mapper() } }, faces: { - client_side_validation: true, required: false, serialized_name: 'faces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FaceDescriptionElementType', type: { @@ -141,8 +138,22 @@ def self.mapper() } } }, + objects: { + required: false, + serialized_name: 'objects', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DetectedObjectElementType', + type: { + name: 'Composite', + class_name: 'DetectedObject' + } + } + } + }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -150,7 +161,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb index 4729968634..b6332f4322 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb @@ -12,10 +12,10 @@ class ImageCaption include MsRestAzure - # @return [String] The text of the caption + # @return [String] The text of the caption. attr_accessor :text - # @return [Float] The level of confidence the service has in the caption + # @return [Float] The level of confidence the service has in the caption. attr_accessor :confidence @@ -25,7 +25,6 @@ class ImageCaption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageCaption', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ImageCaption', model_properties: { text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb index 7357cef847..384090f6db 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb @@ -33,7 +33,6 @@ class ImageDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDescription', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'ImageDescription', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'description.tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, captions: { - client_side_validation: true, required: false, serialized_name: 'description.captions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageCaptionElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb index 053db1af34..fd60fceada 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb @@ -27,7 +27,6 @@ class ImageDescriptionDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDescriptionDetails', type: { @@ -35,13 +34,11 @@ def self.mapper() class_name: 'ImageDescriptionDetails', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, captions: { - client_side_validation: true, required: false, serialized_name: 'captions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageCaptionElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb index 7e9ffe3e5b..f00ed0b4a9 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb @@ -6,19 +6,19 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # Image metadata + # Image metadata. # class ImageMetadata include MsRestAzure - # @return [Integer] Image width + # @return [Integer] Image width, in pixels. attr_accessor :width - # @return [Integer] Image height + # @return [Integer] Image height, in pixels. attr_accessor :height - # @return [String] Image format + # @return [String] Image format. attr_accessor :format @@ -28,7 +28,6 @@ class ImageMetadata # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageMetadata', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageMetadata', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, format: { - client_side_validation: true, required: false, serialized_name: 'format', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb index df350f080d..c8840f6443 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb @@ -6,19 +6,19 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # An image caption, i.e. a brief description of what the image depicts. + # An entity observation in the image, along with the confidence score. # class ImageTag include MsRestAzure - # @return [String] The tag value + # @return [String] Name of the entity. attr_accessor :name - # @return [Float] The level of confidence the service has in the caption + # @return [Float] The level of confidence that the entity was observed. attr_accessor :confidence - # @return [String] Optional categorization for the tag + # @return [String] Optional hint/details for this tag. attr_accessor :hint @@ -28,7 +28,6 @@ class ImageTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageTag', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageTag', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, hint: { - client_side_validation: true, required: false, serialized_name: 'hint', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb index b056fae590..98a9b1b4f2 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb @@ -12,10 +12,10 @@ class ImageType include MsRestAzure - # @return [Float] Confidence level that the image is a clip art. + # @return [Integer] Confidence level that the image is a clip art. attr_accessor :clip_art_type - # @return [Float] Confidence level that the image is a line drawing. + # @return [Integer] Confidence level that the image is a line drawing. attr_accessor :line_drawing_type @@ -25,7 +25,6 @@ class ImageType # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageType', type: { @@ -33,19 +32,17 @@ def self.mapper() class_name: 'ImageType', model_properties: { clip_art_type: { - client_side_validation: true, required: false, serialized_name: 'clipArtType', type: { - name: 'Double' + name: 'Number' } }, line_drawing_type: { - client_side_validation: true, required: false, serialized_name: 'lineDrawingType', type: { - name: 'Double' + name: 'Number' } } } diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb index 001a298dc8..c774744c0d 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb @@ -13,7 +13,7 @@ class ImageUrl include MsRestAzure - # @return [String] Publicly reachable URL of an image + # @return [String] Publicly reachable URL of an image. attr_accessor :url @@ -23,7 +23,6 @@ class ImageUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ImageUrl', model_properties: { url: { - client_side_validation: true, required: true, serialized_name: 'url', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb index 583eb89e43..58568d049e 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb @@ -6,13 +6,14 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # List of landmarks recognized in the image. + # Result of domain-specific classifications for the domain of landmarks. # class LandmarkResults include MsRestAzure - # @return [Array] + # @return [Array] List of landmarks recognized in the + # image. attr_accessor :landmarks # @return [String] Id of the REST API request. @@ -28,7 +29,6 @@ class LandmarkResults # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LandmarkResults', type: { @@ -36,13 +36,11 @@ def self.mapper() class_name: 'LandmarkResults', model_properties: { landmarks: { - client_side_validation: true, required: false, serialized_name: 'landmarks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LandmarksModelElementType', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb index 2fc14db0e4..f87a76b531 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb @@ -6,7 +6,7 @@ module Azure::CognitiveServices::ComputerVision::V2_0 module Models # - # A landmark recognized in the image + # A landmark recognized in the image. # class LandmarksModel @@ -15,7 +15,8 @@ class LandmarksModel # @return [String] Name of the landmark. attr_accessor :name - # @return [Float] Confidence level for the landmark recognition. + # @return [Float] Confidence level for the landmark recognition as a + # value ranging from 0 to 1. attr_accessor :confidence @@ -25,7 +26,6 @@ class LandmarksModel # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LandmarksModel', type: { @@ -33,7 +33,6 @@ def self.mapper() class_name: 'LandmarksModel', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +40,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb index fafbccee54..33991cfdf5 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb @@ -29,7 +29,6 @@ class Line # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Line', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'Line', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, words: { - client_side_validation: true, required: false, serialized_name: 'words', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WordElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb index 574e93474a..72b7e13ac2 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb @@ -22,7 +22,6 @@ class ListModelsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListModelsResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'ListModelsResult', model_properties: { models_property: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'models', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ModelDescriptionElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb index 07240d9754..bc19517893 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb @@ -12,10 +12,10 @@ class ModelDescription include MsRestAzure - # @return [String] + # @return [String] The name of the model. attr_accessor :name - # @return [Array] + # @return [Array] Categories of the model. attr_accessor :categories @@ -25,7 +25,6 @@ class ModelDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModelDescription', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ModelDescription', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, categories: { - client_side_validation: true, required: false, serialized_name: 'categories', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb new file mode 100644 index 0000000000..296cea6c23 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object detected inside an image. + # + class ObjectHierarchy + + include MsRestAzure + + # @return [String] Label for the object. + attr_accessor :object + + # @return [Float] Confidence score of having observed the object in the + # image, as a value ranging from 0 to 1. + attr_accessor :confidence + + # @return [ObjectHierarchy] The parent object, from a taxonomy + # perspective. + # The parent object is a more generic form of this object. For example, + # a 'bulldog' would have a parent of 'dog'. + attr_accessor :parent + + + # + # Mapper for ObjectHierarchy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ObjectHierarchy', + type: { + name: 'Composite', + class_name: 'ObjectHierarchy', + model_properties: { + object: { + required: false, + serialized_name: 'object', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + }, + parent: { + required: false, + serialized_name: 'parent', + type: { + name: 'Composite', + class_name: 'ObjectHierarchy' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb index 64e49c74c9..89c8539761 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb @@ -31,7 +31,6 @@ class OcrLine # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrLine', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OcrLine', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -47,13 +45,11 @@ def self.mapper() } }, words: { - client_side_validation: true, required: false, serialized_name: 'words', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrWordElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb index d32a234e3e..32d08e24c5 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb @@ -21,7 +21,7 @@ class OcrRegion # origin at the top-left corner, and the y-axis pointing down. attr_accessor :bounding_box - # @return [Array] + # @return [Array] An array of recognized lines of text. attr_accessor :lines @@ -31,7 +31,6 @@ class OcrRegion # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrRegion', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OcrRegion', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -47,13 +45,11 @@ def self.mapper() } }, lines: { - client_side_validation: true, required: false, serialized_name: 'lines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrLineElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb index 104a5c2aa3..378c0a5f69 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb @@ -29,9 +29,9 @@ class OcrResult attr_accessor :text_angle # @return [String] Orientation of the text recognized in the image. The - # value (up,down,left, or right) refers to the direction that the top of - # the recognized text is facing, after the image has been rotated around - # its center according to the detected text angle (see textAngle + # value (up, down, left, or right) refers to the direction that the top + # of the recognized text is facing, after the image has been rotated + # around its center according to the detected text angle (see textAngle # property). attr_accessor :orientation @@ -46,7 +46,6 @@ class OcrResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrResult', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'OcrResult', model_properties: { language: { - client_side_validation: true, required: false, serialized_name: 'language', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, text_angle: { - client_side_validation: true, required: false, serialized_name: 'textAngle', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, orientation: { - client_side_validation: true, required: false, serialized_name: 'orientation', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, regions: { - client_side_validation: true, required: false, serialized_name: 'regions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrRegionElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb index 14703931c1..cd4fc62fe1 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb @@ -30,7 +30,6 @@ class OcrWord # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrWord', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'OcrWord', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb index bb181d791d..4b3216aea0 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb @@ -23,7 +23,6 @@ class RecognitionResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecognitionResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RecognitionResult', model_properties: { lines: { - client_side_validation: true, required: false, serialized_name: 'lines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LineElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb index e6cf94d526..4c92b93fb5 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb @@ -29,7 +29,6 @@ class TagResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagResult', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'TagResult', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageTagElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -62,7 +58,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb index 998b69fe29..b6534622b2 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb @@ -28,7 +28,6 @@ class TextOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TextOperationResult', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'TextOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, recognition_result: { - client_side_validation: true, required: false, serialized_name: 'recognitionResult', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb index 2f4f2df0b6..bb083135fa 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb @@ -16,6 +16,7 @@ module VisualFeatureTypes Color = "Color" Tags = "Tags" Description = "Description" + Objects = "Objects" end end end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb index 67a04f7034..8a9194f1a8 100644 --- a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb @@ -26,7 +26,6 @@ class Word # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Word', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'Word', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb new file mode 100644 index 0000000000..22fcf31c68 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + VERSION = '0.16.0' +end diff --git a/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb b/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb index 84e542cd6d..807a619372 100644 --- a/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb +++ b/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb @@ -7,42 +7,46 @@ module Azure::ComputerVision::Profiles::Latest module Models - FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription - ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata - Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line - ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis - TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + DetectResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult + FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle + ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel + ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo OcrWord = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord - CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag OcrLine = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine - CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails OcrRegion = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion - AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + BoundingRect = Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect OcrResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult - ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType - ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + DetectedObject = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject + TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult + ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis + AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult + CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl + AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError ImageCaption = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption - ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult - Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word - DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults - FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle - CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults - Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults - ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag + ObjectHierarchy = Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy + CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults ImageDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription + Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word + ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType + Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line + ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata RecognitionResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult - TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult - ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo - ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError - LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel - ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails - TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription + TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender - ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages + VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details end @@ -91,114 +95,126 @@ def method_missing(method, *args) end class ModelClasses - def face_description - Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription + def detect_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult end - def image_metadata - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata + def face_rectangle + Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle end - def line - Azure::CognitiveServices::ComputerVision::V2_0::Models::Line + def model_description + Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription end - def image_analysis - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis + def landmarks_model + Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel end - def text_operation_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult + def list_models_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + end + def category + Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + end + def domain_model_results + Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + end + def color_info + Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo end def ocr_word Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord end - def celebrities_model - Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel + def image_tag + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag end def ocr_line Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine end - def category_detail - Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail + def image_description_details + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails end def ocr_region Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion end - def adult_info - Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo + def bounding_rect + Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect end def ocr_result Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult end - def image_type - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType + def detected_object + Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject end - def model_description - Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription + def tag_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult end - def image_caption - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption + def image_analysis + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis end - def list_models_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult + def area_of_interest_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult end - def word - Azure::CognitiveServices::ComputerVision::V2_0::Models::Word + def celebrities_model + Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel end - def domain_model_results - Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults + def image_url + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl end - def face_rectangle - Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle + def adult_info + Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo end - def celebrity_results - Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults + def computer_vision_error + Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError end - def category - Azure::CognitiveServices::ComputerVision::V2_0::Models::Category + def image_caption + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption end def landmark_results Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults end - def image_tag - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag + def object_hierarchy + Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy + end + def celebrity_results + Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults end def image_description Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription end - def recognition_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult + def word + Azure::CognitiveServices::ComputerVision::V2_0::Models::Word end - def tag_result - Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult + def image_type + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType end - def color_info - Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo + def line + Azure::CognitiveServices::ComputerVision::V2_0::Models::Line end - def computer_vision_error - Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError + def image_metadata + Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata end - def landmarks_model - Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel + def recognition_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult end - def image_url - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl + def face_description + Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription end - def image_description_details - Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails + def text_operation_result + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult end - def text_operation_status_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + def category_detail + Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail end def gender Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender end - def computer_vision_error_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - end - def visual_feature_types - Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + def text_operation_status_codes + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes end def ocr_languages Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages end + def visual_feature_types + Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + end def text_recognition_mode Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode end