From 978d0485a5974069cbef789b0aee3470b4570bbe Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sun, 2 Dec 2018 22:24:35 -0800 Subject: [PATCH 1/2] Generated from c60547377173fddd5f1b31f6b4d9af2a5776ba97 (#2001) typo: Microsoft.EventGrid - Double word "key" - eventtime -> eventTime - upto -> up to --- .../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/consumption_profile_module.rb | 48 +-- .../containerinstance_profile_module.rb | 32 +- .../containerregistry_profile_module.rb | 78 ++--- .../containerservice_profile_module.rb | 22 +- .../contentmoderator_profile_module.rb | 148 ++++----- .../customerinsights_profile_module.rb | 8 +- .../modules/customsearch_profile_module.rb | 16 +- .../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 | 12 +- .../modules/eventgrid_profile_module.rb | 6 +- .../latest/modules/eventhub_profile_module.rb | 6 +- .../lib/latest/modules/face_profile_module.rb | 38 +-- .../latest/modules/features_profile_module.rb | 8 +- .../modules/graphrbac_profile_module.rb | 8 +- .../modules/imagesearch_profile_module.rb | 8 +- .../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 | 20 +- .../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 | 8 +- .../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 +++--- .../lib/latest/modules/web_profile_module.rb | 234 ++++++------- .../modules/websearch_profile_module.rb | 48 +-- .../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 +-- .../event_grid_management_client.rb | 18 +- .../event_subscriptions.rb | 182 +++++----- .../models/event_subscription.rb | 10 - .../models/event_subscription_destination.rb | 4 - .../models/event_subscription_filter.rb | 6 - .../models/event_subscription_full_url.rb | 2 - .../event_subscription_update_parameters.rb | 5 - .../models/event_subscriptions_list_result.rb | 3 - .../models/event_type.rb | 7 - .../models/event_types_list_result.rb | 3 - .../azure_mgmt_event_grid/models/operation.rb | 5 - .../models/operation_info.rb | 5 - .../models/operations_list_result.rb | 3 - .../azure_mgmt_event_grid/models/resource.rb | 13 - .../azure_mgmt_event_grid/models/topic.rb | 9 - .../models/topic_regenerate_key_request.rb | 4 +- .../models/topic_shared_access_keys.rb | 3 - .../models/topic_type_info.rb | 9 - .../models/topic_types_list_result.rb | 3 - .../models/topics_list_result.rb | 3 - .../models/tracked_resource.rb | 7 - .../azure_mgmt_event_grid/operations.rb | 11 +- .../azure_mgmt_event_grid/topic_types.rb | 33 +- .../generated/azure_mgmt_event_grid/topics.rb | 108 +++--- .../azure_mgmt_event_grid/version.rb | 8 + .../event_grid_management_client.rb | 18 +- .../event_subscriptions.rb | 182 +++++----- ...vent_hub_event_subscription_destination.rb | 3 - .../models/event_subscription.rb | 10 - .../models/event_subscription_destination.rb | 1 - .../models/event_subscription_filter.rb | 6 - .../models/event_subscription_full_url.rb | 2 - .../event_subscription_update_parameters.rb | 5 - .../models/event_subscriptions_list_result.rb | 3 - .../models/event_type.rb | 7 - .../models/event_types_list_result.rb | 3 - .../azure_mgmt_event_grid/models/operation.rb | 5 - .../models/operation_info.rb | 5 - .../models/operations_list_result.rb | 3 - .../azure_mgmt_event_grid/models/resource.rb | 13 - .../azure_mgmt_event_grid/models/topic.rb | 9 - .../models/topic_regenerate_key_request.rb | 4 +- .../models/topic_shared_access_keys.rb | 3 - .../models/topic_type_info.rb | 11 - .../models/topic_types_list_result.rb | 3 - .../models/topic_update_parameters.rb | 3 - .../models/topics_list_result.rb | 3 - .../models/tracked_resource.rb | 7 - ...web_hook_event_subscription_destination.rb | 4 - .../azure_mgmt_event_grid/operations.rb | 11 +- .../azure_mgmt_event_grid/topic_types.rb | 33 +- .../generated/azure_mgmt_event_grid/topics.rb | 129 ++++---- .../azure_mgmt_event_grid/version.rb | 8 + .../event_grid_management_client.rb | 18 +- .../event_subscriptions.rb | 182 +++++----- ...vent_hub_event_subscription_destination.rb | 3 - .../models/event_subscription.rb | 10 - .../models/event_subscription_destination.rb | 1 - .../models/event_subscription_filter.rb | 6 - .../models/event_subscription_full_url.rb | 2 - .../event_subscription_update_parameters.rb | 5 - .../models/event_subscriptions_list_result.rb | 3 - .../models/event_type.rb | 7 - .../models/event_types_list_result.rb | 3 - .../azure_mgmt_event_grid/models/operation.rb | 5 - .../models/operation_info.rb | 5 - .../models/operations_list_result.rb | 3 - .../azure_mgmt_event_grid/models/resource.rb | 13 - .../azure_mgmt_event_grid/models/topic.rb | 9 - .../models/topic_regenerate_key_request.rb | 4 +- .../models/topic_shared_access_keys.rb | 3 - .../models/topic_type_info.rb | 11 - .../models/topic_types_list_result.rb | 3 - .../models/topic_update_parameters.rb | 3 - .../models/topics_list_result.rb | 3 - .../models/tracked_resource.rb | 7 - ...web_hook_event_subscription_destination.rb | 4 - .../azure_mgmt_event_grid/operations.rb | 11 +- .../azure_mgmt_event_grid/topic_types.rb | 33 +- .../generated/azure_mgmt_event_grid/topics.rb | 129 ++++---- .../azure_mgmt_event_grid/version.rb | 8 + .../event_grid_management_client.rb | 18 +- .../event_subscriptions.rb | 182 +++++----- .../models/dead_letter_destination.rb | 1 - ...vent_hub_event_subscription_destination.rb | 3 - .../models/event_subscription.rb | 13 - .../models/event_subscription_destination.rb | 1 - .../models/event_subscription_filter.rb | 6 - .../models/event_subscription_full_url.rb | 2 - .../event_subscription_update_parameters.rb | 8 - .../models/event_subscriptions_list_result.rb | 3 - .../models/event_type.rb | 7 - .../models/event_types_list_result.rb | 3 - ...nnection_event_subscription_destination.rb | 3 - .../models/input_schema_mapping.rb | 1 - .../models/json_field.rb | 4 +- .../models/json_field_with_default.rb | 5 +- .../models/json_input_schema_mapping.rb | 8 - .../azure_mgmt_event_grid/models/operation.rb | 5 - .../models/operation_info.rb | 5 - .../models/operations_list_result.rb | 3 - .../azure_mgmt_event_grid/models/resource.rb | 13 - .../models/retry_policy.rb | 3 - .../storage_blob_dead_letter_destination.rb | 4 - ...ge_queue_event_subscription_destination.rb | 4 - .../azure_mgmt_event_grid/models/topic.rb | 11 - .../models/topic_regenerate_key_request.rb | 2 - .../models/topic_shared_access_keys.rb | 3 - .../models/topic_type_info.rb | 11 - .../models/topic_types_list_result.rb | 3 - .../models/topic_update_parameters.rb | 3 - .../models/topics_list_result.rb | 3 - .../models/tracked_resource.rb | 7 - ...web_hook_event_subscription_destination.rb | 4 - .../azure_mgmt_event_grid/operations.rb | 11 +- .../azure_mgmt_event_grid/topic_types.rb | 33 +- .../generated/azure_mgmt_event_grid/topics.rb | 129 ++++---- .../azure_mgmt_event_grid/version.rb | 8 + .../azure_mgmt_event_grid/domain_topics.rb | 22 +- .../azure_mgmt_event_grid/domains.rb | 118 ++++--- .../event_grid_management_client.rb | 18 +- .../event_subscriptions.rb | 193 +++++------ .../models/advanced_filter.rb | 6 +- .../models/bool_equals_advanced_filter.rb | 4 - .../models/dead_letter_destination.rb | 1 - .../azure_mgmt_event_grid/models/domain.rb | 11 - .../models/domain_regenerate_key_request.rb | 2 - .../models/domain_shared_access_keys.rb | 3 - .../models/domain_topic.rb | 4 - .../models/domain_topics_list_result.rb | 3 - .../models/domain_update_parameters.rb | 3 - .../models/domains_list_result.rb | 3 - ...vent_hub_event_subscription_destination.rb | 3 - .../models/event_subscription.rb | 14 - .../models/event_subscription_destination.rb | 1 - .../models/event_subscription_filter.rb | 8 - .../models/event_subscription_full_url.rb | 2 - .../event_subscription_update_parameters.rb | 9 - .../models/event_subscriptions_list_result.rb | 3 - .../models/event_type.rb | 7 - .../models/event_types_list_result.rb | 3 - ...nnection_event_subscription_destination.rb | 3 - .../models/input_schema_mapping.rb | 1 - .../models/json_field.rb | 4 +- .../models/json_field_with_default.rb | 5 +- .../models/json_input_schema_mapping.rb | 8 - .../number_greater_than_advanced_filter.rb | 4 - ..._greater_than_or_equals_advanced_filter.rb | 4 - .../models/number_in_advanced_filter.rb | 5 - .../number_less_than_advanced_filter.rb | 4 - ...ber_less_than_or_equals_advanced_filter.rb | 4 - .../models/number_not_in_advanced_filter.rb | 5 - .../azure_mgmt_event_grid/models/operation.rb | 5 - .../models/operation_info.rb | 5 - .../models/operations_list_result.rb | 3 - .../azure_mgmt_event_grid/models/resource.rb | 13 - .../models/retry_policy.rb | 3 - .../storage_blob_dead_letter_destination.rb | 4 - ...ge_queue_event_subscription_destination.rb | 4 - .../string_begins_with_advanced_filter.rb | 5 - .../models/string_contains_advanced_filter.rb | 5 - .../string_ends_with_advanced_filter.rb | 5 - .../models/string_in_advanced_filter.rb | 5 - .../models/string_not_in_advanced_filter.rb | 5 - .../azure_mgmt_event_grid/models/topic.rb | 11 - .../models/topic_regenerate_key_request.rb | 2 - .../models/topic_shared_access_keys.rb | 3 - .../models/topic_type_info.rb | 11 - .../models/topic_types_list_result.rb | 3 - .../models/topic_update_parameters.rb | 3 - .../models/topics_list_result.rb | 3 - .../models/tracked_resource.rb | 7 - ...web_hook_event_subscription_destination.rb | 4 - .../azure_mgmt_event_grid/operations.rb | 11 +- .../azure_mgmt_event_grid/topic_types.rb | 33 +- .../generated/azure_mgmt_event_grid/topics.rb | 129 ++++---- .../azure_mgmt_event_grid/version.rb | 8 + .../lib/azure_mgmt_event_grid.rb | 6 +- .../modules/eventgrid_profile_module.rb | 48 +-- 259 files changed, 2775 insertions(+), 3546 deletions(-) create mode 100644 management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/version.rb create mode 100644 management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/version.rb create mode 100644 management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/version.rb create mode 100644 management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/version.rb create mode 100644 management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/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/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..17754cfe34 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,6 +15,7 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex @@ -38,45 +39,44 @@ module Models JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image 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 - RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem - PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem - ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 - CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN - CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem - BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem - FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces - ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 + CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match - KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen - VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem - CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair + VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem + DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content 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 + Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end class ContentModeratorDataClass @@ -115,6 +115,9 @@ def method_missing(method, *args) end class ModelClasses + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end def face Azure::CognitiveServices::ContentModerator::V1_0::Models::Face end @@ -184,122 +187,119 @@ def image 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 + def match_response + Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def create_video_reviews_body_item_video_frames_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + def transcript_moderation_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem 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 term_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata end - def pii - Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem 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 - end def ssn Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN 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 frame + Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame 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 classification_category3 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 end - def image_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + def create_video_reviews_body_item_video_frames_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end def match Azure::CognitiveServices::ContentModerator::V1_0::Models::Match end - def key_value_pair - Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair + def create_video_reviews_body_item_video_frames_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem end - def video_frame_body_item_reviewer_result_tags_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + def pii + Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + end + def image_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + end + def found_faces + Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + end + def create_video_reviews_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end + def body_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + end def status Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end - def detected_language - Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage - end def screen Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen end - def video_frame_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem + def key_value_pair + Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair end - def create_review_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + def video_frame_body_item_reviewer_result_tags_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem end def video_frame_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + def video_frame_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem end - def phone - Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + def detected_language + Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage end def ocr Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def create_review_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + end + def content + Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + 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 phone + Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone 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..db6ce9c49a 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,6 +9,7 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models + Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode @@ -24,10 +25,9 @@ module Models WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer 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 + Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end class CustomSearchDataClass @@ -60,6 +60,9 @@ def method_missing(method, *args) end class ModelClasses + def thing + Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end @@ -105,18 +108,15 @@ def search_response def search_results_answer Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer end - def identifiable - Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - end def error Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end + def identifiable + Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable + end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end - def thing - Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing - 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..4d46d6f60b 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -33,7 +33,7 @@ module Models 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 +52,7 @@ 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 + CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse end @@ -159,8 +159,8 @@ def media_object def error Azure::CognitiveServices::EntitySearch::V1_0::Models::Error end - def civic_structure - Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure + def local_business + Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness end def tourist_attraction Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction @@ -216,8 +216,8 @@ def answer_type def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def local_business - Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness + def civic_structure + Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure end def entity_type Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType 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..2f91f0850b 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -12,7 +12,8 @@ module Face PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations module Models - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType + HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType @@ -48,16 +49,15 @@ module Models 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 + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur - PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList - HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType + PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup Person = Azure::CognitiveServices::Face::V1_0::Models::Person - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType + BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel 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,8 +93,11 @@ def method_missing(method, *args) end class ModelClasses - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender + 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 @@ -201,26 +204,26 @@ def update_person_face_request def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def training_status - Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur end - def person_group - Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + def training_status + Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end def face_list Azure::CognitiveServices::Face::V1_0::Models::FaceList end - def hair_color_type - Azure::CognitiveServices::Face::V1_0::Models::HairColorType + 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 + def blur_level + Azure::CognitiveServices::Face::V1_0::Models::BlurLevel end def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel @@ -228,9 +231,6 @@ def exposure_level 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..a5b548a73c 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -24,8 +24,8 @@ module Models ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject 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 + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule @@ -144,12 +144,12 @@ def organization def intangible Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::ImageSearch::V1_0::Models::Error end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end def structured_value Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue 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..a812c403aa 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -13,11 +13,11 @@ module Models 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 TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer @@ -77,21 +77,21 @@ def news_topic def response_base Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase end - def article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end def query Azure::CognitiveServices::NewsSearch::V1_0::Models::Query end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + def article + Azure::CognitiveServices::NewsSearch::V1_0::Models::Article end def response Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end def search_results_answer Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer 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..4169ff5add 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -16,8 +16,8 @@ module Models 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 + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error @@ -77,12 +77,12 @@ def error_response 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 response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType 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/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..a2fdf3798f 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -14,14 +14,14 @@ module Models 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 + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject - RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem - RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable @@ -33,14 +33,14 @@ module Models 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 + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup 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 + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse @@ -48,8 +48,8 @@ module Models 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 + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject end class WebSearchDataClass @@ -97,12 +97,12 @@ def answer_type def news_article Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News - end def response Azure::CognitiveServices::WebSearch::V1_0::Models::Response end + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News + end def response_base Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end @@ -112,15 +112,15 @@ def query_context def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def ranking_ranking_item - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem - end - def ranking_ranking_group - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query end def ranking_ranking_response Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end + def ranking_ranking_item + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem + end def search_response Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end @@ -154,11 +154,11 @@ def web_web_grouping def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + def ranking_ranking_group + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions @@ -175,8 +175,8 @@ def error_code def related_searches_related_search_answer Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end def text_format Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat @@ -199,12 +199,12 @@ def places 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 media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + 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/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb index 3f176284f0..05bb99bef4 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -25,16 +25,15 @@ class EventGridManagementClient < MsRestAzure::AzureServiceClient # @return [String] Version of the API to be used with the client request. attr_reader :api_version - # @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 # @return [EventSubscriptions] event_subscriptions @@ -119,9 +118,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? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_event_grid' - sdk_information = "#{sdk_information}/0.17.2" + if defined? Azure::EventGrid::Mgmt::V2017_06_15_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2017_06_15_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb index deca9fb570..63cc1380de 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [EventSubscription] operation results. # - def get(scope, event_subscription_name, custom_headers:nil) - response = get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -68,8 +68,8 @@ def get(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! end # @@ -93,14 +93,13 @@ def get_with_http_info(scope, event_subscription_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(scope, event_subscription_name, custom_headers:nil) + def get_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def create(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def create(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -202,9 +201,9 @@ def create(scope, event_subscription_name, event_subscription_info, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def create_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) # Send request - promise = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers) + promise = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -239,8 +238,8 @@ def create_async(scope, event_subscription_name, event_subscription_info, custom # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(scope, event_subscription_name, custom_headers:nil) - response = delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -262,9 +261,9 @@ def delete(scope, event_subscription_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(scope, event_subscription_name, custom_headers:nil) + def delete_async(scope, event_subscription_name, custom_headers = nil) # Send request - promise = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers) + promise = begin_delete_async(scope, event_subscription_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -302,8 +301,8 @@ def delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -328,9 +327,9 @@ def update(scope, event_subscription_name, event_subscription_update_parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +366,8 @@ def update_async(scope, event_subscription_name, event_subscription_update_param # # @return [EventSubscriptionFullUrl] operation results. # - def get_full_url(scope, event_subscription_name, custom_headers:nil) - response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -393,8 +392,8 @@ def get_full_url(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! end # @@ -418,14 +417,13 @@ def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_full_url_async(scope, event_subscription_name, custom_headers:nil) + def get_full_url_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -483,8 +481,8 @@ def get_full_url_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription(custom_headers:nil) - response = list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -500,8 +498,8 @@ def list_global_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_with_http_info(custom_headers:nil) - list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! end # @@ -516,13 +514,12 @@ def list_global_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_async(custom_headers:nil) + def list_global_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -579,8 +576,8 @@ def list_global_by_subscription_async(custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:nil) - response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -596,8 +593,8 @@ def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers:nil) - list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! end # @@ -612,14 +609,13 @@ def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:nil) + def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -678,8 +674,8 @@ def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_hea # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group(resource_group_name, custom_headers:nil) - response = list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -697,8 +693,8 @@ def list_global_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -715,14 +711,13 @@ def list_global_by_resource_group_with_http_info(resource_group_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_global_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,8 +776,8 @@ def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers:nil) - response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -800,8 +795,8 @@ def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers:nil) - list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! end # @@ -818,7 +813,7 @@ def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:nil) + def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -826,7 +821,6 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,8 +877,8 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription(location, custom_headers:nil) - response = list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! response.body unless response.nil? end @@ -900,8 +894,8 @@ def list_regional_by_subscription(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_with_http_info(location, custom_headers:nil) - list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! end # @@ -916,14 +910,13 @@ def list_regional_by_subscription_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_async(location, custom_headers:nil) + def list_regional_by_subscription_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -983,8 +976,8 @@ def list_regional_by_subscription_async(location, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group(resource_group_name, location, custom_headers:nil) - response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +996,8 @@ def list_regional_by_resource_group(resource_group_name, location, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers:nil) - list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! end # @@ -1022,7 +1015,7 @@ def list_regional_by_resource_group_with_http_info(resource_group_name, location # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_async(resource_group_name, location, custom_headers:nil) + def list_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1030,7 +1023,6 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1089,8 +1081,8 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers:nil) - response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1108,8 +1100,8 @@ def list_regional_by_subscription_for_topic_type(location, topic_type_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers:nil) - list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! end # @@ -1126,7 +1118,7 @@ def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:nil) + def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -1134,7 +1126,6 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1195,8 +1186,8 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers:nil) - response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1216,8 +1207,8 @@ def list_regional_by_resource_group_for_topic_type(resource_group_name, location # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers:nil) - list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! end # @@ -1236,7 +1227,7 @@ def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:nil) + def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1245,7 +1236,6 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1305,8 +1295,8 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo # # @return [EventSubscriptionsListResult] operation results. # - def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -1325,8 +1315,8 @@ def list_by_resource(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -1344,7 +1334,7 @@ def list_by_resource_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -1354,7 +1344,6 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1427,8 +1416,8 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ # # @return [EventSubscription] operation results. # - def begin_create(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_create(scope, event_subscription_name, event_subscription_info, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! end # @@ -1492,7 +1481,7 @@ def begin_create_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? @@ -1500,12 +1489,13 @@ def begin_create_async(scope, event_subscription_name, event_subscription_info, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventSubscription.mapper() request_content = @client.serialize(request_mapper, event_subscription_info) @@ -1573,8 +1563,8 @@ def begin_create_async(scope, event_subscription_name, event_subscription_info, # will be added to the HTTP request. # # - def begin_delete(scope, event_subscription_name, custom_headers:nil) - response = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -1599,8 +1589,8 @@ def begin_delete(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:nil) - begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! end # @@ -1624,14 +1614,13 @@ def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(scope, event_subscription_name, custom_headers:nil) + def begin_delete_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1691,8 +1680,8 @@ def begin_delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1720,8 +1709,8 @@ def begin_update(scope, event_subscription_name, event_subscription_update_param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! end # @@ -1748,7 +1737,7 @@ def begin_update_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? @@ -1756,12 +1745,13 @@ def begin_update_async(scope, event_subscription_name, event_subscription_update 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventSubscriptionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, event_subscription_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb index 9b682c39db..49168caff1 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -39,7 +39,6 @@ class EventSubscription < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscription', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'EventSubscription', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.topic', @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -92,7 +86,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: false, serialized_name: 'properties.destination', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'properties.filter', type: { @@ -110,13 +102,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb index 29412a9f84..4e58ee2303 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -31,7 +31,6 @@ class EventSubscriptionDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionDestination', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'EventSubscriptionDestination', model_properties: { endpoint_type: { - client_side_validation: true, required: false, serialized_name: 'endpointType', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, endpoint_base_url: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb index df1327759d..a6f3125496 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -41,7 +41,6 @@ class EventSubscriptionFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { - client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, subject_ends_with: { - client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { @@ -65,13 +62,11 @@ def self.mapper() } }, included_event_types: { - client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, is_subject_case_sensitive: { - client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb index 6f8e9399dc..9a7cd570ae 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -23,7 +23,6 @@ class EventSubscriptionFullUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFullUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EventSubscriptionFullUrl', model_properties: { endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'endpointUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb index b7993317da..c14aa00e8e 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -31,7 +31,6 @@ class EventSubscriptionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'EventSubscriptionUpdateParameters', model_properties: { destination: { - client_side_validation: true, required: false, serialized_name: 'destination', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'filter', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb index 64800d3f7f..31048d0c0c 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -22,7 +22,6 @@ class EventSubscriptionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventSubscriptionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb index deef48437c..242363becd 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb @@ -28,7 +28,6 @@ class EventType < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventType', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EventType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -79,7 +73,6 @@ def self.mapper() } }, schema_url: { - client_side_validation: true, required: false, serialized_name: 'properties.schemaUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb index 68d36178b8..448e8deabd 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -22,7 +22,6 @@ class EventTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventTypeElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb index 1f0fea2a70..1efb1feeb3 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb @@ -32,7 +32,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb index bbbfb09205..93c4397e55 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb @@ -31,7 +31,6 @@ class OperationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationInfo', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationInfo', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb index 3c8ed276f8..9ee016bb8d 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -22,7 +22,6 @@ class OperationsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'OperationsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb index a4e00efb87..69f79bfc57 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb @@ -22,22 +22,12 @@ class Resource attr_accessor :type - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb index 09828027fd..6dc94b0f5b 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb @@ -27,7 +27,6 @@ class Topic < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topic', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Topic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -53,7 +50,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -62,7 +58,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -70,13 +65,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -86,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -95,7 +87,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb index ebeaef78d9..26ac5b8378 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -6,7 +6,7 @@ module Azure::EventGrid::Mgmt::V2017_06_15_preview module Models # - # Topic regenerate share access key key request + # Topic regenerate share access key request # class TopicRegenerateKeyRequest @@ -22,7 +22,6 @@ class TopicRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'TopicRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb index 17961a04bf..38b0da5648 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -25,7 +25,6 @@ class TopicSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TopicSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb index f4846513ac..01d087a148 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -37,7 +37,6 @@ class TopicTypeInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfo', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TopicTypeInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, serialized_name: 'properties.provider', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, resource_region_type: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceRegionType', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb index c3e0755c91..24c70eaac0 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -22,7 +22,6 @@ class TopicTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfoElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb index 04636e68cb..88a84be42f 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -22,7 +22,6 @@ class TopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb index c068e7bb70..f8a57fe053 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -68,13 +63,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb index 94db317c84..eac2e8f4fb 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationsListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -63,12 +63,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb index d29cea2318..0eca77db41 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [TopicTypesListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +119,8 @@ def list_async(custom_headers:nil) # # @return [TopicTypeInfo] operation results. # - def get(topic_type_name, custom_headers:nil) - response = get_async(topic_type_name, custom_headers:custom_headers).value! + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -136,8 +135,8 @@ def get(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(topic_type_name, custom_headers:nil) - get_async(topic_type_name, custom_headers:custom_headers).value! + def get_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! end # @@ -151,13 +150,12 @@ def get_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(topic_type_name, custom_headers:nil) + def get_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +211,8 @@ def get_async(topic_type_name, custom_headers:nil) # # @return [EventTypesListResult] operation results. # - def list_event_types(topic_type_name, custom_headers:nil) - response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -229,8 +227,8 @@ def list_event_types(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(topic_type_name, custom_headers:nil) - list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! end # @@ -244,13 +242,12 @@ def list_event_types_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(topic_type_name, custom_headers:nil) + def list_event_types_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb index b623ffa17d..235903a8a1 100644 --- a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Topic] operation results. # - def get(resource_group_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) - get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, topic_name, topic_info, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, topic_name, topic_info, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, topic_name, custom_headers:nil) - response = delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, topic_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, topic_name, custom_headers:nil) + def delete_async(resource_group_name, topic_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -237,8 +236,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -251,13 +250,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,8 +312,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -331,8 +329,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -347,14 +345,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +409,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [TopicSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -430,8 +427,8 @@ def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! end # @@ -447,7 +444,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, topic_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -455,7 +452,6 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -515,8 +511,8 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header # # @return [TopicSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -535,8 +531,8 @@ def regenerate_key(resource_group_name, topic_name, regenerate_key_request, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! end # @@ -554,7 +550,7 @@ def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_ke # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -563,12 +559,13 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -630,8 +627,8 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request # # @return [EventTypesListResult] operation results. # - def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -650,8 +647,8 @@ def list_event_types(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -669,7 +666,7 @@ def list_event_types_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -679,7 +676,6 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -738,8 +734,8 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ # # @return [Topic] operation results. # - def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -757,8 +753,8 @@ def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! end # @@ -775,7 +771,7 @@ def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -784,12 +780,13 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Topic.mapper() request_content = @client.serialize(request_mapper, topic_info) @@ -848,8 +845,8 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu # will be added to the HTTP request. # # - def begin_delete(resource_group_name, topic_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -866,8 +863,8 @@ def begin_delete(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers:nil) - begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! end # @@ -883,7 +880,7 @@ def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) + def begin_delete_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -891,7 +888,6 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..9c3a5d5f52 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2017_06_15_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb index c86274d517..bac302b933 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -25,16 +25,15 @@ class EventGridManagementClient < MsRestAzure::AzureServiceClient # @return [String] Version of the API to be used with the client request. attr_reader :api_version - # @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 # @return [EventSubscriptions] event_subscriptions @@ -119,9 +118,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? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_event_grid' - sdk_information = "#{sdk_information}/0.17.2" + if defined? Azure::EventGrid::Mgmt::V2017_09_15_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2017_09_15_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb index 070cfa08f0..885185501b 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [EventSubscription] operation results. # - def get(scope, event_subscription_name, custom_headers:nil) - response = get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -68,8 +68,8 @@ def get(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! end # @@ -93,14 +93,13 @@ def get_with_http_info(scope, event_subscription_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(scope, event_subscription_name, custom_headers:nil) + def get_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def create(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def create(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -202,9 +201,9 @@ def create(scope, event_subscription_name, event_subscription_info, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def create_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) # Send request - promise = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers) + promise = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -239,8 +238,8 @@ def create_async(scope, event_subscription_name, event_subscription_info, custom # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(scope, event_subscription_name, custom_headers:nil) - response = delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -262,9 +261,9 @@ def delete(scope, event_subscription_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(scope, event_subscription_name, custom_headers:nil) + def delete_async(scope, event_subscription_name, custom_headers = nil) # Send request - promise = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers) + promise = begin_delete_async(scope, event_subscription_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -302,8 +301,8 @@ def delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -328,9 +327,9 @@ def update(scope, event_subscription_name, event_subscription_update_parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +366,8 @@ def update_async(scope, event_subscription_name, event_subscription_update_param # # @return [EventSubscriptionFullUrl] operation results. # - def get_full_url(scope, event_subscription_name, custom_headers:nil) - response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -393,8 +392,8 @@ def get_full_url(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! end # @@ -418,14 +417,13 @@ def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_full_url_async(scope, event_subscription_name, custom_headers:nil) + def get_full_url_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -483,8 +481,8 @@ def get_full_url_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription(custom_headers:nil) - response = list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -500,8 +498,8 @@ def list_global_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_with_http_info(custom_headers:nil) - list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! end # @@ -516,13 +514,12 @@ def list_global_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_async(custom_headers:nil) + def list_global_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -579,8 +576,8 @@ def list_global_by_subscription_async(custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:nil) - response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -596,8 +593,8 @@ def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers:nil) - list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! end # @@ -612,14 +609,13 @@ def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:nil) + def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -678,8 +674,8 @@ def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_hea # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group(resource_group_name, custom_headers:nil) - response = list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -697,8 +693,8 @@ def list_global_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -715,14 +711,13 @@ def list_global_by_resource_group_with_http_info(resource_group_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_global_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,8 +776,8 @@ def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers:nil) - response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -800,8 +795,8 @@ def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers:nil) - list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! end # @@ -818,7 +813,7 @@ def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:nil) + def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -826,7 +821,6 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,8 +877,8 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription(location, custom_headers:nil) - response = list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! response.body unless response.nil? end @@ -900,8 +894,8 @@ def list_regional_by_subscription(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_with_http_info(location, custom_headers:nil) - list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! end # @@ -916,14 +910,13 @@ def list_regional_by_subscription_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_async(location, custom_headers:nil) + def list_regional_by_subscription_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -983,8 +976,8 @@ def list_regional_by_subscription_async(location, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group(resource_group_name, location, custom_headers:nil) - response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +996,8 @@ def list_regional_by_resource_group(resource_group_name, location, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers:nil) - list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! end # @@ -1022,7 +1015,7 @@ def list_regional_by_resource_group_with_http_info(resource_group_name, location # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_async(resource_group_name, location, custom_headers:nil) + def list_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1030,7 +1023,6 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1089,8 +1081,8 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers:nil) - response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1108,8 +1100,8 @@ def list_regional_by_subscription_for_topic_type(location, topic_type_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers:nil) - list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! end # @@ -1126,7 +1118,7 @@ def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:nil) + def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -1134,7 +1126,6 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1195,8 +1186,8 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers:nil) - response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1216,8 +1207,8 @@ def list_regional_by_resource_group_for_topic_type(resource_group_name, location # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers:nil) - list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! end # @@ -1236,7 +1227,7 @@ def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:nil) + def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1245,7 +1236,6 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1305,8 +1295,8 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo # # @return [EventSubscriptionsListResult] operation results. # - def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -1325,8 +1315,8 @@ def list_by_resource(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -1344,7 +1334,7 @@ def list_by_resource_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -1354,7 +1344,6 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1427,8 +1416,8 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ # # @return [EventSubscription] operation results. # - def begin_create(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_create(scope, event_subscription_name, event_subscription_info, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! end # @@ -1492,7 +1481,7 @@ def begin_create_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def begin_create_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? @@ -1500,12 +1489,13 @@ def begin_create_async(scope, event_subscription_name, event_subscription_info, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_09_15_preview::Models::EventSubscription.mapper() request_content = @client.serialize(request_mapper, event_subscription_info) @@ -1573,8 +1563,8 @@ def begin_create_async(scope, event_subscription_name, event_subscription_info, # will be added to the HTTP request. # # - def begin_delete(scope, event_subscription_name, custom_headers:nil) - response = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -1599,8 +1589,8 @@ def begin_delete(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:nil) - begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! end # @@ -1624,14 +1614,13 @@ def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(scope, event_subscription_name, custom_headers:nil) + def begin_delete_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1691,8 +1680,8 @@ def begin_delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1720,8 +1709,8 @@ def begin_update(scope, event_subscription_name, event_subscription_update_param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! end # @@ -1748,7 +1737,7 @@ def begin_update_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? @@ -1756,12 +1745,13 @@ def begin_update_async(scope, event_subscription_name, event_subscription_update 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_09_15_preview::Models::EventSubscriptionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, event_subscription_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb index 7c1c76a93c..e5cbe89d4d 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventHub', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EventHubEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb index 933c91d21d..d9b8944b9d 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -39,7 +39,6 @@ class EventSubscription < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscription', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'EventSubscription', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.topic', @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -92,7 +86,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: false, serialized_name: 'properties.destination', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'properties.filter', type: { @@ -112,13 +104,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb index 687c8421c0..5b3a078688 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb index 3516f68fb0..5ea6c38ee0 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -41,7 +41,6 @@ class EventSubscriptionFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { - client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, subject_ends_with: { - client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { @@ -65,13 +62,11 @@ def self.mapper() } }, included_event_types: { - client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, is_subject_case_sensitive: { - client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb index 13f251f4ce..e0cef6e492 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -23,7 +23,6 @@ class EventSubscriptionFullUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFullUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EventSubscriptionFullUrl', model_properties: { endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'endpointUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb index 84e8c70815..565b6d4127 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -31,7 +31,6 @@ class EventSubscriptionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'EventSubscriptionUpdateParameters', model_properties: { destination: { - client_side_validation: true, required: false, serialized_name: 'destination', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'filter', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb index 02578c0c0b..1b58578ae6 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -22,7 +22,6 @@ class EventSubscriptionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventSubscriptionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb index 6813e552bc..5b70719fec 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb @@ -28,7 +28,6 @@ class EventType < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventType', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EventType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -79,7 +73,6 @@ def self.mapper() } }, schema_url: { - client_side_validation: true, required: false, serialized_name: 'properties.schemaUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb index 96a8352ff8..67a2166088 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -22,7 +22,6 @@ class EventTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventTypeElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb index b257a1b85e..1b7b249794 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb @@ -32,7 +32,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb index c401df91b8..42fec26272 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb @@ -31,7 +31,6 @@ class OperationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationInfo', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationInfo', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb index bea6714891..2cca8ec991 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -22,7 +22,6 @@ class OperationsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'OperationsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb index 73ec9f15ca..a1ac6e10f5 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb @@ -22,22 +22,12 @@ class Resource attr_accessor :type - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb index 363f65bbe1..cde8795de2 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb @@ -27,7 +27,6 @@ class Topic < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topic', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Topic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -53,7 +50,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -62,7 +58,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -70,13 +65,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -86,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -95,7 +87,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb index c1d0fd459f..ffc8db15ea 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -6,7 +6,7 @@ module Azure::EventGrid::Mgmt::V2017_09_15_preview module Models # - # Topic regenerate share access key key request + # Topic regenerate share access key request # class TopicRegenerateKeyRequest @@ -22,7 +22,6 @@ class TopicRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'TopicRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb index 71d87a90f2..8610d3a755 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -25,7 +25,6 @@ class TopicSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TopicSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb index e3930cdd27..1868842d58 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -40,7 +40,6 @@ class TopicTypeInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfo', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'TopicTypeInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, serialized_name: 'properties.provider', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, resource_region_type: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceRegionType', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -115,13 +106,11 @@ def self.mapper() } }, supported_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.supportedLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb index b1e6f253ad..77b8c9d78e 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -22,7 +22,6 @@ class TopicTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfoElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb index 7b97bb8b68..8196e124e9 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb @@ -22,7 +22,6 @@ class TopicUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicUpdateParameters', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb index c6de7bbe24..eb3edb8aa7 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -22,7 +22,6 @@ class TopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb index 9d64e39705..0274e2287e 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -68,13 +63,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb index efd8a562b8..ecedaa8f21 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebHook', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WebHookEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, endpoint_base_url: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb index 83155585ce..162f6e8271 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationsListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -63,12 +63,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb index 79fca6bfd2..02f2f72e32 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [TopicTypesListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +119,8 @@ def list_async(custom_headers:nil) # # @return [TopicTypeInfo] operation results. # - def get(topic_type_name, custom_headers:nil) - response = get_async(topic_type_name, custom_headers:custom_headers).value! + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -136,8 +135,8 @@ def get(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(topic_type_name, custom_headers:nil) - get_async(topic_type_name, custom_headers:custom_headers).value! + def get_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! end # @@ -151,13 +150,12 @@ def get_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(topic_type_name, custom_headers:nil) + def get_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +211,8 @@ def get_async(topic_type_name, custom_headers:nil) # # @return [EventTypesListResult] operation results. # - def list_event_types(topic_type_name, custom_headers:nil) - response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -229,8 +227,8 @@ def list_event_types(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(topic_type_name, custom_headers:nil) - list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! end # @@ -244,13 +242,12 @@ def list_event_types_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(topic_type_name, custom_headers:nil) + def list_event_types_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb index e1118cc93f..1785d1851c 100644 --- a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Topic] operation results. # - def get(resource_group_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) - get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, topic_name, topic_info, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, topic_name, topic_info, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, topic_name, custom_headers:nil) - response = delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, topic_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, topic_name, custom_headers:nil) + def delete_async(resource_group_name, topic_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -227,8 +226,8 @@ def delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -244,9 +243,9 @@ def update(resource_group_name, topic_name, topic_update_parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +271,8 @@ def update_async(resource_group_name, topic_name, topic_update_parameters, custo # # @return [TopicsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -287,8 +286,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -301,13 +300,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +362,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -381,8 +379,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -462,8 +459,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [TopicSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -480,8 +477,8 @@ def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! end # @@ -497,7 +494,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, topic_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -505,7 +502,6 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +561,8 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header # # @return [TopicSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -585,8 +581,8 @@ def regenerate_key(resource_group_name, topic_name, regenerate_key_request, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! end # @@ -604,7 +600,7 @@ def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_ke # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -613,12 +609,13 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_09_15_preview::Models::TopicRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -680,8 +677,8 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request # # @return [EventTypesListResult] operation results. # - def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_event_types(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -719,7 +716,7 @@ def list_event_types_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -729,7 +726,6 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,8 +784,8 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ # # @return [Topic] operation results. # - def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -807,8 +803,8 @@ def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! end # @@ -825,7 +821,7 @@ def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -834,12 +830,13 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_09_15_preview::Models::Topic.mapper() request_content = @client.serialize(request_mapper, topic_info) @@ -898,8 +895,8 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu # will be added to the HTTP request. # # - def begin_delete(resource_group_name, topic_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -916,8 +913,8 @@ def begin_delete(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers:nil) - begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! end # @@ -933,7 +930,7 @@ def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) + def begin_delete_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -941,7 +938,6 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -991,8 +987,8 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1011,8 +1007,8 @@ def begin_update(resource_group_name, topic_name, topic_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! end # @@ -1030,7 +1026,7 @@ def begin_update_with_http_info(resource_group_name, topic_name, topic_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -1039,12 +1035,13 @@ def begin_update_async(resource_group_name, topic_name, topic_update_parameters, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2017_09_15_preview::Models::TopicUpdateParameters.mapper() request_content = @client.serialize(request_mapper, topic_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..7b91c3da9a --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2017_09_15_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb index 7f768ba074..07676416fd 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -25,16 +25,15 @@ class EventGridManagementClient < MsRestAzure::AzureServiceClient # @return [String] Version of the API to be used with the client request. attr_reader :api_version - # @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 # @return [EventSubscriptions] event_subscriptions @@ -119,9 +118,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? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_event_grid' - sdk_information = "#{sdk_information}/0.17.2" + if defined? Azure::EventGrid::Mgmt::V2018_01_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2018_01_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb index fe7a4deb9f..0d510f80ed 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [EventSubscription] operation results. # - def get(scope, event_subscription_name, custom_headers:nil) - response = get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -68,8 +68,8 @@ def get(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! end # @@ -93,14 +93,13 @@ def get_with_http_info(scope, event_subscription_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(scope, event_subscription_name, custom_headers:nil) + def get_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -201,9 +200,9 @@ def create_or_update(scope, event_subscription_name, event_subscription_info, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -238,8 +237,8 @@ def create_or_update_async(scope, event_subscription_name, event_subscription_in # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(scope, event_subscription_name, custom_headers:nil) - response = delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -261,9 +260,9 @@ def delete(scope, event_subscription_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(scope, event_subscription_name, custom_headers:nil) + def delete_async(scope, event_subscription_name, custom_headers = nil) # Send request - promise = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers) + promise = begin_delete_async(scope, event_subscription_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -301,8 +300,8 @@ def delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def update(scope, event_subscription_name, event_subscription_update_parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -366,8 +365,8 @@ def update_async(scope, event_subscription_name, event_subscription_update_param # # @return [EventSubscriptionFullUrl] operation results. # - def get_full_url(scope, event_subscription_name, custom_headers:nil) - response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -392,8 +391,8 @@ def get_full_url(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! end # @@ -417,14 +416,13 @@ def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_full_url_async(scope, event_subscription_name, custom_headers:nil) + def get_full_url_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -482,8 +480,8 @@ def get_full_url_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription(custom_headers:nil) - response = list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -499,8 +497,8 @@ def list_global_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_with_http_info(custom_headers:nil) - list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! end # @@ -515,13 +513,12 @@ def list_global_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_async(custom_headers:nil) + def list_global_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -578,8 +575,8 @@ def list_global_by_subscription_async(custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:nil) - response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -595,8 +592,8 @@ def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers:nil) - list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! end # @@ -611,14 +608,13 @@ def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:nil) + def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +673,8 @@ def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_hea # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group(resource_group_name, custom_headers:nil) - response = list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_global_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -714,14 +710,13 @@ def list_global_by_resource_group_with_http_info(resource_group_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_global_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -780,8 +775,8 @@ def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers:nil) - response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -799,8 +794,8 @@ def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers:nil) - list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! end # @@ -817,7 +812,7 @@ def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:nil) + def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -825,7 +820,6 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -882,8 +876,8 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription(location, custom_headers:nil) - response = list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! response.body unless response.nil? end @@ -899,8 +893,8 @@ def list_regional_by_subscription(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_with_http_info(location, custom_headers:nil) - list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! end # @@ -915,14 +909,13 @@ def list_regional_by_subscription_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_async(location, custom_headers:nil) + def list_regional_by_subscription_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -982,8 +975,8 @@ def list_regional_by_subscription_async(location, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group(resource_group_name, location, custom_headers:nil) - response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! response.body unless response.nil? end @@ -1002,8 +995,8 @@ def list_regional_by_resource_group(resource_group_name, location, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers:nil) - list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! end # @@ -1021,7 +1014,7 @@ def list_regional_by_resource_group_with_http_info(resource_group_name, location # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_async(resource_group_name, location, custom_headers:nil) + def list_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1029,7 +1022,6 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1088,8 +1080,8 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers:nil) - response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1099,8 @@ def list_regional_by_subscription_for_topic_type(location, topic_type_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers:nil) - list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! end # @@ -1125,7 +1117,7 @@ def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:nil) + def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -1133,7 +1125,6 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1194,8 +1185,8 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers:nil) - response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1215,8 +1206,8 @@ def list_regional_by_resource_group_for_topic_type(resource_group_name, location # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers:nil) - list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! end # @@ -1235,7 +1226,7 @@ def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:nil) + def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1244,7 +1235,6 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,8 +1294,8 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo # # @return [EventSubscriptionsListResult] operation results. # - def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -1324,8 +1314,8 @@ def list_by_resource(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -1343,7 +1333,7 @@ def list_by_resource_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -1353,7 +1343,6 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1425,8 +1414,8 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ # # @return [EventSubscription] operation results. # - def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -1457,8 +1446,8 @@ def begin_create_or_update(scope, event_subscription_name, event_subscription_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! end # @@ -1488,7 +1477,7 @@ def begin_create_or_update_with_http_info(scope, event_subscription_name, event_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? @@ -1496,12 +1485,13 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_01_01::Models::EventSubscription.mapper() request_content = @client.serialize(request_mapper, event_subscription_info) @@ -1569,8 +1559,8 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript # will be added to the HTTP request. # # - def begin_delete(scope, event_subscription_name, custom_headers:nil) - response = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -1595,8 +1585,8 @@ def begin_delete(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:nil) - begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! end # @@ -1620,14 +1610,13 @@ def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(scope, event_subscription_name, custom_headers:nil) + def begin_delete_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1687,8 +1676,8 @@ def begin_delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1716,8 +1705,8 @@ def begin_update(scope, event_subscription_name, event_subscription_update_param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! end # @@ -1744,7 +1733,7 @@ def begin_update_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? @@ -1752,12 +1741,13 @@ def begin_update_async(scope, event_subscription_name, event_subscription_update 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_01_01::Models::EventSubscriptionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, event_subscription_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb index d09a53a2ee..4bf4c6f92e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventHub', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EventHubEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb index aec7420c9b..91a16e223d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -39,7 +39,6 @@ class EventSubscription < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscription', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'EventSubscription', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.topic', @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -92,7 +86,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: false, serialized_name: 'properties.destination', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'properties.filter', type: { @@ -112,13 +104,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb index 6d7f34cf96..3ec1904c4d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb index b37bf135d2..78cf658e01 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -41,7 +41,6 @@ class EventSubscriptionFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { - client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, subject_ends_with: { - client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { @@ -65,13 +62,11 @@ def self.mapper() } }, included_event_types: { - client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, is_subject_case_sensitive: { - client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb index 221416703c..4ddef96ebe 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -23,7 +23,6 @@ class EventSubscriptionFullUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFullUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EventSubscriptionFullUrl', model_properties: { endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'endpointUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb index a3f1900f06..ffd0767f95 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -31,7 +31,6 @@ class EventSubscriptionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'EventSubscriptionUpdateParameters', model_properties: { destination: { - client_side_validation: true, required: false, serialized_name: 'destination', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'filter', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb index 193d1b37e1..1f1bed79d6 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -22,7 +22,6 @@ class EventSubscriptionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventSubscriptionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb index dae77ac3a9..e947f62e59 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb @@ -28,7 +28,6 @@ class EventType < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventType', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EventType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -79,7 +73,6 @@ def self.mapper() } }, schema_url: { - client_side_validation: true, required: false, serialized_name: 'properties.schemaUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb index 8b02816794..a0dd9132e8 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -22,7 +22,6 @@ class EventTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventTypeElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb index bc24bd3431..f2c8f0a1a5 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb @@ -31,7 +31,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb index b72dd544c3..4d1d465c37 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb @@ -31,7 +31,6 @@ class OperationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationInfo', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationInfo', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb index 6f7b266792..356e736593 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -22,7 +22,6 @@ class OperationsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'OperationsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb index 429c5f6ce1..ffff4600d1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb @@ -22,22 +22,12 @@ class Resource attr_accessor :type - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb index 8871e18f29..22865c3329 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb @@ -27,7 +27,6 @@ class Topic < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topic', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Topic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -53,7 +50,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -62,7 +58,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -70,13 +65,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -86,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -95,7 +87,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb index 074352dc8b..f9526c7286 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -6,7 +6,7 @@ module Azure::EventGrid::Mgmt::V2018_01_01 module Models # - # Topic regenerate share access key key request + # Topic regenerate share access key request # class TopicRegenerateKeyRequest @@ -22,7 +22,6 @@ class TopicRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'TopicRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb index 82604b1825..feec12ea5c 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -25,7 +25,6 @@ class TopicSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TopicSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb index 5faff04a2f..40ccfaee7f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -40,7 +40,6 @@ class TopicTypeInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfo', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'TopicTypeInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, serialized_name: 'properties.provider', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, resource_region_type: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceRegionType', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -115,13 +106,11 @@ def self.mapper() } }, supported_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.supportedLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb index 312cfdae50..e055c2af9b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -22,7 +22,6 @@ class TopicTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfoElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb index 207fbe90a4..8d79927d52 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb @@ -22,7 +22,6 @@ class TopicUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicUpdateParameters', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb index cfb41f9850..51df0bceb1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -22,7 +22,6 @@ class TopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb index bc1a3e441f..d81f2f691f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -68,13 +63,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb index 63f81253be..baf6d24669 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebHook', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WebHookEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, endpoint_base_url: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb index 514bb81822..f8a795f001 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationsListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -63,12 +63,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb index 7cd9300e57..75e2635e8d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [TopicTypesListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +119,8 @@ def list_async(custom_headers:nil) # # @return [TopicTypeInfo] operation results. # - def get(topic_type_name, custom_headers:nil) - response = get_async(topic_type_name, custom_headers:custom_headers).value! + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -136,8 +135,8 @@ def get(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(topic_type_name, custom_headers:nil) - get_async(topic_type_name, custom_headers:custom_headers).value! + def get_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! end # @@ -151,13 +150,12 @@ def get_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(topic_type_name, custom_headers:nil) + def get_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +211,8 @@ def get_async(topic_type_name, custom_headers:nil) # # @return [EventTypesListResult] operation results. # - def list_event_types(topic_type_name, custom_headers:nil) - response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -229,8 +227,8 @@ def list_event_types(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(topic_type_name, custom_headers:nil) - list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! end # @@ -244,13 +242,12 @@ def list_event_types_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(topic_type_name, custom_headers:nil) + def list_event_types_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb index 581835b499..30693c258d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Topic] operation results. # - def get(resource_group_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) - get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, topic_name, topic_info, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, topic_name, topic_info, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, topic_name, custom_headers:nil) - response = delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, topic_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, topic_name, custom_headers:nil) + def delete_async(resource_group_name, topic_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -227,8 +226,8 @@ def delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -244,9 +243,9 @@ def update(resource_group_name, topic_name, topic_update_parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +271,8 @@ def update_async(resource_group_name, topic_name, topic_update_parameters, custo # # @return [TopicsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -287,8 +286,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -301,13 +300,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +362,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -381,8 +379,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -462,8 +459,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [TopicSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -480,8 +477,8 @@ def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! end # @@ -497,7 +494,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, topic_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -505,7 +502,6 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +561,8 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header # # @return [TopicSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -585,8 +581,8 @@ def regenerate_key(resource_group_name, topic_name, regenerate_key_request, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! end # @@ -604,7 +600,7 @@ def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_ke # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -613,12 +609,13 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_01_01::Models::TopicRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -680,8 +677,8 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request # # @return [EventTypesListResult] operation results. # - def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_event_types(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -719,7 +716,7 @@ def list_event_types_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -729,7 +726,6 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,8 +784,8 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ # # @return [Topic] operation results. # - def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -807,8 +803,8 @@ def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! end # @@ -825,7 +821,7 @@ def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -834,12 +830,13 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_01_01::Models::Topic.mapper() request_content = @client.serialize(request_mapper, topic_info) @@ -898,8 +895,8 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu # will be added to the HTTP request. # # - def begin_delete(resource_group_name, topic_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -916,8 +913,8 @@ def begin_delete(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers:nil) - begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! end # @@ -933,7 +930,7 @@ def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) + def begin_delete_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -941,7 +938,6 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -991,8 +987,8 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1011,8 +1007,8 @@ def begin_update(resource_group_name, topic_name, topic_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! end # @@ -1030,7 +1026,7 @@ def begin_update_with_http_info(resource_group_name, topic_name, topic_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -1039,12 +1035,13 @@ def begin_update_async(resource_group_name, topic_name, topic_update_parameters, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_01_01::Models::TopicUpdateParameters.mapper() request_content = @client.serialize(request_mapper, topic_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..e899172928 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2018_01_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb index 8d7ad7d3c2..ab8999191b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -25,16 +25,15 @@ class EventGridManagementClient < MsRestAzure::AzureServiceClient # @return [String] Version of the API to be used with the client request. attr_reader :api_version - # @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 # @return [EventSubscriptions] event_subscriptions @@ -119,9 +118,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? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_event_grid' - sdk_information = "#{sdk_information}/0.17.2" + if defined? Azure::EventGrid::Mgmt::V2018_05_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2018_05_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb index 25562578d0..9fb5ad8e79 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [EventSubscription] operation results. # - def get(scope, event_subscription_name, custom_headers:nil) - response = get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -68,8 +68,8 @@ def get(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! end # @@ -93,14 +93,13 @@ def get_with_http_info(scope, event_subscription_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(scope, event_subscription_name, custom_headers:nil) + def get_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -201,9 +200,9 @@ def create_or_update(scope, event_subscription_name, event_subscription_info, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -238,8 +237,8 @@ def create_or_update_async(scope, event_subscription_name, event_subscription_in # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(scope, event_subscription_name, custom_headers:nil) - response = delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -261,9 +260,9 @@ def delete(scope, event_subscription_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(scope, event_subscription_name, custom_headers:nil) + def delete_async(scope, event_subscription_name, custom_headers = nil) # Send request - promise = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers) + promise = begin_delete_async(scope, event_subscription_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -301,8 +300,8 @@ def delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def update(scope, event_subscription_name, event_subscription_update_parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -366,8 +365,8 @@ def update_async(scope, event_subscription_name, event_subscription_update_param # # @return [EventSubscriptionFullUrl] operation results. # - def get_full_url(scope, event_subscription_name, custom_headers:nil) - response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -392,8 +391,8 @@ def get_full_url(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! end # @@ -417,14 +416,13 @@ def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_full_url_async(scope, event_subscription_name, custom_headers:nil) + def get_full_url_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -482,8 +480,8 @@ def get_full_url_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription(custom_headers:nil) - response = list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -499,8 +497,8 @@ def list_global_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_with_http_info(custom_headers:nil) - list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! end # @@ -515,13 +513,12 @@ def list_global_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_async(custom_headers:nil) + def list_global_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -578,8 +575,8 @@ def list_global_by_subscription_async(custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:nil) - response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -595,8 +592,8 @@ def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers:nil) - list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! end # @@ -611,14 +608,13 @@ def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:nil) + def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +673,8 @@ def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_hea # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group(resource_group_name, custom_headers:nil) - response = list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_global_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -714,14 +710,13 @@ def list_global_by_resource_group_with_http_info(resource_group_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_global_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -780,8 +775,8 @@ def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers:nil) - response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -799,8 +794,8 @@ def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers:nil) - list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! end # @@ -817,7 +812,7 @@ def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:nil) + def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -825,7 +820,6 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -882,8 +876,8 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription(location, custom_headers:nil) - response = list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! response.body unless response.nil? end @@ -899,8 +893,8 @@ def list_regional_by_subscription(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_with_http_info(location, custom_headers:nil) - list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! end # @@ -915,14 +909,13 @@ def list_regional_by_subscription_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_async(location, custom_headers:nil) + def list_regional_by_subscription_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -982,8 +975,8 @@ def list_regional_by_subscription_async(location, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group(resource_group_name, location, custom_headers:nil) - response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! response.body unless response.nil? end @@ -1002,8 +995,8 @@ def list_regional_by_resource_group(resource_group_name, location, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers:nil) - list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! end # @@ -1021,7 +1014,7 @@ def list_regional_by_resource_group_with_http_info(resource_group_name, location # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_async(resource_group_name, location, custom_headers:nil) + def list_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1029,7 +1022,6 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1088,8 +1080,8 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers:nil) - response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1099,8 @@ def list_regional_by_subscription_for_topic_type(location, topic_type_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers:nil) - list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! end # @@ -1125,7 +1117,7 @@ def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:nil) + def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -1133,7 +1125,6 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1194,8 +1185,8 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers:nil) - response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1215,8 +1206,8 @@ def list_regional_by_resource_group_for_topic_type(resource_group_name, location # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers:nil) - list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! end # @@ -1235,7 +1226,7 @@ def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:nil) + def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1244,7 +1235,6 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,8 +1294,8 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo # # @return [EventSubscriptionsListResult] operation results. # - def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -1324,8 +1314,8 @@ def list_by_resource(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -1343,7 +1333,7 @@ def list_by_resource_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -1353,7 +1343,6 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1425,8 +1414,8 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ # # @return [EventSubscription] operation results. # - def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -1457,8 +1446,8 @@ def begin_create_or_update(scope, event_subscription_name, event_subscription_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! end # @@ -1488,7 +1477,7 @@ def begin_create_or_update_with_http_info(scope, event_subscription_name, event_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? @@ -1496,12 +1485,13 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscription.mapper() request_content = @client.serialize(request_mapper, event_subscription_info) @@ -1569,8 +1559,8 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript # will be added to the HTTP request. # # - def begin_delete(scope, event_subscription_name, custom_headers:nil) - response = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -1595,8 +1585,8 @@ def begin_delete(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:nil) - begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! end # @@ -1620,14 +1610,13 @@ def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(scope, event_subscription_name, custom_headers:nil) + def begin_delete_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1687,8 +1676,8 @@ def begin_delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1716,8 +1705,8 @@ def begin_update(scope, event_subscription_name, event_subscription_update_param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! end # @@ -1744,7 +1733,7 @@ def begin_update_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? @@ -1752,12 +1741,13 @@ def begin_update_async(scope, event_subscription_name, event_subscription_update 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, event_subscription_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb index 6bc3fe22b8..741a76bc00 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb @@ -32,7 +32,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb index 850208c816..bf1655cb8a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventHub', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EventHubEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb index a11f6a793b..2125d9573a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -54,7 +54,6 @@ class EventSubscription < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscription', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'EventSubscription', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.topic', @@ -98,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -107,7 +101,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: false, serialized_name: 'properties.destination', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'properties.filter', type: { @@ -127,13 +119,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -143,7 +133,6 @@ def self.mapper() } }, event_delivery_schema: { - client_side_validation: true, required: false, serialized_name: 'properties.eventDeliverySchema', default_value: 'InputEventSchema', @@ -152,7 +141,6 @@ def self.mapper() } }, retry_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retryPolicy', type: { @@ -161,7 +149,6 @@ def self.mapper() } }, dead_letter_destination: { - client_side_validation: true, required: false, serialized_name: 'properties.deadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb index c35f6fba64..dec719952a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb index 1efa67247f..ba2d8fd67d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -41,7 +41,6 @@ class EventSubscriptionFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { - client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, subject_ends_with: { - client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { @@ -65,13 +62,11 @@ def self.mapper() } }, included_event_types: { - client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, is_subject_case_sensitive: { - client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb index 6f8c1759d5..6b6cdda965 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -23,7 +23,6 @@ class EventSubscriptionFullUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFullUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EventSubscriptionFullUrl', model_properties: { endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'endpointUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb index b6e3011dd1..22917e27e8 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -45,7 +45,6 @@ class EventSubscriptionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionUpdateParameters', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'EventSubscriptionUpdateParameters', model_properties: { destination: { - client_side_validation: true, required: false, serialized_name: 'destination', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'filter', type: { @@ -73,13 +70,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, event_delivery_schema: { - client_side_validation: true, required: false, serialized_name: 'eventDeliverySchema', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, retry_policy: { - client_side_validation: true, required: false, serialized_name: 'retryPolicy', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, dead_letter_destination: { - client_side_validation: true, required: false, serialized_name: 'deadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb index 43188f268b..1d462f9d7e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -22,7 +22,6 @@ class EventSubscriptionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventSubscriptionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb index bdac11bdff..3977dcee36 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb @@ -28,7 +28,6 @@ class EventType < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventType', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EventType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -79,7 +73,6 @@ def self.mapper() } }, schema_url: { - client_side_validation: true, required: false, serialized_name: 'properties.schemaUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb index 54bde820c7..9165a8b461 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -22,7 +22,6 @@ class EventTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventTypeElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb index c891c4f9cc..be54bf50e4 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb @@ -32,7 +32,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridConnection', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'HybridConnectionEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb index b62b8fdc6d..3b05abe999 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InputSchemaMapping', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb index b2b672ecca..b7f9623443 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb @@ -8,7 +8,7 @@ module Models # # This is used to express the source of an input schema mapping for a # single target field in the Event Grid Event schema. This is currently - # used in the mappings for the 'id','topic' and 'eventtime' properties. + # used in the mappings for the 'id','topic' and 'eventTime' properties. # This represents a field in the input event schema. # class JsonField @@ -26,7 +26,6 @@ class JsonField # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JsonField', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'JsonField', model_properties: { source_field: { - client_side_validation: true, required: false, serialized_name: 'sourceField', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb index f80892eb94..62a6ab871a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb @@ -8,7 +8,7 @@ module Models # # This is used to express the source of an input schema mapping for a # single target field in the Event Grid Event schema. This is currently - # used in the mappings for the 'subject','eventtype' and 'dataversion' + # used in the mappings for the 'subject','eventType' and 'dataVersion' # properties. This represents a field in the input event schema along with # a default value to be used, and at least one of these two properties # should be provided. @@ -33,7 +33,6 @@ class JsonFieldWithDefault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JsonFieldWithDefault', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'JsonFieldWithDefault', model_properties: { source_field: { - client_side_validation: true, required: false, serialized_name: 'sourceField', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb index 40d9834955..8a4e211e86 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb @@ -52,7 +52,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Json', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'JsonInputSchemaMapping', model_properties: { inputSchemaMappingType: { - client_side_validation: true, required: true, serialized_name: 'inputSchemaMappingType', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'properties.id', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, serialized_name: 'properties.topic', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, event_time: { - client_side_validation: true, required: false, serialized_name: 'properties.eventTime', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, event_type: { - client_side_validation: true, required: false, serialized_name: 'properties.eventType', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, subject: { - client_side_validation: true, required: false, serialized_name: 'properties.subject', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, data_version: { - client_side_validation: true, required: false, serialized_name: 'properties.dataVersion', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb index 66a3ec9546..c02612e6b7 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb @@ -31,7 +31,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb index 88bae6b423..0f1a74f8a7 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb @@ -31,7 +31,6 @@ class OperationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationInfo', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationInfo', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb index c3b79f28ac..cba651688f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -22,7 +22,6 @@ class OperationsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'OperationsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb index f18ba5fae6..b789bdbc1e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb @@ -22,22 +22,12 @@ class Resource attr_accessor :type - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb index 1610b41bb4..5f1ec3dc1b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb @@ -25,7 +25,6 @@ class RetryPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetryPolicy', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RetryPolicy', model_properties: { max_delivery_attempts: { - client_side_validation: true, required: false, serialized_name: 'maxDeliveryAttempts', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, event_time_to_live_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'eventTimeToLiveInMinutes', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb index 7feaaa5ebc..51b69793c9 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageBlob', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'StorageBlobDeadLetterDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, blob_container_name: { - client_side_validation: true, required: false, serialized_name: 'properties.blobContainerName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb index 7ea1a504eb..abcd01f3a9 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb @@ -35,7 +35,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageQueue', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'StorageQueueEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, queue_name: { - client_side_validation: true, required: false, serialized_name: 'properties.queueName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb index 0cab6e08a5..65ffa6588b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb @@ -39,7 +39,6 @@ class Topic < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topic', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'Topic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -107,7 +99,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', @@ -116,7 +107,6 @@ def self.mapper() } }, input_schema: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchema', default_value: 'EventGridSchema', @@ -125,7 +115,6 @@ def self.mapper() } }, input_schema_mapping: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchemaMapping', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb index 45d0c0f350..0f415207d7 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -22,7 +22,6 @@ class TopicRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'TopicRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb index e956521790..b4773a6e67 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -25,7 +25,6 @@ class TopicSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TopicSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb index 4264bbaf51..5f9c44f5bf 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -40,7 +40,6 @@ class TopicTypeInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfo', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'TopicTypeInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, serialized_name: 'properties.provider', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, resource_region_type: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceRegionType', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -115,13 +106,11 @@ def self.mapper() } }, supported_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.supportedLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb index 448eff820d..cc9aca57ef 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -22,7 +22,6 @@ class TopicTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfoElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb index 18de2dc87c..339f49c89f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb @@ -22,7 +22,6 @@ class TopicUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicUpdateParameters', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb index f536dce7ab..de4cfd155e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -22,7 +22,6 @@ class TopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb index 9aea3ef817..545b22bebd 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -68,13 +63,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb index 790ba4247b..62016721ba 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebHook', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WebHookEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, endpoint_base_url: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb index 2bb49ca630..57dd4a8fdf 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationsListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -63,12 +63,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb index acd477af21..bcce1ce294 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [TopicTypesListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +119,8 @@ def list_async(custom_headers:nil) # # @return [TopicTypeInfo] operation results. # - def get(topic_type_name, custom_headers:nil) - response = get_async(topic_type_name, custom_headers:custom_headers).value! + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -136,8 +135,8 @@ def get(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(topic_type_name, custom_headers:nil) - get_async(topic_type_name, custom_headers:custom_headers).value! + def get_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! end # @@ -151,13 +150,12 @@ def get_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(topic_type_name, custom_headers:nil) + def get_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +211,8 @@ def get_async(topic_type_name, custom_headers:nil) # # @return [EventTypesListResult] operation results. # - def list_event_types(topic_type_name, custom_headers:nil) - response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -229,8 +227,8 @@ def list_event_types(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(topic_type_name, custom_headers:nil) - list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! end # @@ -244,13 +242,12 @@ def list_event_types_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(topic_type_name, custom_headers:nil) + def list_event_types_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb index 68a8f6be34..e50d4dce53 100644 --- a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Topic] operation results. # - def get(resource_group_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) - get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, topic_name, topic_info, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, topic_name, topic_info, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, topic_name, custom_headers:nil) - response = delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, topic_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, topic_name, custom_headers:nil) + def delete_async(resource_group_name, topic_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -227,8 +226,8 @@ def delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -244,9 +243,9 @@ def update(resource_group_name, topic_name, topic_update_parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +271,8 @@ def update_async(resource_group_name, topic_name, topic_update_parameters, custo # # @return [TopicsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -287,8 +286,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -301,13 +300,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +362,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -381,8 +379,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -462,8 +459,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [TopicSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -480,8 +477,8 @@ def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! end # @@ -497,7 +494,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, topic_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -505,7 +502,6 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +561,8 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header # # @return [TopicSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -585,8 +581,8 @@ def regenerate_key(resource_group_name, topic_name, regenerate_key_request, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! end # @@ -604,7 +600,7 @@ def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_ke # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -613,12 +609,13 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -680,8 +677,8 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request # # @return [EventTypesListResult] operation results. # - def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_event_types(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -719,7 +716,7 @@ def list_event_types_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -729,7 +726,6 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,8 +784,8 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ # # @return [Topic] operation results. # - def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -807,8 +803,8 @@ def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! end # @@ -825,7 +821,7 @@ def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -834,12 +830,13 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic.mapper() request_content = @client.serialize(request_mapper, topic_info) @@ -898,8 +895,8 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu # will be added to the HTTP request. # # - def begin_delete(resource_group_name, topic_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -916,8 +913,8 @@ def begin_delete(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers:nil) - begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! end # @@ -933,7 +930,7 @@ def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) + def begin_delete_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -941,7 +938,6 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -991,8 +987,8 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1011,8 +1007,8 @@ def begin_update(resource_group_name, topic_name, topic_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! end # @@ -1030,7 +1026,7 @@ def begin_update_with_http_info(resource_group_name, topic_name, topic_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -1039,12 +1035,13 @@ def begin_update_async(resource_group_name, topic_name, topic_update_parameters, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicUpdateParameters.mapper() request_content = @client.serialize(request_mapper, topic_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..95d7a3d468 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2018_05_01_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb index cd94ce5da1..d1c0e4f3a6 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [DomainTopic] operation results. # - def get(resource_group_name, domain_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, domain_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, domain_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, domain_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -54,8 +54,8 @@ def get(resource_group_name, domain_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, domain_name, topic_name, custom_headers:nil) - get_async(resource_group_name, domain_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, domain_name, topic_name, custom_headers = nil) + get_async(resource_group_name, domain_name, topic_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def get_with_http_info(resource_group_name, domain_name, topic_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, domain_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, domain_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -81,7 +81,6 @@ def get_async(resource_group_name, domain_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -139,8 +138,8 @@ def get_async(resource_group_name, domain_name, topic_name, custom_headers:nil) # # @return [DomainTopicsListResult] operation results. # - def list_by_domain(resource_group_name, domain_name, custom_headers:nil) - response = list_by_domain_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def list_by_domain(resource_group_name, domain_name, custom_headers = nil) + response = list_by_domain_async(resource_group_name, domain_name, custom_headers).value! response.body unless response.nil? end @@ -157,8 +156,8 @@ def list_by_domain(resource_group_name, domain_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_domain_with_http_info(resource_group_name, domain_name, custom_headers:nil) - list_by_domain_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def list_by_domain_with_http_info(resource_group_name, domain_name, custom_headers = nil) + list_by_domain_async(resource_group_name, domain_name, custom_headers).value! end # @@ -174,7 +173,7 @@ def list_by_domain_with_http_info(resource_group_name, domain_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_domain_async(resource_group_name, domain_name, custom_headers:nil) + def list_by_domain_async(resource_group_name, domain_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -182,7 +181,6 @@ def list_by_domain_async(resource_group_name, domain_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb index 10b9ab1d8d..f5ee20d296 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Domain] operation results. # - def get(resource_group_name, domain_name, custom_headers:nil) - response = get_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def get(resource_group_name, domain_name, custom_headers = nil) + response = get_async(resource_group_name, domain_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, domain_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, domain_name, custom_headers:nil) - get_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, domain_name, custom_headers = nil) + get_async(resource_group_name, domain_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, domain_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, domain_name, custom_headers:nil) + def get_async(resource_group_name, domain_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, domain_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, domain_name, custom_headers:nil) # # @return [Domain] operation results. # - def create_or_update(resource_group_name, domain_name, domain_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, domain_name, domain_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, domain_name, domain_info, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:nil) + def create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, domain_name, domain_info, custom # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, domain_name, custom_headers:nil) - response = delete_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def delete(resource_group_name, domain_name, custom_headers = nil) + response = delete_async(resource_group_name, domain_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, domain_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, domain_name, custom_headers:nil) + def delete_async(resource_group_name, domain_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, domain_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, domain_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -227,8 +226,8 @@ def delete_async(resource_group_name, domain_name, custom_headers:nil) # # @return [Domain] operation results. # - def update(resource_group_name, domain_name, domain_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, domain_name, domain_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -244,9 +243,9 @@ def update(resource_group_name, domain_name, domain_update_parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:nil) + def update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +271,8 @@ def update_async(resource_group_name, domain_name, domain_update_parameters, cus # # @return [DomainsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -287,8 +286,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -301,13 +300,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +362,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [DomainsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -381,8 +379,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -462,8 +459,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [DomainSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, domain_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, domain_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, domain_name, custom_headers).value! response.body unless response.nil? end @@ -480,8 +477,8 @@ def list_shared_access_keys(resource_group_name, domain_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, domain_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, domain_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, domain_name, custom_headers).value! end # @@ -497,7 +494,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, domain_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, domain_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, domain_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -505,7 +502,6 @@ def list_shared_access_keys_async(resource_group_name, domain_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +561,8 @@ def list_shared_access_keys_async(resource_group_name, domain_name, custom_heade # # @return [DomainSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, domain_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, domain_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -585,8 +581,8 @@ def regenerate_key(resource_group_name, domain_name, regenerate_key_request, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, domain_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, domain_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers).value! end # @@ -604,7 +600,7 @@ def regenerate_key_with_http_info(resource_group_name, domain_name, regenerate_k # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -613,12 +609,13 @@ def regenerate_key_async(resource_group_name, domain_name, regenerate_key_reques 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::DomainRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -679,8 +676,8 @@ def regenerate_key_async(resource_group_name, domain_name, regenerate_key_reques # # @return [Domain] operation results. # - def begin_create_or_update(resource_group_name, domain_name, domain_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, domain_name, domain_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers).value! response.body unless response.nil? end @@ -698,8 +695,8 @@ def begin_create_or_update(resource_group_name, domain_name, domain_info, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers).value! end # @@ -716,7 +713,7 @@ def begin_create_or_update_with_http_info(resource_group_name, domain_name, doma # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -725,12 +722,13 @@ def begin_create_or_update_async(resource_group_name, domain_name, domain_info, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::Domain.mapper() request_content = @client.serialize(request_mapper, domain_info) @@ -789,8 +787,8 @@ def begin_create_or_update_async(resource_group_name, domain_name, domain_info, # will be added to the HTTP request. # # - def begin_delete(resource_group_name, domain_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, domain_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, domain_name, custom_headers).value! nil end @@ -807,8 +805,8 @@ def begin_delete(resource_group_name, domain_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, domain_name, custom_headers:nil) - begin_delete_async(resource_group_name, domain_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, domain_name, custom_headers = nil) + begin_delete_async(resource_group_name, domain_name, custom_headers).value! end # @@ -824,7 +822,7 @@ def begin_delete_with_http_info(resource_group_name, domain_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, domain_name, custom_headers:nil) + def begin_delete_async(resource_group_name, domain_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -832,7 +830,6 @@ def begin_delete_async(resource_group_name, domain_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -882,8 +879,8 @@ def begin_delete_async(resource_group_name, domain_name, custom_headers:nil) # # @return [Domain] operation results. # - def begin_update(resource_group_name, domain_name, domain_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, domain_name, domain_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -902,8 +899,8 @@ def begin_update(resource_group_name, domain_name, domain_update_parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, domain_name, domain_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, domain_name, domain_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers).value! end # @@ -921,7 +918,7 @@ def begin_update_with_http_info(resource_group_name, domain_name, domain_update_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, domain_name, domain_update_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -930,12 +927,13 @@ def begin_update_async(resource_group_name, domain_name, domain_update_parameter 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::DomainUpdateParameters.mapper() request_content = @client.serialize(request_mapper, domain_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb index d9d4c65525..1d6cac38c7 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -25,16 +25,15 @@ class EventGridManagementClient < MsRestAzure::AzureServiceClient # @return [String] Version of the API to be used with the client request. attr_reader :api_version - # @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 # @return [Domains] domains @@ -127,9 +126,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? @@ -146,7 +142,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_event_grid' - sdk_information = "#{sdk_information}/0.17.2" + if defined? Azure::EventGrid::Mgmt::V2018_09_15_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2018_09_15_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb index 38d193473c..063ebd984e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [EventSubscription] operation results. # - def get(scope, event_subscription_name, custom_headers:nil) - response = get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -68,8 +68,8 @@ def get(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! end # @@ -93,14 +93,13 @@ def get_with_http_info(scope, event_subscription_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(scope, event_subscription_name, custom_headers:nil) + def get_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -201,9 +200,9 @@ def create_or_update(scope, event_subscription_name, event_subscription_info, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -238,8 +237,8 @@ def create_or_update_async(scope, event_subscription_name, event_subscription_in # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(scope, event_subscription_name, custom_headers:nil) - response = delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -261,9 +260,9 @@ def delete(scope, event_subscription_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(scope, event_subscription_name, custom_headers:nil) + def delete_async(scope, event_subscription_name, custom_headers = nil) # Send request - promise = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers) + promise = begin_delete_async(scope, event_subscription_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -301,8 +300,8 @@ def delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def update(scope, event_subscription_name, event_subscription_update_parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -366,8 +365,8 @@ def update_async(scope, event_subscription_name, event_subscription_update_param # # @return [EventSubscriptionFullUrl] operation results. # - def get_full_url(scope, event_subscription_name, custom_headers:nil) - response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! response.body unless response.nil? end @@ -392,8 +391,8 @@ def get_full_url(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:nil) - get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def get_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! end # @@ -417,14 +416,13 @@ def get_full_url_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_full_url_async(scope, event_subscription_name, custom_headers:nil) + def get_full_url_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -482,8 +480,8 @@ def get_full_url_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription(custom_headers:nil) - response = list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -499,8 +497,8 @@ def list_global_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_with_http_info(custom_headers:nil) - list_global_by_subscription_async(custom_headers:custom_headers).value! + def list_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! end # @@ -515,13 +513,12 @@ def list_global_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_async(custom_headers:nil) + def list_global_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -578,8 +575,8 @@ def list_global_by_subscription_async(custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:nil) - response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -595,8 +592,8 @@ def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers:nil) - list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:custom_headers).value! + def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! end # @@ -611,14 +608,13 @@ def list_global_by_subscription_for_topic_type_with_http_info(topic_type_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers:nil) + def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +673,8 @@ def list_global_by_subscription_for_topic_type_async(topic_type_name, custom_hea # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group(resource_group_name, custom_headers:nil) - response = list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_global_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_global_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -714,14 +710,13 @@ def list_global_by_resource_group_with_http_info(resource_group_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_global_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -780,8 +775,8 @@ def list_global_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers:nil) - response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -799,8 +794,8 @@ def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers:nil) - list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:custom_headers).value! + def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! end # @@ -817,7 +812,7 @@ def list_global_by_resource_group_for_topic_type_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers:nil) + def list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -825,7 +820,6 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -882,8 +876,8 @@ def list_global_by_resource_group_for_topic_type_async(resource_group_name, topi # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription(location, custom_headers:nil) - response = list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! response.body unless response.nil? end @@ -899,8 +893,8 @@ def list_regional_by_subscription(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_with_http_info(location, custom_headers:nil) - list_regional_by_subscription_async(location, custom_headers:custom_headers).value! + def list_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! end # @@ -915,14 +909,13 @@ def list_regional_by_subscription_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_async(location, custom_headers:nil) + def list_regional_by_subscription_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -982,8 +975,8 @@ def list_regional_by_subscription_async(location, custom_headers:nil) # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group(resource_group_name, location, custom_headers:nil) - response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! response.body unless response.nil? end @@ -1002,8 +995,8 @@ def list_regional_by_resource_group(resource_group_name, location, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers:nil) - list_regional_by_resource_group_async(resource_group_name, location, custom_headers:custom_headers).value! + def list_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! end # @@ -1021,7 +1014,7 @@ def list_regional_by_resource_group_with_http_info(resource_group_name, location # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_async(resource_group_name, location, custom_headers:nil) + def list_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1029,7 +1022,6 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1088,8 +1080,8 @@ def list_regional_by_resource_group_async(resource_group_name, location, custom_ # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers:nil) - response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1099,8 @@ def list_regional_by_subscription_for_topic_type(location, topic_type_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers:nil) - list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! end # @@ -1125,7 +1117,7 @@ def list_regional_by_subscription_for_topic_type_with_http_info(location, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers:nil) + def list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? @@ -1133,7 +1125,6 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1194,8 +1185,8 @@ def list_regional_by_subscription_for_topic_type_async(location, topic_type_name # # @return [EventSubscriptionsListResult] operation results. # - def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers:nil) - response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -1215,8 +1206,8 @@ def list_regional_by_resource_group_for_topic_type(resource_group_name, location # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers:nil) - list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:custom_headers).value! + def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! end # @@ -1235,7 +1226,7 @@ def list_regional_by_resource_group_for_topic_type_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers:nil) + def list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'location is nil' if location.nil? @@ -1244,7 +1235,6 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,8 +1294,8 @@ def list_regional_by_resource_group_for_topic_type_async(resource_group_name, lo # # @return [EventSubscriptionsListResult] operation results. # - def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -1324,8 +1314,8 @@ def list_by_resource(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -1343,7 +1333,7 @@ def list_by_resource_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -1353,7 +1343,6 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1413,8 +1402,8 @@ def list_by_resource_async(resource_group_name, provider_namespace, resource_typ # # @return [EventSubscriptionsListResult] operation results. # - def list_by_domain_topic(resource_group_name, domain_name, topic_name, custom_headers:nil) - response = list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers:custom_headers).value! + def list_by_domain_topic(resource_group_name, domain_name, topic_name, custom_headers = nil) + response = list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -1433,8 +1422,8 @@ def list_by_domain_topic(resource_group_name, domain_name, topic_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_domain_topic_with_http_info(resource_group_name, domain_name, topic_name, custom_headers:nil) - list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers:custom_headers).value! + def list_by_domain_topic_with_http_info(resource_group_name, domain_name, topic_name, custom_headers = nil) + list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers).value! end # @@ -1452,7 +1441,7 @@ def list_by_domain_topic_with_http_info(resource_group_name, domain_name, topic_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers:nil) + def list_by_domain_topic_async(resource_group_name, domain_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'domain_name is nil' if domain_name.nil? @@ -1461,7 +1450,6 @@ def list_by_domain_topic_async(resource_group_name, domain_name, topic_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1533,8 +1521,8 @@ def list_by_domain_topic_async(resource_group_name, domain_name, topic_name, cus # # @return [EventSubscription] operation results. # - def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! response.body unless response.nil? end @@ -1565,8 +1553,8 @@ def begin_create_or_update(scope, event_subscription_name, event_subscription_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers:nil) - begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! end # @@ -1596,7 +1584,7 @@ def begin_create_or_update_with_http_info(scope, event_subscription_name, event_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers:nil) + def begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? @@ -1604,12 +1592,13 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscription.mapper() request_content = @client.serialize(request_mapper, event_subscription_info) @@ -1677,8 +1666,8 @@ def begin_create_or_update_async(scope, event_subscription_name, event_subscript # will be added to the HTTP request. # # - def begin_delete(scope, event_subscription_name, custom_headers:nil) - response = begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! nil end @@ -1703,8 +1692,8 @@ def begin_delete(scope, event_subscription_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:nil) - begin_delete_async(scope, event_subscription_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! end # @@ -1728,14 +1717,13 @@ def begin_delete_with_http_info(scope, event_subscription_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(scope, event_subscription_name, custom_headers:nil) + def begin_delete_async(scope, event_subscription_name, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1795,8 +1783,8 @@ def begin_delete_async(scope, event_subscription_name, custom_headers:nil) # # @return [EventSubscription] operation results. # - def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1824,8 +1812,8 @@ def begin_update(scope, event_subscription_name, event_subscription_update_param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) - begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! end # @@ -1852,7 +1840,7 @@ def begin_update_with_http_info(scope, event_subscription_name, event_subscripti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers:nil) + def begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? @@ -1860,12 +1848,13 @@ def begin_update_async(scope, event_subscription_name, event_subscription_update 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscriptionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, event_subscription_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb index 63c8ea8dcd..ce1d25fcbb 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb @@ -33,8 +33,8 @@ def initialize attr_accessor :operatorType - # @return [String] The filter key. Represents an event property with upto - # two levels of nesting. + # @return [String] The filter key. Represents an event property with up + # to two levels of nesting. attr_accessor :key @@ -44,7 +44,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdvancedFilter', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'AdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb index a884c15b07..87717576fb 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BoolEquals', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'BoolEqualsAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb index 29d89984e3..967b239188 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb @@ -32,7 +32,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb index 280abb606e..b8d95cdaec 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb @@ -36,7 +36,6 @@ class Domain < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Domain', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'Domain', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -53,7 +51,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -62,7 +59,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -71,7 +67,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -95,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +96,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', @@ -113,7 +104,6 @@ def self.mapper() } }, input_schema: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchema', type: { @@ -121,7 +111,6 @@ def self.mapper() } }, input_schema_mapping: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchemaMapping', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb index 67424ee892..292b8b7af1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb @@ -22,7 +22,6 @@ class DomainRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DomainRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb index a95c3f8ea7..5059d0d16b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb @@ -25,7 +25,6 @@ class DomainSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DomainSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb index 0ed37ffbc0..2aa6f3e15d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb @@ -19,7 +19,6 @@ class DomainTopic < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainTopic', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'DomainTopic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -36,7 +34,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -45,7 +42,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb index 17513be024..62073d5ac0 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb @@ -22,7 +22,6 @@ class DomainTopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainTopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'DomainTopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DomainTopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb index 2ee499b4d8..fa63e65fff 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb @@ -22,7 +22,6 @@ class DomainUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'DomainUpdateParameters', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb index a476401c7a..ab60c7af3e 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb @@ -22,7 +22,6 @@ class DomainsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'DomainsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DomainElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb index 245d681865..a1b5165781 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventHub', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EventHubEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb index fcc6aab49a..b977ca2bf6 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -56,7 +56,6 @@ class EventSubscription < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscription', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'EventSubscription', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.topic', @@ -100,7 +95,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -109,7 +103,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: false, serialized_name: 'properties.destination', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'properties.filter', type: { @@ -129,13 +121,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, expiration_time_utc: { - client_side_validation: true, required: false, serialized_name: 'properties.expirationTimeUtc', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, event_delivery_schema: { - client_side_validation: true, required: false, serialized_name: 'properties.eventDeliverySchema', type: { @@ -161,7 +149,6 @@ def self.mapper() } }, retry_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retryPolicy', type: { @@ -170,7 +157,6 @@ def self.mapper() } }, dead_letter_destination: { - client_side_validation: true, required: false, serialized_name: 'properties.deadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb index 355430c157..a0670dba4c 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb index 359080bbe1..c244737fe9 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -44,7 +44,6 @@ class EventSubscriptionFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { - client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, subject_ends_with: { - client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, included_event_types: { - client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, is_subject_case_sensitive: { - client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, @@ -93,13 +87,11 @@ def self.mapper() } }, advanced_filters: { - client_side_validation: true, required: false, serialized_name: 'advancedFilters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdvancedFilterElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb index 764d519acb..6adeb3b1de 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -23,7 +23,6 @@ class EventSubscriptionFullUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFullUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EventSubscriptionFullUrl', model_properties: { endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'endpointUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb index a9c37c0c9d..12168bafb1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -49,7 +49,6 @@ class EventSubscriptionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionUpdateParameters', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'EventSubscriptionUpdateParameters', model_properties: { destination: { - client_side_validation: true, required: false, serialized_name: 'destination', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, filter: { - client_side_validation: true, required: false, serialized_name: 'filter', type: { @@ -77,13 +74,11 @@ def self.mapper() } }, labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, expiration_time_utc: { - client_side_validation: true, required: false, serialized_name: 'expirationTimeUtc', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, event_delivery_schema: { - client_side_validation: true, required: false, serialized_name: 'eventDeliverySchema', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, retry_policy: { - client_side_validation: true, required: false, serialized_name: 'retryPolicy', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, dead_letter_destination: { - client_side_validation: true, required: false, serialized_name: 'deadLetterDestination', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb index 4ca120c3ff..79436465b2 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -22,7 +22,6 @@ class EventSubscriptionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventSubscriptionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventSubscriptionElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb index 9e58df90a0..b5cc6812d4 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb @@ -28,7 +28,6 @@ class EventType < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventType', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EventType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -79,7 +73,6 @@ def self.mapper() } }, schema_url: { - client_side_validation: true, required: false, serialized_name: 'properties.schemaUrl', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb index 6a9282622c..d97f790bbc 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -22,7 +22,6 @@ class EventTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EventTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventTypeElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb index 4b30afd660..d9d68b8aa8 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb @@ -32,7 +32,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridConnection', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'HybridConnectionEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb index 0bbe92ea99..5f8a718f48 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InputSchemaMapping', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb index d3d0172990..6e00af92f6 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb @@ -8,7 +8,7 @@ module Models # # This is used to express the source of an input schema mapping for a # single target field in the Event Grid Event schema. This is currently - # used in the mappings for the 'id','topic' and 'eventtime' properties. + # used in the mappings for the 'id','topic' and 'eventTime' properties. # This represents a field in the input event schema. # class JsonField @@ -26,7 +26,6 @@ class JsonField # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JsonField', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'JsonField', model_properties: { source_field: { - client_side_validation: true, required: false, serialized_name: 'sourceField', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb index 53679b2a84..bda8f39b5a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb @@ -8,7 +8,7 @@ module Models # # This is used to express the source of an input schema mapping for a # single target field in the Event Grid Event schema. This is currently - # used in the mappings for the 'subject','eventtype' and 'dataversion' + # used in the mappings for the 'subject','eventType' and 'dataVersion' # properties. This represents a field in the input event schema along with # a default value to be used, and at least one of these two properties # should be provided. @@ -33,7 +33,6 @@ class JsonFieldWithDefault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JsonFieldWithDefault', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'JsonFieldWithDefault', model_properties: { source_field: { - client_side_validation: true, required: false, serialized_name: 'sourceField', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb index 737202b010..ccf2ddb453 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb @@ -52,7 +52,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Json', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'JsonInputSchemaMapping', model_properties: { inputSchemaMappingType: { - client_side_validation: true, required: true, serialized_name: 'inputSchemaMappingType', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'properties.id', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, serialized_name: 'properties.topic', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, event_time: { - client_side_validation: true, required: false, serialized_name: 'properties.eventTime', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, event_type: { - client_side_validation: true, required: false, serialized_name: 'properties.eventType', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, subject: { - client_side_validation: true, required: false, serialized_name: 'properties.subject', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, data_version: { - client_side_validation: true, required: false, serialized_name: 'properties.dataVersion', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb index 5bcf9c4110..06c21b8efe 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberGreaterThan', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberGreaterThanAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb index 4ff8651a30..ef39070bdd 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberGreaterThanOrEquals', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberGreaterThanOrEqualsAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb index 6abcea9b1b..30df59e03d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberIn', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberInAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FloatElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb index 2e7b25adf0..462e1fd60b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberLessThan', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberLessThanAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb index 8d1adfe8f7..15e4997278 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberLessThanOrEquals', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberLessThanOrEqualsAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb index 6041bb7fc3..0d9a2ee9ae 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NumberNotIn', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'NumberNotInAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FloatElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb index c91ac1f688..c30142391a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb @@ -31,7 +31,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb index 27c2f1c6cf..ffe904d64f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb @@ -31,7 +31,6 @@ class OperationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationInfo', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationInfo', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb index 45493001fc..49f7645805 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -22,7 +22,6 @@ class OperationsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'OperationsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb index 4a994746a1..7e792448b1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb @@ -22,22 +22,12 @@ class Resource attr_accessor :type - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb index a00cfdd1b0..c9f8a59bfd 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb @@ -25,7 +25,6 @@ class RetryPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetryPolicy', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RetryPolicy', model_properties: { max_delivery_attempts: { - client_side_validation: true, required: false, serialized_name: 'maxDeliveryAttempts', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, event_time_to_live_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'eventTimeToLiveInMinutes', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb index 18e62488b7..577548bfce 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageBlob', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'StorageBlobDeadLetterDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, blob_container_name: { - client_side_validation: true, required: false, serialized_name: 'properties.blobContainerName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb index a7377746c1..127f856508 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb @@ -35,7 +35,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageQueue', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'StorageQueueEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, queue_name: { - client_side_validation: true, required: false, serialized_name: 'properties.queueName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb index 0c1d5ea1fd..ed632569f3 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StringBeginsWith', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StringBeginsWithAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb index b062474113..7a4d81d029 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StringContains', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StringContainsAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb index 748e9fe4c9..7f67cba3a9 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StringEndsWith', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StringEndsWithAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb index 7c1169d696..a99fd554dd 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StringIn', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StringInAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb index 8d1b1d6867..82fb4185d3 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StringNotIn', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StringNotInAdvancedFilter', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, operatorType: { - client_side_validation: true, required: true, serialized_name: 'operatorType', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb index 930ba4250b..3b68ac436f 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb @@ -39,7 +39,6 @@ class Topic < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topic', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'Topic', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -107,7 +99,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpoint', @@ -116,7 +107,6 @@ def self.mapper() } }, input_schema: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchema', default_value: 'EventGridSchema', @@ -125,7 +115,6 @@ def self.mapper() } }, input_schema_mapping: { - client_side_validation: true, required: false, serialized_name: 'properties.inputSchemaMapping', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb index f8d8c33d41..e2aa0c60a2 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -22,7 +22,6 @@ class TopicRegenerateKeyRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicRegenerateKeyRequest', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'TopicRegenerateKeyRequest', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb index dc779c57d0..f2b17d656a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -25,7 +25,6 @@ class TopicSharedAccessKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicSharedAccessKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TopicSharedAccessKeys', model_properties: { key1: { - client_side_validation: true, required: false, serialized_name: 'key1', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key2: { - client_side_validation: true, required: false, serialized_name: 'key2', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb index effca16bd9..86043c5b0a 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -40,7 +40,6 @@ class TopicTypeInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfo', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'TopicTypeInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, serialized_name: 'properties.provider', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, resource_region_type: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceRegionType', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -115,13 +106,11 @@ def self.mapper() } }, supported_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.supportedLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb index 459beb4c2a..efbf64dc22 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -22,7 +22,6 @@ class TopicTypesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicTypesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicTypesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicTypeInfoElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb index de6b2c786f..156a2973d1 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb @@ -22,7 +22,6 @@ class TopicUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicUpdateParameters', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb index 555ea6e42a..291377a572 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -22,7 +22,6 @@ class TopicsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopicsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopicsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopicElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb index c17f56cc37..c2b159d3ea 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -68,13 +63,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb index de94d19b17..a0388d2886 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb @@ -34,7 +34,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebHook', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WebHookEventSubscriptionDestination', model_properties: { endpointType: { - client_side_validation: true, required: true, serialized_name: 'endpointType', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, endpoint_url: { - client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, endpoint_base_url: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb index 385f725935..fe29ef676b 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationsListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -63,12 +63,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb index dfb347fc8f..0e8cfb8be9 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [TopicTypesListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +119,8 @@ def list_async(custom_headers:nil) # # @return [TopicTypeInfo] operation results. # - def get(topic_type_name, custom_headers:nil) - response = get_async(topic_type_name, custom_headers:custom_headers).value! + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -136,8 +135,8 @@ def get(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(topic_type_name, custom_headers:nil) - get_async(topic_type_name, custom_headers:custom_headers).value! + def get_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! end # @@ -151,13 +150,12 @@ def get_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(topic_type_name, custom_headers:nil) + def get_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +211,8 @@ def get_async(topic_type_name, custom_headers:nil) # # @return [EventTypesListResult] operation results. # - def list_event_types(topic_type_name, custom_headers:nil) - response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! response.body unless response.nil? end @@ -229,8 +227,8 @@ def list_event_types(topic_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(topic_type_name, custom_headers:nil) - list_event_types_async(topic_type_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! end # @@ -244,13 +242,12 @@ def list_event_types_with_http_info(topic_type_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(topic_type_name, custom_headers:nil) + def list_event_types_async(topic_type_name, custom_headers = nil) fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb index 4afa41f980..276802d97d 100644 --- a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Topic] operation results. # - def get(resource_group_name, topic_name, custom_headers:nil) - response = get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) - get_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, topic_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, topic_name, custom_headers:nil) + def get_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def get_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -152,9 +151,9 @@ def create_or_update(resource_group_name, topic_name, topic_info, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +180,8 @@ def create_or_update_async(resource_group_name, topic_name, topic_info, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, topic_name, custom_headers:nil) - response = delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -196,9 +195,9 @@ def delete(resource_group_name, topic_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, topic_name, custom_headers:nil) + def delete_async(resource_group_name, topic_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -227,8 +226,8 @@ def delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -244,9 +243,9 @@ def update(resource_group_name, topic_name, topic_update_parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +271,8 @@ def update_async(resource_group_name, topic_name, topic_update_parameters, custo # # @return [TopicsListResult] operation results. # - def list_by_subscription(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! response.body unless response.nil? end @@ -287,8 +286,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -301,13 +300,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +362,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [TopicsListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -381,8 +379,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -462,8 +459,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [TopicSharedAccessKeys] operation results. # - def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) - response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! response.body unless response.nil? end @@ -480,8 +477,8 @@ def list_shared_access_keys(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers:nil) - list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def list_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! end # @@ -497,7 +494,7 @@ def list_shared_access_keys_with_http_info(resource_group_name, topic_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers:nil) + def list_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -505,7 +502,6 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +561,8 @@ def list_shared_access_keys_async(resource_group_name, topic_name, custom_header # # @return [TopicSharedAccessKeys] operation results. # - def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! response.body unless response.nil? end @@ -585,8 +581,8 @@ def regenerate_key(resource_group_name, topic_name, regenerate_key_request, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) - regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! end # @@ -604,7 +600,7 @@ def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_ke # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil) + def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -613,12 +609,13 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicRegenerateKeyRequest.mapper() request_content = @client.serialize(request_mapper, regenerate_key_request) @@ -680,8 +677,8 @@ def regenerate_key_async(resource_group_name, topic_name, regenerate_key_request # # @return [EventTypesListResult] operation results. # - def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_event_types(resource_group_name, provider_namespace, resource_type_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) - list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:custom_headers).value! + def list_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! end # @@ -719,7 +716,7 @@ def list_event_types_with_http_info(resource_group_name, provider_namespace, res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers:nil) + def list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? @@ -729,7 +726,6 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,8 +784,8 @@ def list_event_types_async(resource_group_name, provider_namespace, resource_typ # # @return [Topic] operation results. # - def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! response.body unless response.nil? end @@ -807,8 +803,8 @@ def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers:nil) - begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! end # @@ -825,7 +821,7 @@ def begin_create_or_update_with_http_info(resource_group_name, topic_name, topic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -834,12 +830,13 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::Topic.mapper() request_content = @client.serialize(request_mapper, topic_info) @@ -898,8 +895,8 @@ def begin_create_or_update_async(resource_group_name, topic_name, topic_info, cu # will be added to the HTTP request. # # - def begin_delete(resource_group_name, topic_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! nil end @@ -916,8 +913,8 @@ def begin_delete(resource_group_name, topic_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers:nil) - begin_delete_async(resource_group_name, topic_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! end # @@ -933,7 +930,7 @@ def begin_delete_with_http_info(resource_group_name, topic_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) + def begin_delete_async(resource_group_name, topic_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -941,7 +938,6 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -991,8 +987,8 @@ def begin_delete_async(resource_group_name, topic_name, custom_headers:nil) # # @return [Topic] operation results. # - def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1011,8 +1007,8 @@ def begin_update(resource_group_name, topic_name, topic_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! end # @@ -1030,7 +1026,7 @@ def begin_update_with_http_info(resource_group_name, topic_name, topic_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'topic_name is nil' if topic_name.nil? @@ -1039,12 +1035,13 @@ def begin_update_async(resource_group_name, topic_name, topic_update_parameters, 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'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicUpdateParameters.mapper() request_content = @client.serialize(request_mapper, topic_update_parameters) diff --git a/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..09e72133d4 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2018_09_15_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb b/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb index 94cd765896..5ede49efe5 100644 --- a/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb +++ b/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb @@ -2,9 +2,9 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2017-09-15-preview/generated/azure_mgmt_event_grid' -require '2017-06-15-preview/generated/azure_mgmt_event_grid' +require '2018-05-01-preview/generated/azure_mgmt_event_grid' require '2018-01-01/generated/azure_mgmt_event_grid' require '2018-09-15-preview/generated/azure_mgmt_event_grid' -require '2018-05-01-preview/generated/azure_mgmt_event_grid' +require '2017-09-15-preview/generated/azure_mgmt_event_grid' +require '2017-06-15-preview/generated/azure_mgmt_event_grid' require 'profiles/latest/eventgrid_latest_profile_client' diff --git a/management/azure_mgmt_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb b/management/azure_mgmt_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb index 71332d40a6..e6cf9ace07 100644 --- a/management/azure_mgmt_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb +++ b/management/azure_mgmt_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb @@ -14,6 +14,12 @@ module Mgmt TopicTypes = Azure::EventGrid::Mgmt::V2018_09_15_preview::TopicTypes module Models + InputSchema = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::InputSchema + EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscriptionProvisioningState + EventDeliverySchema = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventDeliverySchema + TopicProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicProvisioningState + ResourceRegionType = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::ResourceRegionType + TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicTypeProvisioningState TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicSharedAccessKeys InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::InputSchemaMapping TopicsListResult = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicsListResult @@ -66,12 +72,6 @@ module Models EventType = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventType TopicTypeInfo = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicTypeInfo DomainProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::DomainProvisioningState - InputSchema = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::InputSchema - EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscriptionProvisioningState - EventDeliverySchema = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventDeliverySchema - TopicProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicProvisioningState - ResourceRegionType = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::ResourceRegionType - TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicTypeProvisioningState end # @@ -124,6 +124,24 @@ def method_missing(method, *args) end class ModelClasses + def input_schema + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::InputSchema + end + def event_subscription_provisioning_state + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscriptionProvisioningState + end + def event_delivery_schema + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventDeliverySchema + end + def topic_provisioning_state + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicProvisioningState + end + def resource_region_type + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::ResourceRegionType + end + def topic_type_provisioning_state + Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicTypeProvisioningState + end def topic_shared_access_keys Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicSharedAccessKeys end @@ -280,24 +298,6 @@ def topic_type_info def domain_provisioning_state Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::DomainProvisioningState end - def input_schema - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::InputSchema - end - def event_subscription_provisioning_state - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventSubscriptionProvisioningState - end - def event_delivery_schema - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::EventDeliverySchema - end - def topic_provisioning_state - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicProvisioningState - end - def resource_region_type - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::ResourceRegionType - end - def topic_type_provisioning_state - Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicTypeProvisioningState - end end end end From 617632229589e6a323c3e69efd5d4feaef6f521b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 17 Dec 2018 14:07:18 -0800 Subject: [PATCH 2/2] [AutoPR eventgrid/resource-manager] Event Grid 2019-01-01 API Version: Swagger and related test examples (#2078) * Generated from aef05ab1bf75b3331eaeecbba38705866d5c1e2c fix readme files to reflect correct location to eventgrid json file for stable version * Generated from b0f3e93928a621c5314b74142dd59e2922a04173 Adds suppression to readme --- .../analysisservices_profile_module.rb | 6 +- .../modules/apimanagement_profile_module.rb | 82 +- .../modules/automation_profile_module.rb | 56 +- .../latest/modules/batch_profile_module.rb | 136 +- .../lib/latest/modules/cdn_profile_module.rb | 106 +- .../cognitiveservices_profile_module.rb | 54 +- .../latest/modules/commerce_profile_module.rb | 8 +- .../latest/modules/compute_profile_module.rb | 206 +- .../modules/consumption_profile_module.rb | 56 +- .../containerinstance_profile_module.rb | 22 +- .../containerregistry_profile_module.rb | 96 +- .../containerservice_profile_module.rb | 6 +- .../contentmoderator_profile_module.rb | 158 +- .../customerinsights_profile_module.rb | 32 +- .../modules/customsearch_profile_module.rb | 48 +- .../datalakeanalytics_profile_module.rb | 22 +- .../modules/datalakestore_profile_module.rb | 22 +- .../modules/devspaces_profile_module.rb | 38 +- .../modules/devtestlabs_profile_module.rb | 58 +- .../lib/latest/modules/dns_profile_module.rb | 16 +- .../modules/entitysearch_profile_module.rb | 30 +- .../modules/eventgrid_profile_module.rb | 6 +- .../latest/modules/eventhub_profile_module.rb | 14 +- .../lib/latest/modules/face_profile_module.rb | 66 +- .../latest/modules/features_profile_module.rb | 16 +- .../modules/graphrbac_profile_module.rb | 32 +- .../modules/imagesearch_profile_module.rb | 16 +- .../latest/modules/iothub_profile_module.rb | 38 +- .../latest/modules/keyvault_profile_module.rb | 84 +- .../latest/modules/links_profile_module.rb | 16 +- .../latest/modules/locks_profile_module.rb | 24 +- .../latest/modules/logic_profile_module.rb | 230 +-- .../modules/machinelearning_profile_module.rb | 32 +- .../managedapplications_profile_module.rb | 24 +- .../managedserviceidentity_profile_module.rb | 16 +- .../marketplaceordering_profile_module.rb | 24 +- .../modules/mediaservices_profile_module.rb | 142 +- .../latest/modules/monitor_profile_module.rb | 116 +- .../latest/modules/network_profile_module.rb | 246 +-- .../modules/newssearch_profile_module.rb | 20 +- .../notificationhubs_profile_module.rb | 6 +- .../operationalinsights_profile_module.rb | 58 +- .../latest/modules/policy_profile_module.rb | 38 +- .../modules/policyinsights_profile_module.rb | 36 +- .../modules/powerbiembedded_profile_module.rb | 64 +- .../recoveryservices_profile_module.rb | 30 +- .../recoveryservicesbackup_profile_module.rb | 188 +- ...veryservicessiterecovery_profile_module.rb | 268 +-- .../latest/modules/redis_profile_module.rb | 86 +- .../latest/modules/relay_profile_module.rb | 78 +- .../modules/resources_profile_module.rb | 30 +- .../resourcesmanagement_profile_module.rb | 76 +- .../modules/scheduler_profile_module.rb | 34 +- .../latest/modules/search_profile_module.rb | 68 +- .../latest/modules/security_profile_module.rb | 34 +- .../modules/servicebus_profile_module.rb | 46 +- .../modules/servicefabric_profile_module.rb | 110 +- .../latest/modules/signalr_profile_module.rb | 28 +- .../modules/spellcheck_profile_module.rb | 36 +- .../lib/latest/modules/sql_profile_module.rb | 200 +- .../latest/modules/storage_profile_module.rb | 74 +- .../storsimple8000series_profile_module.rb | 52 +- .../modules/streamanalytics_profile_module.rb | 48 +- .../modules/subscriptions_profile_module.rb | 6 +- .../modules/textanalytics_profile_module.rb | 16 +- .../modules/trafficmanager_profile_module.rb | 10 +- .../modules/videosearch_profile_module.rb | 14 +- .../lib/latest/modules/web_profile_module.rb | 338 ++-- .../modules/websearch_profile_module.rb | 120 +- .../modules/compute_profile_module.rb | 26 +- .../v2017_03_09/modules/dns_profile_module.rb | 14 +- .../modules/features_profile_module.rb | 16 +- .../modules/keyvault_profile_module.rb | 84 +- .../modules/links_profile_module.rb | 16 +- .../modules/network_profile_module.rb | 146 +- .../modules/policy_profile_module.rb | 16 +- .../modules/resources_profile_module.rb | 26 +- .../modules/storage_profile_module.rb | 54 +- .../modules/subscriptions_profile_module.rb | 6 +- .../modules/compute_profile_module.rb | 42 +- .../v2018_03_01/modules/dns_profile_module.rb | 14 +- .../modules/keyvault_profile_module.rb | 84 +- .../modules/locks_profile_module.rb | 24 +- .../modules/network_profile_module.rb | 378 ++-- .../modules/policy_profile_module.rb | 24 +- .../modules/resources_profile_module.rb | 46 +- .../modules/storage_profile_module.rb | 54 +- .../modules/subscriptions_profile_module.rb | 6 +- .../v2018_03_01/modules/web_profile_module.rb | 32 +- .../generated/azure_mgmt_event_grid.rb | 62 + .../event_grid_management_client.rb | 143 ++ .../event_subscriptions.rb | 1799 +++++++++++++++++ .../models/dead_letter_destination.rb | 49 + ...vent_hub_event_subscription_destination.rb | 59 + .../models/event_subscription.rb | 153 ++ .../models/event_subscription_destination.rb | 48 + .../models/event_subscription_filter.rb | 92 + .../models/event_subscription_full_url.rb | 45 + .../event_subscription_provisioning_state.rb | 21 + .../event_subscription_update_parameters.rb | 105 + .../models/event_subscriptions_list_result.rb | 52 + .../models/event_type.rb | 88 + .../models/event_types_list_result.rb | 52 + ...nnection_event_subscription_destination.rb | 61 + .../azure_mgmt_event_grid/models/operation.rb | 75 + .../models/operation_info.rb | 74 + .../models/operations_list_result.rb | 52 + .../azure_mgmt_event_grid/models/resource.rb | 67 + .../models/resource_region_type.rb | 16 + .../models/retry_policy.rb | 54 + .../storage_blob_dead_letter_destination.rb | 71 + ...ge_queue_event_subscription_destination.rb | 71 + .../azure_mgmt_event_grid/models/topic.rb | 103 + .../models/topic_provisioning_state.rb | 20 + .../models/topic_regenerate_key_request.rb | 44 + .../models/topic_shared_access_keys.rb | 54 + .../models/topic_type_info.rb | 128 ++ .../models/topic_type_provisioning_state.rb | 20 + .../models/topic_types_list_result.rb | 52 + .../models/topic_update_parameters.rb | 51 + .../models/topics_list_result.rb | 52 + .../models/tracked_resource.rb | 85 + ...web_hook_event_subscription_destination.rb | 71 + .../module_definition.rb | 9 + .../azure_mgmt_event_grid/operations.rb | 115 ++ .../azure_mgmt_event_grid/topic_types.rb | 296 +++ .../generated/azure_mgmt_event_grid/topics.rb | 1092 ++++++++++ .../azure_mgmt_event_grid/version.rb | 8 + .../lib/azure_mgmt_event_grid.rb | 1 + 129 files changed, 8370 insertions(+), 2860 deletions(-) create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb create mode 100644 management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/version.rb diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index d0775bedd4..e3a5a30211 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module AnalysisServices module Mgmt - Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations Servers = Azure::AnalysisServices::Mgmt::V2017_08_01::Servers + Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations module Models Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource @@ -41,7 +41,7 @@ module Models end class AnalysisServicesManagementClass - attr_reader :operations, :servers, :configurable, :base_url, :options, :model_classes + attr_reader :servers, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -51,8 +51,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @servers = @client_0.servers + @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index a3952bafaa..ef45cfb07a 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -39,15 +39,15 @@ 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 - Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy Product = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Product + ProductApi = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductApi 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 + Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy ProductPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductPolicy - 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 + Property = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Property Reports = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Reports TagResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagResource TagDescription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagDescription @@ -79,7 +79,6 @@ module Models ApiExportResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiExportResult HostnameConfigurationOld = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfigurationOld CertificateInformation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation - OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult CertificateConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateConfiguration ApiCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection HostnameConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfiguration @@ -112,18 +111,19 @@ module Models RegionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionContract BodyDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BodyDiagnosticSettings PipelineDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings + ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails UserIdentityCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserIdentityCollection 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 ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters + OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties 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 TagCreateUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters - TokenBodyParameterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TokenBodyParameterContract + EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties EmailTemplateCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateCollection BackendAuthorizationHeaderCredentials = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendAuthorizationHeaderCredentials EmailTemplateUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateUpdateParameters @@ -148,21 +148,21 @@ module Models ApiRevisionCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionCollection SubscriptionCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionCreateParameters ApiVersionSetEntityBase = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetEntityBase - EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties 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 - OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties - IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + TokenBodyParameterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TokenBodyParameterContract + ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection + RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection 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 + OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult + IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters LoggerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection - RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection - TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult + LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection RequestReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract @@ -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, :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 + 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, :product_api, :product_group, :product_subscriptions, :policy, :product_policy, :quota_by_counter_keys, :quota_by_period_keys, :property, :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,15 +323,15 @@ 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 - @policy = @client_0.policy @product = @client_0.product + @product_api = @client_0.product_api @product_group = @client_0.product_group @product_subscriptions = @client_0.product_subscriptions - @product_api = @client_0.product_api + @policy = @client_0.policy @product_policy = @client_0.product_policy - @property = @client_0.property @quota_by_counter_keys = @client_0.quota_by_counter_keys @quota_by_period_keys = @client_0.quota_by_period_keys + @property = @client_0.property @reports = @client_0.reports @tag_resource = @client_0.tag_resource @tag_description = @client_0.tag_description @@ -405,9 +405,6 @@ def hostname_configuration_old def certificate_information Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation end - def operation_list_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult - end def certificate_configuration Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateConfiguration end @@ -504,21 +501,24 @@ def body_diagnostic_settings def pipeline_diagnostic_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings end + def api_version_set_contract_details + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails + end def user_identity_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserIdentityCollection end def tag_description_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionCollection end - def api_version_set_contract_details - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails - end def product_entity_base_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters end def api_management_service_update_hostname_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters end + def operation_tag_resource_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + end def tag_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties end @@ -537,8 +537,8 @@ def authorization_server_collection def tag_create_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters end - def token_body_parameter_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TokenBodyParameterContract + def email_template_parameters_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties end def email_template_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateCollection @@ -612,9 +612,6 @@ def subscription_create_parameters def api_version_set_entity_base Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetEntityBase end - def email_template_parameters_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties - end def identity_provider_list Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderList end @@ -624,39 +621,42 @@ def request_contract def identity_provider_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters end - def operation_tag_resource_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + def token_body_parameter_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TokenBodyParameterContract end - def identity_provider_base_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + def api_version_set_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection end def issue_comment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection end + def request_report_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection + 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 + def operation_list_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult end - def logger_update_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + def identity_provider_base_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters 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 + def generate_sso_url_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult + end + def logger_update_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract end 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 - end def diagnostic_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index 8aff49bf7d..2f646724e0 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,10 +7,6 @@ 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 DscCompilationJobOperations = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobOperations DscCompilationJobStream = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobStream DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations @@ -39,6 +35,10 @@ 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 + ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations + ConnectionTypeOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionTypeOperations + CredentialOperations = Azure::Automation::Mgmt::V2015_10_31::CredentialOperations module Models Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job @@ -141,21 +141,21 @@ module Models DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult 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 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 DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode 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 + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate 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 @@ -182,7 +182,7 @@ module Models end class AutomationManagementClass - 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 + attr_reader :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, :connection_operations, :connection_type_operations, :credential_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -192,10 +192,6 @@ 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 @dsc_compilation_job_operations = @client_0.dsc_compilation_job_operations @dsc_compilation_job_stream = @client_0.dsc_compilation_job_stream @dsc_configuration_operations = @client_0.dsc_configuration_operations @@ -224,6 +220,10 @@ 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 + @connection_operations = @client_0.connection_operations + @connection_type_operations = @client_0.connection_type_operations + @credential_operations = @client_0.credential_operations @model_classes = ModelClasses.new end @@ -542,20 +542,20 @@ def runbook_create_or_update_draft_parameters def runbook_create_or_update_draft_properties Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties end - def credential - Azure::Automation::Mgmt::V2015_10_31::Models::Credential - end def connection Azure::Automation::Mgmt::V2015_10_31::Models::Connection end + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + end def certificate_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters end - def dsc_node - Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + def credential + Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration 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 dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def schedule + Azure::Automation::Mgmt::V2015_10_31::Models::Schedule end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel @@ -572,8 +572,8 @@ def module_model def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + def dsc_node + Azure::Automation::Mgmt::V2015_10_31::Models::DscNode end def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable @@ -584,8 +584,8 @@ def webhook def sku_name_enum Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum end - def schedule - Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate end def automation_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 49ca2fc344..1c1a3625bc 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -8,18 +8,14 @@ module Azure::Profiles::Latest 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 + Operations = Azure::Batch::Mgmt::V2017_09_01::Operations 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 UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration @@ -32,30 +28,30 @@ module Models StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference VirtualMachineConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration - ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters - PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration + ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError - NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus - CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties + BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult - ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters + AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult - BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool - AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties - ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount 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 - Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState - PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState + ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType @@ -87,18 +83,22 @@ 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 - ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError + NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource + LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration end class BatchManagementClass - attr_reader :location, :operations, :certificate_operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :certificate_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -109,12 +109,12 @@ def initialize(configurable, base_url=nil, options=nil) end 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 + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -133,18 +133,6 @@ 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 - def cloud_service_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration - end - def linux_user_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration - end def user_account Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount end @@ -181,42 +169,42 @@ def certificate_reference def virtual_machine_configuration Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration end - def application_package_reference - Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + def task_scheduling_policy + Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + end + def cloud_service_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration end def application_create_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters end - def pool_endpoint_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration + def application_package_reference + Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + end + def certificate_base_properties + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties end def resize_error Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError end - def network_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + def application_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters end def resize_operation_status Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus end - def certificate_base_properties - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties + def batch_account_list_result + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult end def list_pools_result Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult end - def application_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters + def auto_storage_properties + Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties end def list_certificates_result Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult end - def batch_account_list_result - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - end - def batch_account - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount - end def windows_configuration Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration end @@ -226,11 +214,11 @@ def data_disk def pool Azure::Batch::Mgmt::V2017_09_01::Models::Pool end - def auto_storage_properties - Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties + def certificate + Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end - def provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + def batch_account + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount end def package_state Azure::Batch::Mgmt::V2017_09_01::Models::PackageState @@ -241,8 +229,8 @@ def pool_allocation_mode def account_key_type Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end - def certificate - Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + def pool_provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end def certificate_create_or_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters @@ -250,8 +238,8 @@ def certificate_create_or_update_parameters def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end - def pool_provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState + def provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState end def allocation_state Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState @@ -346,30 +334,42 @@ def batch_account_regenerate_key_parameters def activate_application_package_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters end - def proxy_resource - Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource + def auto_scale_run_error + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError end def application_package Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage end - def auto_scale_run_error - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + def auto_scale_run + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun 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 + def network_security_group_rule + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule 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 + def pool_endpoint_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration end def delete_certificate_error Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError end + def network_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + end + def check_name_availability_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + end + def proxy_resource + Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource + end + def linux_user_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration + end end end end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index 40d53f49c8..082963dc4e 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,19 +7,15 @@ 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 + Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints 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 ValidateProbeInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput CacheExpirationActionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CacheExpirationActionParameters ValidateProbeOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeOutput @@ -35,16 +31,16 @@ module Models DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction 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 + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState - QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior + ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior 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 @@ -52,33 +48,37 @@ module Models 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 - ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation + ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType 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 Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters 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 CidrIpAddress = Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress EndpointListResult = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult OperationsListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters + DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult + CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult 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 + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput + UrlPathConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters end class CDNManagementClass - attr_reader :operations, :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :configurable, :base_url, :options, :model_classes + attr_reader :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :operations, :endpoints, :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 + @endpoints = @client_0.endpoints @model_classes = ModelClasses.new end @@ -113,18 +113,6 @@ 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 - def check_name_availability_output - Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput - end - def url_path_condition_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters - end def validate_probe_input Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput end @@ -170,17 +158,17 @@ def delivery_rule_cache_expiration_action def origin Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def purge_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters - end - def validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - end def edge_node Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end - def profile_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + end + 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 def optimization_type Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType @@ -188,8 +176,8 @@ def optimization_type 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 + def profile_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState end def tracked_resource Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource @@ -197,8 +185,8 @@ def tracked_resource def origin_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + def query_string_caching_behavior + Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior end def geo_filter_actions Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions @@ -221,12 +209,12 @@ def resource def operation_display Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay 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 resource_type + Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + end def sku_name Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end @@ -242,18 +230,15 @@ def profile_list_result def sku Azure::CDN::Mgmt::V2017_10_12::Models::Sku end + def purge_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters + 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 - def error_response - Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - end - def deep_created_origin - Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin - end def cidr_ip_address Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress end @@ -269,6 +254,9 @@ def delivery_rule_action def profile_update_parameters Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters end + def deep_created_origin + Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin + end def delivery_rule Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule end @@ -281,14 +269,26 @@ def custom_domain_parameters def edgenode_result Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult end + def custom_domain_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + end def validate_custom_domain_input Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput end 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 + def validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + end + def error_response + Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + end + def check_name_availability_output + Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput + end + def url_path_condition_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters 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 244abd4cfc..546f7c6d15 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,14 +7,12 @@ 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 + ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus module Models - SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier - ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions @@ -29,11 +27,11 @@ 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 - Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult + CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys @@ -43,13 +41,15 @@ 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 - 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 + QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus + Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode end class CognitiveServicesManagementClass - attr_reader :operations, :resource_skus, :accounts, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :accounts, :check_sku_availability, :operations, :resource_skus, :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 + @resource_skus = @client_0.resource_skus @model_classes = ModelClasses.new end @@ -81,12 +81,6 @@ def method_missing(method, *args) end class ModelClasses - def sku_tier - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier - end - def resource_sku_restrictions_reason_code - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode - end def resource_sku_restrictions_type Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType end @@ -129,21 +123,21 @@ 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 + end 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 - end def check_sku_availability_parameter Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter end - def sku - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku - end def check_sku_availability_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult end + def cognitive_services_account_enumerate_skus_result + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult + end def cognitive_services_account_create_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters end @@ -171,14 +165,20 @@ def cognitive_services_resource_and_sku def key_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + def unit_type + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType 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 + def error + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + end + def sku_tier + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + end + def resource_sku_restrictions_reason_code + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode end end end diff --git a/azure_sdk/lib/latest/modules/commerce_profile_module.rb b/azure_sdk/lib/latest/modules/commerce_profile_module.rb index 55cb470975..19073ac641 100644 --- a/azure_sdk/lib/latest/modules/commerce_profile_module.rb +++ b/azure_sdk/lib/latest/modules/commerce_profile_module.rb @@ -18,11 +18,11 @@ module Models UsageAggregationListResult = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult OfferTermInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters - ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity + ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse end class CommerceManagementClass @@ -77,9 +77,6 @@ def offer_term_info def rate_card_query_parameters Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters end - def error_response - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse - end def monetary_credit Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit end @@ -92,6 +89,9 @@ def recurring_charge def aggregation_granularity Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity end + def error_response + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse + 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 2314d80603..7c37ce95e4 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -8,8 +8,6 @@ module Azure::Profiles::Latest module Compute module Mgmt ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus - AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines VirtualMachineImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineImages @@ -28,12 +26,10 @@ module Mgmt Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries GalleryImages = Azure::Compute::Mgmt::V2018_06_01::GalleryImages GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions + AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages 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 ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo @@ -41,6 +37,10 @@ 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 + 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 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 @@ -85,15 +85,15 @@ module Models GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus - VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput GalleryImageVersionList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase AdditionalCapabilities = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile - RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration - GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile GalleryIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion @@ -104,18 +104,18 @@ module Models VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters - VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener - KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk - NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration 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 + VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk + StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView @@ -208,7 +208,7 @@ module Models RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile DiskUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate - GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile SnapshotUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult @@ -217,40 +217,40 @@ 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 - GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile 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 - Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk + DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile + SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes - VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile + Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument - SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes 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 - DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames - ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes - Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot + CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes - UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode - OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames - 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 - 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 + MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes + UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes 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 + RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode 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 @@ -262,7 +262,7 @@ module Models end class ComputeManagementClass - attr_reader :resource_skus, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :operations, :log_analytics, :virtual_machine_run_commands, :snapshots, :galleries, :gallery_images, :gallery_image_versions, :configurable, :base_url, :options, :model_classes + attr_reader :resource_skus, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :operations, :log_analytics, :virtual_machine_run_commands, :snapshots, :galleries, :gallery_images, :gallery_image_versions, :availability_sets, :virtual_machine_extension_images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -291,8 +291,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) - @availability_sets = @client_3.availability_sets - @virtual_machine_extension_images = @client_3.virtual_machine_extension_images @virtual_machine_extensions = @client_3.virtual_machine_extensions @virtual_machines = @client_3.virtual_machines @virtual_machine_images = @client_3.virtual_machine_images @@ -311,6 +309,8 @@ def initialize(configurable, base_url=nil, options=nil) @galleries = @client_3.galleries @gallery_images = @client_3.gallery_images @gallery_image_versions = @client_3.gallery_image_versions + @availability_sets = @client_3.availability_sets + @virtual_machine_extension_images = @client_3.virtual_machine_extension_images @model_classes = ModelClasses.new end @@ -335,18 +335,6 @@ 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 - def resource_sku_capacity_scale_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType - end - def resource_sku_restrictions - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - end def resource_sku_restrictions_type Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType end @@ -368,6 +356,18 @@ 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 resource_sku_capabilities + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities + end + def resource_sku_capacity_scale_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType + end + def resource_sku_restrictions + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions + end def operation_status_response Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end @@ -500,8 +500,8 @@ def osdisk_image def regional_replication_status Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus end - def virtual_machine_scale_set_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + def run_command_input + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput end def gallery_image_version_list Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList @@ -515,8 +515,8 @@ def additional_capabilities def virtual_machine_scale_set_osprofile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile end - def run_command_input - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + def gallery_image_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier end def resource_range Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange @@ -524,8 +524,8 @@ def resource_range def recommended_machine_configuration Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration end - def gallery_image_identifier - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + def virtual_machine_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue end def gallery_image_version_storage_profile Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile @@ -557,8 +557,8 @@ def virtual_machine_size_list_result def virtual_machine_capture_parameters Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters end - def virtual_machine_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + def key_vault_key_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference end def disallowed Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed @@ -572,8 +572,8 @@ def usage def win_rmlistener Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener end - def key_vault_key_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + def gallery_image_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList end def sku Azure::Compute::Mgmt::V2018_06_01::Models::Sku @@ -581,17 +581,17 @@ def sku def virtual_hard_disk Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk end - def network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + def ssh_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference end - def diagnostics_profile - Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile + def virtual_machine_scale_set_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk end - def source_vault - Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault + def storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView @@ -869,8 +869,8 @@ def virtual_machine_scale_set_storage_profile def disk_update Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate end - def gallery_image_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + def virtual_machine_scale_set_update_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile end def snapshot_update Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate @@ -896,26 +896,26 @@ 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 gallery_data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + def network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end def gallery_image_version Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion end - def virtual_machine_scale_set_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk + def diagnostics_profile + Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile end - def storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + def source_vault + Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault end - def disk - Azure::Compute::Mgmt::V2018_06_01::Models::Disk + def virtual_machine_scale_set_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue end def status_level_types Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes end - def virtual_machine_scale_set_update_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile + def snapshot + Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot end def virtual_machine_size_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes @@ -923,8 +923,8 @@ def virtual_machine_size_types def run_command_document Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def ssh_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + def disk_create_option_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes end def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings @@ -938,23 +938,23 @@ def gallery def gallery_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage end - def disk_create_option_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + def protocol_types + Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes end def gallery_osdisk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage end - def pass_names - Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + def gallery_data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage end - def component_names - Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + def disk + Azure::Compute::Mgmt::V2018_06_01::Models::Disk end def availability_set_sku_types Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes end - def snapshot - Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot + def caching_types + Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes end def resource_identity_type Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType @@ -962,35 +962,29 @@ def resource_identity_type def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + def pass_names + Azure::Compute::Mgmt::V2018_06_01::Models::PassNames end - def operating_system_state_types - Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + def component_names + Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames end def setting_names Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames end - def protocol_types - Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + def rolling_upgrade_action_type + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType end - def caching_types - Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes + def disk_create_option + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption end def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes end - 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 + def upgrade_mode + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode end - def disk_create_option - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption + def operating_system_state_types + Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes end def access_level Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel @@ -998,6 +992,12 @@ 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 rolling_upgrade_status_code + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode + end def diff_disk_options Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index e949d37505..9457a809d7 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,10 +7,6 @@ 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 Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails @@ -19,6 +15,10 @@ 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 + PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet + CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags + Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts module Models MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails @@ -36,19 +36,19 @@ 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 Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast BillingFrequency = Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType @@ -58,10 +58,10 @@ module Models 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 - Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain + PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType + Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain 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 :budgets, :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :forecasts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,10 +80,6 @@ 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 @operations = @client_0.operations @tags = @client_0.tags @usage_details = @client_0.usage_details @@ -92,6 +88,10 @@ 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 + @price_sheet = @client_0.price_sheet + @cost_tags = @client_0.cost_tags + @forecasts = @client_0.forecasts @model_classes = ModelClasses.new end @@ -155,15 +155,18 @@ 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 @@ -176,12 +179,12 @@ 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 + end def tags_result Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult end @@ -191,9 +194,6 @@ def budget def cost_tag Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag end - def price_sheet_result - Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult - end def forecast Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast end @@ -221,18 +221,18 @@ def resource def bound Azure::Consumption::Mgmt::V2018_06_30::Models::Bound end - def datagrain - Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain + def price_sheet_result + Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult 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 e9551b067d..47e2b90f55 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -7,18 +7,17 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt + ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroups 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 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 + Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequirements VolumeMount = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::VolumeMount @@ -53,10 +52,11 @@ module Models ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin Resource = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource UsageName = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + Port = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port end class ContainerInstanceManagementClass - attr_reader :operations, :container_group_usage, :container_operations, :container_groups, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :operations, :container_group_usage, :container_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -66,10 +66,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @container_groups = @client_0.container_groups @operations = @client_0.operations @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations - @container_groups = @client_0.container_groups @model_classes = ModelClasses.new end @@ -88,9 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def port - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port - end def ip_address Azure::ContainerInstance::Mgmt::V2018_06_01::Models::IpAddress end @@ -100,12 +97,12 @@ 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 + def event + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + end def container_group_diagnostics Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics end @@ -208,6 +205,9 @@ def resource def usage_name Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName end + def port + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port + end end end end diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 72b50cb8ca..61141b2ee3 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -13,10 +13,6 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks 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 RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition @@ -28,32 +24,32 @@ module Models 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 + EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage 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 - RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode 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 + PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters 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 - 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 Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies @@ -64,6 +60,10 @@ 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 + 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 Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end @@ -100,18 +100,6 @@ 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 - def registry_password - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - end def registry_usage_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end @@ -145,12 +133,12 @@ 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_content + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end @@ -163,17 +151,17 @@ def event_response_message def quarantine_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end - def import_mode - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + def replication + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end - def replication - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end - def registry_usage_unit - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry @@ -181,27 +169,27 @@ def registry def provisioning_state Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + def policy_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus end def password_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + end + def webhook_action + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + end + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + end def webhook_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus end - def policy_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus - end def trust_policy_type Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event - end - def webhook_action - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction - end def sku_tier Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier end @@ -217,12 +205,12 @@ def operation_list_result def sku_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def sku Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + end def trust_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy end @@ -253,6 +241,18 @@ 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 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 + def registry_password + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword + 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 2c8f74f0a2..2f80d384de 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 - Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters + Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations ContainerServices = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServices module Models @@ -51,7 +51,7 @@ module Models end class ContainerServiceManagementClass - attr_reader :operations, :managed_clusters, :container_services, :configurable, :base_url, :options, :model_classes + attr_reader :managed_clusters, :operations, :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) - @operations = @client_1.operations @managed_clusters = @client_1.managed_clusters + @operations = @client_1.operations @client_2 = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServiceClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) diff --git a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb index 17754cfe34..03147cf958 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,12 +15,10 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem - Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList @@ -36,47 +34,49 @@ module Models JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate - JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError - MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem - RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem - SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN - Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem - Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame + TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList - FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata - Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage + Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames + Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem - DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem - Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content 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 Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult end class ContentModeratorDataClass @@ -115,9 +115,6 @@ def method_missing(method, *args) end class ModelClasses - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - end def face Azure::CognitiveServices::ContentModerator::V1_0::Models::Face end @@ -130,9 +127,6 @@ def refresh_index def image_additional_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem end - def frames - Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames - end def image_ids Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds end @@ -178,74 +172,74 @@ def candidate def evaluate Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate end - def job_id - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end def image Azure::CognitiveServices::ContentModerator::V1_0::Models::Image end - def image_list_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata + def job_id + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + def match_response + Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def transcript_moderation_body_item_terms_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + def image_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end def apierror Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError end - def match_response - Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse + def term_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata end - def transcript_moderation_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag end def refresh_index_advanced_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem end - def term_list_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata + def transcript_moderation_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + def classification_category3 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 end - def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem + def create_video_reviews_body_item_video_frames_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end - def ssn - Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + def create_video_reviews_body_item_video_frames_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem end def frame Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame end + def transcript_moderation_body_item_terms_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + end def create_video_reviews_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end - def classification_category3 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 - end - def create_video_reviews_body_item_video_frames_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + def pii + Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end - def match - Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + def ssn + Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN end - def create_video_reviews_body_item_video_frames_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem end - def pii - Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + def create_video_reviews_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end - def image_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + def match + Azure::CognitiveServices::ContentModerator::V1_0::Models::Match end def found_faces Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end - def create_video_reviews_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + def image_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body @@ -253,8 +247,8 @@ def body def body_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata end - def status - Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + 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 @@ -262,29 +256,29 @@ def screen 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 + def detected_language + Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage end - def video_frame_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem + def frames + Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames end - def video_frame_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem + def status + Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end - def detected_language - Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage + def create_review_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem end - def ocr - Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR + 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 create_review_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + def video_frame_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem end - def content - Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + def ocr + Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR end def create_review_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem @@ -292,6 +286,9 @@ def create_review_body_item 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 @@ -301,6 +298,9 @@ def azure_region_base_url def phone Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end 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 fcd9b15aeb..e153d5c8dc 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,8 +7,6 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt - Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles @@ -24,11 +22,13 @@ module Mgmt Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links + Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs + Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions module Models Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult @@ -124,16 +124,16 @@ 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 - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType 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 + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource end class CustomerInsightsManagementClass - attr_reader :hubs, :interactions, :relationships, :relationship_links, :profiles, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :roles, :predictions, :images, :operations, :role_assignments, :links, :configurable, :base_url, :options, :model_classes + attr_reader :relationships, :relationship_links, :profiles, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :roles, :predictions, :images, :operations, :role_assignments, :links, :hubs, :interactions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,8 +143,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @hubs = @client_0.hubs - @interactions = @client_0.interactions @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links @profiles = @client_0.profiles @@ -160,6 +158,8 @@ def initialize(configurable, base_url=nil, options=nil) @operations = @client_0.operations @role_assignments = @client_0.role_assignments @links = @client_0.links + @hubs = @client_0.hubs + @interactions = @client_0.interactions @model_classes = ModelClasses.new end @@ -181,12 +181,12 @@ class ModelClasses def resource Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult - end def operation_display Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay end + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + end def operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation end @@ -472,20 +472,20 @@ def instance_operation_type def cardinality_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes 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 canonical_property_value_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + end def profile_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult end def prediction_model_life_cycle Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end - def canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status end def proxy_resource Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index db6ce9c49a..b705ffd61b 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,14 +9,10 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models - Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing - 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 + ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse 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 +21,13 @@ module Models WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode end class CustomSearchDataClass @@ -60,30 +60,18 @@ def method_missing(method, *args) end class ModelClasses - 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_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 error_response + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + end def response_base Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase end @@ -108,15 +96,27 @@ def search_response def search_results_answer Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable 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 + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + end + def error_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + 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 037d042fee..7729b42a1f 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,16 +7,15 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + 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 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 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 @@ -64,10 +63,11 @@ 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 :compute_policies, :firewall_rules, :locations, :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :firewall_rules, :locations, :operations, :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) + @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 @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 @model_classes = ModelClasses.new end @@ -102,9 +102,6 @@ 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 @@ -246,6 +243,9 @@ 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 b6ee064f5c..eec06e6dcf 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,15 +7,14 @@ 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 + FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules + Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations 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 @@ -62,10 +61,11 @@ 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 :operations, :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_network_rules, :trusted_id_providers, :accounts, :operations, :firewall_rules, :locations, :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 + @firewall_rules = @client_0.firewall_rules + @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -99,9 +99,6 @@ 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 @@ -240,6 +237,9 @@ 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 afba20fc66..7c3f957b59 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -7,14 +7,10 @@ module Azure::Profiles::Latest module DevSpaces module Mgmt - Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers + Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations 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 ControllerConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails ControllerList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller @@ -28,10 +24,14 @@ 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 + 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 end class DevSpacesManagementClass - attr_reader :operations, :controllers, :configurable, :base_url, :options, :model_classes + attr_reader :controllers, :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) - @operations = @client_0.operations @controllers = @client_0.controllers + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -61,18 +61,6 @@ 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 - def resource_provider_operation_definition - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition - end - def resource_provider_operation_list - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList - end def controller_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails end @@ -112,6 +100,18 @@ 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 + def orchestrator_specific_connection_details + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails + end + def resource_provider_operation_definition + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition + end + def resource_provider_operation_list + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList + 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 0e485a72a9..a13c259198 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -9,33 +9,29 @@ 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 NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels 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 + ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources + Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets - VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments - ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners + VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules 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 GenerateUploadUriResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriResponse PercentageCostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties IdentityProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::IdentityProperties @@ -188,10 +184,14 @@ 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 + 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 end class DevTestLabsManagementClass - 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 + attr_reader :virtual_machines, :disks, :operations, :provider_operations, :labs, :global_schedules, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :artifact_sources, :users, :service_runners, :secrets, :environments, :virtual_machine_schedules, :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 @notification_channels = @client_0.notification_channels @policy_sets = @client_0.policy_sets - @gallery_images = @client_0.gallery_images - @users = @client_0.users @schedules = @client_0.schedules + @artifact_sources = @client_0.artifact_sources + @users = @client_0.users + @service_runners = @client_0.service_runners @secrets = @client_0.secrets - @virtual_machine_schedules = @client_0.virtual_machine_schedules @environments = @client_0.environments - @service_runners = @client_0.service_runners + @virtual_machine_schedules = @client_0.virtual_machine_schedules @virtual_networks = @client_0.virtual_networks @policies = @client_0.policies @@ -242,18 +242,6 @@ 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 - def generate_upload_uri_parameter - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter - end - def compute_vm_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties - end def generate_upload_uri_response Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriResponse end @@ -710,6 +698,18 @@ 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 + def compute_vm_instance_view_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus + end + def generate_upload_uri_parameter + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter + end + def compute_vm_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties + 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 9112329e1d..927f9edf76 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -11,8 +11,6 @@ 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 RecordSetUpdateParameters = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters @@ -34,6 +32,8 @@ 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 + ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end class DnsManagementClass @@ -67,12 +67,6 @@ 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 def resource Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource end @@ -136,6 +130,12 @@ 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 + def zone_type + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + 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 4d46d6f60b..b1f1946e29 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -10,9 +10,9 @@ module EntitySearch module Models Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities - Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable @@ -32,11 +32,11 @@ 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 + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport - License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License StructuredValue = Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue EntertainmentBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness MovieTheater = Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater @@ -51,8 +51,8 @@ module Models EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse end @@ -90,15 +90,15 @@ class ModelClasses def entities Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities end - def response - Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - end def response_base Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase end def query_context Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext end + def response + Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + end def search_response Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse end @@ -156,8 +156,8 @@ def contractual_rules_attribution def media_object Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + def civic_structure + Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure end def local_business Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness @@ -165,12 +165,12 @@ def local_business def tourist_attraction Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + end def airport Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport end - def license - Azure::CognitiveServices::EntitySearch::V1_0::Models::License - end def structured_value Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue end @@ -213,12 +213,12 @@ def entity_scenario def answer_type Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType end + def license + Azure::CognitiveServices::EntitySearch::V1_0::Models::License + end def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def civic_structure - Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure - 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 a7810bfcc2..ada63bfa52 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 :operations, :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :operations, :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 26e2d3813e..e7447bb75a 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,13 +7,12 @@ module Azure::Profiles::Latest module EventHub module Mgmt + Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration 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 module Models - SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource @@ -33,10 +32,11 @@ module Models TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule + SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName end class EventHubManagementClass - attr_reader :operations, :clusters, :namespaces, :configuration, :configurable, :base_url, :options, :model_classes + attr_reader :configuration, :operations, :clusters, :namespaces, :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) + @configuration = @client_0.configuration @operations = @client_0.operations @clusters = @client_0.clusters @namespaces = @client_0.namespaces - @configuration = @client_0.configuration @model_classes = ModelClasses.new end @@ -68,9 +68,6 @@ def method_missing(method, *args) end class ModelClasses - def sku_name - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName - end def virtual_network_rule_list_result Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult end @@ -128,6 +125,9 @@ def ipaction def ip_filter_rule Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule end + def sku_name + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/face_profile_module.rb b/azure_sdk/lib/latest/modules/face_profile_module.rb index 2f91f0850b..9393e71330 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,16 +6,12 @@ module Azure::Profiles::Latest module Face - FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson - Face = Azure::CognitiveServices::Face::V1_0::Face PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations + FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations + Face = Azure::CognitiveServices::Face::V1_0::Face module Models - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType - HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType - AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType - FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType Error = Azure::CognitiveServices::Face::V1_0::Models::Error @@ -49,19 +45,23 @@ module Models ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender - Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus - FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType Person = Azure::CognitiveServices::Face::V1_0::Models::Person - BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel + AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel + FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode end class FaceDataClass - attr_reader :face_list_operations, :person_group_person, :face, :person_group_operations, :configurable, :base_url, :options, :model_classes + attr_reader :person_group_person, :person_group_operations, :face_list_operations, :face, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -71,10 +71,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @face_list_operations = @client_0.face_list_operations @person_group_person = @client_0.person_group_person - @face = @client_0.face @person_group_operations = @client_0.person_group_operations + @face_list_operations = @client_0.face_list_operations + @face = @client_0.face @model_classes = ModelClasses.new end @@ -93,18 +93,6 @@ def method_missing(method, *args) end class ModelClasses - 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 find_similar_match_mode - Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode - end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end @@ -204,33 +192,45 @@ def update_person_face_request def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender + def training_status + Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur end - def training_status - Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + def person_group + Azure::CognitiveServices::Face::V1_0::Models::PersonGroup end def face_list Azure::CognitiveServices::Face::V1_0::Models::FaceList end - def person_group - Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + def glasses_type + Azure::CognitiveServices::Face::V1_0::Models::GlassesType end def person Azure::CognitiveServices::Face::V1_0::Models::Person end - def blur_level - Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel end + def accessory_type + Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + end + def blur_level + Azure::CognitiveServices::Face::V1_0::Models::BlurLevel + end + def hair_color_type + Azure::CognitiveServices::Face::V1_0::Models::HairColorType + 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 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 189d52eff9..3e5380e17a 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 + Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation end class FeaturesManagementClass @@ -48,12 +48,6 @@ 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 def operation_list_result Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult end @@ -66,6 +60,12 @@ 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 + def operation + Azure::Features::Mgmt::V2015_12_01::Models::Operation + 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 244a98bc9c..653d9e83c0 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -14,10 +14,6 @@ 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 GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult SignInName = Azure::GraphRbac::V1_6::Models::SignInName @@ -56,6 +52,10 @@ 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 + UserBase = Azure::GraphRbac::V1_6::Models::UserBase + AADObject = Azure::GraphRbac::V1_6::Models::AADObject + RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess end class GraphRbacDataClass @@ -93,18 +93,6 @@ 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 - def aadobject - Azure::GraphRbac::V1_6::Models::AADObject - end - def required_resource_access - Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - end def get_objects_parameters Azure::GraphRbac::V1_6::Models::GetObjectsParameters end @@ -219,6 +207,18 @@ 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 + def user_base + Azure::GraphRbac::V1_6::Models::UserBase + end + def aadobject + Azure::GraphRbac::V1_6::Models::AADObject + end + def required_resource_access + Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + 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 a5b548a73c..896546bd66 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,9 +9,9 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models - Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable @@ -24,8 +24,8 @@ module Models ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error 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 @@ -99,15 +99,15 @@ def method_missing(method, *args) end class ModelClasses - def response - Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - end def response_base Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase end def query Azure::CognitiveServices::ImageSearch::V1_0::Models::Query end + def response + Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + end def web_page Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage end @@ -144,12 +144,12 @@ def organization def intangible Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end 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 diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index ea7d097a67..80108a2c44 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,16 +7,12 @@ module Azure::Profiles::Latest module IotHub module Mgmt + Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates 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 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 CertificateVerificationDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription TestRouteInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition @@ -90,10 +86,14 @@ 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 + 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 end class IotHubManagementClass - attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes + attr_reader :certificates, :operations, :iot_hub_resource, :resource_provider_common, :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) + @certificates = @client_0.certificates @operations = @client_0.operations @iot_hub_resource = @client_0.iot_hub_resource @resource_provider_common = @client_0.resource_provider_common - @certificates = @client_0.certificates @model_classes = ModelClasses.new end @@ -125,18 +125,6 @@ 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 - def shared_access_signature_authorization_rule_list_result - Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult - end - def test_all_routes_result - Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult - end def certificate_verification_description Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription end @@ -356,6 +344,18 @@ 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 + def matched_route + Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute + end + def shared_access_signature_authorization_rule_list_result + Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult + end + def test_all_routes_result + Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult + 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 df3770b7fb..6fd3e1bf78 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,10 +9,6 @@ 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 DeletedStorageAccountItem = Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem DeletedSasDefinitionBundle = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle DeletedSasDefinitionItem = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem @@ -74,21 +70,21 @@ module Models SecretItem = Azure::KeyVault::V7_0::Models::SecretItem BackupSecretResult = Azure::KeyVault::V7_0::Models::BackupSecretResult SecretProperties = Azure::KeyVault::V7_0::Models::SecretProperties - Error = Azure::KeyVault::V7_0::Models::Error + PendingCertificateSigningRequestResult = Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V7_0::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V7_0::Models::StorageAccountAttributes IssuerAttributes = Azure::KeyVault::V7_0::Models::IssuerAttributes - StorageBundle = Azure::KeyVault::V7_0::Models::StorageBundle + Error = Azure::KeyVault::V7_0::Models::Error SasDefinitionListResult = Azure::KeyVault::V7_0::Models::SasDefinitionListResult - PendingCertificateSigningRequestResult = Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult + StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters CertificateOperation = Azure::KeyVault::V7_0::Models::CertificateOperation StorageAccountUpdateParameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters - StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters + StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters KeyCreateParameters = Azure::KeyVault::V7_0::Models::KeyCreateParameters StorageAccountItem = Azure::KeyVault::V7_0::Models::StorageAccountItem - StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters KeyAttributes = Azure::KeyVault::V7_0::Models::KeyAttributes DeletedKeyBundle = Azure::KeyVault::V7_0::Models::DeletedKeyBundle + StorageBundle = Azure::KeyVault::V7_0::Models::StorageBundle DeletedKeyItem = Azure::KeyVault::V7_0::Models::DeletedKeyItem SecretAttributes = Azure::KeyVault::V7_0::Models::SecretAttributes DeletedSecretBundle = Azure::KeyVault::V7_0::Models::DeletedSecretBundle @@ -107,6 +103,10 @@ 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 + CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters + DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult + DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle end class KeyVaultDataClass @@ -138,18 +138,6 @@ 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 - def deleted_storage_list_result - Azure::KeyVault::V7_0::Models::DeletedStorageListResult - end - def deleted_storage_bundle - Azure::KeyVault::V7_0::Models::DeletedStorageBundle - end def deleted_storage_account_item Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem end @@ -333,8 +321,8 @@ def backup_secret_result def secret_properties Azure::KeyVault::V7_0::Models::SecretProperties end - def error - Azure::KeyVault::V7_0::Models::Error + def pending_certificate_signing_request_result + Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult end def certificate_bundle Azure::KeyVault::V7_0::Models::CertificateBundle @@ -345,14 +333,14 @@ def storage_account_attributes def issuer_attributes Azure::KeyVault::V7_0::Models::IssuerAttributes end - def storage_bundle - Azure::KeyVault::V7_0::Models::StorageBundle + def error + Azure::KeyVault::V7_0::Models::Error end def sas_definition_list_result Azure::KeyVault::V7_0::Models::SasDefinitionListResult end - def pending_certificate_signing_request_result - Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult + def storage_account_create_parameters + Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters end def certificate_operation Azure::KeyVault::V7_0::Models::CertificateOperation @@ -360,8 +348,8 @@ def certificate_operation def storage_account_update_parameters Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters end - def storage_account_create_parameters - Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters + def storage_account_regenerte_key_parameters + Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters end def key_create_parameters Azure::KeyVault::V7_0::Models::KeyCreateParameters @@ -369,15 +357,15 @@ def key_create_parameters def storage_account_item Azure::KeyVault::V7_0::Models::StorageAccountItem end - def storage_account_regenerte_key_parameters - Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters - end def key_attributes Azure::KeyVault::V7_0::Models::KeyAttributes end def deleted_key_bundle Azure::KeyVault::V7_0::Models::DeletedKeyBundle end + def storage_bundle + Azure::KeyVault::V7_0::Models::StorageBundle + end def deleted_key_item Azure::KeyVault::V7_0::Models::DeletedKeyItem end @@ -432,11 +420,23 @@ 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 + def certificate_restore_parameters + Azure::KeyVault::V7_0::Models::CertificateRestoreParameters + end + def deleted_storage_list_result + Azure::KeyVault::V7_0::Models::DeletedStorageListResult + end + def deleted_storage_bundle + Azure::KeyVault::V7_0::Models::DeletedStorageBundle + end end end module Mgmt - Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults + Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations 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 - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - 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 :operations, :vaults, :configurable, :base_url, :options, :model_classes + attr_reader :vaults, :operations, :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) - @operations = @client_0.operations @vaults = @client_0.vaults + @operations = @client_0.operations @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 reason - Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind end def create_mode Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode @@ -598,12 +598,12 @@ def create_mode def certificate_permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions end + def reason + Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + end def sku Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind - end def iprule Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule end diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index b4436dca48..e87ab6796d 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -11,14 +11,14 @@ module Mgmt 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 ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties 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 + Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation end class LinksManagementClass @@ -52,12 +52,6 @@ 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 def operation_list_result Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult end @@ -76,6 +70,12 @@ 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 + def operation + Azure::Links::Mgmt::V2016_09_01::Models::Operation + 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 175a6c7b5d..162ab67d61 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 + 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 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 end class LocksManagementClass @@ -51,6 +51,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + end + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + end + def lock_level + Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel + end def operation_display Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end @@ -63,15 +72,6 @@ def operation def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def operation_list_result - Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - end - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - end - def lock_level - Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - 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 25ddbad93c..33cba00c97 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -74,10 +74,10 @@ 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 EdifactEnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeSettings BusinessIdentity = Azure::Logic::Mgmt::V2016_06_01::Models::BusinessIdentity EdifactAcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAcknowledgementSettings @@ -102,87 +102,87 @@ 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 - GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters - IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters - KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault + IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter - WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection + KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter - AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings + WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression - AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings + AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult - ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter - IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces BatchConfigurationCollection = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection - OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties + IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult JsonSchema = Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema - SetTriggerStateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition + IntegrationAccountMapListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapListResult IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter - ListKeyVaultKeysDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ListKeyVaultKeysDefinition + OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult - KeyVaultKeyAttributes = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyAttributes + SetTriggerStateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition BatchReleaseCriteria = Azure::Logic::Mgmt::V2016_06_01::Models::BatchReleaseCriteria - KeyVaultKey = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKey + ListKeyVaultKeysDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ListKeyVaultKeysDefinition RunCorrelation = Azure::Logic::Mgmt::V2016_06_01::Models::RunCorrelation - KeyVaultKeyCollection = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyCollection + KeyVaultKeyAttributes = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyAttributes AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings - TrackingEventErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventErrorInfo + KeyVaultKey = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKey WorkflowRunActionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult - TrackingEvent = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEvent + KeyVaultKeyCollection = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyCollection WorkflowTriggerCallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl - TrackingEventsDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventsDefinition + TrackingEventErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventErrorInfo B2BPartnerContent = Azure::Logic::Mgmt::V2016_06_01::Models::B2BPartnerContent - WorkflowVersion = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion + TrackingEvent = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEvent Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow - WorkflowTriggerHistory = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory + TrackingEventsDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventsDefinition WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger - WorkflowRun = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun + WorkflowVersion = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter - IntegrationAccount = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount + WorkflowTriggerHistory = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction - IntegrationAccountMap = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap + WorkflowRun = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema - IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement + IntegrationAccount = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner - IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession + IntegrationAccountMap = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate - AzureResourceErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo + IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement + KeyVaultReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession ExpressionRoot = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot - RunActionCorrelation = Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation + AzureResourceErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo WorkflowRunActionRepetitionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition - ArtifactContentPropertiesDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition + RunActionCorrelation = Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation AssemblyDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource AssemblyProperties = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyProperties BatchConfigurationProperties = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationProperties - BatchConfiguration = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + ArtifactContentPropertiesDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - KeyVaultReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + BatchConfiguration = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType - WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState + DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency - DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName - SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType HashingAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType - AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType + SigningAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm TrailingSeparatorPolicy = Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy EncryptionAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm - SigningAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName X12DateFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat X12CharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference @@ -388,6 +388,9 @@ 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 + end def edifact_validation_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings end @@ -397,9 +400,6 @@ def integration_account_map_properties_parameters_schema def edifact_framing_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactFramingSettings end - def integration_account_map_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapListResult - end def edifact_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeSettings end @@ -472,176 +472,176 @@ 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 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 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 + 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 end - def workflow_run_action_repetition_definition_collection - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection + 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 end - def as2_acknowledgement_connection_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings + 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 end - def as2_envelope_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings + 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 end - def expression_traces - Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + 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 end - def integration_account_session_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + def expression_traces + Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces end def batch_configuration_collection Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection end - def operation_result_properties - Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties + def integration_account_session_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end def json_schema Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema end - def set_trigger_state_action_definition - Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition + def integration_account_map_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapListResult end def integration_account_partner_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter end - def list_key_vault_keys_definition - Azure::Logic::Mgmt::V2016_06_01::Models::ListKeyVaultKeysDefinition + def operation_result_properties + Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties end def workflow_version_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult end - def key_vault_key_attributes - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyAttributes + def set_trigger_state_action_definition + Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition end def batch_release_criteria Azure::Logic::Mgmt::V2016_06_01::Models::BatchReleaseCriteria end - def key_vault_key - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKey + def list_key_vault_keys_definition + Azure::Logic::Mgmt::V2016_06_01::Models::ListKeyVaultKeysDefinition end def run_correlation Azure::Logic::Mgmt::V2016_06_01::Models::RunCorrelation end - def key_vault_key_collection - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyCollection + def key_vault_key_attributes + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyAttributes end def as2_security_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings end - def tracking_event_error_info - Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventErrorInfo + def key_vault_key + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKey end def workflow_run_action_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult end - def tracking_event - Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEvent + def key_vault_key_collection + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyCollection end def workflow_trigger_callback_url Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl end - def tracking_events_definition - Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventsDefinition + def tracking_event_error_info + Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventErrorInfo end def b2_bpartner_content Azure::Logic::Mgmt::V2016_06_01::Models::B2BPartnerContent end - def workflow_version - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion + def tracking_event + Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEvent end def workflow Azure::Logic::Mgmt::V2016_06_01::Models::Workflow end - def workflow_trigger_history - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory + def tracking_events_definition + Azure::Logic::Mgmt::V2016_06_01::Models::TrackingEventsDefinition end def workflow_trigger Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger end - def workflow_run - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun + def workflow_version + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion end def workflow_output_parameter Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter end - def integration_account - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount + def workflow_trigger_history + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory end def workflow_run_action Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction end - def integration_account_map - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap + def workflow_run + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun end def integration_account_schema Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema end - def integration_account_agreement - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement + def integration_account + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount end def integration_account_partner Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner end - def integration_account_session - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession + def integration_account_map + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap end def integration_account_certificate Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate end - def azure_resource_error_info - Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo + def integration_account_agreement + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement + end + def key_vault_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + end + def integration_account_session + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession end def expression_root Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot end - def run_action_correlation - Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation + def azure_resource_error_info + Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo end def workflow_run_action_repetition_definition Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition end - def artifact_content_properties_definition - Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition + def run_action_correlation + Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation end def assembly_definition Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition @@ -655,8 +655,8 @@ def assembly_properties def batch_configuration_properties Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationProperties end - def batch_configuration - Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + def artifact_content_properties_definition + Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition end def workflow_provisioning_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState @@ -664,11 +664,11 @@ def workflow_provisioning_state def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end - def sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::SkuName + def batch_configuration + Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration end - def key_vault_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + def workflow_trigger_provisioning_state + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState end def workflow_status Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus @@ -676,8 +676,8 @@ def workflow_status def parameter_type Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType end - def workflow_trigger_provisioning_state - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState + def days_of_week + Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek end def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek @@ -685,8 +685,8 @@ def day_of_week def recurrence_frequency Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency end - def days_of_week - Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType end def map_type Azure::Logic::Mgmt::V2016_06_01::Models::MapType @@ -694,8 +694,8 @@ def map_type def integration_account_sku_name Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName end - def schema_type - Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + def agreement_type + Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType end def hashing_algorithm Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm @@ -703,8 +703,8 @@ def hashing_algorithm def partner_type Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType end - def agreement_type - Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType + def signing_algorithm + Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm end def trailing_separator_policy Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy @@ -712,8 +712,8 @@ def trailing_separator_policy def encryption_algorithm Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm end - def signing_algorithm - Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm + def sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::SkuName end def x12_date_format Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 7705bc8c96..80c9ed5c5c 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -11,10 +11,6 @@ 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 ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType @@ -51,6 +47,10 @@ 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 + 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 end class MachineLearningManagementClass @@ -84,18 +84,6 @@ 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 - def operation_entity - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity - end - def input_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - end def column_format Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat end @@ -204,6 +192,18 @@ 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 + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + end + def operation_entity + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity + end + def input_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + 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 732279fe8b..8dcfcb091d 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,9 +11,6 @@ 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 Resource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource Plan = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan @@ -29,6 +26,9 @@ 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 + ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel + ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType end class ManagedApplicationsManagementClass @@ -62,15 +62,6 @@ 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 - def application_artifact_type - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType - end def generic_resource Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource end @@ -116,6 +107,15 @@ 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 + def application_lock_level + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel + end + def application_artifact_type + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType + 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 42fda4f4e5..45d6225825 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 + 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 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 end class ManagedServiceIdentityManagementClass @@ -50,6 +50,12 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult + end + 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 @@ -62,12 +68,6 @@ def operation def user_assigned_identities_list_result Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult end - def operation_list_result - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult - end - def identity - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - 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 4981006725..3081c10d6b 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt 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 + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end class MarketplaceOrderingManagementClass @@ -51,15 +51,6 @@ 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 - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end @@ -72,6 +63,15 @@ 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 + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + end + def operation + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation + 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 74da846ef9..40b233f602 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -7,7 +7,6 @@ module Azure::Profiles::Latest module MediaServices module Mgmt - Locations = Azure::MediaServices::Mgmt::V2018_07_01::Locations Operations = Azure::MediaServices::Mgmt::V2018_07_01::Operations AccountFilters = Azure::MediaServices::Mgmt::V2018_07_01::AccountFilters Mediaservices = Azure::MediaServices::Mgmt::V2018_07_01::Mediaservices @@ -21,9 +20,9 @@ module Mgmt LiveEvents = Azure::MediaServices::Mgmt::V2018_07_01::LiveEvents LiveOutputs = Azure::MediaServices::Mgmt::V2018_07_01::LiveOutputs StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_07_01::StreamingEndpoints + Locations = Azure::MediaServices::Mgmt::V2018_07_01::Locations 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 @@ -92,10 +91,10 @@ 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 + AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey JobErrorDetail = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail - LiveEventListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaServiceCollection LiveEventActionInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventActionInput AssetCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetCollection @@ -165,42 +164,42 @@ module Models BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset StreamingPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicy Resource = Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource - StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + LiveOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput VideoOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint JobInputClip = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip FilterTrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCompareOperation - MetricUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit - LiveOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput + StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + FilterTrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType JobOutputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset + MetricUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerPermission - FilterTrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType 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 + StretchMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode + LiveEvent = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent 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 - Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode 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 + EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode + Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType + H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + 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 + Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode - InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType + OutputFile = Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile JobRetry = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry - Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + LiveEventListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult 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 @@ -217,10 +216,11 @@ module Models 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 - attr_reader :locations, :operations, :account_filters, :mediaservices, :assets, :asset_filters, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :account_filters, :mediaservices, :assets, :asset_filters, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :locations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -230,7 +230,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @locations = @client_0.locations @operations = @client_0.operations @account_filters = @client_0.account_filters @mediaservices = @client_0.mediaservices @@ -244,6 +243,7 @@ def initialize(configurable, base_url=nil, options=nil) @live_events = @client_0.live_events @live_outputs = @client_0.live_outputs @streaming_endpoints = @client_0.streaming_endpoints + @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -262,9 +262,6 @@ 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 @@ -469,18 +466,18 @@ 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 + end def list_paths_response Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse end - def output_file - Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile + def akamai_signature_header_authentication_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey end def job_error_detail Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail end - def live_event_list_result - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult - end def subscription_media_service_collection Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaServiceCollection end @@ -688,8 +685,8 @@ def streaming_policy def resource Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource end - def streaming_locator - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + def live_output + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput end def video_overlay Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay @@ -703,21 +700,21 @@ def job_input_clip def filter_track_property_compare_operation Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCompareOperation end - def metric_unit - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit + def streaming_locator + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator end - def live_output - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput + def filter_track_property_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType end def job_output_asset Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset end + def metric_unit + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit + end def asset_container_permission Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerPermission end - def filter_track_property_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType - end def asset_storage_encryption_format Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat end @@ -727,29 +724,29 @@ 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 stretch_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode + end + def live_event + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent + 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 def deinterlace_parity Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity end - def stretch_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode - end - def rotation - Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation - end - def format - Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + def deinterlace_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode end def metric_aggregation_type Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType @@ -757,44 +754,44 @@ def metric_aggregation_type def h264_video_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile end - def deinterlace_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode + def entropy_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode end - def h264_complexity - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + def format + Azure::MediaServices::Mgmt::V2018_07_01::Models::Format end - def content_key_policy_play_ready_license_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType + def encoder_named_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset end def content_key_policy_play_ready_content_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType end - def on_error_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + def h264_complexity + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity end - def encoder_named_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset + def rotation + Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation end - def akamai_access_control - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + def insights_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType end - def entropy_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode + def on_error_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType end - def akamai_signature_header_authentication_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey + def priority + Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority end def job_error_code Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode end - def insights_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType + def output_file + Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile end def job_retry Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry end - def priority - Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + def live_event_list_result + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult end def track_property_compare_operation Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation @@ -844,6 +841,9 @@ 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 fbc759c0c6..d8fc5d77a9 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -7,30 +7,26 @@ 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 - AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules + Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles + AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations 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 + MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups - MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts 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 AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection @@ -55,6 +51,10 @@ 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 + 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 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 @@ -78,21 +78,21 @@ module Models ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition - ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup + ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - 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 MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings + DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings + DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource 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 + CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue @@ -103,13 +103,13 @@ module Models MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue - Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement + Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit - AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType + AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest EmailReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver @@ -136,28 +136,28 @@ 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 LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection + ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger - TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction - ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled + TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType 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 :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 + attr_reader :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :operations, :alert_rule_incidents, :log_profiles, :alert_rules, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :action_groups, :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,20 +167,20 @@ 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)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @alert_rules = @client_1.alert_rules @alert_rule_incidents = @client_1.alert_rule_incidents @log_profiles = @client_1.log_profiles + @alert_rules = @client_1.alert_rules @client_2 = Azure::Monitor::Mgmt::V2017_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options) if(@client_2.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 = @client_6.metric_alerts @metric_alerts_status = @client_6.metric_alerts_status @action_groups = @client_6.action_groups - @metric_alerts = @client_6.metric_alerts @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options) if(@client_7.respond_to?(:subscription_id)) @@ -259,18 +259,6 @@ 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 - def scale_action - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction - end - def scale_rule - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule - end def autoscale_setting_resource_patch Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch end @@ -343,6 +331,18 @@ 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 autoscale_notification + Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification + end + def scale_action + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction + end + def scale_rule + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule + end def rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition end @@ -412,12 +412,12 @@ def time_aggregation_operator def activity_log_alert_leaf_condition Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition end - def activity_log_alert_all_of_condition - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition - end def activity_log_alert_action_group Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup end + def activity_log_alert_all_of_condition + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition + end def activity_log_alert_action_list Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList end @@ -430,9 +430,6 @@ def activity_log_alert_list def activity_log_alert_resource Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource end - def category_type - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType - end def retention_policy Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy end @@ -442,20 +439,23 @@ def proxy_only_resource def metric_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end + def diagnostic_settings_category_resource_collection + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection + end def log_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings end + def diagnostic_settings_resource + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource + 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 - def diagnostic_settings_resource - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource + def category_type + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType end def baseline Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline @@ -487,27 +487,27 @@ def localizable_string def metric_value Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue end - def response - Azure::Monitor::Mgmt::V2018_01_01::Models::Response - end def metadata_value Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue end def time_series_element Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement end + def response + Azure::Monitor::Mgmt::V2018_01_01::Models::Response + end def unit Azure::Monitor::Mgmt::V2018_01_01::Models::Unit end - def aggregation_type - Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType - end def metric Azure::Monitor::Mgmt::V2018_01_01::Models::Metric end def result_type Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType end + def aggregation_type + Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType + end def metric_definition Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition end @@ -586,9 +586,6 @@ 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 @@ -601,12 +598,12 @@ def provisioning_state def log_search_rule_resource_collection Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection end + def error_response + Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + end def log_metric_trigger Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger end - def trigger_condition - Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition - end def az_ns_action_group Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup end @@ -619,12 +616,12 @@ def log_search_rule_resource def alerting_action Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction end - def error_response - Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse - end def enabled Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled end + def trigger_condition + Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition + end def query_type Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType end @@ -637,6 +634,9 @@ 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 f133bae7dc..9cdbfdcf8a 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -190,9 +190,9 @@ module Models ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSourceStatus PublicIPPrefixSkuName = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSkuName VirtualNetworkGatewayConnectionProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol + Severity = Azure::Network::Mgmt::V2018_08_01::Models::Severity OfficeTrafficCategory = Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory VpnGatewayTunnelingProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol - Severity = Azure::Network::Mgmt::V2018_08_01::Models::Severity VpnConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus VirtualWanSecurityProviderType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviderType TunnelConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionStatus @@ -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 - Error = Azure::Network::Mgmt::V2018_08_01::Models::Error + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult 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 ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute 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 @@ -271,19 +271,19 @@ module Models NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupListResult ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableWafRuleSetsResult AddressSpace = Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult + Error = Azure::Network::Mgmt::V2018_08_01::Models::Error TopologyParameters = Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult + ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_08_01::Models::DnsNameAvailabilityResult Dimension = Azure::Network::Mgmt::V2018_08_01::Models::Dimension EndpointServicesListResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServicesListResult - MetricSpecification = Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult AuthorizationListResult = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationListResult Topology = Azure::Network::Mgmt::V2018_08_01::Models::Topology Usage = Azure::Network::Mgmt::V2018_08_01::Models::Usage BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunityListResult VerificationIPFlowResult = Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowResult - VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters + MetricSpecification = Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification NextHopParameters = Azure::Network::Mgmt::V2018_08_01::Models::NextHopParameters ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSku NextHopResult = Azure::Network::Mgmt::V2018_08_01::Models::NextHopResult @@ -301,14 +301,14 @@ module Models Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_08_01::Models::Ipv6ExpressRouteCircuitPeeringConfig SecurityGroupViewResult = Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupViewResult PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureStorageLocation + VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters PacketCaptureFilter = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureFilter - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult PacketCaptureParameters = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureParameters PacketCapture = Azure::Network::Mgmt::V2018_08_01::Models::PacketCapture VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureResult PacketCaptureListResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureQueryStatusResult ApplicationGatewaySku = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySku TroubleshootingParameters = Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingParameters @@ -344,7 +344,7 @@ module Models ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayConnectionDraining AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo VpnClientParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters - AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer VirtualNetworkUsage = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage AzureReachabilityReport = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRule @@ -365,51 +365,51 @@ module Models ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorParameters ConnectionMonitor = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitor ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTableSummary - ConnectionMonitorResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult + AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem TunnelConnectionHealth = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorListResult SubnetListResult = Azure::Network::Mgmt::V2018_08_01::Models::SubnetListResult ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot RouteFilterListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult - ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult + ConnectionMonitorResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult VpnClientConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable + ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayIPConfiguration 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 ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener 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 + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet 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 + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult RouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy 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 + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration Probe = Azure::Network::Mgmt::V2018_08_01::Models::Probe - RouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider - GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute - NetworkWatcher = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher + LoadBalancer = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer + RouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter ExpressRouteCircuit = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit 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 + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering 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 @@ -418,29 +418,29 @@ module Models 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 VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + NetworkWatcher = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth + PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter ApplicationGatewayTier = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol 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 - PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType 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 + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName 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 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 + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType Access = Azure::Network::Mgmt::V2018_08_01::Models::Access ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState 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 - Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState EvaluationState = Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState - VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType - VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol + VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType + BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol + VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType IpsecEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption - IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity + VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol DhGroup = Azure::Network::Mgmt::V2018_08_01::Models::DhGroup - PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod - VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus + PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup 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 + VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus Container = Azure::Network::Mgmt::V2018_08_01::Models::Container end @@ -929,15 +929,15 @@ def public_ipprefix_sku_name def virtual_network_gateway_connection_protocol Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol end + def severity + Azure::Network::Mgmt::V2018_08_01::Models::Severity + end def office_traffic_category Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory end def vpn_gateway_tunneling_protocol Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol end - def severity - Azure::Network::Mgmt::V2018_08_01::Models::Severity - end def vpn_connection_status Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus 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 error - Azure::Network::Mgmt::V2018_08_01::Models::Error + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult end def error_details Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails @@ -1112,8 +1112,8 @@ def azure_async_operation_result def application_gateway_ssl_policy Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + def gateway_route + Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult @@ -1172,14 +1172,14 @@ def application_gateway_available_waf_rule_sets_result def address_space Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult + def error + Azure::Network::Mgmt::V2018_08_01::Models::Error end def topology_parameters Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult + def application_gateway_firewall_rule_group + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup end def dns_name_availability_result Azure::Network::Mgmt::V2018_08_01::Models::DnsNameAvailabilityResult @@ -1190,8 +1190,8 @@ def dimension def endpoint_services_list_result Azure::Network::Mgmt::V2018_08_01::Models::EndpointServicesListResult end - def metric_specification - Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification + def network_watcher_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult end def authorization_list_result Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationListResult @@ -1208,8 +1208,8 @@ def bgp_service_community_list_result def verification_ipflow_result Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowResult end - def verification_ipflow_parameters - Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters + def metric_specification + Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification end def next_hop_parameters Azure::Network::Mgmt::V2018_08_01::Models::NextHopParameters @@ -1262,12 +1262,12 @@ def security_group_view_result def packet_capture_storage_location Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureStorageLocation end + def verification_ipflow_parameters + Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters + end def packet_capture_filter Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureFilter end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult - end def packet_capture_parameters Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureParameters end @@ -1283,8 +1283,8 @@ def packet_capture_result def packet_capture_list_result Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureListResult end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureQueryStatusResult @@ -1391,8 +1391,8 @@ def azure_reachability_report_latency_info def vpn_client_parameters Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters end - def azure_reachability_report_item - Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer end def virtual_network_usage Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage @@ -1454,8 +1454,8 @@ def connection_monitor def express_route_circuit_routes_table_summary Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTableSummary end - def connection_monitor_result - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult + def azure_reachability_report_item + Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem end def tunnel_connection_health Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth @@ -1472,8 +1472,8 @@ def connection_state_snapshot def route_filter_list_result Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult end - def connection_monitor_query_result - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult + def connection_monitor_result + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult end def express_route_circuit_peering_list_result Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult @@ -1481,8 +1481,8 @@ def express_route_circuit_peering_list_result def vpn_client_configuration Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable + def connection_monitor_query_result + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult end def application_gateway_backend_http_settings Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings @@ -1502,8 +1502,8 @@ def application_gateway_ssl_certificate 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 + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable end def application_gateway_path_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule @@ -1511,8 +1511,8 @@ def application_gateway_path_rule def application_gateway_probe Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe end - def application_gateway_request_routing_rule - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener end def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration @@ -1520,8 +1520,8 @@ def application_gateway_frontend_ipconfiguration 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 + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule end def application_gateway_firewall_rule_set Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet @@ -1538,15 +1538,15 @@ def endpoint_service_result def express_route_circuit_authorization Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization end + def application_security_group_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult + end def route_filter_rule Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule end def express_route_circuit_peering Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering end - 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 @@ -1559,23 +1559,23 @@ def frontend_ipconfiguration def load_balancing_rule Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule end + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration + end def probe Azure::Network::Mgmt::V2018_08_01::Models::Probe end - def route_filter - Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter - end 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 gateway_route - Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + def load_balancer + Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher + def route_filter + Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter end def express_route_circuit Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit @@ -1586,8 +1586,8 @@ def bgp_service_community 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 + def virtual_network_peering + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering end def virtual_network_gateway_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayIPConfiguration @@ -1613,23 +1613,23 @@ def inbound_nat_pool def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity end - def virtual_network_peering - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + end + def network_watcher + Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher end def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth end - def application_gateway_protocol - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol - end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + def patch_route_filter + Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter end def application_gateway_tier Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName + def application_gateway_protocol + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol end def application_gateway_ssl_policy_name Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName @@ -1640,8 +1640,8 @@ def application_gateway_ssl_cipher_suite def vpn_client_root_certificate Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate end - def patch_route_filter - Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + def application_gateway_request_routing_rule_type + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity @@ -1649,8 +1649,8 @@ def application_gateway_cookie_based_affinity def ipversion Azure::Network::Mgmt::V2018_08_01::Models::IPVersion end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName end def application_gateway_operational_state Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState @@ -1667,11 +1667,11 @@ def express_route_circuit_peering_advertised_public_prefix_state def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode end - def application_gateway_request_routing_rule_type - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + def authorization_use_status + Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType 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 authorization_use_status - Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState end def express_route_circuit_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier @@ -1739,8 +1739,8 @@ def origin def issue_type Azure::Network::Mgmt::V2018_08_01::Models::IssueType end - def protocol - Azure::Network::Mgmt::V2018_08_01::Models::Protocol + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState end def connection_state Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState @@ -1748,23 +1748,23 @@ def connection_state def evaluation_state Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName end - def virtual_network_gateway_type - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType + def protocol + Azure::Network::Mgmt::V2018_08_01::Models::Protocol end def vpn_type Azure::Network::Mgmt::V2018_08_01::Models::VpnType end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + def bgp_peer_state + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol + def virtual_network_gateway_type + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType end def ipsec_encryption Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption @@ -1775,30 +1775,30 @@ def ipsec_integrity def ike_encryption Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption end - def ike_integrity - Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity + def vpn_client_protocol + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol end def dh_group Azure::Network::Mgmt::V2018_08_01::Models::DhGroup end - def pfs_group - Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + def ike_integrity + Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity end 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 + def pfs_group + Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup end 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 virtual_network_gateway_connection_status + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus + 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 a812c403aa..19587dd60b 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -13,11 +13,11 @@ module Models News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + 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 @@ -77,21 +77,21 @@ def news_topic def response_base Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + 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 article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end def response Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def search_results_answer Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index 1ff2ca0012..a506ea891e 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -8,8 +8,8 @@ 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 + Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces module Models Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource @@ -49,7 +49,7 @@ module Models end class NotificationHubsManagementClass - attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :notification_hubs, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -60,8 +60,8 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs + @namespaces = @client_0.namespaces @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 920a96c918..e051cc79b6 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -7,18 +7,18 @@ module Azure::Profiles::Latest module OperationalInsights module Mgmt - StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches + StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights + Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces 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 module Models - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary @@ -28,20 +28,18 @@ module Models 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 SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters 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 + SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight + SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight 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 + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation @@ -63,10 +61,12 @@ module Models Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :operations, :linked_services, :data_sources, :workspaces, :configurable, :base_url, :options, :model_classes + attr_reader :saved_searches, :storage_insights, :workspaces, :operations, :linked_services, :data_sources, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -76,18 +76,18 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @storage_insights = @client_0.storage_insights @saved_searches = @client_0.saved_searches + @storage_insights = @client_0.storage_insights @client_1 = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @workspaces = @client_1.workspaces @operations = @client_1.operations @linked_services = @client_1.linked_services @data_sources = @client_1.data_sources - @workspaces = @client_1.workspaces @model_classes = ModelClasses.new end @@ -108,9 +108,6 @@ def method_missing(method, *args) end class ModelClasses - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -120,6 +117,9 @@ def search_get_schema_response def search_highlight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight end + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end def link_target Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget end @@ -147,9 +147,6 @@ def search_results_response def storage_insight_list_result Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult end - def search_sort - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort - end def search_error Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError end @@ -165,29 +162,26 @@ def workspace_purge_body def workspace_purge_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse end - def search_metadata - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata + def search_sort + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort end 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 + def search_metadata + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata end 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 + def storage_insight + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end - def data_source - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource - end - def sku_name_enum - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end def resource Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource @@ -252,6 +246,12 @@ def metric_name def proxy_resource Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end + def data_source + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + end + def sku_name_enum + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + end end end end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 6477839b2e..9165cd3b6a 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -7,15 +7,11 @@ module Azure::Profiles::Latest module Policy module Mgmt - PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions + PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments 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 PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment PolicyDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition @@ -23,10 +19,14 @@ 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 + 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 end class PolicyManagementClass - attr_reader :policy_assignments, :policy_definitions, :policy_set_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_definitions, :policy_set_definitions, :policy_assignments, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -36,9 +36,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_assignments = @client_0.policy_assignments @policy_definitions = @client_0.policy_definitions @policy_set_definitions = @client_0.policy_set_definitions + @policy_assignments = @client_0.policy_assignments @model_classes = ModelClasses.new end @@ -57,18 +57,6 @@ 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 - def error_response - Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse - end - def policy_set_definition_list_result - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult - end def policy_sku Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku end @@ -90,6 +78,18 @@ 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 + def policy_set_definition + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition + end + def error_response + Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + end + def policy_set_definition_list_result + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult + 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 98519f159c..ef9f2d4498 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -19,15 +19,15 @@ module Models QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure 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 Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay 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 + PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end class PolicyInsightsManagementClass @@ -83,33 +83,33 @@ def summarize_results def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults end - 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 operation Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation end - def query_failure_error - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + 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 policy_states_resource - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + 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 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 end + def policy_states_resource + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + 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 fd481c892b..ff9ce4355c 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -11,25 +11,25 @@ module Mgmt 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 UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest 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 + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList - CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse + CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName 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 + 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 end class PowerBiEmbeddedManagementClass @@ -63,18 +63,6 @@ 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 - def create_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest - end - def display - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display - end def update_workspace_collection_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest end @@ -84,42 +72,54 @@ def azure_sku def workspace Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace end - def check_name_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end def workspace_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList end - def check_name_response - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse + def check_name_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end 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 + def check_name_response + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse end def error_detail Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail end - def access_key_name - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + def migrate_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest end def check_name_reason Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end + def access_key_name + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + end def operation Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation end - 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 + def workspace_collection_access_key + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey + end + def create_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + end + def display + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display + 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 afae13f825..25b104ff47 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,17 +7,15 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt - Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations - VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations - 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 Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations module Models - ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData @@ -50,10 +48,12 @@ module Models SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse end class RecoveryServicesManagementClass - attr_reader :operations, :vault_extended_info_operations, :replication_usages, :usages, :vault_certificates, :registered_identities, :vaults, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :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 - @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 @vaults = @client_0.vaults + @operations = @client_0.operations + @vault_extended_info_operations = @client_0.vault_extended_info_operations @model_classes = ModelClasses.new end @@ -88,12 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_value_for_single_api - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - end - def client_discovery_response - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse - end def certificate_request Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest end @@ -190,6 +184,12 @@ def sku def tracked_resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource end + def client_discovery_value_for_single_api + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + end + def client_discovery_response + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index 5764330e50..e5a236d2e7 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -8,10 +8,6 @@ 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 BackupProtectableItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectableItems BackupProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectionContainers SecurityPINs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::SecurityPINs @@ -33,25 +29,29 @@ 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 + ProtectionPolicies = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicies + ProtectionPolicyOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationResults + ProtectionPolicyOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationStatuses ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport BackupJobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupJobs JobDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::JobDetails + Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults - BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries - Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation + BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies 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 + ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay 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 @@ -151,8 +151,8 @@ module Models ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest 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 + ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource 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 @@ -186,23 +186,23 @@ module Models AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo 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 - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration - DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest 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 + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - 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 + AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject 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 @@ -210,11 +210,11 @@ module Models AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo ValidateOperationResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo @@ -224,15 +224,15 @@ module Models MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails - AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job AzureBackupGoalFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo @@ -250,24 +250,23 @@ module Models AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus AzureVmWorkloadProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo AzureVmWorkloadSAPHanaDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem - ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType AzureWorkloadRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest @@ -279,6 +278,7 @@ module Models AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem GenericProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem GenericProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy @@ -290,8 +290,8 @@ module Models MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource - Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings ProtectionPolicyResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource + Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings SimpleRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy SimpleSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy ProtectionState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState @@ -325,7 +325,7 @@ module Models end class RecoveryServicesBackupManagementClass - 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 + attr_reader :operations, :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_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :operation, :export_jobs_operation_results, :backup_protected_items, :backup_usage_summaries, :backup_policies, :jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -342,10 +342,6 @@ 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 @backup_protectable_items = @client_1.backup_protectable_items @backup_protection_containers = @client_1.backup_protection_containers @security_pins = @client_1.security_pins @@ -367,6 +363,10 @@ 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 + @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 @client_2 = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -378,11 +378,11 @@ def initialize(configurable, base_url=nil, options=nil) @feature_support = @client_2.feature_support @backup_jobs = @client_2.backup_jobs @job_details = @client_2.job_details + @operation = @client_2.operation @export_jobs_operation_results = @client_2.export_jobs_operation_results - @backup_policies = @client_2.backup_policies @backup_protected_items = @client_2.backup_protected_items @backup_usage_summaries = @client_2.backup_usage_summaries - @operation = @client_2.operation + @backup_policies = @client_2.backup_policies @jobs = @client_2.jobs @model_classes = ModelClasses.new @@ -406,15 +406,6 @@ 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 - def client_discovery_display - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay - end def client_discovery_for_service_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification end @@ -424,6 +415,15 @@ 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 client_discovery_value_for_single_api + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi + end + def client_discovery_display + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + end def storage_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end @@ -721,12 +721,12 @@ def backup_request 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 protection_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end + def protection_container_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource + end def recovery_point_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource end @@ -826,14 +826,11 @@ def azure_workload_job_task_details def daily_retention_schedule Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule end - def azure_workload_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def azure_iaa_svmjob_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails end - def daily_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + def validate_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest end def mab_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails @@ -841,23 +838,26 @@ def mab_job_task_details def mab_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo end - def azure_iaa_svmjob_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end - def azure_storage_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + def daily_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat end - def validate_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + def azure_workload_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo end - def azure_vmresource_feature_support_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + def protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + end + def azure_storage_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end def protected_item_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject end - def protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + def azure_vmresource_feature_support_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse end def pre_validate_enable_backup_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest @@ -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 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 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 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 bmsbackup_summaries_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject @@ -898,8 +898,8 @@ def azure_sql_protected_item_extended_info def validate_operation_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo end def job_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject @@ -910,8 +910,8 @@ def pre_validate_enable_backup_response def backup_status_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob end def protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem @@ -940,8 +940,8 @@ def weekly_retention_format def encryption_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails end - def azure_storage_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + def job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job end def azure_backup_goal_feature_support_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest @@ -958,14 +958,14 @@ def sqldata_directory_mapping def mab_file_folder_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo end - def job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo end def azure_workload_auto_protection_intent Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + def azure_workload_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob end def azure_recovery_service_vault_protection_intent Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent @@ -1018,8 +1018,8 @@ def azure_sql_protection_policy def azure_resource_protection_intent Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + def azure_storage_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob end def mab_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob @@ -1027,8 +1027,8 @@ def mab_job def operation_result_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo end - def azure_workload_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus end def azure_vm_workload_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem @@ -1042,14 +1042,14 @@ def export_jobs_operation_result_info def azure_vm_workload_saphana_database_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem end - def validate_iaas_vmrestore_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList end def job_supported_action Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + def create_mode + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode end def fabric_name Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName @@ -1069,9 +1069,6 @@ def validate_restore_operation_request def job_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource end - def create_mode - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode - end def type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type end @@ -1105,6 +1102,9 @@ def mab_server_type def protection_intent_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource end + def validate_iaas_vmrestore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + end def dpmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem end @@ -1138,12 +1138,12 @@ def mab_protection_policy def protected_item_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource end - def settings - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - end def protection_policy_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource end + def settings + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + end def simple_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy end diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index d127aa75e4..2962ea9496 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,7 +7,6 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt - ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationVaultHealth Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Operations ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationAlertSettings ReplicationEvents = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationEvents @@ -28,6 +27,7 @@ module Mgmt ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationPolicies ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryPlans ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationJobs + ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationVaultHealth module Models JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails @@ -234,11 +234,11 @@ 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 - RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert + AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails 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 + RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment AzureToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureCreateNetworkMappingInput AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureNetworkMappingSettings AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricSpecificDetails @@ -249,60 +249,60 @@ module Models FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverJobDetails Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Fabric HyperVReplica2012R2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012R2EventDetails + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureApplyRecoveryPointInput - HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEventDetails HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailbackProviderInput HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEnableProtectionInput + HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput - HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput + HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput - 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 + HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails + HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput + HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails + HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput - HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails + HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails - HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails + InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InlineWorkflowTaskDetails - HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails + InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails InMageAzureV2EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EnableProtectionInput - InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput + InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2FailoverProviderInput - InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails + InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyInput - InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails + InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReplicationDetails - InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails + InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails InMageAzureV2UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput - InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput + InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDisableProtectionProviderSpecificInput - InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails + InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageFailoverProviderInput - InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput + InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput - InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails + JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput - InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails + LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails - JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails + NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails - LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork + ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem - NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping + RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails - ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping + RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput - RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput - RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails @@ -328,33 +328,33 @@ 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 - VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails + VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails 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 - VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails + VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails + VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails 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 - Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy 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 + FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel 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 + Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation - FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel - 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 - AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections + Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails + AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + PresenceStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus + DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType - MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption + SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation + MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointType @@ -377,7 +377,7 @@ module Models end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :replication_vault_health, :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :recovery_points, :replicationv_centers, :replication_policies, :replication_recovery_plans, :replication_jobs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :recovery_points, :replicationv_centers, :replication_policies, :replication_recovery_plans, :replication_jobs, :replication_vault_health, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -387,7 +387,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @replication_vault_health = @client_0.replication_vault_health @operations = @client_0.operations @replication_alert_settings = @client_0.replication_alert_settings @replication_events = @client_0.replication_events @@ -408,6 +407,7 @@ def initialize(configurable, base_url=nil, options=nil) @replication_policies = @client_0.replication_policies @replication_recovery_plans = @client_0.replication_recovery_plans @replication_jobs = @client_0.replication_jobs + @replication_vault_health = @client_0.replication_vault_health @model_classes = ModelClasses.new end @@ -1038,20 +1038,20 @@ def a2_aupdate_container_mapping_input def a2_aupdate_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput 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 asr_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails + end def automation_runbook_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails end def azure_fabric_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricCreationInput end - def asr_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails + def role_assignment + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment end def azure_to_azure_create_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureCreateNetworkMappingInput @@ -1083,12 +1083,12 @@ def fabric def hyper_vreplica2012_r2_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012R2EventDetails end + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + end def hyper_vreplica_azure_apply_recovery_point_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureApplyRecoveryPointInput end - def hyper_vreplica2012_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails - end def hyper_vreplica_azure_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEventDetails end @@ -1098,153 +1098,153 @@ def hyper_vreplica_azure_failback_provider_input def hyper_vreplica_azure_enable_protection_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEnableProtectionInput end + def hyper_vreplica_azure_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput + end def hyper_vreplica_azure_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyDetails end def hyper_vreplica_azure_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput end - def hyper_vreplica_azure_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput + def hyper_vreplica2012_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails end def hyper_vreplica_azure_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput 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 + def hyper_vreplica_base_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails + end + def hyper_vreplica_azure_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end def hyper_vreplica_base_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails end - def hyper_vreplica_base_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails + def hyper_vreplica_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails + end + def hyper_vreplica_blue_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput end def hyper_vreplica_blue_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails end - def hyper_vreplica_blue_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput + def hyper_vreplica_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails end def hyper_vreplica_blue_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + def hyper_vreplica_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails end def hyper_vreplica_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput end - def hyper_vreplica_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails + def hyper_vvirtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails end def hyper_vsite_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails end - def hyper_vreplica_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails + def in_mage_azure_v2_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput end def inline_workflow_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InlineWorkflowTaskDetails end - def hyper_vvirtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails + def in_mage_azure_v2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails end def in_mage_azure_v2_enable_protection_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EnableProtectionInput end - def in_mage_azure_v2_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput + def in_mage_azure_v2_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails end def in_mage_azure_v2_failover_provider_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2FailoverProviderInput end - def in_mage_azure_v2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails + def in_mage_azure_v2_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails end def in_mage_azure_v2_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyInput end - def in_mage_azure_v2_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails + def in_mage_azure_v2_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput end def in_mage_azure_v2_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReplicationDetails end - def in_mage_azure_v2_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails + def in_mage_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails end def in_mage_azure_v2_update_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput end - def in_mage_azure_v2_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput + def in_mage_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput end def in_mage_disable_protection_provider_specific_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDisableProtectionProviderSpecificInput end - def in_mage_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails + def in_mage_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails end def in_mage_failover_provider_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageFailoverProviderInput end - def in_mage_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput + def in_mage_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails end def in_mage_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput end - def in_mage_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails + def job_status_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails end def in_mage_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput end - def in_mage_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork end def job_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails end - def job_status_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails + def network_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping end def manual_action_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping end def protectable_item Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem end - def network_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping + def recovery_plan + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan end def rcm_azure_migration_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping + def recovery_plan_automation_runbook_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails end def recovery_plan_a2_afailover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput end - def recovery_plan - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan - end def recovery_plan_hyper_vreplica_azure_failback_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput end - def recovery_plan_automation_runbook_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails - end def recovery_plan_hyper_vreplica_azure_failover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end @@ -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 vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails + def vmm_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails end def vmware_cbt_policy_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput @@ -1332,75 +1332,75 @@ def vmm_to_vmm_create_network_mapping_input def vmware_cbt_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput end def vmware_v2_fabric_specific_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails end + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails + end def vmware_virtual_machine_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails end def agent_auto_update_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus end - def set_multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus - end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy - 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 + 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 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 + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy end 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 + def possible_operations_directions + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + def network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + def health_error_category + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory end - def presence_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails end 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 + 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 disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason end def a2_arp_recovery_point_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType end - def multi_vm_sync_point_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption + def set_multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus end def recovery_plan_action_location Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation end + def multi_vm_sync_point_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption + end + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + end def hyper_vreplica_azure_rp_recovery_point_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index e245e1aaa3..680a263c21 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,18 +7,16 @@ module Azure::Profiles::Latest module Redis module Mgmt + LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer + PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules 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 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 - Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult @@ -27,35 +25,37 @@ module Models NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters + OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult - OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification + RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer - RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters - UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification - RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse - RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule + RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters - RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource - SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties - SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily + RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion - RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType + SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku + RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek 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 :operations, :firewall_rules, :linked_server, :redis, :patch_schedules, :configurable, :base_url, :options, :model_classes + attr_reader :linked_server, :patch_schedules, :operations, :firewall_rules, :redis, :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) + @linked_server = @client_0.linked_server + @patch_schedules = @client_0.patch_schedules @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 @model_classes = ModelClasses.new end @@ -88,9 +88,6 @@ 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 @@ -100,9 +97,6 @@ def provisioning_state def operation_display Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay end - def operation - Azure::Redis::Mgmt::V2018_03_01::Models::Operation - end def redis_reboot_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters end @@ -127,6 +121,9 @@ def redis_update_parameters def import_rdbparameters Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters end + def operation_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + end def redis_firewall_rule_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters end @@ -136,60 +133,60 @@ def schedule_entry def redis_patch_schedule_list_result Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult end - def operation_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + def upgrade_notification + Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification + end + def redis_force_reboot_response + Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse end def redis_linked_server Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer end - def redis_firewall_rule_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult - end def redis_linked_server_with_properties_list Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList end def redis_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters end - def upgrade_notification - Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification - end - def redis_force_reboot_response - Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse - end - def redis_firewall_rule - Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule + def redis_firewall_rule_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult end def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters end - def redis_patch_schedule - Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + def redis_firewall_rule + Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule end def redis_resource Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource end - def sku_name - Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + def operation + Azure::Redis::Mgmt::V2018_03_01::Models::Operation end def redis_linked_server_with_properties Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties end - def sku_family - Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily + def redis_patch_schedule + Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule end def tls_version Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion end - def redis_key_type - Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType + def sku_family + Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily end def reboot_type Azure::Redis::Mgmt::V2018_03_01::Models::RebootType end + def sku_name + Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + end def sku Azure::Redis::Mgmt::V2018_03_01::Models::Sku end + def redis_key_type + Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType + end def day_of_week Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek end @@ -202,6 +199,9 @@ 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 78eb337073..ed7b25e452 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,34 +7,34 @@ 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 + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces 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 + OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - 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 + ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters - AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype - 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 + AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - 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 + AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku @@ -43,7 +43,7 @@ module Models end class RelayManagementClass - attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes + attr_reader :hybrid_connections, :wcfrelays, :operations, :namespaces, :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 + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -84,29 +84,29 @@ def key_type 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 def check_name_availability Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability end def hybrid_connection_list_result Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult end + def operation_display + Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + 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 wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - 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 operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def wcf_relay Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay @@ -114,32 +114,32 @@ def wcf_relay def relay_update_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end - def authorization_rule - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation end def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end - def authorization_rule_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + def authorization_rule + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule end - def relay_namespace - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace + def access_keys + Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys end def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + def unavailable_reason + Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason end def access_rights Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights end - def unavailable_reason - Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + def relay_namespace + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace end def sku_tier Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index c1c4bffc7b..08076d0916 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 - Resources = Azure::Resources::Mgmt::V2018_05_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2018_05_01::Resources + Operations = Azure::Resources::Mgmt::V2018_05_01::Operations 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 - 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 + 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 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 :operations, :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :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 - @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -150,14 +150,17 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo 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 export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def dependency - Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + def deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + end + def deployment_properties_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended end def tag_count Azure::Resources::Mgmt::V2018_05_01::Models::TagCount @@ -165,9 +168,6 @@ 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 242eb63a73..43e91b9261 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -16,28 +16,28 @@ module Models ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - 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 - 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 + ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem - 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 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 + CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest 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 - ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest - 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 + CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo + CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails + Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end @@ -84,44 +84,44 @@ def type def operation Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation end + def operation_results + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults + end def operation_list_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult end - 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 end 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 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 + def management_group_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult end def entity_hierarchy_item Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem end - def patch_management_group_request - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest + def entity_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + end + def management_group_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails end def management_group Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup end - def create_management_group_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails + def create_parent_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo end - def parent_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo + def patch_management_group_request + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest end def create_management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo @@ -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 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_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails - end - def reason - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason + def check_name_availability_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end - def create_parent_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + def parent_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo end def management_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo end + def create_management_group_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails + end + def reason + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason + 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 b9a11b7bc9..359049a2b5 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -7,11 +7,10 @@ module Azure::Profiles::Latest module Scheduler module Mgmt - Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections + Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs 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 @@ -31,21 +30,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 + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication 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 @@ -55,10 +54,11 @@ 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 - attr_reader :jobs, :job_collections, :configurable, :base_url, :options, :model_classes + attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -68,8 +68,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @jobs = @client_0.jobs @job_collections = @client_0.job_collections + @jobs = @client_0.jobs @model_classes = ModelClasses.new end @@ -88,9 +88,6 @@ 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 @@ -148,6 +145,9 @@ 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,9 +157,6 @@ 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 @@ -175,8 +172,8 @@ 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 + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication end def sku_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition @@ -190,8 +187,8 @@ def retry_type def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + def oauth_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus @@ -220,6 +217,9 @@ 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 e0e2b2d130..ac38ec307a 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,34 +7,34 @@ 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 + Services = Azure::Search::Mgmt::V2015_08_19::Services 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 ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay - QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey + Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult - Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation - SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions - HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus + HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity + 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 end class SearchManagementClass - attr_reader :operations, :services, :admin_keys, :query_keys, :configurable, :base_url, :options, :model_classes + attr_reader :admin_keys, :query_keys, :operations, :services, :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 + @services = @client_0.services @model_classes = ModelClasses.new end @@ -66,15 +66,6 @@ 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 - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName - end def resource Azure::Search::Mgmt::V2015_08_19::Models::Resource end @@ -87,8 +78,8 @@ def sku def operation_display Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay end - def query_key - Azure::Search::Mgmt::V2015_08_19::Models::QueryKey + def operation + Azure::Search::Mgmt::V2015_08_19::Models::Operation end def admin_key_result Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult @@ -96,30 +87,39 @@ def admin_key_result def operation_list_result Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult end - def operation - Azure::Search::Mgmt::V2015_08_19::Models::Operation - end - def search_service - Azure::Search::Mgmt::V2015_08_19::Models::SearchService - end def search_management_request_options Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end - def hosting_mode - Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + def search_service + Azure::Search::Mgmt::V2015_08_19::Models::SearchService end def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def admin_key_kind - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + def query_key + Azure::Search::Mgmt::V2015_08_19::Models::QueryKey end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end + def hosting_mode + Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + end + def admin_key_kind + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + end 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 + def check_name_availability_output + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput + end + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + 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 b1bc802508..228a0d80fa 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -7,16 +7,13 @@ module Azure::Profiles::Latest module Security module Mgmt + 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 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 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 AutoProvisioningSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSettingList PricingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingList @@ -30,10 +27,13 @@ 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 + PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier + AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision end class SecurityManagementClass - attr_reader :workspace_settings, :auto_provisioning_settings, :compliances, :pricings, :security_contacts, :configurable, :base_url, :options, :model_classes + attr_reader :pricings, :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :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) + @pricings = @client_0.pricings + @security_contacts = @client_0.security_contacts @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 @model_classes = ModelClasses.new end @@ -66,15 +66,6 @@ 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 - def auto_provision - Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision - end def resource Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource end @@ -114,6 +105,15 @@ 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 + def pricing_tier + Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier + end + def auto_provision + Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision + 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 de1010e33f..540a6b445c 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -7,16 +7,16 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt - DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs - MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs + MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions + DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions module Models @@ -52,17 +52,17 @@ module Models 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 - Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult 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 - RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult + Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic 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 - SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic + SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue + EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription 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 @@ -70,12 +70,12 @@ module Models UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName end class ServiceBusManagementClass - attr_reader :disaster_recovery_configs, :migration_configs, :queues, :rules, :premium_messaging_regions_operations, :event_hubs, :topics, :operations, :namespaces, :regions, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :queues, :rules, :premium_messaging_regions_operations, :event_hubs, :migration_configs, :topics, :operations, :namespaces, :regions, :disaster_recovery_configs, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -85,16 +85,16 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @disaster_recovery_configs = @client_0.disaster_recovery_configs - @migration_configs = @client_0.migration_configs @queues = @client_0.queues @rules = @client_0.rules @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations @event_hubs = @client_0.event_hubs + @migration_configs = @client_0.migration_configs @topics = @client_0.topics @operations = @client_0.operations @namespaces = @client_0.namespaces @regions = @client_0.regions + @disaster_recovery_configs = @client_0.disaster_recovery_configs @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new @@ -210,8 +210,8 @@ def sbnamespace_update_parameters def sbauthorization_rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + def rule_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end def sbnamespace Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace @@ -222,11 +222,11 @@ def sbsubscription def rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule end - def sbqueue - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end - def rule_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult + def sbtopic + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic end def eventhub Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub @@ -237,11 +237,11 @@ def arm_disaster_recovery def sql_rule_action Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction end - def premium_messaging_regions - Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions + def sbqueue + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue end - def sbtopic - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic + def encoding_capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR @@ -264,8 +264,8 @@ def role_disaster_recovery def tracked_resource Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource end - def encoding_capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def premium_messaging_regions + Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end def sku_name Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index ba9135df47..244e8a4381 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt - ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType 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 + Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version + ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters ClusterVersions = Azure::ServiceFabric::Mgmt::V2018_02_01::ClusterVersions @@ -26,6 +26,7 @@ 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 @@ -34,53 +35,52 @@ module Models SingletonPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription VersionResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource - ApplicationResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + ApplicationResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate + ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties 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 - StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties - ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + 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 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 EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription Resource = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource ProvisioningState = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState + ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy OperationListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult ErrorModel = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel ServerCertificateCommonNames = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy - OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult - ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters ApplicationDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy - ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters ErrorModelError = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError + ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult ServerCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy CertificateDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster ClusterListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName 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 + OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription end class ServiceFabricManagementClass - attr_reader :application_type, :service, :version, :application, :operations, :clusters, :cluster_versions, :configurable, :base_url, :options, :model_classes + attr_reader :service, :application, :version, :application_type, :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 @@ -90,10 +90,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_type = @client_0.application_type @service = @client_0.service - @version = @client_0.version @application = @client_0.application + @version = @client_0.version + @application_type = @client_0.application_type @client_1 = Azure::ServiceFabric::Mgmt::V2018_02_01::ServiceFabricManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -153,6 +153,9 @@ 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 @@ -177,21 +180,18 @@ def version_resource def application_type_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource end + def application_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + end def application_resource_update Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate end - def application_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + def service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties 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,30 +201,18 @@ def stateless_service_properties def stateless_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties end - 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 + def service_resource_update + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate 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 - def settings_section_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription - end - def cluster - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster - end def endpoint_range_description Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription end @@ -237,6 +225,9 @@ def resource def provisioning_state Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState end + def application_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy + end def operation_list_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult end @@ -249,21 +240,18 @@ def server_certificate_common_names def service_type_delta_health_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy end - def operation_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + def application_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy end def cluster_update_parameters Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters end - def application_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy + def error_model_error + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError end def cluster_code_versions_list_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult end - def error_model_error - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError - end def cluster_code_versions_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult end @@ -282,14 +270,14 @@ def available_operation_display def cluster_health_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy end - def azure_active_directory - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + def certificate_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription end def service_type_health_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy end - def certificate_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + def cluster + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster end def cluster_list_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult @@ -306,6 +294,18 @@ 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 + def operation_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + end + def azure_active_directory + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + end + def settings_section_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription + 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 2b1aab3c41..90526ca4d4 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 - SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource 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 :operations, :usages, :signal_r, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :signal_r, :operations, :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_rusage - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource 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 4169ff5add..0b5a679b59 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -10,18 +10,18 @@ module SpellCheck module Models SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - 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 + ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase 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 + ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode + Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType end class SpellCheckDataClass @@ -59,41 +59,41 @@ def spelling_token_suggestion def spelling_flagged_token Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken end - def error_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType - end - def error_code - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode + def mode + Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end 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 response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end def spell_check Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck end def response Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end def identifiable Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable end + def answer + Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + end + def error_code + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode + end def error Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end - def answer - Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + def error_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType 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 9453d0fc50..7d2bb9c43d 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -36,9 +36,6 @@ 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 Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations @@ -52,16 +49,15 @@ 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 + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors + SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups - JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions + ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups - ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases - JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps - 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 - 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 @@ -70,15 +66,16 @@ 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 + JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions - 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 + ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases BackupShortTermRetentionPolicies = Azure::SQL::Mgmt::V2017_10_01_preview::BackupShortTermRetentionPolicies TdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::TdeCertificates ManagedInstanceTdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::ManagedInstanceTdeCertificates @@ -86,12 +83,11 @@ module Mgmt ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools DatabaseOperations = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseOperations Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities + 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 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 DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits @@ -167,10 +163,10 @@ module Models ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult 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 - QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult + MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric @@ -201,20 +197,20 @@ 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 - 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 + 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 SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState - SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy - SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy - VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult @@ -273,14 +269,17 @@ module Models AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod + RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason 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 - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy 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 @@ -330,10 +329,10 @@ module Models JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType - Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType - JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus @@ -349,6 +348,7 @@ 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 @@ -368,12 +368,12 @@ module Models CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType ElasticPoolPerDatabaseMinPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability Resource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult ElasticPoolPerDatabaseMaxPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability ElasticPoolPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability VulnerabilityAssessmentScanError = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanError InstanceFailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadOnlyEndpoint VulnerabilityAssessmentScanRecordListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult - BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult ManagedInstanceVcoresCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability ServerVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability ManagedInstanceFamilyCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability @@ -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, :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 + 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, :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, :firewall_rules, :server_advisors, :sensitivity_labels, :backup_long_term_retention_policies, :job_target_groups, :server_dns_aliases, :long_term_retention_backups, :server_automatic_tuning_operations, :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, :job_agents, :job_credentials, :data_warehouse_user_activities_operations, :job_executions, :job_step_executions, :job_steps, :jobs, :job_versions, :job_target_executions, :managed_databases, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :elastic_pools, :database_operations, :capabilities, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,9 +464,6 @@ 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 @servers = @client_1.servers @operations = @client_1.operations @@ -480,22 +477,21 @@ 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 + @firewall_rules = @client_1.firewall_rules + @server_advisors = @client_1.server_advisors @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) + @sensitivity_labels = @client_2.sensitivity_labels + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @job_target_groups = @client_2.job_target_groups - @job_versions = @client_2.job_versions + @server_dns_aliases = @client_2.server_dns_aliases @long_term_retention_backups = @client_2.long_term_retention_backups - @managed_databases = @client_2.managed_databases - @job_steps = @client_2.job_steps - @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 - @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 @@ -504,21 +500,22 @@ 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_steps = @client_2.job_steps + @jobs = @client_2.jobs + @job_versions = @client_2.job_versions @job_target_executions = @client_2.job_target_executions + @managed_databases = @client_2.managed_databases @client_3 = Azure::SQL::Mgmt::V2017_10_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) - @elastic_pool_operations = @client_3.elastic_pool_operations - @database_vulnerability_assessment_scans = @client_3.database_vulnerability_assessment_scans - @instance_failover_groups = @client_3.instance_failover_groups @backup_short_term_retention_policies = @client_3.backup_short_term_retention_policies @tde_certificates = @client_3.tde_certificates @managed_instance_tde_certificates = @client_3.managed_instance_tde_certificates @@ -526,6 +523,9 @@ def initialize(configurable, base_url=nil, options=nil) @elastic_pools = @client_3.elastic_pools @database_operations = @client_3.database_operations @capabilities = @client_3.capabilities + @elastic_pool_operations = @client_3.elastic_pool_operations + @database_vulnerability_assessment_scans = @client_3.database_vulnerability_assessment_scans + @instance_failover_groups = @client_3.instance_failover_groups @model_classes = ModelClasses.new end @@ -550,18 +550,6 @@ 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 - def database_table_auditing_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy - end - def server_table_auditing_policy - Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy - end def database_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end @@ -787,18 +775,18 @@ def operation_impact def metric_definition_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult end - def metric_availability - Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability + 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 + def metric_availability + Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability + end def query_interval Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval end @@ -889,48 +877,48 @@ def service_objective def elastic_pool_database_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity end - def sync_agent_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + def transparent_data_encryption_activity + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity end - def advisor_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity end - def auto_execute_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus + def database_table_auditing_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy end - def sync_group_log_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + def server_table_auditing_policy + Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy end def sync_group_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState end - def sync_conflict_resolution_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy - end - def sync_member_db_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + def sync_direction + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection end def server_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end - def sync_member_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + def implementation_method + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod end def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def sync_direction - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - end - def recommended_action_initiated_by - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy + def advisor_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus end - def virtual_network_rule_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + def auto_execute_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus end def server Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server end + def sync_member_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + end + def virtual_network_rule_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + end def operation_display Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay end @@ -1105,8 +1093,8 @@ def recommended_action_current_state def proxy_resource_with_writable_name Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName end - def implementation_method - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod + def recommended_action_initiated_by + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy end def sync_member Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember @@ -1126,8 +1114,17 @@ def failover_group_replication_role def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + def sync_agent_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + end + def sync_member_db_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + end + def sync_group_log_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + end + def sync_conflict_resolution_policy + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy end def job_schedule Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule @@ -1276,8 +1273,8 @@ def job_schedule_type def job_step_output_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType end - def job - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + def job_step_action_source + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource end def provisioning_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState @@ -1285,8 +1282,8 @@ def provisioning_state def job_target_group_membership_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType end - def job_step_action_source - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job end def managed_database_create_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode @@ -1333,6 +1330,9 @@ 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 @@ -1390,6 +1390,9 @@ def elastic_pool_per_database_min_performance_level_capability def resource Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource end + def backup_short_term_retention_policy_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult + end def elastic_pool_per_database_max_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability end @@ -1405,9 +1408,6 @@ def instance_failover_group_read_only_endpoint def vulnerability_assessment_scan_record_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult end - def backup_short_term_retention_policy_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult - end def managed_instance_vcores_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index 1da1ce6e82..f227f7353b 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,16 +7,15 @@ 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 @@ -34,17 +33,17 @@ 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 - AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + State = Azure::Storage::Mgmt::V2018_07_01::Models::State 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 Resource = Azure::Storage::Mgmt::V2018_07_01::Models::Resource + Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions SKUCapability = Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters ListAccountSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse @@ -69,20 +68,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 - Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action + Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass 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 - DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource - Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource 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 - SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess - LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus + DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction 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 @@ -91,10 +90,11 @@ 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 :operations, :storage_accounts, :skus, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :skus, :usages, :blob_containers, :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) @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,9 +141,6 @@ 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 @@ -195,39 +192,39 @@ 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 + end 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 account_status - Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + def state + Azure::Storage::Mgmt::V2018_07_01::Models::State end def storage_account_create_parameters Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters end - def permissions - Azure::Storage::Mgmt::V2018_07_01::Models::Permissions - end def storage_account_update_parameters Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters end def resource Azure::Storage::Mgmt::V2018_07_01::Models::Resource end + def permissions + Azure::Storage::Mgmt::V2018_07_01::Models::Permissions + end def skucapability Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability end @@ -300,8 +297,8 @@ def blob_container def usage Azure::Storage::Mgmt::V2018_07_01::Models::Usage end - def action - Azure::Storage::Mgmt::V2018_07_01::Models::Action + def bypass + Azure::Storage::Mgmt::V2018_07_01::Models::Bypass end def reason_code Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode @@ -312,8 +309,8 @@ def sku_name def immutability_policy Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy end - def default_action - Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + def action + Azure::Storage::Mgmt::V2018_07_01::Models::Action end def signed_resource_types Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes @@ -321,8 +318,8 @@ def signed_resource_types def key_source Azure::Storage::Mgmt::V2018_07_01::Models::KeySource end - def bypass - Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + def signed_resource + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource end def sku Azure::Storage::Mgmt::V2018_07_01::Models::Sku @@ -333,14 +330,14 @@ def services def http_protocol Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol end - def signed_resource - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + def lease_duration + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration end def public_access Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess end - def lease_status - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus + def default_action + Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction end def lease_state Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState @@ -366,6 +363,9 @@ 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 dd9b323a8f..d4d4fdf460 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,7 +7,6 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt - Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings @@ -23,12 +22,9 @@ module Mgmt BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs + Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers 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 RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction @@ -132,11 +128,11 @@ 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 - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch 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 + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings @@ -184,10 +180,14 @@ 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 + 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 end class StorSimple8000SeriesManagementClass - attr_reader :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_schedules, :hardware_component_groups, :volume_containers, :volumes, :storage_account_credentials, :operations, :backup_policies, :backups, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_schedules, :hardware_component_groups, :volume_containers, :volumes, :storage_account_credentials, :operations, :backup_policies, :backups, :jobs, :managers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -197,7 +197,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @managers = @client_0.managers @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings @@ -213,6 +212,7 @@ def initialize(configurable, base_url=nil, options=nil) @backup_policies = @client_0.backup_policies @backups = @client_0.backups @jobs = @client_0.jobs + @managers = @client_0.managers @model_classes = ModelClasses.new end @@ -231,18 +231,6 @@ 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 - def backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end - def backup_policy_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - end def recurrence_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType end @@ -552,20 +540,20 @@ def security_settings_patch def manager_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def device_rollover_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails end + def manager_patch + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + 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 + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay @@ -708,6 +696,18 @@ 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 + def day_of_week + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + end + def backup_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + end + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + 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 29566430ae..7600b02ca8 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -7,12 +7,12 @@ module Azure::Profiles::Latest module StreamAnalytics module Mgmt - 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 @@ -43,16 +43,16 @@ module Models ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input 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 - JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics + Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation + Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output AzureMachineLearningWebServiceFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function + StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob 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 - Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource @@ -91,7 +91,7 @@ module Models end class StreamAnalyticsManagementClass - attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :streaming_jobs, :inputs, :outputs, :transformations, :functions, :operations, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -101,12 +101,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 @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 @@ -207,14 +207,14 @@ def input def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end - def function - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function + def diagnostics + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end - def streaming_job - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob + def transformation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end - def java_script_function_binding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + def output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding @@ -222,21 +222,21 @@ def azure_machine_learning_web_service_function_binding def scalar_function_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties end + def java_script_function_binding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + end + def function + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function + end + def streaming_job + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob + end def avro_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end - def diagnostics - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end - def transformation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation - end - def output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output - end def csv_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 3d0f0e3d25..c6444067a0 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module Subscriptions module Mgmt - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models @@ -27,7 +27,7 @@ module Models end class SubscriptionsManagementClass - attr_reader :operations, :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :operations, :subscriptions, :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) - @operations = @client_0.operations @tenants = @client_0.tenants + @operations = @client_0.operations @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index 9ac630b8a9..36da1692ba 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -13,14 +13,14 @@ module Models LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse 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 + SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult @@ -72,18 +72,15 @@ def key_phrase_batch_result_item def language_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end def key_phrase_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult end - def sentiment_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - end 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 @@ -96,6 +93,9 @@ def error_record def entity_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord end + def sentiment_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem + end def entities_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem end diff --git a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb index 6f0411909a..5d53644093 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -7,11 +7,11 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt - Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints - GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles + Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints + GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies module Models MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem @@ -46,7 +46,7 @@ module Models end class TrafficManagerManagementClass - attr_reader :endpoints, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :profiles, :configurable, :base_url, :options, :model_classes + attr_reader :heat_map, :traffic_manager_user_metrics_keys, :profiles, :endpoints, :geographic_hierarchies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -56,11 +56,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @endpoints = @client_0.endpoints - @geographic_hierarchies = @client_0.geographic_hierarchies @heat_map = @client_0.heat_map @traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys @profiles = @client_0.profiles + @endpoints = @client_0.endpoints + @geographic_hierarchies = @client_0.geographic_hierarchies @model_classes = ModelClasses.new 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..6a21824443 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -21,11 +21,11 @@ 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 Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject + Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable @@ -109,20 +109,20 @@ 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 def query_context Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext end + def query + Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + end def video_object Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject end - def query - Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + def response + Azure::CognitiveServices::VideoSearch::V1_0::Models::Response end def pivot_suggestions Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index d2edcd71e7..47e4fcc686 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -23,10 +23,6 @@ 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 HostNameSslState = Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState AnalysisData = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData SkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription @@ -58,53 +54,53 @@ 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 - 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 + DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + 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 SlotSwapStatus = Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo - CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings - DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample + CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest - DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest 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 + ResponseMetaData = Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData + ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo 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 + AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource - 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 - 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 - 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 + HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier + User = Azure::Web::Mgmt::V2018_02_01::Models::User + DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource + TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain + CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource + DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite + HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection + Site = Azure::Web::Mgmt::V2018_02_01::Models::Site 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 + AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse - CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource + DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis 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 + VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure 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 VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters - VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure + RecommendationRule = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource SlotDifference = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference @@ -142,17 +138,17 @@ module Models CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType KeyVaultSecretStatus = Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState - Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate + SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState 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 - DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate 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 ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType - SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel 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 @@ -164,7 +160,7 @@ 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 - AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus InAvailabilityReasonType = Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions @@ -185,9 +181,9 @@ 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 - NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState Channels = Azure::Web::Mgmt::V2018_02_01::Models::Channels - PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation + AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType @@ -204,7 +200,6 @@ module Models 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 @@ -213,6 +208,7 @@ module Models BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType 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 @@ -288,13 +284,13 @@ module Models SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent 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 DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest TldLegalAgreement = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement - AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork DefaultErrorResponseError = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError @@ -304,61 +300,65 @@ module Models ValidateResponse = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection Address = Azure::Web::Mgmt::V2018_02_01::Models::Address - DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection SourceControlCollection = Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties - DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName MetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection CsmOperationDisplay = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay NetworkTrace = Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace - HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName - ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest - ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo PremierAddOnOfferCollection = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection + DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo + CloningInfo = Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo CsmOperationCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection - LocalizableString = Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString + ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest CsmOperationDescription = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription ResourceMetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability ErrorEntity = Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity - CsmUsageQuotaCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection + LocalizableString = Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString AutoHealRules = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules CsmUsageQuota = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuota SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption VirtualDirectory = Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory - CloningInfo = Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo + ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack DeploymentLocations = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations StatusCodesBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::StatusCodesBasedTrigger - RequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + CsmUsageQuotaCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection AutoHealCustomAction = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction HostingEnvironmentProfile = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile GlobalCsmSkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription RampUpRule = Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule - NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier - ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + RequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity SiteSeal = Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal StackMajorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion - ResourceMetric = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric + NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier ResourceMetricValue = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue SiteConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig IdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection HandlerMapping = Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping ResourceMetricCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection - SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile + ResourceMetric = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric ResourceMetricProperty = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty WebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection - VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile - ValidateResponseError = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError + NetworkAccessControlEntry = Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection VirtualIPMapping = Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection - NetworkAccessControlEntry = Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry + ValidateResponseError = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError Solution = Azure::Web::Mgmt::V2018_02_01::Models::Solution AppServicePlanCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection 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 + DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod + CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings + DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample end class WebManagementClass @@ -404,18 +404,6 @@ 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 - def site_machine_key - Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey - end - def response_meta_data - Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData - end def host_name_ssl_state Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState end @@ -509,17 +497,17 @@ def stack_minor_version def auto_heal_triggers Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers end - def resource_metric_name - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName + def diagnostic_metric_set + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet end - def detector_abnormal_time_period - Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod + def experiments + Azure::Web::Mgmt::V2018_02_01::Models::Experiments end - def conn_string_info - Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo + def data_source + Azure::Web::Mgmt::V2018_02_01::Models::DataSource end - def app_service_certificate_order - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder + def site_machine_key + Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey end def slot_swap_status Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus @@ -527,17 +515,17 @@ def slot_swap_status def hosting_environment_deployment_info Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo end - def cors_settings - Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings + def certificate_email + Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail end - def diagnostic_metric_sample - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample + def certificate_order_action + Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction end def reissue_certificate_order_request Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest end - def diagnostic_metric_set - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + def renew_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest end def vnet_route Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute @@ -548,11 +536,11 @@ def vnet_info def vnet_gateway Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway end - def user - Azure::Web::Mgmt::V2018_02_01::Models::User + def response_meta_data + Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData end - def hybrid_connection - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection + def conn_string_info + Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo end def resource_metric_definition Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition @@ -560,8 +548,8 @@ def resource_metric_definition def app_service_certificate_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource end - def hybrid_connection_key - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey + def app_service_certificate_order + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder end def app_service_certificate_order_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource @@ -569,38 +557,38 @@ def app_service_certificate_order_patch_resource def app_service_certificate_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource end - def certificate_email - Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + def app_service_plan + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan end - def certificate_order_action - Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction + def push_settings + Azure::Web::Mgmt::V2018_02_01::Models::PushSettings end - def analysis_definition - Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition + def hybrid_connection_key + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey end - def renew_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + def identifier + Azure::Web::Mgmt::V2018_02_01::Models::Identifier end - def site - Azure::Web::Mgmt::V2018_02_01::Models::Site + def user + Azure::Web::Mgmt::V2018_02_01::Models::User end - def app_service_plan - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan + 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 end - def push_settings - Azure::Web::Mgmt::V2018_02_01::Models::PushSettings + def certificate_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource end def deleted_site Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite end - def diagnostic_analysis - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis + def hybrid_connection + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end - def identifier - Azure::Web::Mgmt::V2018_02_01::Models::Identifier + def site + Azure::Web::Mgmt::V2018_02_01::Models::Site end def diagnostic_detector_response Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse @@ -608,14 +596,14 @@ def diagnostic_detector_response def detector_definition Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition end - def recommendation_rule - Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule + def analysis_definition + Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition end def detector_response Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse end - def certificate_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource + def diagnostic_analysis + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end def diagnostic_category Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory @@ -629,8 +617,8 @@ def recommendation def domain_ownership_identifier Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier end - def domain_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource + def vnet_validation_test_failure + Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure end def billing_meter Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter @@ -647,8 +635,8 @@ def source_control 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 + def recommendation_rule + Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule end def operation Azure::Web::Mgmt::V2018_02_01::Models::Operation @@ -761,8 +749,8 @@ def key_vault_secret_status def usage_state Azure::Web::Mgmt::V2018_02_01::Models::UsageState end - def certificate - Azure::Web::Mgmt::V2018_02_01::Models::Certificate + def site_availability_state + Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState end def auto_heal_action_type Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType @@ -773,8 +761,8 @@ def host_name_type def scm_type Azure::Web::Mgmt::V2018_02_01::Models::ScmType end - def domain_status - Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + def certificate + Azure::Web::Mgmt::V2018_02_01::Models::Certificate end def dns_type Azure::Web::Mgmt::V2018_02_01::Models::DnsType @@ -791,8 +779,8 @@ def host_type def resource_scope_type Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType end - def site_availability_state - Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + def notification_level + Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel end def status_options Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions @@ -827,8 +815,8 @@ def custom_host_name_dns_record_type def ftps_state Azure::Web::Mgmt::V2018_02_01::Models::FtpsState end - def app_service_plan_restrictions - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + def domain_status + Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus end def in_availability_reason_type Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType @@ -890,14 +878,14 @@ def app_service_plan_patch_resource def hybrid_connection_limits Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits end - def notification_level - Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState end def channels Azure::Web::Mgmt::V2018_02_01::Models::Channels end - def public_certificate_location - Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation + def app_service_plan_restrictions + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions end def unauthenticated_client_action Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction @@ -947,9 +935,6 @@ def validate_resource_types 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 @@ -974,6 +959,9 @@ def database_type 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 @@ -1199,27 +1187,27 @@ def app_service_certificate def azure_storage_info_value Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue end + def domain_purchase_consent + Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent + 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 - def domain_control_center_sso_request - Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest - end - def domain_purchase_consent - Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent - end def domain_ownership_identifier_collection Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection end + def domain_recommendation_search_parameters + Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + end + def domain_control_center_sso_request + Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + end def tld_legal_agreement Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement end - def app_service_certificate_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection - end def default_error_response_error_details_item Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem end @@ -1247,8 +1235,8 @@ def name_identifier_collection def address Azure::Web::Mgmt::V2018_02_01::Models::Address end - def domain_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + def app_service_certificate_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection end def source_control_collection Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection @@ -1256,8 +1244,8 @@ def source_control_collection def csm_operation_description_properties Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties end - def domain_recommendation_search_parameters - Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + def host_name + Azure::Web::Mgmt::V2018_02_01::Models::HostName end def metric_availability Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability @@ -1271,23 +1259,23 @@ def csm_operation_display def network_trace Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace end - def host_name - Azure::Web::Mgmt::V2018_02_01::Models::HostName + def premier_add_on_offer_collection + Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection end - def resource_name_availability_request - Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest + def domain_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection end def api_definition_info Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo end - def premier_add_on_offer_collection - Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection + def cloning_info + Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo end def csm_operation_collection Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection end - def localizable_string - Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString + def resource_name_availability_request + Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest end def csm_operation_description Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription @@ -1298,8 +1286,8 @@ def resource_metric_availability def error_entity Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity end - def csm_usage_quota_collection - Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection + def localizable_string + Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString end def auto_heal_rules Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules @@ -1316,8 +1304,8 @@ def top_level_domain_agreement_option def virtual_directory Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory end - def cloning_info - Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo + def application_stack + Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack end def deployment_locations Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations @@ -1325,8 +1313,8 @@ def deployment_locations def status_codes_based_trigger Azure::Web::Mgmt::V2018_02_01::Models::StatusCodesBasedTrigger end - def requests_based_trigger - Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + def csm_usage_quota_collection + Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection end def auto_heal_custom_action Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction @@ -1340,11 +1328,11 @@ def global_csm_sku_description def ramp_up_rule Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule end - def name_identifier - Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier + def requests_based_trigger + Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger end - def application_stack - Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + def sku_capacity + Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity end def site_seal Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal @@ -1352,8 +1340,8 @@ def site_seal def stack_major_version Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion end - def resource_metric - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric + def name_identifier + Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier end def resource_metric_value Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue @@ -1370,11 +1358,11 @@ def handler_mapping def resource_metric_collection Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection end - def sku_capacity - Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity + def virtual_network_profile + Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + def resource_metric + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric end def resource_metric_property Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty @@ -1382,11 +1370,11 @@ def resource_metric_property def web_app_collection Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection end - def virtual_network_profile - Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile + def network_access_control_entry + Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry end - def validate_response_error - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError + def resource_metric_definition_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection end def virtual_ipmapping Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping @@ -1394,8 +1382,8 @@ def virtual_ipmapping def geo_region_collection Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection end - def network_access_control_entry - Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry + def validate_response_error + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError end def solution Azure::Web::Mgmt::V2018_02_01::Models::Solution @@ -1412,6 +1400,18 @@ 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 + def detector_abnormal_time_period + Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod + end + def cors_settings + Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings + end + def diagnostic_metric_sample + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample + 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 a2fdf3798f..572aa99481 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 Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response News = Azure::CognitiveServices::WebSearch::V1_0::Models::News 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 - RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation - Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query + RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch - RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup - SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions - WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag - TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions + TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article 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 + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue end class WebSearchDataClass @@ -82,9 +82,6 @@ def method_missing(method, *args) end class ModelClasses - def structured_value - Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue - end def images Azure::CognitiveServices::WebSearch::V1_0::Models::Images end @@ -97,9 +94,6 @@ def answer_type def news_article Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end def news Azure::CognitiveServices::WebSearch::V1_0::Models::News end @@ -112,11 +106,11 @@ def query_context def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response end - def ranking_ranking_response - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + def ranking_ranking_group + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem @@ -127,62 +121,62 @@ def search_response def computation Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def identifiable - Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + def search_results_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end def answer Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end - def thing - Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + def ranking_ranking_response + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end - def creative_work - Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + def web_web_grouping + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def search_results_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag 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 web_web_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end - def time_zone - Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone + def thing + Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query end - def ranking_ranking_group - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + def related_searches_related_search_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def spell_suggestions - Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions + def web_page + Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end - def web_web_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + def time_zone + Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article + def creative_work + Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork 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 + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + def spell_suggestions + Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions end def text_format Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article end def error_response Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse @@ -196,14 +190,20 @@ def image_object def places Azure::CognitiveServices::WebSearch::V1_0::Models::Places end + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + 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 media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + def structured_value + Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue 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 6c7c83cd37..1fa9703c7e 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 @@ -7,8 +7,6 @@ module Azure::Profiles::V2017_03_09 module Compute module Mgmt - AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2016_03_30::VirtualMachines VirtualMachineImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineImages @@ -16,10 +14,10 @@ module Mgmt VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs + AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages 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 VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkProfile @@ -119,10 +117,12 @@ 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 + DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :availability_sets, :virtual_machine_extension_images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,8 +132,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @virtual_machine_extensions = @client_0.virtual_machine_extensions @virtual_machines = @client_0.virtual_machines @virtual_machine_images = @client_0.virtual_machine_images @@ -141,6 +139,8 @@ def initialize(configurable, base_url=nil, options=nil) @virtual_machine_sizes = @client_0.virtual_machine_sizes @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets @virtual_machine_scale_set_vms = @client_0.virtual_machine_scale_set_vms + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @model_classes = ModelClasses.new end @@ -159,12 +159,6 @@ 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 def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView end @@ -462,6 +456,12 @@ 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 + def diagnostics_profile + Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile + 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 1a8f74bacb..541dc30eab 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 @@ -11,7 +11,6 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2016_04_01::Zones module Models - Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord @@ -19,9 +18,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 + Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord @@ -66,9 +66,6 @@ def method_missing(method, *args) end class ModelClasses - def resource - Azure::Dns::Mgmt::V2016_04_01::Models::Resource - end def record_set_update_parameters Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters end @@ -90,14 +87,17 @@ 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 + end 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 + def resource + Azure::Dns::Mgmt::V2016_04_01::Models::Resource end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult 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 45dc82f0df..ee89fc9f2f 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 + Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation end class FeaturesManagementClass @@ -48,12 +48,6 @@ 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 def operation_list_result Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult end @@ -66,6 +60,12 @@ 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 + def operation + Azure::Features::Mgmt::V2015_12_01::Models::Operation + 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 963b151852..9c5e0b07f3 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,11 +65,11 @@ 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 - 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 + Error = Azure::KeyVault::V2016_10_01::Models::Error IssuerAttributes = Azure::KeyVault::V2016_10_01::Models::IssuerAttributes StorageBundle = Azure::KeyVault::V2016_10_01::Models::StorageBundle SasDefinitionListResult = Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult @@ -295,9 +295,6 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def secret_properties Azure::KeyVault::V2016_10_01::Models::SecretProperties end @@ -310,6 +307,9 @@ def certificate_bundle def storage_account_attributes Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def issuer_attributes Azure::KeyVault::V2016_10_01::Models::IssuerAttributes end @@ -391,45 +391,45 @@ def json_web_key_signature_algorithm end end module Mgmt - Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults + Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties + DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters + VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult - VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters + VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters - VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties + VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties - ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult 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 - 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 + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end class KeyVaultManagementClass - attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes + attr_reader :vaults, :operations, :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) - @operations = @client_0.operations @vaults = @client_0.vaults + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -468,59 +468,59 @@ def resource def operation_display Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay end - def operation - Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation - end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end - def operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + def vault_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end - def vault_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + def vault_properties + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - def vault_properties - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end - def resource_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + def vault_check_name_availability_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters end def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end - def vault_check_name_availability_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + def check_name_availability_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end + def service_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification + end def access_policy_entry Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end + def operation + Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end - def service_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,14 +540,14 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind 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 + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku 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 c854930966..b9e466cafa 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 @@ -11,14 +11,14 @@ module Mgmt 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 ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties 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 + Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation end class LinksManagementClass @@ -52,12 +52,6 @@ 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 def operation_list_result Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult end @@ -76,6 +70,12 @@ 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 + def operation + Azure::Links::Mgmt::V2016_09_01::Models::Operation + 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 1dd59375c2..12ba827057 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 @@ -7,8 +7,6 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt - NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups - SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules RouteTables = Azure::Network::Mgmt::V2015_06_15::RouteTables Routes = Azure::Network::Mgmt::V2015_06_15::Routes Usages = Azure::Network::Mgmt::V2015_06_15::Usages @@ -25,6 +23,8 @@ module Mgmt LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces PublicIPAddresses = Azure::Network::Mgmt::V2015_06_15::PublicIPAddresses + NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups + SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules module Models ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku @@ -43,53 +43,53 @@ module Models SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult - VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate SecurityRule = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule - Route = Azure::Network::Mgmt::V2015_06_15::Models::Route + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule - PublicIPAddress = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + Route = Azure::Network::Mgmt::V2015_06_15::Models::Route ApplicationGateway = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + NetworkInterface = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface NetworkSecurityGroup = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup RouteTable = Azure::Network::Mgmt::V2015_06_15::Models::RouteTable Subnet = Azure::Network::Mgmt::V2015_06_15::Models::Subnet - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap + PublicIPAddress = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool - NetworkInterface = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization - ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool - FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider LoadBalancingRule = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe + IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration InboundNatPool = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool ExpressRouteCircuit = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings + ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe OutboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule - IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration + LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer 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 - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration VpnClientRootCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate VpnClientRevokedCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway - LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway + Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener - LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer - ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe + LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + VirtualNetwork = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork 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 @@ -148,7 +148,7 @@ module Models end class NetworkManagementClass - attr_reader :network_security_groups, :security_rules, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :application_gateways, :virtual_network_gateway_connections, :local_network_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :public_ipaddresses, :configurable, :base_url, :options, :model_classes + attr_reader :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :application_gateways, :virtual_network_gateway_connections, :local_network_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :public_ipaddresses, :network_security_groups, :security_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,8 +158,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @network_security_groups = @client_0.network_security_groups - @security_rules = @client_0.security_rules @route_tables = @client_0.route_tables @routes = @client_0.routes @usages = @client_0.usages @@ -176,6 +174,8 @@ def initialize(configurable, base_url=nil, options=nil) @load_balancers = @client_0.load_balancers @network_interfaces = @client_0.network_interfaces @public_ipaddresses = @client_0.public_ipaddresses + @network_security_groups = @client_0.network_security_groups + @security_rules = @client_0.security_rules @model_classes = ModelClasses.new end @@ -242,17 +242,17 @@ def application_gateway_backend_address def public_ipaddress_list_result Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult end - def vpn_client_configuration - Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration - end def network_interface_list_result Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + end def express_route_circuit_peering_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + def vpn_client_configuration + Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration end def network_interface_dns_settings Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings @@ -260,20 +260,20 @@ def network_interface_dns_settings def resource Azure::Network::Mgmt::V2015_06_15::Models::Resource end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + end def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings - end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate end def security_rule Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule end - def route - Azure::Network::Mgmt::V2015_06_15::Models::Route + def application_gateway_frontend_port + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort end def inbound_nat_rule Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule @@ -281,14 +281,14 @@ def inbound_nat_rule def application_gateway_request_routing_rule Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule end - def public_ipaddress - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + def route + Azure::Network::Mgmt::V2015_06_15::Models::Route end def application_gateway Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + def network_interface + Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface end def network_security_group Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup @@ -299,32 +299,32 @@ def route_table def subnet Azure::Network::Mgmt::V2015_06_15::Models::Subnet end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap + def public_ipaddress + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress end def backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool end - def network_interface - Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface + def express_route_circuit_peering + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering end def express_route_circuit_authorization Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization end - def application_gateway_backend_http_settings - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings + def application_gateway_url_path_map + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap end def application_gateway_backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration + def express_route_service_provider + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider end def load_balancing_rule Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2015_06_15::Models::Probe + def ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration end def inbound_nat_pool Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool @@ -332,17 +332,17 @@ def inbound_nat_pool def express_route_circuit Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit end - def express_route_service_provider - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + def application_gateway_backend_http_settings + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings end - def express_route_circuit_peering - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + def application_gateway_probe + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe end def outbound_nat_rule Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule end - def ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration + def load_balancer + Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer end def ipallocation_method Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod @@ -350,11 +350,11 @@ def ipallocation_method def network_interface_ipconfiguration Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration end - def virtual_network - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork + def application_gateway_http_listener + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener end - def application_gateway_path_rule - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration end def vpn_client_root_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate @@ -362,26 +362,26 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + def frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration end def virtual_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway + def probe + Azure::Network::Mgmt::V2015_06_15::Models::Probe end def virtual_network_gateway_connection Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end - def application_gateway_http_listener - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener + def local_network_gateway + Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway end - def load_balancer - Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + def application_gateway_path_rule + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule end - def application_gateway_probe - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe + def virtual_network + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork end def application_gateway_sku_name Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName diff --git a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb index 5772e2c462..7391bc7eac 100644 --- a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb @@ -11,11 +11,11 @@ module Mgmt PolicyAssignments = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyAssignments module Models + PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult + PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult - PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult - PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType end class PolicyManagementClass @@ -49,6 +49,12 @@ def method_missing(method, *args) end class ModelClasses + def policy_definition_list_result + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult + end + def policy_type + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType + end def policy_assignment Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment end @@ -58,12 +64,6 @@ def policy_definition def policy_assignment_list_result Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult end - def policy_definition_list_result - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult - end - def policy_type - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType - end end end 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 97f6ea3e16..734edd59a4 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 - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2016_02_01::Resources module Models GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter @@ -24,11 +24,10 @@ 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 - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency 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 @@ -38,7 +37,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 - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended 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 @@ -48,6 +47,7 @@ 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, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :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 - @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @model_classes = ModelClasses.new end @@ -125,9 +125,6 @@ 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 @@ -137,8 +134,8 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def deployment_properties_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest @@ -167,8 +164,8 @@ def deployment_properties def tags_list_result Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult end - def alias_path_type - Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + def deployment_properties_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource @@ -197,6 +194,9 @@ 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 7c9e8c0bb7..a11a6d5f00 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 - StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations + StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,28 +21,28 @@ 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 + SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult 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 - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind - AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end class StorageManagementClass - attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes + attr_reader :usage_operations, :storage_accounts, :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) - @storage_accounts = @client_0.storage_accounts @usage_operations = @client_0.usage_operations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -102,17 +102,17 @@ 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 + end 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 end - def custom_domain - Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - end - def encryption_services - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + def sku_name + Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end def usage_list_result Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult @@ -126,26 +126,26 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - 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 reason Azure::Storage::Mgmt::V2016_01_01::Models::Reason end + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + end + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + def custom_domain + Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain end def key_permission Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit 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 usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb index 39e3c27496..59c2457851 100644 --- a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2017_03_09 module Subscriptions module Mgmt - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models @@ -27,7 +27,7 @@ module Models end class SubscriptionsManagementClass - attr_reader :operations, :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :operations, :subscriptions, :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) - @operations = @client_0.operations @tenants = @client_0.tenants + @operations = @client_0.operations @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new 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 3c5710c0c4..729f2fcf8b 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 @@ -7,8 +7,6 @@ module Azure::Profiles::V2018_03_01 module Compute module Mgmt - AvailabilitySets = Azure::Compute::Mgmt::V2017_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2017_03_30::VirtualMachines VirtualMachineImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineImages @@ -23,12 +21,10 @@ module Mgmt Disks = Azure::Compute::Mgmt::V2017_03_30::Disks Snapshots = Azure::Compute::Mgmt::V2017_03_30::Snapshots VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineRunCommands + AvailabilitySets = Azure::Compute::Mgmt::V2017_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensionImages 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 VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineAgentInstanceView VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_03_30::Models::BootDiagnosticsInstanceView @@ -194,10 +190,14 @@ 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 + 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 end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :resource_skus, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :snapshots, :virtual_machine_run_commands, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :resource_skus, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :snapshots, :virtual_machine_run_commands, :availability_sets, :virtual_machine_extension_images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -207,8 +207,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @virtual_machine_extensions = @client_0.virtual_machine_extensions @virtual_machines = @client_0.virtual_machines @virtual_machine_images = @client_0.virtual_machine_images @@ -223,6 +221,8 @@ def initialize(configurable, base_url=nil, options=nil) @disks = @client_0.disks @snapshots = @client_0.snapshots @virtual_machine_run_commands = @client_0.virtual_machine_run_commands + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @model_classes = ModelClasses.new end @@ -241,18 +241,6 @@ 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 - def diagnostics_profile - Azure::Compute::Mgmt::V2017_03_30::Models::DiagnosticsProfile - end - def source_vault - Azure::Compute::Mgmt::V2017_03_30::Models::SourceVault - end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineAgentInstanceView end @@ -748,6 +736,18 @@ 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 + def key_vault_and_secret_reference + Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndSecretReference + end + def diagnostics_profile + Azure::Compute::Mgmt::V2017_03_30::Models::DiagnosticsProfile + end + def source_vault + Azure::Compute::Mgmt::V2017_03_30::Models::SourceVault + 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 f1aacc7d8c..37d0fe5655 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 @@ -11,7 +11,6 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2016_04_01::Zones module Models - Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord @@ -19,9 +18,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 + Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord @@ -66,9 +66,6 @@ def method_missing(method, *args) end class ModelClasses - def resource - Azure::Dns::Mgmt::V2016_04_01::Models::Resource - end def record_set_update_parameters Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters end @@ -90,14 +87,17 @@ 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 + end 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 + def resource + Azure::Dns::Mgmt::V2016_04_01::Models::Resource end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult 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 249acff709..784a632364 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,11 +65,11 @@ 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 - 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 + Error = Azure::KeyVault::V2016_10_01::Models::Error IssuerAttributes = Azure::KeyVault::V2016_10_01::Models::IssuerAttributes StorageBundle = Azure::KeyVault::V2016_10_01::Models::StorageBundle SasDefinitionListResult = Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult @@ -295,9 +295,6 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def secret_properties Azure::KeyVault::V2016_10_01::Models::SecretProperties end @@ -310,6 +307,9 @@ def certificate_bundle def storage_account_attributes Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def issuer_attributes Azure::KeyVault::V2016_10_01::Models::IssuerAttributes end @@ -391,45 +391,45 @@ def json_web_key_signature_algorithm end end module Mgmt - Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults + Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties + DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters + VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult - VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters + VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters - VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties + VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties - ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult 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 - 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 + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end class KeyVaultManagementClass - attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes + attr_reader :vaults, :operations, :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) - @operations = @client_0.operations @vaults = @client_0.vaults + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -468,59 +468,59 @@ def resource def operation_display Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay end - def operation - Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation - end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end - def operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + def vault_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end - def vault_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + def vault_properties + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - def vault_properties - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end - def resource_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + def vault_check_name_availability_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters end def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end - def vault_check_name_availability_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + def check_name_availability_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end + def service_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification + end def access_policy_entry Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end + def operation + Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end - def service_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,14 +540,14 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind 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 + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku 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 970e0b4e60..d077dde3ed 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 + 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 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 end class LocksManagementClass @@ -51,6 +51,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + end + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + end + def lock_level + Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel + end def operation_display Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end @@ -63,15 +72,6 @@ def operation def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def operation_list_result - Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - end - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - end - def lock_level - Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - 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 04d6ff4f05..7dc6316b0d 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,12 +88,12 @@ 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 - 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 + Error = Azure::Network::Mgmt::V2017_10_01::Models::Error 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 ErrorDetails = Azure::Network::Mgmt::V2017_10_01::Models::ErrorDetails ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthHttpSettings @@ -113,50 +113,50 @@ module Models VirtualNetworkListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkListResult EffectiveRoute = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRoute SubResource = Azure::Network::Mgmt::V2017_10_01::Models::SubResource - EffectiveRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult SecurityRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult + EffectiveRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult 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 + BgpPeerStatusListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult + ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult DnsNameAvailabilityResult = Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult 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 + MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification + TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters 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 + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology 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 + VerificationIPFlowParameters = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters NextHopResult = Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult 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 + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult + SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult - NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult - SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + 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 - 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 + SecurityGroupViewResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult 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 + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServer PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureQueryStatusResult ApplicationGatewaySku = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySku @@ -226,61 +226,61 @@ module Models SubnetListResult = Azure::Network::Mgmt::V2017_10_01::Models::SubnetListResult Availability = Azure::Network::Mgmt::V2017_10_01::Models::Availability ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration + RouteFilterRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult Resource = Azure::Network::Mgmt::V2017_10_01::Models::Resource - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate - PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort + PacketCaptureResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult + PacketCaptureListResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult + ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener - SecurityRuleAssociations = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule 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 - 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 - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions - RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule - EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization - ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy + EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter - LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration - OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule - Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe + ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool - PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule - LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher - VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering - PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity - VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate - VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration - LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork 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 + VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity + LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion 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 - ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite + ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState @@ -309,11 +309,11 @@ 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 - Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol + ConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus 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 + Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol 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 @@ -327,10 +327,10 @@ module Models IpsecIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IpsecIntegrity VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionStatus IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity - Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity + DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup PfsGroup = Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup IkeEncryption = Azure::Network::Mgmt::V2017_10_01::Models::IkeEncryption - DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity end class NetworkManagementClass @@ -533,24 +533,24 @@ def load_balancer_backend_address_pool_list_result def connection_reset_shared_key Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey 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 + end def gateway_route_list_result Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult end + def error + Azure::Network::Mgmt::V2017_10_01::Models::Error + end def load_balancer_probe_list_result Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult - end def virtual_network_gateway_list_result Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult end @@ -608,23 +608,23 @@ def effective_route def sub_resource Azure::Network::Mgmt::V2017_10_01::Models::SubResource end - def effective_route_list_result - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult + def application_gateway_web_application_firewall_configuration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration end def application_gateway_list_result Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult end - def application_gateway_web_application_firewall_configuration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + def security_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult end - def application_gateway_firewall_rule_group - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup + def effective_route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult end def network_security_group_list_result Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult end - def security_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult end def address_space Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace @@ -632,11 +632,14 @@ def address_space 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 + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult end - def topology_parameters - Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters + def application_gateway_firewall_rule_group + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup + end + def application_security_group_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult end def dns_name_availability_result Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult @@ -644,38 +647,35 @@ def dns_name_availability_result 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 + def metric_specification + Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification end - def load_balancer_load_balancing_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + def topology_parameters + Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters 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 + def bgp_service_community_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + end + def topology + Azure::Network::Mgmt::V2017_10_01::Models::Topology end 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 ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def next_hop_parameters Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters end - def express_route_circuit_sku - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku + def verification_ipflow_parameters + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters end def next_hop_result Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult @@ -686,59 +686,59 @@ def route_list_result def security_group_view_parameters Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult + def network_interface_association + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation end def endpoint_services_list_result Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult end + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult + end + def subnet_association + Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult end - def network_interface_association - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + def express_route_circuit_sku + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku end def express_route_circuits_routes_table_summary_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end - def subnet_association - Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + def security_rule_associations + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + 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 end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult + def packet_capture_storage_location + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation end def security_group_view_result Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult - end - def packet_capture_storage_location - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation - end def packet_capture_filter Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter end 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 + end 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 end - def packet_capture_result - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult - end - def packet_capture_list_result - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult end def application_gateway_backend_health_server Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServer @@ -947,20 +947,20 @@ def availability def application_gateway_backend_http_settings Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration + def route_filter_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult end def resource Azure::Network::Mgmt::V2017_10_01::Models::Resource end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration end def application_gateway_authentication_certificate Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate end - def packet_capture_parameters - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate end def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration @@ -968,122 +968,122 @@ def application_gateway_frontend_ipconfiguration 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 + def packet_capture_result + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult end - def security_rule_associations - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations + def packet_capture_list_result + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered + 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_http_listener + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener end 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 + 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_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 end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap + 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 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 end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + 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 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 end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + 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 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 end - def route_filter - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + 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 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 end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration + 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 load_balancing_rule + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule end def probe Azure::Network::Mgmt::V2017_10_01::Models::Probe end - def inbound_nat_pool - Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool + 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 outbound_nat_rule + Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule end def load_balancer Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher + 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 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 end - def bgp_service_community - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity + 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 virtual_network_peering + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering end 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 + 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 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 end - def virtual_network_gateway - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity end - def application_gateway_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + 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 end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth end def ipversion Azure::Network::Mgmt::V2017_10_01::Models::IPVersion @@ -1091,17 +1091,17 @@ def ipversion 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 + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol end def application_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName end - def application_gateway_tier - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + def application_gateway_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite end def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType @@ -1109,8 +1109,8 @@ def application_gateway_ssl_policy_type def application_gateway_ssl_policy_name Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_tier + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType @@ -1196,8 +1196,8 @@ def origin def issue_type Azure::Network::Mgmt::V2017_10_01::Models::IssueType end - def protocol - Azure::Network::Mgmt::V2017_10_01::Models::Protocol + def connection_status + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus end def connection_state Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState @@ -1208,8 +1208,8 @@ def evaluation_state def virtual_network_peering_state Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState end - def connection_status - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus + def protocol + Azure::Network::Mgmt::V2017_10_01::Models::Protocol end def vpn_type Azure::Network::Mgmt::V2017_10_01::Models::VpnType @@ -1250,8 +1250,8 @@ def virtual_network_gateway_connection_status def ike_integrity Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity end - def severity - Azure::Network::Mgmt::V2017_10_01::Models::Severity + def dh_group + Azure::Network::Mgmt::V2017_10_01::Models::DhGroup 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 dh_group - Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + def severity + Azure::Network::Mgmt::V2017_10_01::Models::Severity end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb index ce036fadcb..116d9145e3 100644 --- a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt PolicyAssignments = Azure::Policy::Mgmt::V2016_12_01::PolicyAssignments module Models - PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment - PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode + PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment + PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult end class PolicyManagementClass @@ -50,15 +50,6 @@ def method_missing(method, *args) end class ModelClasses - def policy_assignment - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment - end - def policy_definition - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition - end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult - end def policy_definition_list_result Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult end @@ -68,6 +59,15 @@ def policy_type def policy_mode Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode end + def policy_assignment + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment + end + def policy_definition + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition + end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult + end 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 2471cd9131..ed88cb4115 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 - Resources = Azure::Resources::Mgmt::V2018_02_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2018_02_01::Resources 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 + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended 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 + DebugSetting = Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting 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, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :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 - @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @model_classes = ModelClasses.new end @@ -141,33 +141,33 @@ 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 + end def dependency Azure::Resources::Mgmt::V2018_02_01::Models::Dependency end - def deployment_properties_extended - Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended - end 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 deployment_properties_extended + Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended + 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,6 +201,9 @@ 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 + end def deployment_operations_list_result Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult end @@ -210,18 +213,15 @@ def on_error_deployment_extended def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties end - def debug_setting - Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting - end 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 debug_setting + Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting + 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 c445ca6425..c798f4785f 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 - StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations + StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,28 +21,28 @@ 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 + SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult 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 - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind - AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end class StorageManagementClass - attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes + attr_reader :usage_operations, :storage_accounts, :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) - @storage_accounts = @client_0.storage_accounts @usage_operations = @client_0.usage_operations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -102,17 +102,17 @@ 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 + end 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 end - def custom_domain - Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - end - def encryption_services - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + def sku_name + Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end def usage_list_result Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult @@ -126,26 +126,26 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - 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 reason Azure::Storage::Mgmt::V2016_01_01::Models::Reason end + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + end + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + def custom_domain + Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain end def key_permission Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit 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 usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb index 9b86e8cea3..2bcc108819 100644 --- a/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2018_03_01 module Subscriptions module Mgmt - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models @@ -27,7 +27,7 @@ module Models end class SubscriptionsManagementClass - attr_reader :operations, :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :operations, :subscriptions, :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) - @operations = @client_0.operations @tenants = @client_0.tenants + @operations = @client_0.operations @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new diff --git a/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb index e67e3379d3..092511e9f2 100644 --- a/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb @@ -19,8 +19,6 @@ module Mgmt AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments module Models - DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource - ResponseMetaData = Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData AnalysisData = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope DataTableResponseColumn = Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseColumn @@ -102,6 +100,8 @@ module Models HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo DiagnosticMetricSample = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample DiagnosticMetricSet = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet + DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource + ResponseMetaData = Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig @@ -204,8 +204,6 @@ module Models CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider - Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments - SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool @@ -303,6 +301,8 @@ module Models OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers + Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments + SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end @@ -361,12 +361,6 @@ def method_missing(method, *args) end class ModelClasses - def data_source - Azure::Web::Mgmt::V2016_03_01::Models::DataSource - end - def response_meta_data - Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData - end def analysis_data Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData end @@ -610,6 +604,12 @@ def diagnostic_metric_sample def diagnostic_metric_set Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet end + def data_source + Azure::Web::Mgmt::V2016_03_01::Models::DataSource + end + def response_meta_data + Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData + end def deployment Azure::Web::Mgmt::V2016_08_01::Models::Deployment end @@ -916,12 +916,6 @@ def site_extension_type def built_in_authentication_provider Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider end - def experiments - Azure::Web::Mgmt::V2016_09_01::Models::Experiments - end - def site_machine_key - Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey - end def host_name_ssl_state Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState end @@ -1213,6 +1207,12 @@ def cors_settings def auto_heal_triggers Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers end + def experiments + Azure::Web::Mgmt::V2016_09_01::Models::Experiments + end + def site_machine_key + Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey + end def identifier Azure::Web::Mgmt::V2016_09_01::Models::Identifier end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid.rb new file mode 100644 index 0000000000..c9f19823ad --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid.rb @@ -0,0 +1,62 @@ +# 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. + +require 'uri' +require 'cgi' +require 'date' +require 'json' +require 'base64' +require 'erb' +require 'securerandom' +require 'time' +require 'timeliness' +require 'faraday' +require 'faraday-cookie_jar' +require 'concurrent' +require 'ms_rest' +require '2019-01-01/generated/azure_mgmt_event_grid/module_definition' +require 'ms_rest_azure' + +module Azure::EventGrid::Mgmt::V2019_01_01 + autoload :EventSubscriptions, '2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb' + autoload :Operations, '2019-01-01/generated/azure_mgmt_event_grid/operations.rb' + autoload :Topics, '2019-01-01/generated/azure_mgmt_event_grid/topics.rb' + autoload :TopicTypes, '2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb' + autoload :EventGridManagementClient, '2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb' + + module Models + autoload :EventSubscriptionsListResult, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb' + autoload :OperationInfo, '2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb' + autoload :EventSubscriptionFilter, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb' + autoload :Operation, '2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb' + autoload :DeadLetterDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb' + autoload :OperationsListResult, '2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb' + autoload :EventSubscriptionUpdateParameters, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb' + autoload :EventSubscriptionFullUrl, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb' + autoload :TopicTypesListResult, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb' + autoload :EventSubscriptionDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb' + autoload :TopicRegenerateKeyRequest, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb' + autoload :RetryPolicy, '2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb' + autoload :Resource, '2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb' + autoload :TopicSharedAccessKeys, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb' + autoload :TopicsListResult, '2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb' + autoload :EventTypesListResult, '2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb' + autoload :TopicUpdateParameters, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb' + autoload :StorageBlobDeadLetterDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb' + autoload :WebHookEventSubscriptionDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb' + autoload :EventHubEventSubscriptionDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb' + autoload :StorageQueueEventSubscriptionDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb' + autoload :HybridConnectionEventSubscriptionDestination, '2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb' + autoload :EventSubscription, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb' + autoload :TrackedResource, '2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb' + autoload :Topic, '2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb' + autoload :EventType, '2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb' + autoload :TopicTypeInfo, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb' + autoload :EventSubscriptionProvisioningState, '2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb' + autoload :TopicProvisioningState, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb' + autoload :ResourceRegionType, '2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb' + autoload :TopicTypeProvisioningState, '2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb' + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb new file mode 100644 index 0000000000..c973317455 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb @@ -0,0 +1,143 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + # + # A service client - single point of access to the REST API. + # + class EventGridManagementClient < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_accessor :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials + + # @return [String] Subscription credentials that uniquely identify a + # Microsoft Azure subscription. The subscription ID forms part of the URI + # for every service call. + attr_accessor :subscription_id + + # @return [String] Version of the API to be used with the client request. + attr_reader :api_version + + # @return [String] Gets or sets the preferred language for the response. + attr_accessor :accept_language + + # @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] 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 + + # @return [EventSubscriptions] event_subscriptions + attr_reader :event_subscriptions + + # @return [Operations] operations + attr_reader :operations + + # @return [Topics] topics + attr_reader :topics + + # @return [TopicTypes] topic_types + attr_reader :topic_types + + # + # Creates initializes a new instance of the EventGridManagementClient class. + # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. + # @param base_url [String] the base URI of the service. + # @param options [Array] filters to be applied to the HTTP requests. + # + def initialize(credentials = nil, base_url = nil, options = nil) + super(credentials, options) + @base_url = base_url || 'https://management.azure.com' + + fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? + @credentials = credentials + + @event_subscriptions = EventSubscriptions.new(self) + @operations = Operations.new(self) + @topics = Topics.new(self) + @topic_types = TopicTypes.new(self) + @api_version = '2019-01-01' + @accept_language = 'en-US' + @long_running_operation_retry_timeout = 30 + @generate_client_request_id = true + add_telemetry + end + + # + # Makes a request and returns the body of the response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Hash{String=>String}] containing the body of the response. + # Example: + # + # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}" + # path = "/path" + # options = { + # body: request_content, + # query_params: {'api-version' => '2016-02-01'} + # } + # result = @client.make_request(:put, path, options) + # + def make_request(method, path, options = {}) + result = make_request_with_http_info(method, path, options) + result.body unless result.nil? + end + + # + # Makes a request and returns the operation response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status. + # + def make_request_with_http_info(method, path, options = {}) + result = make_request_async(method, path, options).value! + result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body) + result + end + + # + # Makes a request asynchronously. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def make_request_async(method, path, options = {}) + fail ArgumentError, 'method is nil' if method.nil? + fail ArgumentError, 'path is nil' if path.nil? + + request_url = options[:base_url] || @base_url + + request_headers = @request_headers + request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? + options.merge!({headers: request_headers.merge(options[:headers] || {})}) + options.merge!({credentials: @credentials}) unless @credentials.nil? + + super(request_url, method, path, options) + end + + + private + # + # Adds telemetry information. + # + def add_telemetry + sdk_information = 'azure_mgmt_event_grid' + if defined? Azure::EventGrid::Mgmt::V2019_01_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2019_01_01::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb new file mode 100644 index 0000000000..d37fc45345 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb @@ -0,0 +1,1799 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + # + # Azure EventGrid Management Client + # + class EventSubscriptions + include MsRestAzure + + # + # Creates and initializes a new instance of the EventSubscriptions class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [EventGridManagementClient] reference to the EventGridManagementClient + attr_reader :client + + # + # Get an event subscription + # + # Get properties of an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscription] operation results. + # + def get(scope, event_subscription_name, custom_headers = nil) + response = get_async(scope, event_subscription_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get an event subscription + # + # Get properties of an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_async(scope, event_subscription_name, custom_headers).value! + end + + # + # Get an event subscription + # + # Get properties of an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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_async(scope, event_subscription_name, custom_headers = nil) + fail ArgumentError, 'scope is nil' if scope.nil? + fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'eventSubscriptionName' => event_subscription_name}, + skip_encoding_path_params: {'scope' => scope}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + result.body = @client.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 + + # + # Create or update an event subscription + # + # Asynchronously creates a new event subscription or updates an existing event + # subscription based on the specified scope. + # + # @param scope [String] The identifier of the resource to which the event + # subscription needs to be created or updated. The scope can be a subscription, + # or a resource group, or a top level resource belonging to a resource provider + # namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription. Event + # subscription names must be between 3 and 64 characters in length and should + # use alphanumeric letters only. + # @param event_subscription_info [EventSubscription] Event subscription + # properties containing the destination and filter information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscription] operation results. + # + def create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! + response.body unless response.nil? + end + + # + # @param scope [String] The identifier of the resource to which the event + # subscription needs to be created or updated. The scope can be a subscription, + # or a resource group, or a top level resource belonging to a resource provider + # namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription. Event + # subscription names must be between 3 and 64 characters in length and should + # use alphanumeric letters only. + # @param event_subscription_info [EventSubscription] Event subscription + # properties containing the destination and filter information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete an event subscription + # + # Delete an existing event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(scope, event_subscription_name, custom_headers = nil) + response = delete_async(scope, event_subscription_name, custom_headers).value! + nil + end + + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(scope, event_subscription_name, custom_headers = nil) + # Send request + promise = begin_delete_async(scope, event_subscription_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Update an event subscription + # + # Asynchronously updates an existing event subscription. + # + # @param scope [String] The scope of existing event subscription. The scope can + # be a subscription, or a resource group, or a top level resource belonging to + # a resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription to be + # updated + # @param event_subscription_update_parameters + # [EventSubscriptionUpdateParameters] Updated event subscription information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscription] operation results. + # + def update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param scope [String] The scope of existing event subscription. The scope can + # be a subscription, or a resource group, or a top level resource belonging to + # a resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription to be + # updated + # @param event_subscription_update_parameters + # [EventSubscriptionUpdateParameters] Updated event subscription information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + # Send request + promise = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Get full URL of an event subscription + # + # Get the full endpoint URL for an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionFullUrl] operation results. + # + def get_full_url(scope, event_subscription_name, custom_headers = nil) + response = get_full_url_async(scope, event_subscription_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get full URL of an event subscription + # + # Get the full endpoint URL for an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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_full_url_with_http_info(scope, event_subscription_name, custom_headers = nil) + get_full_url_async(scope, event_subscription_name, custom_headers).value! + end + + # + # Get full URL of an event subscription + # + # Get the full endpoint URL for an event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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_full_url_async(scope, event_subscription_name, custom_headers = nil) + fail ArgumentError, 'scope is nil' if scope.nil? + fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'eventSubscriptionName' => event_subscription_name}, + skip_encoding_path_params: {'scope' => scope}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionFullUrl.mapper() + result.body = @client.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 + + # + # Get an aggregated list of all global event subscriptions under an Azure + # subscription + # + # List all aggregated global event subscriptions under a specific Azure + # subscription + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_global_by_subscription(custom_headers = nil) + response = list_global_by_subscription_async(custom_headers).value! + response.body unless response.nil? + end + + # + # Get an aggregated list of all global event subscriptions under an Azure + # subscription + # + # List all aggregated global event subscriptions under a specific Azure + # subscription + # + # @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_global_by_subscription_with_http_info(custom_headers = nil) + list_global_by_subscription_async(custom_headers).value! + end + + # + # Get an aggregated list of all global event subscriptions under an Azure + # subscription + # + # List all aggregated global event subscriptions under a specific Azure + # subscription + # + # @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_global_by_subscription_async(custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all global event subscriptions for a topic type + # + # List all global event subscriptions under an Azure subscription for a topic + # type. + # + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_global_by_subscription_for_topic_type(topic_type_name, custom_headers = nil) + response = list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all global event subscriptions for a topic type + # + # List all global event subscriptions under an Azure subscription for a topic + # type. + # + # @param topic_type_name [String] Name of the topic type + # @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_global_by_subscription_for_topic_type_with_http_info(topic_type_name, custom_headers = nil) + list_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers).value! + end + + # + # List all global event subscriptions for a topic type + # + # List all global event subscriptions under an Azure subscription for a topic + # type. + # + # @param topic_type_name [String] Name of the topic type + # @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_global_by_subscription_for_topic_type_async(topic_type_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all global event subscriptions under an Azure subscription and resource + # group + # + # List all global event subscriptions under a specific Azure subscription and + # resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_global_by_resource_group(resource_group_name, custom_headers = nil) + response = list_global_by_resource_group_async(resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all global event subscriptions under an Azure subscription and resource + # group + # + # List all global event subscriptions under a specific Azure subscription and + # resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @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_global_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_global_by_resource_group_async(resource_group_name, custom_headers).value! + end + + # + # List all global event subscriptions under an Azure subscription and resource + # group + # + # List all global event subscriptions under a specific Azure subscription and + # resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @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_global_by_resource_group_async(resource_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all global event subscriptions under a resource group for a topic type + # + # List all global event subscriptions under a resource group for a specific + # topic type. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_global_by_resource_group_for_topic_type(resource_group_name, topic_type_name, custom_headers = nil) + response = list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all global event subscriptions under a resource group for a topic type + # + # List all global event subscriptions under a resource group for a specific + # topic type. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_type_name [String] Name of the topic type + # @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_global_by_resource_group_for_topic_type_with_http_info(resource_group_name, topic_type_name, custom_headers = nil) + list_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers).value! + end + + # + # List all global event subscriptions under a resource group for a topic type + # + # List all global event subscriptions under a resource group for a specific + # topic type. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_type_name [String] Name of the topic type + # @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_global_by_resource_group_for_topic_type_async(resource_group_name, topic_type_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all regional event subscriptions under an Azure subscription + # + # List all event subscriptions from the given location under a specific Azure + # subscription + # + # @param location [String] Name of the location + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_regional_by_subscription(location, custom_headers = nil) + response = list_regional_by_subscription_async(location, custom_headers).value! + response.body unless response.nil? + end + + # + # List all regional event subscriptions under an Azure subscription + # + # List all event subscriptions from the given location under a specific Azure + # subscription + # + # @param location [String] Name of the location + # @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_regional_by_subscription_with_http_info(location, custom_headers = nil) + list_regional_by_subscription_async(location, custom_headers).value! + end + + # + # List all regional event subscriptions under an Azure subscription + # + # List all event subscriptions from the given location under a specific Azure + # subscription + # + # @param location [String] Name of the location + # @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_regional_by_subscription_async(location, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'location' => location}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all regional event subscriptions under an Azure subscription and + # resource group + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_regional_by_resource_group(resource_group_name, location, custom_headers = nil) + response = list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! + response.body unless response.nil? + end + + # + # List all regional event subscriptions under an Azure subscription and + # resource group + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @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_regional_by_resource_group_with_http_info(resource_group_name, location, custom_headers = nil) + list_regional_by_resource_group_async(resource_group_name, location, custom_headers).value! + end + + # + # List all regional event subscriptions under an Azure subscription and + # resource group + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @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_regional_by_resource_group_async(resource_group_name, location, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'location' => location}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all regional event subscriptions under an Azure subscription for a topic + # type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and topic type. + # + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_regional_by_subscription_for_topic_type(location, topic_type_name, custom_headers = nil) + response = list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all regional event subscriptions under an Azure subscription for a topic + # type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and topic type. + # + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @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_regional_by_subscription_for_topic_type_with_http_info(location, topic_type_name, custom_headers = nil) + list_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers).value! + end + + # + # List all regional event subscriptions under an Azure subscription for a topic + # type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and topic type. + # + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @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_regional_by_subscription_for_topic_type_async(location, topic_type_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'location' => location,'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all regional event subscriptions under an Azure subscription and + # resource group for a topic type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group and topic type + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_regional_by_resource_group_for_topic_type(resource_group_name, location, topic_type_name, custom_headers = nil) + response = list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all regional event subscriptions under an Azure subscription and + # resource group for a topic type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group and topic type + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @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_regional_by_resource_group_for_topic_type_with_http_info(resource_group_name, location, topic_type_name, custom_headers = nil) + list_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers).value! + end + + # + # List all regional event subscriptions under an Azure subscription and + # resource group for a topic type + # + # List all event subscriptions from the given location under a specific Azure + # subscription and resource group and topic type + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param location [String] Name of the location + # @param topic_type_name [String] Name of the topic type + # @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_regional_by_resource_group_for_topic_type_async(resource_group_name, location, topic_type_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'location' => location,'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # List all event subscriptions for a specific topic + # + # List all event subscriptions that have been created for a specific topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the resource type + # @param resource_name [String] Name of the resource + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscriptionsListResult] operation results. + # + def list_by_resource(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List all event subscriptions for a specific topic + # + # List all event subscriptions that have been created for a specific topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the resource type + # @param resource_name [String] Name of the resource + # @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_by_resource_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! + end + + # + # List all event subscriptions for a specific topic + # + # List all event subscriptions that have been created for a specific topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the resource type + # @param resource_name [String] Name of the resource + # @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_by_resource_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? + fail ArgumentError, 'resource_type_name is nil' if resource_type_name.nil? + fail ArgumentError, 'resource_name is nil' if resource_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'providerNamespace' => provider_namespace,'resourceTypeName' => resource_type_name,'resourceName' => resource_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionsListResult.mapper() + result.body = @client.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 + + # + # Create or update an event subscription + # + # Asynchronously creates a new event subscription or updates an existing event + # subscription based on the specified scope. + # + # @param scope [String] The identifier of the resource to which the event + # subscription needs to be created or updated. The scope can be a subscription, + # or a resource group, or a top level resource belonging to a resource provider + # namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription. Event + # subscription names must be between 3 and 64 characters in length and should + # use alphanumeric letters only. + # @param event_subscription_info [EventSubscription] Event subscription + # properties containing the destination and filter information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscription] operation results. + # + def begin_create_or_update(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + response = begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update an event subscription + # + # Asynchronously creates a new event subscription or updates an existing event + # subscription based on the specified scope. + # + # @param scope [String] The identifier of the resource to which the event + # subscription needs to be created or updated. The scope can be a subscription, + # or a resource group, or a top level resource belonging to a resource provider + # namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription. Event + # subscription names must be between 3 and 64 characters in length and should + # use alphanumeric letters only. + # @param event_subscription_info [EventSubscription] Event subscription + # properties containing the destination and filter information + # @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 begin_create_or_update_with_http_info(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers).value! + end + + # + # Create or update an event subscription + # + # Asynchronously creates a new event subscription or updates an existing event + # subscription based on the specified scope. + # + # @param scope [String] The identifier of the resource to which the event + # subscription needs to be created or updated. The scope can be a subscription, + # or a resource group, or a top level resource belonging to a resource provider + # namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription. Event + # subscription names must be between 3 and 64 characters in length and should + # use alphanumeric letters only. + # @param event_subscription_info [EventSubscription] Event subscription + # properties containing the destination and filter information + # @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 begin_create_or_update_async(scope, event_subscription_name, event_subscription_info, custom_headers = nil) + fail ArgumentError, 'scope is nil' if scope.nil? + fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? + fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + request_content = @client.serialize(request_mapper, event_subscription_info) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = '{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'eventSubscriptionName' => event_subscription_name}, + skip_encoding_path_params: {'scope' => scope}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, 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 == 201 + 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 == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + result.body = @client.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 + + # + # Delete an event subscription + # + # Delete an existing event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(scope, event_subscription_name, custom_headers = nil) + response = begin_delete_async(scope, event_subscription_name, custom_headers).value! + nil + end + + # + # Delete an event subscription + # + # Delete an existing event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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 begin_delete_with_http_info(scope, event_subscription_name, custom_headers = nil) + begin_delete_async(scope, event_subscription_name, custom_headers).value! + end + + # + # Delete an event subscription + # + # Delete an existing event subscription + # + # @param scope [String] The scope of the event subscription. The scope can be a + # subscription, or a resource group, or a top level resource belonging to a + # resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription + # @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 begin_delete_async(scope, event_subscription_name, custom_headers = nil) + fail ArgumentError, 'scope is nil' if scope.nil? + fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'eventSubscriptionName' => event_subscription_name}, + skip_encoding_path_params: {'scope' => scope}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:delete, 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 || status_code == 202 || status_code == 204 + 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? + + result + end + + promise.execute + end + + # + # Update an event subscription + # + # Asynchronously updates an existing event subscription. + # + # @param scope [String] The scope of existing event subscription. The scope can + # be a subscription, or a resource group, or a top level resource belonging to + # a resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription to be + # updated + # @param event_subscription_update_parameters + # [EventSubscriptionUpdateParameters] Updated event subscription information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventSubscription] operation results. + # + def begin_update(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + response = begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update an event subscription + # + # Asynchronously updates an existing event subscription. + # + # @param scope [String] The scope of existing event subscription. The scope can + # be a subscription, or a resource group, or a top level resource belonging to + # a resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription to be + # updated + # @param event_subscription_update_parameters + # [EventSubscriptionUpdateParameters] Updated event subscription information + # @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 begin_update_with_http_info(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers).value! + end + + # + # Update an event subscription + # + # Asynchronously updates an existing event subscription. + # + # @param scope [String] The scope of existing event subscription. The scope can + # be a subscription, or a resource group, or a top level resource belonging to + # a resource provider namespace, or an EventGrid topic. For example, use + # '/subscriptions/{subscriptionId}/' for a subscription, + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a + # resource group, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + # for a resource, and + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + # for an EventGrid topic. + # @param event_subscription_name [String] Name of the event subscription to be + # updated + # @param event_subscription_update_parameters + # [EventSubscriptionUpdateParameters] Updated event subscription information + # @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 begin_update_async(scope, event_subscription_name, event_subscription_update_parameters, custom_headers = nil) + fail ArgumentError, 'scope is nil' if scope.nil? + fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil? + fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscriptionUpdateParameters.mapper() + request_content = @client.serialize(request_mapper, event_subscription_update_parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = '{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'eventSubscriptionName' => event_subscription_name}, + skip_encoding_path_params: {'scope' => scope}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:patch, 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 == 201 + 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 == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventSubscription.mapper() + result.body = @client.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 + + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb new file mode 100644 index 0000000000..810e23190b --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb @@ -0,0 +1,49 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the dead letter destination for an event subscription. + # To configure a deadletter destination, do not directly instantiate an + # object of this class. Instead, instantiate an object of a derived class. + # Currently, StorageBlobDeadLetterDestination is the only class that + # derives from this class. + # + class DeadLetterDestination + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["StorageBlob"] = "StorageBlobDeadLetterDestination" + + def initialize + @endpointType = "DeadLetterDestination" + end + + attr_accessor :endpointType + + + # + # Mapper for DeadLetterDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DeadLetterDestination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'DeadLetterDestination', + class_name: 'DeadLetterDestination', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb new file mode 100644 index 0000000000..4c2612d03b --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb @@ -0,0 +1,59 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the event hub destination for an event subscription + # + class EventHubEventSubscriptionDestination < EventSubscriptionDestination + + include MsRestAzure + + + def initialize + @endpointType = "EventHub" + end + + attr_accessor :endpointType + + # @return [String] The Azure Resource Id that represents the endpoint of + # an Event Hub destination of an event subscription. + attr_accessor :resource_id + + + # + # Mapper for EventHubEventSubscriptionDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventHub', + type: { + name: 'Composite', + class_name: 'EventHubEventSubscriptionDestination', + model_properties: { + endpointType: { + required: true, + serialized_name: 'endpointType', + type: { + name: 'String' + } + }, + resource_id: { + required: false, + serialized_name: 'properties.resourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb new file mode 100644 index 0000000000..0f3e8139ef --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb @@ -0,0 +1,153 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Event Subscription + # + class EventSubscription < Resource + + include MsRestAzure + + # @return [String] Name of the topic of the event subscription. + attr_accessor :topic + + # @return [EventSubscriptionProvisioningState] Provisioning state of the + # event subscription. Possible values include: 'Creating', 'Updating', + # 'Deleting', 'Succeeded', 'Canceled', 'Failed', 'AwaitingManualAction' + attr_accessor :provisioning_state + + # @return [EventSubscriptionDestination] Information about the + # destination where events have to be delivered for the event + # subscription. + attr_accessor :destination + + # @return [EventSubscriptionFilter] Information about the filter for the + # event subscription. + attr_accessor :filter + + # @return [Array] List of user defined labels. + attr_accessor :labels + + # @return [RetryPolicy] The retry policy for events. This can be used to + # configure maximum number of delivery attempts and time to live for + # events. + attr_accessor :retry_policy + + # @return [DeadLetterDestination] The DeadLetter destination of the event + # subscription. + attr_accessor :dead_letter_destination + + + # + # Mapper for EventSubscription class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscription', + type: { + name: 'Composite', + class_name: 'EventSubscription', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + topic: { + required: false, + read_only: true, + serialized_name: 'properties.topic', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + destination: { + required: false, + serialized_name: 'properties.destination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'EventSubscriptionDestination', + class_name: 'EventSubscriptionDestination' + } + }, + filter: { + required: false, + serialized_name: 'properties.filter', + type: { + name: 'Composite', + class_name: 'EventSubscriptionFilter' + } + }, + labels: { + required: false, + serialized_name: 'properties.labels', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + retry_policy: { + required: false, + serialized_name: 'properties.retryPolicy', + type: { + name: 'Composite', + class_name: 'RetryPolicy' + } + }, + dead_letter_destination: { + required: false, + serialized_name: 'properties.deadLetterDestination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'DeadLetterDestination', + class_name: 'DeadLetterDestination' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb new file mode 100644 index 0000000000..cb87206a5f --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb @@ -0,0 +1,48 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the destination for an event subscription + # + class EventSubscriptionDestination + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["WebHook"] = "WebHookEventSubscriptionDestination" + @@discriminatorMap["EventHub"] = "EventHubEventSubscriptionDestination" + @@discriminatorMap["StorageQueue"] = "StorageQueueEventSubscriptionDestination" + @@discriminatorMap["HybridConnection"] = "HybridConnectionEventSubscriptionDestination" + + def initialize + @endpointType = "EventSubscriptionDestination" + end + + attr_accessor :endpointType + + + # + # Mapper for EventSubscriptionDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscriptionDestination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'EventSubscriptionDestination', + class_name: 'EventSubscriptionDestination', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb new file mode 100644 index 0000000000..7b35f7590b --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb @@ -0,0 +1,92 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Filter for the Event Subscription + # + class EventSubscriptionFilter + + include MsRestAzure + + # @return [String] An optional string to filter events for an event + # subscription based on a resource path prefix. + # The format of this depends on the publisher of the events. + # Wildcard characters are not supported in this path. + attr_accessor :subject_begins_with + + # @return [String] An optional string to filter events for an event + # subscription based on a resource path suffix. + # Wildcard characters are not supported in this path. + attr_accessor :subject_ends_with + + # @return [Array] A list of applicable event types that need to + # be part of the event subscription. + # If it is desired to subscribe to all event types, the string "all" + # needs to be specified as an element in this list. + attr_accessor :included_event_types + + # @return [Boolean] Specifies if the SubjectBeginsWith and + # SubjectEndsWith properties of the filter + # should be compared in a case sensitive manner. Default value: false . + attr_accessor :is_subject_case_sensitive + + + # + # Mapper for EventSubscriptionFilter class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscriptionFilter', + type: { + name: 'Composite', + class_name: 'EventSubscriptionFilter', + model_properties: { + subject_begins_with: { + required: false, + serialized_name: 'subjectBeginsWith', + type: { + name: 'String' + } + }, + subject_ends_with: { + required: false, + serialized_name: 'subjectEndsWith', + type: { + name: 'String' + } + }, + included_event_types: { + required: false, + serialized_name: 'includedEventTypes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + is_subject_case_sensitive: { + required: false, + serialized_name: 'isSubjectCaseSensitive', + default_value: false, + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb new file mode 100644 index 0000000000..03bf294540 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb @@ -0,0 +1,45 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Full endpoint url of an event subscription + # + class EventSubscriptionFullUrl + + include MsRestAzure + + # @return [String] The URL that represents the endpoint of the + # destination of an event subscription. + attr_accessor :endpoint_url + + + # + # Mapper for EventSubscriptionFullUrl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscriptionFullUrl', + type: { + name: 'Composite', + class_name: 'EventSubscriptionFullUrl', + model_properties: { + endpoint_url: { + required: false, + serialized_name: 'endpointUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb new file mode 100644 index 0000000000..26d892499c --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb @@ -0,0 +1,21 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Defines values for EventSubscriptionProvisioningState + # + module EventSubscriptionProvisioningState + Creating = "Creating" + Updating = "Updating" + Deleting = "Deleting" + Succeeded = "Succeeded" + Canceled = "Canceled" + Failed = "Failed" + AwaitingManualAction = "AwaitingManualAction" + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb new file mode 100644 index 0000000000..96c0d78289 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb @@ -0,0 +1,105 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Properties of the Event Subscription update + # + class EventSubscriptionUpdateParameters + + include MsRestAzure + + # @return [EventSubscriptionDestination] Information about the + # destination where events have to be delivered for the event + # subscription. + attr_accessor :destination + + # @return [EventSubscriptionFilter] Information about the filter for the + # event subscription. + attr_accessor :filter + + # @return [Array] List of user defined labels. + attr_accessor :labels + + # @return [RetryPolicy] The retry policy for events. This can be used to + # configure maximum number of delivery attempts and time to live for + # events. + attr_accessor :retry_policy + + # @return [DeadLetterDestination] The DeadLetter destination of the event + # subscription. + attr_accessor :dead_letter_destination + + + # + # Mapper for EventSubscriptionUpdateParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscriptionUpdateParameters', + type: { + name: 'Composite', + class_name: 'EventSubscriptionUpdateParameters', + model_properties: { + destination: { + required: false, + serialized_name: 'destination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'EventSubscriptionDestination', + class_name: 'EventSubscriptionDestination' + } + }, + filter: { + required: false, + serialized_name: 'filter', + type: { + name: 'Composite', + class_name: 'EventSubscriptionFilter' + } + }, + labels: { + required: false, + serialized_name: 'labels', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + retry_policy: { + required: false, + serialized_name: 'retryPolicy', + type: { + name: 'Composite', + class_name: 'RetryPolicy' + } + }, + dead_letter_destination: { + required: false, + serialized_name: 'deadLetterDestination', + type: { + name: 'Composite', + polymorphic_discriminator: 'endpointType', + uber_parent: 'DeadLetterDestination', + class_name: 'DeadLetterDestination' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb new file mode 100644 index 0000000000..3d69512cce --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb @@ -0,0 +1,52 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Result of the List EventSubscriptions operation + # + class EventSubscriptionsListResult + + include MsRestAzure + + # @return [Array] A collection of EventSubscriptions + attr_accessor :value + + + # + # Mapper for EventSubscriptionsListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventSubscriptionsListResult', + type: { + name: 'Composite', + class_name: 'EventSubscriptionsListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventSubscriptionElementType', + type: { + name: 'Composite', + class_name: 'EventSubscription' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb new file mode 100644 index 0000000000..0be4540b33 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb @@ -0,0 +1,88 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Event Type for a subject under a topic + # + class EventType < Resource + + include MsRestAzure + + # @return [String] Display name of the event type. + attr_accessor :display_name + + # @return [String] Description of the event type. + attr_accessor :description + + # @return [String] Url of the schema for this event type. + attr_accessor :schema_url + + + # + # Mapper for EventType class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventType', + type: { + name: 'Composite', + class_name: 'EventType', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + display_name: { + required: false, + serialized_name: 'properties.displayName', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + schema_url: { + required: false, + serialized_name: 'properties.schemaUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb new file mode 100644 index 0000000000..c74727c8a5 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb @@ -0,0 +1,52 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Result of the List Event Types operation + # + class EventTypesListResult + + include MsRestAzure + + # @return [Array] A collection of event types + attr_accessor :value + + + # + # Mapper for EventTypesListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventTypesListResult', + type: { + name: 'Composite', + class_name: 'EventTypesListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventTypeElementType', + type: { + name: 'Composite', + class_name: 'EventType' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb new file mode 100644 index 0000000000..f7bc62531e --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb @@ -0,0 +1,61 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the HybridConnection destination for an event + # subscription. + # + class HybridConnectionEventSubscriptionDestination < EventSubscriptionDestination + + include MsRestAzure + + + def initialize + @endpointType = "HybridConnection" + end + + attr_accessor :endpointType + + # @return [String] The Azure Resource ID of an hybrid connection that is + # the destination of an event subscription. + attr_accessor :resource_id + + + # + # Mapper for HybridConnectionEventSubscriptionDestination class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'HybridConnection', + type: { + name: 'Composite', + class_name: 'HybridConnectionEventSubscriptionDestination', + model_properties: { + endpointType: { + required: true, + serialized_name: 'endpointType', + type: { + name: 'String' + } + }, + resource_id: { + required: false, + serialized_name: 'properties.resourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb new file mode 100644 index 0000000000..d5ce7cab8b --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb @@ -0,0 +1,75 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Represents an operation returned by the GetOperations request + # + class Operation + + include MsRestAzure + + # @return [String] Name of the operation + attr_accessor :name + + # @return [OperationInfo] Display name of the operation + attr_accessor :display + + # @return [String] Origin of the operation + attr_accessor :origin + + # @return Properties of the operation + attr_accessor :properties + + + # + # Mapper for Operation class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation', + type: { + name: 'Composite', + class_name: 'Operation', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationInfo' + } + }, + origin: { + required: false, + serialized_name: 'origin', + type: { + name: 'String' + } + }, + properties: { + required: false, + serialized_name: 'properties', + type: { + name: 'Object' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb new file mode 100644 index 0000000000..643558e57b --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about an operation + # + class OperationInfo + + include MsRestAzure + + # @return [String] Name of the provider + attr_accessor :provider + + # @return [String] Name of the resource type + attr_accessor :resource + + # @return [String] Name of the operation + attr_accessor :operation + + # @return [String] Description of the operation + attr_accessor :description + + + # + # Mapper for OperationInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationInfo', + type: { + name: 'Composite', + class_name: 'OperationInfo', + model_properties: { + provider: { + required: false, + serialized_name: 'provider', + type: { + name: 'String' + } + }, + resource: { + required: false, + serialized_name: 'resource', + type: { + name: 'String' + } + }, + operation: { + required: false, + serialized_name: 'operation', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'description', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb new file mode 100644 index 0000000000..a4407b726a --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb @@ -0,0 +1,52 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Result of the List Operations operation + # + class OperationsListResult + + include MsRestAzure + + # @return [Array] A collection of operations + attr_accessor :value + + + # + # Mapper for OperationsListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationsListResult', + type: { + name: 'Composite', + class_name: 'OperationsListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb new file mode 100644 index 0000000000..310e2de795 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb @@ -0,0 +1,67 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Definition of a Resource + # + class Resource + + include MsRestAzure + + # @return [String] Fully qualified identifier of the resource + attr_accessor :id + + # @return [String] Name of the resource + attr_accessor :name + + # @return [String] Type of the resource + attr_accessor :type + + + # + # Mapper for Resource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Resource', + type: { + name: 'Composite', + class_name: 'Resource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb new file mode 100644 index 0000000000..f937dab99a --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb @@ -0,0 +1,16 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Defines values for ResourceRegionType + # + module ResourceRegionType + RegionalResource = "RegionalResource" + GlobalResource = "GlobalResource" + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb new file mode 100644 index 0000000000..e2dc027a76 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb @@ -0,0 +1,54 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the retry policy for an event subscription + # + class RetryPolicy + + include MsRestAzure + + # @return [Integer] Maximum number of delivery retry attempts for events. + attr_accessor :max_delivery_attempts + + # @return [Integer] Time To Live (in minutes) for events. + attr_accessor :event_time_to_live_in_minutes + + + # + # Mapper for RetryPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RetryPolicy', + type: { + name: 'Composite', + class_name: 'RetryPolicy', + model_properties: { + max_delivery_attempts: { + required: false, + serialized_name: 'maxDeliveryAttempts', + type: { + name: 'Number' + } + }, + event_time_to_live_in_minutes: { + required: false, + serialized_name: 'eventTimeToLiveInMinutes', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb new file mode 100644 index 0000000000..6b03f512c9 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb @@ -0,0 +1,71 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the storage blob based dead letter destination. + # + class StorageBlobDeadLetterDestination < DeadLetterDestination + + include MsRestAzure + + + def initialize + @endpointType = "StorageBlob" + end + + attr_accessor :endpointType + + # @return [String] The Azure Resource ID of the storage blob container + # that is the destination of the deadletter events. For example: + # /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName} + attr_accessor :resource_id + + # @return [String] The name of the Storage blob container that is the + # destination of the deadletter events + attr_accessor :blob_container_name + + + # + # Mapper for StorageBlobDeadLetterDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StorageBlob', + type: { + name: 'Composite', + class_name: 'StorageBlobDeadLetterDestination', + model_properties: { + endpointType: { + required: true, + serialized_name: 'endpointType', + type: { + name: 'String' + } + }, + resource_id: { + required: false, + serialized_name: 'properties.resourceId', + type: { + name: 'String' + } + }, + blob_container_name: { + required: false, + serialized_name: 'properties.blobContainerName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb new file mode 100644 index 0000000000..949e81d205 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb @@ -0,0 +1,71 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the storage queue destination for an event + # subscription. + # + class StorageQueueEventSubscriptionDestination < EventSubscriptionDestination + + include MsRestAzure + + + def initialize + @endpointType = "StorageQueue" + end + + attr_accessor :endpointType + + # @return [String] The Azure Resource ID of the storage account that + # contains the queue that is the destination of an event subscription. + attr_accessor :resource_id + + # @return [String] The name of the Storage queue under a storage account + # that is the destination of an event subscription. + attr_accessor :queue_name + + + # + # Mapper for StorageQueueEventSubscriptionDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StorageQueue', + type: { + name: 'Composite', + class_name: 'StorageQueueEventSubscriptionDestination', + model_properties: { + endpointType: { + required: true, + serialized_name: 'endpointType', + type: { + name: 'String' + } + }, + resource_id: { + required: false, + serialized_name: 'properties.resourceId', + type: { + name: 'String' + } + }, + queue_name: { + required: false, + serialized_name: 'properties.queueName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb new file mode 100644 index 0000000000..d5ed9ef4c7 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb @@ -0,0 +1,103 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # EventGrid Topic + # + class Topic < TrackedResource + + include MsRestAzure + + # @return [TopicProvisioningState] Provisioning state of the topic. + # Possible values include: 'Creating', 'Updating', 'Deleting', + # 'Succeeded', 'Canceled', 'Failed' + attr_accessor :provisioning_state + + # @return [String] Endpoint for the topic. + attr_accessor :endpoint + + + # + # Mapper for Topic class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Topic', + type: { + name: 'Composite', + class_name: 'Topic', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + endpoint: { + required: false, + read_only: true, + serialized_name: 'properties.endpoint', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb new file mode 100644 index 0000000000..331f19eff5 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb @@ -0,0 +1,20 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Defines values for TopicProvisioningState + # + module TopicProvisioningState + Creating = "Creating" + Updating = "Updating" + Deleting = "Deleting" + Succeeded = "Succeeded" + Canceled = "Canceled" + Failed = "Failed" + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb new file mode 100644 index 0000000000..57f323e2b1 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb @@ -0,0 +1,44 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Topic regenerate share access key request + # + class TopicRegenerateKeyRequest + + include MsRestAzure + + # @return [String] Key name to regenerate key1 or key2 + attr_accessor :key_name + + + # + # Mapper for TopicRegenerateKeyRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicRegenerateKeyRequest', + type: { + name: 'Composite', + class_name: 'TopicRegenerateKeyRequest', + model_properties: { + key_name: { + required: true, + serialized_name: 'keyName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb new file mode 100644 index 0000000000..deabfd109c --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb @@ -0,0 +1,54 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Shared access keys of the Topic + # + class TopicSharedAccessKeys + + include MsRestAzure + + # @return [String] Shared access key1 for the topic. + attr_accessor :key1 + + # @return [String] Shared access key2 for the topic. + attr_accessor :key2 + + + # + # Mapper for TopicSharedAccessKeys class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicSharedAccessKeys', + type: { + name: 'Composite', + class_name: 'TopicSharedAccessKeys', + model_properties: { + key1: { + required: false, + serialized_name: 'key1', + type: { + name: 'String' + } + }, + key2: { + required: false, + serialized_name: 'key2', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb new file mode 100644 index 0000000000..6963f07ff9 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb @@ -0,0 +1,128 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Properties of a topic type info. + # + class TopicTypeInfo < Resource + + include MsRestAzure + + # @return [String] Namespace of the provider of the topic type. + attr_accessor :provider + + # @return [String] Display Name for the topic type. + attr_accessor :display_name + + # @return [String] Description of the topic type. + attr_accessor :description + + # @return [ResourceRegionType] Region type of the resource. Possible + # values include: 'RegionalResource', 'GlobalResource' + attr_accessor :resource_region_type + + # @return [TopicTypeProvisioningState] Provisioning state of the topic + # type. Possible values include: 'Creating', 'Updating', 'Deleting', + # 'Succeeded', 'Canceled', 'Failed' + attr_accessor :provisioning_state + + # @return [Array] List of locations supported by this topic type. + attr_accessor :supported_locations + + + # + # Mapper for TopicTypeInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicTypeInfo', + type: { + name: 'Composite', + class_name: 'TopicTypeInfo', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + provider: { + required: false, + serialized_name: 'properties.provider', + type: { + name: 'String' + } + }, + display_name: { + required: false, + serialized_name: 'properties.displayName', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + resource_region_type: { + required: false, + serialized_name: 'properties.resourceRegionType', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + supported_locations: { + required: false, + serialized_name: 'properties.supportedLocations', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb new file mode 100644 index 0000000000..bf71439971 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb @@ -0,0 +1,20 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Defines values for TopicTypeProvisioningState + # + module TopicTypeProvisioningState + Creating = "Creating" + Updating = "Updating" + Deleting = "Deleting" + Succeeded = "Succeeded" + Canceled = "Canceled" + Failed = "Failed" + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb new file mode 100644 index 0000000000..614fd4f0c3 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb @@ -0,0 +1,52 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Result of the List Topic Types operation + # + class TopicTypesListResult + + include MsRestAzure + + # @return [Array] A collection of topic types + attr_accessor :value + + + # + # Mapper for TopicTypesListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicTypesListResult', + type: { + name: 'Composite', + class_name: 'TopicTypesListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TopicTypeInfoElementType', + type: { + name: 'Composite', + class_name: 'TopicTypeInfo' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb new file mode 100644 index 0000000000..231b277c13 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb @@ -0,0 +1,51 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Properties of the Topic update + # + class TopicUpdateParameters + + include MsRestAzure + + # @return [Hash{String => String}] Tags of the resource + attr_accessor :tags + + + # + # Mapper for TopicUpdateParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicUpdateParameters', + type: { + name: 'Composite', + class_name: 'TopicUpdateParameters', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb new file mode 100644 index 0000000000..40e1f92312 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb @@ -0,0 +1,52 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Result of the List Topics operation + # + class TopicsListResult + + include MsRestAzure + + # @return [Array] A collection of Topics + attr_accessor :value + + + # + # Mapper for TopicsListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TopicsListResult', + type: { + name: 'Composite', + class_name: 'TopicsListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TopicElementType', + type: { + name: 'Composite', + class_name: 'Topic' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb new file mode 100644 index 0000000000..2e51fd388d --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb @@ -0,0 +1,85 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Definition of a Tracked Resource + # + class TrackedResource < Resource + + include MsRestAzure + + # @return [String] Location of the resource + attr_accessor :location + + # @return [Hash{String => String}] Tags of the resource + attr_accessor :tags + + + # + # Mapper for TrackedResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrackedResource', + type: { + name: 'Composite', + class_name: 'TrackedResource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb new file mode 100644 index 0000000000..68f61f8cb3 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb @@ -0,0 +1,71 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + module Models + # + # Information about the webhook destination for an event subscription + # + class WebHookEventSubscriptionDestination < EventSubscriptionDestination + + include MsRestAzure + + + def initialize + @endpointType = "WebHook" + end + + attr_accessor :endpointType + + # @return [String] The URL that represents the endpoint of the + # destination of an event subscription. + attr_accessor :endpoint_url + + # @return [String] The base URL that represents the endpoint of the + # destination of an event subscription. + attr_accessor :endpoint_base_url + + + # + # Mapper for WebHookEventSubscriptionDestination class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WebHook', + type: { + name: 'Composite', + class_name: 'WebHookEventSubscriptionDestination', + model_properties: { + endpointType: { + required: true, + serialized_name: 'endpointType', + type: { + name: 'String' + } + }, + endpoint_url: { + required: false, + serialized_name: 'properties.endpointUrl', + type: { + name: 'String' + } + }, + endpoint_base_url: { + required: false, + read_only: true, + serialized_name: 'properties.endpointBaseUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb new file mode 100644 index 0000000000..72d80c43a9 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb @@ -0,0 +1,9 @@ +# 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 end +module Azure::EventGrid end +module Azure::EventGrid::Mgmt end +module Azure::EventGrid::Mgmt::V2019_01_01 end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb new file mode 100644 index 0000000000..47c28371da --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb @@ -0,0 +1,115 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + # + # Azure EventGrid Management Client + # + class Operations + include MsRestAzure + + # + # Creates and initializes a new instance of the Operations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [EventGridManagementClient] reference to the EventGridManagementClient + attr_reader :client + + # + # List available operations + # + # List the available operations supported by the Microsoft.EventGrid resource + # provider + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationsListResult] operation results. + # + def list(custom_headers = nil) + response = list_async(custom_headers).value! + response.body unless response.nil? + end + + # + # List available operations + # + # List the available operations supported by the Microsoft.EventGrid resource + # provider + # + # @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_with_http_info(custom_headers = nil) + list_async(custom_headers).value! + end + + # + # List available operations + # + # List the available operations supported by the Microsoft.EventGrid resource + # provider + # + # @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_async(custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'providers/Microsoft.EventGrid/operations' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::OperationsListResult.mapper() + result.body = @client.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 + + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb new file mode 100644 index 0000000000..93bcd00e7e --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb @@ -0,0 +1,296 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + # + # Azure EventGrid Management Client + # + class TopicTypes + include MsRestAzure + + # + # Creates and initializes a new instance of the TopicTypes class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [EventGridManagementClient] reference to the EventGridManagementClient + attr_reader :client + + # + # List topic types + # + # List all registered topic types + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicTypesListResult] operation results. + # + def list(custom_headers = nil) + response = list_async(custom_headers).value! + response.body unless response.nil? + end + + # + # List topic types + # + # List all registered topic types + # + # @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_with_http_info(custom_headers = nil) + list_async(custom_headers).value! + end + + # + # List topic types + # + # List all registered topic types + # + # @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_async(custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'providers/Microsoft.EventGrid/topicTypes' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicTypesListResult.mapper() + result.body = @client.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 + + # + # Get a topic type + # + # Get information about a topic type + # + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicTypeInfo] operation results. + # + def get(topic_type_name, custom_headers = nil) + response = get_async(topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a topic type + # + # Get information about a topic type + # + # @param topic_type_name [String] Name of the topic type + # @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_with_http_info(topic_type_name, custom_headers = nil) + get_async(topic_type_name, custom_headers).value! + end + + # + # Get a topic type + # + # Get information about a topic type + # + # @param topic_type_name [String] Name of the topic type + # @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_async(topic_type_name, custom_headers = nil) + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'providers/Microsoft.EventGrid/topicTypes/{topicTypeName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicTypeInfo.mapper() + result.body = @client.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 + + # + # List event types + # + # List event types for a topic type + # + # @param topic_type_name [String] Name of the topic type + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventTypesListResult] operation results. + # + def list_event_types(topic_type_name, custom_headers = nil) + response = list_event_types_async(topic_type_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List event types + # + # List event types for a topic type + # + # @param topic_type_name [String] Name of the topic type + # @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_event_types_with_http_info(topic_type_name, custom_headers = nil) + list_event_types_async(topic_type_name, custom_headers).value! + end + + # + # List event types + # + # List event types for a topic type + # + # @param topic_type_name [String] Name of the topic type + # @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_event_types_async(topic_type_name, custom_headers = nil) + fail ArgumentError, 'topic_type_name is nil' if topic_type_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'topicTypeName' => topic_type_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventTypesListResult.mapper() + result.body = @client.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 + + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb new file mode 100644 index 0000000000..daef063ab2 --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb @@ -0,0 +1,1092 @@ +# 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::EventGrid::Mgmt::V2019_01_01 + # + # Azure EventGrid Management Client + # + class Topics + include MsRestAzure + + # + # Creates and initializes a new instance of the Topics class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [EventGridManagementClient] reference to the EventGridManagementClient + attr_reader :client + + # + # Get a topic + # + # Get properties of a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Topic] operation results. + # + def get(resource_group_name, topic_name, custom_headers = nil) + response = get_async(resource_group_name, topic_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a topic + # + # Get properties of a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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_with_http_info(resource_group_name, topic_name, custom_headers = nil) + get_async(resource_group_name, topic_name, custom_headers).value! + end + + # + # Get a topic + # + # Get properties of a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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_async(resource_group_name, topic_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + result.body = @client.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 + + # + # Create a topic + # + # Asynchronously creates a new topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_info [Topic] Topic information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Topic] operation results. + # + def create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_info [Topic] Topic information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete a topic + # + # Delete existing topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, topic_name, custom_headers = nil) + response = delete_async(resource_group_name, topic_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, topic_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, topic_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Update a topic + # + # Asynchronously updates a topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_update_parameters [TopicUpdateParameters] Topic update + # information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Topic] operation results. + # + def update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_update_parameters [TopicUpdateParameters] Topic update + # information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # List topics under an Azure subscription + # + # List all the topics under an Azure subscription + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicsListResult] operation results. + # + def list_by_subscription(custom_headers = nil) + response = list_by_subscription_async(custom_headers).value! + response.body unless response.nil? + end + + # + # List topics under an Azure subscription + # + # List all the topics under an Azure subscription + # + # @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_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! + end + + # + # List topics under an Azure subscription + # + # List all the topics under an Azure subscription + # + # @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_by_subscription_async(custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicsListResult.mapper() + result.body = @client.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 + + # + # List topics under a resource group + # + # List all the topics under a resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicsListResult] operation results. + # + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List topics under a resource group + # + # List all the topics under a resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @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_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! + end + + # + # List topics under a resource group + # + # List all the topics under a resource group + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @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_by_resource_group_async(resource_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicsListResult.mapper() + result.body = @client.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 + + # + # List keys for a topic + # + # List the two keys used to publish to a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicSharedAccessKeys] operation results. + # + def list_shared_access_keys(resource_group_name, topic_name, custom_headers = nil) + response = list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List keys for a topic + # + # List the two keys used to publish to a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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_shared_access_keys_with_http_info(resource_group_name, topic_name, custom_headers = nil) + list_shared_access_keys_async(resource_group_name, topic_name, custom_headers).value! + end + + # + # List keys for a topic + # + # List the two keys used to publish to a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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_shared_access_keys_async(resource_group_name, topic_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicSharedAccessKeys.mapper() + result.body = @client.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 + + # + # Regenerate key for a topic + # + # Regenerate a shared access key for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param regenerate_key_request [TopicRegenerateKeyRequest] Request body to + # regenerate key + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TopicSharedAccessKeys] operation results. + # + def regenerate_key(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + response = regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Regenerate key for a topic + # + # Regenerate a shared access key for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param regenerate_key_request [TopicRegenerateKeyRequest] Request body to + # regenerate key + # @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 regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers).value! + end + + # + # Regenerate key for a topic + # + # Regenerate a shared access key for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param regenerate_key_request [TopicRegenerateKeyRequest] Request body to + # regenerate key + # @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 regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, 'regenerate_key_request is nil' if regenerate_key_request.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicRegenerateKeyRequest.mapper() + request_content = @client.serialize(request_mapper, regenerate_key_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicSharedAccessKeys.mapper() + result.body = @client.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 + + # + # List topic event types + # + # List event types for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the topic type + # @param resource_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EventTypesListResult] operation results. + # + def list_event_types(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + response = list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List topic event types + # + # List event types for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the topic type + # @param resource_name [String] Name of the topic + # @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_event_types_with_http_info(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + list_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers).value! + end + + # + # List topic event types + # + # List event types for a topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param provider_namespace [String] Namespace of the provider of the topic + # @param resource_type_name [String] Name of the topic type + # @param resource_name [String] Name of the topic + # @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_event_types_async(resource_group_name, provider_namespace, resource_type_name, resource_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'provider_namespace is nil' if provider_namespace.nil? + fail ArgumentError, 'resource_type_name is nil' if resource_type_name.nil? + fail ArgumentError, 'resource_name is nil' if resource_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'providerNamespace' => provider_namespace,'resourceTypeName' => resource_type_name,'resourceName' => resource_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.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 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 = Azure::EventGrid::Mgmt::V2019_01_01::Models::EventTypesListResult.mapper() + result.body = @client.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 + + # + # Create a topic + # + # Asynchronously creates a new topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_info [Topic] Topic information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Topic] operation results. + # + def begin_create_or_update(resource_group_name, topic_name, topic_info, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! + response.body unless response.nil? + end + + # + # Create a topic + # + # Asynchronously creates a new topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_info [Topic] Topic information + # @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 begin_create_or_update_with_http_info(resource_group_name, topic_name, topic_info, custom_headers = nil) + begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers).value! + end + + # + # Create a topic + # + # Asynchronously creates a new topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_info [Topic] Topic information + # @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 begin_create_or_update_async(resource_group_name, topic_name, topic_info, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, 'topic_info is nil' if topic_info.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + request_content = @client.serialize(request_mapper, topic_info) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, 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 == 201 + 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 == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + result.body = @client.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 + + # + # Delete a topic + # + # Delete existing topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, topic_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, topic_name, custom_headers).value! + nil + end + + # + # Delete a topic + # + # Delete existing topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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 begin_delete_with_http_info(resource_group_name, topic_name, custom_headers = nil) + begin_delete_async(resource_group_name, topic_name, custom_headers).value! + end + + # + # Delete a topic + # + # Delete existing topic + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @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 begin_delete_async(resource_group_name, topic_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:delete, 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 == 202 || status_code == 204 + 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? + + result + end + + promise.execute + end + + # + # Update a topic + # + # Asynchronously updates a topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_update_parameters [TopicUpdateParameters] Topic update + # information + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Topic] operation results. + # + def begin_update(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update a topic + # + # Asynchronously updates a topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_update_parameters [TopicUpdateParameters] Topic update + # information + # @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 begin_update_with_http_info(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers).value! + end + + # + # Update a topic + # + # Asynchronously updates a topic with the specified parameters. + # + # @param resource_group_name [String] The name of the resource group within the + # user's subscription. + # @param topic_name [String] Name of the topic + # @param topic_update_parameters [TopicUpdateParameters] Topic update + # information + # @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 begin_update_async(resource_group_name, topic_name, topic_update_parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'topic_name is nil' if topic_name.nil? + fail ArgumentError, 'topic_update_parameters is nil' if topic_update_parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::TopicUpdateParameters.mapper() + request_content = @client.serialize(request_mapper, topic_update_parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'topicName' => topic_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:patch, 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 == 201 + 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 == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::EventGrid::Mgmt::V2019_01_01::Models::Topic.mapper() + result.body = @client.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 + + end +end diff --git a/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/version.rb b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/version.rb new file mode 100644 index 0000000000..aa74be43bc --- /dev/null +++ b/management/azure_mgmt_event_grid/lib/2019-01-01/generated/azure_mgmt_event_grid/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::EventGrid::Mgmt::V2019_01_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb b/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb index 5ede49efe5..56d4abfe83 100644 --- a/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb +++ b/management/azure_mgmt_event_grid/lib/azure_mgmt_event_grid.rb @@ -5,6 +5,7 @@ require '2018-05-01-preview/generated/azure_mgmt_event_grid' require '2018-01-01/generated/azure_mgmt_event_grid' require '2018-09-15-preview/generated/azure_mgmt_event_grid' +require '2019-01-01/generated/azure_mgmt_event_grid' require '2017-09-15-preview/generated/azure_mgmt_event_grid' require '2017-06-15-preview/generated/azure_mgmt_event_grid' require 'profiles/latest/eventgrid_latest_profile_client'